Re: ?
| From: | Frank M. Kromann | Date: | Fri, 01 Dec 2000 02:41:04 +0000 |
| Subject: | Re: ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4216@lists.php.net to get a copy of this message | ||
You can use normal windows path but uou have to escape \ as \\ so the path c:\log.txt should be
c:\\log.txt. This is valid on both NT/2000 and Windows 95/98. On windows NT/2000 you can chose to
use / instead of \\ and have scripts running on both NT and windows platforms. You can still use
windows path like c:/log.txt.
- Frank
>Hi,
>
>Try
>
>fopen("/log.txt","a");
>
>I think you need not place a "c:\" in the beginning and may specify the
>whole directory path replacing '/' for '\'.
>For example,
>Windows directory path : C:\my documents\office\log.txt
>In php fopen : "/my documents/office/log.txt"
>
>Hope this helps,
>Li
>
>----- Original Message -----
>From: Richard <richard@computech1.com>
>To: <php-windows@lists.php.net>
>Sent: Thursday, November 30, 2000 11:16 PM
>Subject: RE: [PHP-WIN] ?
>
>
>> I just tried it, still the same error message. Any other thoughts?
>> Thanks,
>> Rick
>>
>> -----Original Message-----
>> From: Ertan Tike [mailto:ertant@eczacibasi.com.tr]
>> Sent: Thursday, November 30, 2000 10:13 AM
>> To: 'richard@computech1.com'; php-windows@lists.php.net
>> Subject: RE: [PHP-WIN] ?
>>
>>
>> i recommend give a path to files..this reason of many problems.
>>
>> for example
>>
>> fopen("c:\\log.txt","a")
>>
>>
>>
>> -----Original Message-----
>> From: Richard [mailto:richard@computech1.com]
>> Sent: Thursday, November 30, 2000 5:03 PM
>> To: php-windows@lists.php.net
>> Subject: [PHP-WIN] ?
>>
>>
>> What is an "input/output error"? You can see an example of it at
>> www.computech1.com/cti
>>
>> Thanks,
>> rick
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-windows-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>>
>>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
>For additional commands, e-mail: php-windows-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>