View Single Post
  #10  
Old 02-08-2012, 01:18 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
Yes I did reset the password so it was 41 instead of 16 and I also commented out the old-password flag in my.cnf
This didn't help so I went back to an older version of php.

I was still having a problem I mentioned a couple posts back with the php command 'file_get_contents' .. if it is using the full path, it doesn't work.

Eg this doesn't work

<?php $a = file_get_contents("http://". $_SERVER['HTTP_HOST'] . "/xxx.htm"); echo ($a);?>

But this works

<?php $a = file_get_contents("xxx.htm"); echo ($a);?>

So I have rebuilt the entire server from a backup. But after about 5 minutes of working correctly, the problem occurs.

It returns an error message sometimes, not all the time -

Warning: file_get_contents() [function.file-get-contents]: Failure when receiving data from the peer in /home/aaa/public_html/servervars.php on line 20

What can I do?
Reply With Quote