note 49799 added to features.file-upload
| From: | phpnoobatadamdotnetdotnz at osu1 dot php dot net | Date: | Wed, 09 Feb 2005 01:57:37 +0000 |
| Subject: | note 49799 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84695@lists.php.net to get a copy of this message | ||
Just thought I'd add this since I had to search forever to find an answer.
When I used the enctype attribute on a form to process a file upload I had a problem redirecting
back to an anchor point on the original page my code looked like this on the upload page:
header("Location: original_page.php#image_gal");
and the resulting url looked like this:
http://www.url.com/original_page.php
note the missing anchor reference. So my work around was to pass the anchor point as a variable and
then redirect again when I got to the original page. A little bit chunky but it worked. Hope this
helps someone.
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49799
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49799&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49799&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49799&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49799&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49799&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49799&report=yes
Search -- http://master.php.net/manage/user-notes.php