RE: [PHP] Problems With Fopen
| From: | Brandon Orther | Date: | Fri, 02 Feb 2001 18:46:18 +0000 |
| Subject: | RE: [PHP] Problems With Fopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37883@lists.php.net to get a copy of this message | ||
Have you tried replacing the "/" with "\" like:
d:\www\www\ome\faid\newsitems\news.txt
I am pretty sure it should work now.
Thank you,
--------------------------------------------
Brandon Orther
WebIntellects Design/Development Manager
brandon@webintellects.com
800-994-6364
www.webintellects.com
--------------------------------------------
-----Original Message-----
From: Joe [mailto:phplist@koston.net]
Sent: Friday, February 02, 2001 10:17 AM
To: php-general@lists.php.net
Subject: [PHP] Problems With Fopen
I cannot open files outside of the directory which my script is in.
I'm not sure how to fix this on my server. It is a Windows NT Netscape
server. If anyone knows how to fix this help would be appreciated.
Here is the error code that I keep getting.
Warning: fopen("d:/www/www/ome/faid/newsitems/news.txt","r") - No
such process in d:/www/ome/faid/new.php on line 67
Thanks again
--Joe
http://www.koston.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net