I set all parametars on result .php page but I get this error report " Warning: feof(): supplied argument is not a valid stream resource in /xsp/home/pasage/web/www/results.php on line 39 Warning: fclose(): supplied argument is not a valid stream resource in /xsp/home/pasage/web/www/results.php on line 42 Parse error: parse error in /xsp/home/pasage/web/www/results.php(44) : eval()'d code on line 1 " ?????? Help ?
Try removing the @ before the fopen function. See if it shows you a specific error. My guess is that your server isn't setup to allow URLs in fopen. - Shawn
after removing @ before fopen function I get this "Warning: fopen(http://search.digitalpoint.com/?q=garsonjera&key=xxxxxxxxxxxxxxxxxxxxx&site=www.pasage.co.yu&start=0): failed to open stream: Connection timed out in /xsp/home/pasage/web/www/results.php on line 38 Warning: feof(): supplied argument is not a valid stream resource in /xsp/home/pasage/web/www/results.php on line 39 Warning: fclose(): supplied argument is not a valid stream resource in /xsp/home/pasage/web/www/results.php on line 42 Parse error: parse error in /xsp/home/pasage/web/www/results.php(44) : eval()'d code on line 1"
That's the only thing I can think of. If you go to that URL in a browser, do you get any response? - Shawn
when I clik (http://search.digitalpoint.com/?q=g...e.co.yu&start=0): on I get "array ( 'error' => 'No Search Results Found', )" I ask the Internet provider and he claim that Fopen function is alow in server. but about my browser I think that my firewall alow scipt execute,but I have to ask my admin.
It does not require any scripting within your browser or firewall. Are you on the same subnet as your web server (the one running PHP)? - Shawn