PHP Redirection Script
<?php
header("Location: http://new_url/");
?>
I always forget the syntax and always have to google for it. So I am putting this code here. Am so lazy, you see. :o)
<?php
header("Location: http://new_url/");
?>
I always forget the syntax and always have to google for it. So I am putting this code here. Am so lazy, you see. :o)
Hey Bob,
It's me Jo here. Hey - Suppose my URL is www.joplanet.com and I want to re-direct it to www.maisnam.com. Then how can we make it so that the URL in the address bar will stay www.joplanet.com through out the browsing, while the pages of www.maisnam.com shows up?
Regards,
Jo.
Soti here, Hey suppose I want to read from a database then output to form elements so that the user can edit. How do I go about this?
Cheers
Reply from Bobby (1/28/2006): Soti, If you are talking about a MySQL database with a PHP frontend, you can try this link: http://www.awtrey.com/tutorials/dbeweb/ .It's a short but good tutorial.
Thanks for posting this. I'm glad you are on page one of the results, all the pages above you were junk, but your's had exactly what I wanted.
Yes, I'm lazy too (and forgetful)!
Richard
Thanks for this code. I had been wondering how to do that until i read this.