A local file copy question
| From: | Dave Carrera | Date: | Tue, 15 Jan 2002 11:08:39 +0000 |
| Subject: | A local file copy question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15818@lists.php.net to get a copy of this message | ||
I am trying to copy a file on my system from one local place to the path of
my script.
So...
FILE TO COPY = c:\dir\filename.php
COPY TO = ../dir/filename.php
I need to work out how to determin the local path of my script thus allowing
my script to know where ../dir is relitive to. I Think....
I can not fix the scripts path as i dont know where people un zip the script
to on thier local system.
Any help or guidence as aways, is most appreiciated.
Yours
Dave C
The two rules for success are:
1. Never tell them everything you know.