|
Posted by Marcin Dobrucki on 11/13/06 08:17
Skijor wrote:
> How do you go back to the html page you came in from from inside a php
> script?
ehh, how do you mean? If you have an html page that includes php
(and your server is configured to parse .html as php, then:
<html>
<head><title>...</title></head>
<body>
<?php echo "Hello World!"; ?>
</body>
</html
if you mean executing a php script, and then redirecting, then its
something like this:
** php script*
if (TRUE == $jump) {
// yes yes, lets be complient
header("Location: http://www.somewhere.com/page.html");
}
** html page **
<html>
<head><title>...</title>/head>
<body>
<h1>Hello world</h1>
<p>you were redirected from php</p>
</body>
</html>
/Marcin
Navigation:
[Reply to this message]
|