sadievan |
2007-03-26 00:33:55 |
|
I have installed for php. This is the message I get "The image code
you have provided does not match the actual one. Hit the 'back' button
of your browser and input the correct code please."
I have pasted the wording in the html file and the php file. |
|
Try to read previos discussion, it may help:
http://www.protectwebform.com/forum/topic/92/ |
sadievan |
2007-03-26 16:47:51 |
|
OK. I took the @ out of the get_file_contents and added the echo.
Now this is what I get.
Warning: file_get_contents(): URL file-access is disabled in the
server configuration in
/home/content/a/q/u/aquamoonllc/html/process-form.php on line 17
Warning:
file_get_contents(http://protectwebform.com/verify01?vui=8259&vp=r5ghjc9mxb63&ri=66.1.13.141&vs=jyq2d1):
failed to open stream: no suitable wrapper could be found in
/home/content/a/q/u/aquamoonllc/html/process-form.php on line 17
The image code you have provided does not match the actual one. Hit
the 'back' button of your browser and input the correct code please. |
|
Well, as it is written in:
http://www.protectwebform.com/forum/topic/90/
try to add new function before the pwf code:
--------------------------------------------
function file_get_contents2($url){
$url_parsed = parse_url($url);
$fd = fsockopen($url_parsed[host], 80);
$data = ''; $header = false;
$reques_url = (strlen($url_parsed[query]) > 0) ?
$url_parsed[path]."?".$url_parsed[query] : $url_parsed[path];
fputs($fd,"GET ".$reques_url." HTTP/1.0\r\n");
fputs($fd,"Host: ".$url_parsed[host]."\r\n");
fputs($fd,"Connection: close\r\n\r\n");
while($line = fgets($fd)) {
if($header) $data .= $line;
if(strlen($line) <= 2) $header = true;
}
fclose($fd);
return $data;
}
--------------------------------------------
and replace
'file_get_contents'
with
'file_get_contents2'
in the code. |
sadievan |
2007-03-26 17:47:21 |
|
I am new to this. Could you please tell me exactly were to insert
this new code. I don't know what you mean by pwf code.
Also the replace file_get_contents with file_get_contents2 is that to
be replaced in my html file where the captcha is located? Thanks for
your help. |
sadievan |
2007-03-26 17:51:43 |
|
Never mind. I figured out what you were telling me to do. Thank you,
Thank you, Thank you. It works. |
Post Reply:
You must be logged in to reply.
|