Re: safe mode help
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Tue, 08 Apr 2008 13:28:11 -0400
rdlowrey wrote:
Hi, I'm pulling my hair out trying to make this work and any help
would be appreciated ...
When I try to move the uploaded file:
move_uploaded_file($_FILES["file"]["tmp_name"],"/var/www/vhosts/
mydomain.com/intranet/httpdocs/lib/slips/in/$filename.pdf");
I get the following error:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The
script whose uid is 10001 is not allowed to access /var/www/vhosts/
mydomain.com owned by uid 0
However, my phpinfo() tells me that the master value for safe mode is
Off. Why do I keep getting SAFE MODE errors iwhen php tells me that
safe mode is turned off?
Pleeeease help. Thanks.
What's the local value for safe_mode in phpinfo()? Are you loading the phpinfo() page from the same directory as you're calling move_uploaded_file() (i.e. safe_mode could be set on a per-directory instance)?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: safe mode help
- From: rdlowrey
- Re: safe mode help
- References:
- safe mode help
- From: rdlowrey
- safe mode help
- Prev by Date: Swatch Irony Chrono Watches Replica - Swatch Watches Cheap
- Next by Date: Re: safe mode help
- Previous by thread: safe mode help
- Next by thread: Re: safe mode help
- Index(es):
Relevant Pages
|