Welcome to TalkGraphics.com
Results 1 to 10 of 13

Thread: PHP Script Help

Hybrid View

  1. #1
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: PHP Script Help

    Hi Jim,

    I'm not an expert on PHP.

    The code is setup to provide redirection to a page if you need it.

    If you change $forward = 0; to read as $forward = 1; and change $location = ""; to $location = "http://myredirect";

    In place of "myredirect" put in the full URL to the page you want the viewer to go to.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: PHP Script Help

    See the attached image for a brief explanation of the code.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	code-snippet.gif 
Views:	125 
Size:	15.0 KB 
ID:	64760  
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Feb 2001
    Location
    Surrey, BC, Canada
    Posts
    2,379

    Default Re: PHP Script Help

    Hi,
    thanks I tried a goto but didn't work..
    Jim

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: PHP Script Help

    You are welcome.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5
    Join Date
    Feb 2001
    Location
    Surrey, BC, Canada
    Posts
    2,379

    Default Re: PHP Script Help

    hi,
    the Modifications you suggested aren't working! I tired various references to $location="thankyou.htm" ?
    thanks any way for your attempt (maybe my implementation)
    Jim

  6. #6
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: PHP Script Help

    Jim, I think you must provide the entire URL including the http:// etc.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  7. #7
    Join Date
    Feb 2001
    Location
    Surrey, BC, Canada
    Posts
    2,379

    Default Re: PHP Script Help

    hi,
    I have tried the full path..just get a blank page.
    It is Sledgers web script... maybe I should contact him directly...
    Thanks for help tho..
    Jim

 

 

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
  •