The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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? |
|
#2
|
||||
|
||||
|
have you set up the chmod correctly for that file?
it must be readable to php, so readable to the world
|
|
#3
|
||||
|
||||
|
I CHMOD it 777 and still get the error.
|
|
#4
|
||||
|
||||
|
try to chmod the directory as well.
also some servers are preventing crossfile opening between different servers.. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|