Results 1 to 15 of 15

Thread: php redirect

Hybrid View

  1. #1
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: php redirect

    i gave it the best shot i could, but i dont think i understand what your asking for. SOrry
    My usual boring signature: Something

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    447

    Re: php redirect

    Yeah but as I explained previously it won't work because I'm inserting each page in a database table. So each page has a form clickable using the post method to a page called inserttext.php ( to insert it to the db table ). So within the inserttext.php I have the redirect tag in the head section. It doesn't redirect but it refreshes.

    But as for:
    Code:
    <script type='text/javascript'>
    window.location = 'w/e';
    </script>
    I don't think it will work because it won't recognize the url. The url is recognized through the PHP carried into the inserttext.php to be executed to redirect. Do you understand what I'm talking about?
    Compare bible texts (and other tools):
    TheWheelofGod

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    447

    Re: php redirect

    It worked but check out the syntax, where the quotes are:
    PHP Code:
    echo '<meta HTTP-EQUIV=REFRESH content="10; url=' .$newurl'" />'
    Compare bible texts (and other tools):
    TheWheelofGod

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Posts
    447

    Re: php redirect

    How do I eliminate a 0 from pg_0001.php to add a 1 instead?
    Compare bible texts (and other tools):
    TheWheelofGod

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: php redirect

    Quote Originally Posted by gilgalbiblewhee
    How do I eliminate a 0 from pg_0001.php to add a 1 instead?
    I'm afraid I don't understand the question.

Posting Permissions

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



Click Here to Expand Forum to Full Width