Search found 2 matches
- Sat Jul 07, 2007 5:25 am
- Forum: PHP - Code
- Topic: Redirecting help
- Replies: 3
- Views: 345
Found it
I found what I wanted by experimenting with the code and help from the net <?php if( $something ){ Header("Location: somewhere.php"); } else { $text = "Due to server upgrade, you are being redirected to our backup server"; print "<script language=javascript> alert('$text'); ...
- Thu Jul 05, 2007 6:21 am
- Forum: PHP - Code
- Topic: Redirecting help
- Replies: 3
- Views: 345
Redirecting help
feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi all. Q...