![]() |
Errror number 2
I'm using this code to open a remote file and display its contents.
PHP Code:
Now, when I run the script, I get the following error: Warning: filesize(): Stat failed for http://tacorner.com/news/tanewsupdate.txt (errno=2 - No such file or directory) in /home/tacorne/public_html/news/testing.php on line 6 Any idea why? |
have you set up the chmod correctly for that file?
it must be readable to php, so readable to the world ;) |
I CHMOD it 777 and still get the error.
|
try to chmod the directory as well.
also some servers are preventing crossfile opening between different servers.. |
All times are GMT. The time now is 03:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|