Jump to content

Archived

This topic is now archived and is closed to further replies.

professor_z

echo php script

Recommended Posts

I'm having trouble with this code

[code] echo '<html>
<head>
<title>File Download</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="<?php echo($wait); ?>; url=index.php?get=<?php echo($get); ?>&send">[/code]

My page doesn't load anything

Share this post


Link to post
Share on other sites
try

[code]<?php
echo '<pre>';

echo htmlentities('<html>
<head>
<title>File Download</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="<?php echo($wait); ?>; url=index.php?get=<?php echo($get); ?>&send">');

echo '</pre>';
?>[/code]

Share this post


Link to post
Share on other sites
Cheers Barand,

It didn't work, however when I took off the <php? it shows up as text on the page.

Any other suggestions? appreciate it as is, cheers!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.