Do a variable dump and see if any variables have that value:

<pre><?php print_r(get_defined_vars()) ?></pre>

Mike

Pong-Tc wrote:

> Hello Listers
> 
> I have a question on how to get the full path of source file.  I have a
> form like this:
> 
> <form enctype="multipart/form-data" action="myupload.php" method="post">
> <input type="hidden" name="MAX_FILE_SIZE" value="10000">
> Send this file:<br> <input name="userfile" type="file"><br>
> <input type="submit" value="Send File">
> </form>
> 
> I pass the request to myupload.php.  If my source file's path is
> c:/result.txt, how can I know it in myupload.php?  I know that I can get
> the file name result.txt, but I don't know how to get the full path.  
> 
> Anyone, please help.
> 
> Pong
> 
> 


-- 
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]

Reply via email to