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
    Regular Coder
    Join Date
    Dec 2007
    Posts
    145
    Thanks
    5
    Thanked 5 Times in 5 Posts

    PHP - Site Index Variable?

    I want to a script to send information on to a page in the site index that's in a directory. Example:

    http://www.example.com/forms/applyform.php

    The person fills out the form and hits submit. I want the form to submit to
    http://www.example.com/formvalidation.php

    Isn't there like a pre-defined variable in php like $_SERVER to get the site's index?

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,537
    Thanks
    8
    Thanked 1,093 Times in 1,084 Posts
    I'll save you a lot of time when you need some help ...

    Before asking those types of questions on this forum, use this method first:

    http://www.google.com/search?q=php+%...er&btnG=Search

    You'll get your answers instantly instead of waiting for us to answer.


  •  

    Posting Permissions

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