Hi All!
I have a problem with my file function. I want to get the contents of the page using fsockopen but gives me a warning: fsockopen(): php_network_getaddresses: gethostbyname failed in C:\CIT-LMS\file.php on line 10 and warning: fsockopen(): unable to connect to htpp://art:8086 in C:\CIT-LMS\file.php on line 10. I used file function but still a warning occur but when i used readfile it works but the only thing readfile print the whole page but I want the text of this page get and stored in variables. Is there a need to configure in php.ini? Anybody can help?
Windows 2000 Server
MS SQL 7.0
IIS
PHP 4.3.8