Developer Support »

Help with CAPTCHA  (See more user questions)

Hi

The script relies on the PHP mail() function working on your system. I
can't offer a great deal of help thereafter but have a look at this page on
my support section:

https://formtoemail.com/developersupport/not_receiving_email.php

For the directory path, just do:

require_once('c:/home/users//includes/uhwo/wlc/recaptchalib.php')

...it's just the same. And it's ok to use forward slashes.

The upload directory won't be a factor.

You might want to try the remotely hosted version of FormToEmail which is
hosted on my own server and will work every time. You can get it here:

http://formtoemailremote.com/

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Thursday, January 14, 2010 10:06 PM
Subject: RE: help with captcha


ok will try the full directory path. but just to let you know I'm
running a windows
server with IIS, not unix and apache...

the catpcha thing is not as important, but now I running into the
problem with the form
not sending the email... it worked before, but I think we upgraded php
in between then.
and noticed now that emails aren't being sent.

I have a test server running exactly the same version of php. I checked
the parameters
in phpinfo() and it seems that the only difference is a configuration
called
upload_tmp_dir... on the server that works, that has no value, but on
the server
that doesn't work that parameter has c:\php\uploadtemp

any ideas on how to troubleshoot this?


-----Original Message-----
Sent: Thursday, January 14, 2010 11:18 AM
Subject: Re: help with captcha

Hi

reCAPTCHA isn't my system but I don't see a problem calling the file
from
another directory (assuming PHP has permission to access the directory
which
it will have if it's under the same user account).

I find with PHP, if you are including files outwith the directory, then
you
need to enter the full directory path, like this for example:

require_once('/home/users//includes/uhwo/wlc/recaptchalib.php')

That should work.

Any questions, just let me know.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Thursday, January 14, 2010 8:23 PM
Subject: help with captcha


charles,



hope you can help me, might be a simple question... trying to get
captcha working.

my formtoemail script and recaptchalib.php files are in the same
directory but different from

the form itself. will that work? not sure how to reference the
recaptchalib file

from within the form if its in a different directory.

can you enter something like require_once('/uh/wlc/recaptchalib.php')?