Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #9453
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: php run captcha script on localhost |
| Date | 2013-05-19 13:12 +0100 |
| Organization | albasani.net |
| Message-ID | <knafk2$1ig$1@news.albasani.net> (permalink) |
| References | <efd3cd1e-d61b-4c34-a41a-464e968fec32@googlegroups.com> <25178800-d719-443f-84ea-28c76587c8e6@googlegroups.com> |
On 19/05/13 13:03, Paul Klacher wrote:
> Thanks Jeff & Natural Philosopher
>
> So I understand from the link I should tweak the php.ini file
>
> Should I add below switcher anywhere in the file?
> Supported image formats
> --with-jpeg-dir=DIR
> --with-png-dir=DIR
> --with-xpm-dir=DIR
>
> Supported font libraries
> --with-freetype-dir=DIR
> --with-t1lib[=DIR]
> --enable-gd-native-ttf
>
>
> actually there is already something about jpeg in the file, should I uncomment it?
> [gd]
> ; Tell the jpeg decode to ignore warnings and try to create
> ; a gd image. The warning will then be displayed as notices
> ; disabled by default
> ; http://php.net/gd.jpeg-ignore-warning
> ;gd.jpeg_ignore_warning = 0
sorry. I am not a windows user.
> Is this automatically working on the online remote server (freehosting) I want to run the captcha code?
write a short script that invokes phpinfo() and run it there. That tells
you what the remote configuration is
i.e. there should be a section like this
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
> Thanks
> P
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
php run captcha script on localhost Paul Klacher <pklacher@gmail.com> - 2013-05-19 04:17 -0700
Re: php run captcha script on localhost Jeff North <jnorthau@yahoo.com.au> - 2013-05-19 21:33 +1000
Re: php run captcha script on localhost The Natural Philosopher <tnp@invalid.invalid> - 2013-05-19 12:47 +0100
Re: php run captcha script on localhost Paul Klacher <pklacher@gmail.com> - 2013-05-19 05:03 -0700
Re: php run captcha script on localhost The Natural Philosopher <tnp@invalid.invalid> - 2013-05-19 13:12 +0100
Re: php run captcha script on localhost Paul Klacher <pklacher@gmail.com> - 2013-05-19 05:18 -0700
Re: php run captcha script on localhost Jerry Stuckle <jstucklex@attglobal.net> - 2013-05-19 10:01 -0400
Re: php run captcha script on localhost Paul Klacher <pklacher@gmail.com> - 2013-05-19 09:23 -0700
Re: php run captcha script on localhost Jerry Stuckle <jstucklex@attglobal.net> - 2013-05-19 16:16 -0400
Re: php run captcha script on localhost "J.O. Aho" <user@example.net> - 2013-05-19 18:58 +0200
Re: php run captcha script on localhost Paul Klacher <pklacher@gmail.com> - 2013-05-19 10:17 -0700
csiph-web