View Full Version : PHP Question.....
real_estate
07-21-2006, 11:21 PM
How do you refresh a PHP page into itself?
abhishekmat
07-22-2006, 08:07 AM
In PHP I don't know. But you can use this under <head></head>
<meta http-equiv="REFRESH" content="15; URL=http://www.yourwebsite.com/pagename">
Virginia SEO
08-04-2006, 06:58 AM
1 way:
<?php
// refresh / re-direct without delay
// ---------------------------------
header( 'location:http://www.domain.com/subdirectory/' );
?>
Other ways:
<?php
// refresh / redirect to an internal web page
// ------------------------------------------
header( 'refresh: 5; url=/webdsn/' );
echo '<h1>You will be re-directed in 5 seconds...</h1>';
// refresh / redirect to an internal web page
// ------------------------------------------
header( 'refresh: 3; url=/' ); # redirects to your homepage
echo '<h1>You will be re-directed in 3 seconds...</h1>';
// refresh / redirect to an external web page
// ------------------------------------------
header( 'refresh: 0; url=http://www.example.net' );
echo '<h1>You won\'t know what hit you!</h1>';
?>
Hope this helps!!! :)
social network
01-12-2007, 05:12 AM
i would just like to know if u get a script that requires sql, linux etc can u edit/custimise the script (such as php izabi) on a normal computer which doesnt have linux or sql and then send the edited files to your host.
vBulletin v3.0.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.