Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    May 2006
    Posts
    1,683
    Thanks
    28
    Thanked 4 Times in 4 Posts

    re-setting the path ??

    Is there a way to set the path so that my includes get found ?

    After using mod_rewrite my path gets set to

    www.mysite.com/agents/west/

    although I have put an absolute path for the script that runs next, I don't want to put absolute paths all through my website for all the includes and form actions and hrefs.

    How can I just set the path at the top of the script so it changes to

    www.mysite.com/scripts/

    Thanks
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  • #2
    Regular Coder devinemke's Avatar
    Join Date
    Dec 2004
    Location
    NYC
    Posts
    443
    Thanks
    0
    Thanked 12 Times in 11 Posts
    you can chdir to whatever dir you want and then use realtive paths.
    Last edited by devinemke; 08-29-2006 at 08:27 PM.


  •  

    Posting Permissions

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