open url through header in php
- by sumit
I have a .php file in which i have a added a simple code:
<?php
header("Location:http//www.google.com");
?>
when i run this code, then instead of opening google.com it opens a download file, which is the same as my php file.