note 51024 deleted from features.file-upload by didou

From: Date: Thu, 17 Mar 2005 15:56:14 +0000
Subject: note 51024 deleted from features.file-upload by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-86591@lists.php.net to get a copy of this message
Note Submitter: ralfthewise_at_gmail_com ---- I have a form where I want people to be able to upload a file or post a URL, and then the php deals with it accordingly, but for some reason php only gives whatever is to the right of the last '/'. For instance, if someone were to paste 'http://www.google.com/gmail' into the file box and submit it, the $_FILES['userfile']['name'] only contains 'gmail'. Is there some way to turn this off? I realize it's probably for security reasons, but still there should be a way to turn it off for people that know what they're doing.

« previous php.notes (#86591) next »