You are here: Help needed with uploading files « PHP Language « IT news, forums, messages
Help needed with uploading files

Posted by Nakkie on 12/22/06 15:05

Hi
I created a htm for that calls uploader.php
When trying to upload, I get the following error message:
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE
Restriction in effect. The script whose uid/gid is 4984/4984 is not allowed
to access / owned by uid/gid 0/0 in
/mounted-storage/home30a/sub001/sc14018-XLQD/mydomain/memberarea/uploader.php
on line 15
Were line 15 of my uploader contain:
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path))

From what I gathered so far - I do not have propper permission on the
server's temp directory.
My webhost cannot help me with this...........
I read on php.net that yuo can copy a php.ini file to your root directory
and edit the line upload_TMP_DIR =
and specify the path of your own temp directory - I copied one of the sample
ini files, but cannot find that string.
Can any1 give me an idea of what else to try?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация