|
-
Dec 20th, 2007, 09:09 PM
#1
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
-
Dec 20th, 2007, 09:16 PM
#2
Thread Starter
Hyperactive Member
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?
-
Dec 20th, 2007, 09:21 PM
#3
Thread Starter
Hyperactive Member
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. '" />';
-
Dec 20th, 2007, 09:29 PM
#4
Thread Starter
Hyperactive Member
Re: php redirect
How do I eliminate a 0 from pg_0001.php to add a 1 instead?
-
Dec 21st, 2007, 05:14 AM
#5
Re: php redirect
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|