| 
 Posted by Andy Hassall on 06/16/61 11:57 
On 6 Sep 2006 04:13:55 -0700, "peter.hrdy@googlemail.com" 
<peter.hrdy@googlemail.com> wrote: 
 
>fsockopen and curl doesn't work as well. 
>What is so strange for me is that when i try to run that php script 
>from command line, then it works.. from browser nope. 
 
 That's not strange; it's a very different environment when running from the 
webserver versus running from a command line, so permissions errors are likely. 
You need to give the user that the webserver runs as sufficient permissions on 
the files you're trying to access. 
 
--  
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk 
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
 
  
Navigation:
[Reply to this message] 
 |