I am trying to go through this tutorial http://www.daniweb.com/tutorials/tutorial173026.html but when I load a php document in my browser I either get a blank page in the browser or dreamweaver opens the php and gives me a blank page!

My web host is www.123-reg.co.uk ... Will the problem be with my web host or could it be something else?

Paul

Recommended Answers

All 4 Replies

use <?php ?> you may not have shorttags enabled..

Has made no difference unfortunately... still just returns a blank screen!

I assume the below should be ok?:

<HTML><BODY>
<?php echo date("M-d-Y");
echo "<P>";
echo "Your IP Address is " . $_SERVER['REMOTE_ADDR'];
?>
</BODY></HTML>

Paul

which package
the cheapest package says scripting X
no scripting, no php

<html><body>
<?php echo date('M-d-Y');
echo '<p>Your IP Address is '.$_SERVER['REMOTE_ADDR'].'</p>'; ?>
</body></html>

to close the unfinished <p></p>
lowercase tags,
xhtml gets specific, might as well use good structure now

Yes it turns out it was because I need to upgrade my hosting package! lol

Thanks

Paul

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.