Tnx for your help,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Johan,
Use a combination of getcwd() and chdir(). It's well worth while checking
out the functions offered for both directory and file.
#The following index.htm contains links, see below.
>$link = "data/data.htm";
>$fd = fopen ($link, "r");
>echo fread
My question: how do you set a path using php or html?
I need it for the following code:
index.php -
---
data.htm --
Download it now!
-
3 matches
Mail list logo