-
Dec 19th, 2024, 01:47 PM
#1
[RESOLVED] Text file path question
In my web app, I read and write some text files with php.
At the moment I use a full path - “e:\whatever\textfile.txt”.
As the php file and the text file are in the same directory, could I just use the relative path “textfile.txt”? (As I can in vb.net)
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Dec 19th, 2024, 04:35 PM
#2
Re: Text file path question
yes. "./yourFile.txt"
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|