Re: Please helpme !! files problems..
| From: | Richard Lynch | Date: | Tue, 27 Aug 2002 23:08:46 +0000 |
| Subject: | Re: Please helpme !! files problems.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114298@lists.php.net to get a copy of this message | ||
>Hi! Sorry for this stupid question but i am a begginer learning from a
>old book (dangerous combination), So i have to convert every example to
>not use old methods...
>I have to problems and i look every where and could not resolve.
>firstone:
>i have a form like this...
>
><form enctype="multipart/form-data" action="_URL_"
>method="post">
>Send this file: <input name="userfile" type="file">
><input type="submit" value="Send File">
></form>
>
>but i when i try to acces to $_FILES['userfile']['name'] for instance,
>seems to not exist... But the $_POST['userfile'] is working..
Do <?php phpinfo();?> on the page where $_FILES isn't working and see what's
in there that mentions 'userfile', if anything.
>I look inte online manual and i doit exactly like describe but still not
>working...
>Any ideas ????
>
>Second:
>I cant accoplish that my slack work with safe mode on...
>the user/group of the script php recognize like a -1/-1.... ¿?¿?¿? why?
>i try make a user/grup apache/apache to switch once started but still
>not working...
>
>Thaks in advance and please help... i don´t know other place to find the
>answers to this problems...
>
>Machine conf:
>-Slackware 8.1 - PHP v4.2.2 - Apache v2.0.39
>-Windows XP Pro - PHP v4.2.2 - Apache v4.0.40
>
--
Like Music? http://l-i-e.com/artists.htm