#1
  1. No Profile Picture
    jrc313
    Guest
    Devshed Newbie (0 - 499 posts)
    I've been happily developing away on Win32 and when I uploaded my App to my linux webserver I noticed that $PHP_SELF returned 'php-bin/php/document-name' rather than just 'document-name'.
    Is this a common problem, and does anyone have a more elegant solution than stripping the offending 'php-bin/php' prefix?
  2. #2
  3. No Profile Picture
    cbolt
    Guest
    Devshed Newbie (0 - 499 posts)
    use getenv("SCRIPT_NAME"); instead
  4. #3
  5. No Profile Picture
    jrc313
    Guest
    Devshed Newbie (0 - 499 posts)
    Cheers cbolt.
  6. #4
  7. No Profile Picture
    jrc313
    Guest
    Devshed Newbie (0 - 499 posts)
    Cheers cbolt.

Similar Threads

  1. RH Linux 9 and Windows XP Prof.
    By pkp413 in forum Linux Help
    Replies: 6
    Last Post: March 6th, 2004, 07:37 AM
  2. Linux gone from Lilo; can't boot into Linux
    By owh in forum Linux Help
    Replies: 0
    Last Post: November 12th, 2003, 07:12 PM
  3. I cannot mount a device in Linux
    By linh in forum Linux Help
    Replies: 3
    Last Post: October 1st, 2003, 03:08 PM
  4. RH Linux 9 and Promise ATA RAID
    By Phaethar in forum Linux Help
    Replies: 0
    Last Post: September 29th, 2003, 04:44 PM
  5. Windows XP to Linux Networking
    By madman01 in forum Networking Help
    Replies: 3
    Last Post: August 14th, 2003, 03:55 AM

IMN logo majestic logo threadwatch logo seochat tools logo