FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php run captcha script on localhost
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php run captcha script on localhost [message #181505 is a reply to message #181504] Sun, 19 May 2013 12:12 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: makes searching and booking applications airfares
Next Topic: Re: Immediate Position:::Business Analyst With BI EXP::::At Houston, TX
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 03:59:55 GMT 2024

Total time taken to generate the page: 0.06663 seconds