PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 28th, 2000, 10:59 AM
bombear bombear is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 1 bombear User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The problem I am struggling with is PHP and MySQL related. I have a webserver with multiple users on it and I run a PHP script to add banners to a MySQL database. This works fine, I can add both text and banners (.gif images). When I upload these PHP scripts using the username of one of the other users on my system and try to add textual data to the database I have no problem (shouldn't expect one either), but when I try to upload a banner (BLOB) I get this error message:
Warning: SAFE MODE Restriction in effect. The script whose uid is 540 is not allowed to access /tmp/phppbUM8M owned by uid 0 in /opt/guide/www.modelspoor.nl/HTML/advertenties/banneradd.php3 on line 43

In other words this script is not allowed to write and read in the /tmp dir, which does make sense, just it makes it impossible to put blobs into the database because that requires this step. How can I fix this problem in a safe way?

Thanks a lot!

[This message has been edited by bombear (edited April 28, 2000).]

Reply With Quote
  #2  
Old April 28th, 2000, 05:10 PM
cka cka is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: Ontario, Canada
Posts: 498 cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
Is 'safe mode' turned on in your php3.ini file? Just a guess, since your error says "SAFE MODE Restriction"...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > The script whose uid is 540 is not allowed to access /tmp/phppbUM8M owned by uid 0

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap