SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Being a complete PHP newbie, I've been mucking around creating some scripts over the last couple of days that include uploading files to the server using forms. Anyway, I upload the scripts to my free web space at f2s.com and get ...

    Warning: SAFE MODE Restriction in effect. The script whose uid is 120973 is not allowed to access /tmp/phpAliTgH owned by uid 0 in ...

    Bummer - I didn't know anything about SAFE MODE before seeing this. Duh, I should have guessed that a virtual hosting provider is not going to give you access to /tmp !

    Those out their writing PHP tutorials that include file upload should let the user know the big caveat that this is not going to work on a server where SAFE MODE is on!

    UPDATE:

    Well, I've worked out that I you can bypass SAFE MODE by running the script in CGI. There is a faq at f2s.com that explains this : P~~ Of course this breaks my session tracking - oh well.
    <Edited by freakysid on 02-02-2001 at 03:48 AM>

  2. #2
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Safe Mode - ****!

    LOL - I didn't know **** was still offensive in this day and age.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •