100 Web Space http://forum.100webspace.com/ |
|
problem with php http://forum.100webspace.com/viewtopic.php?f=5&t=64599 |
Page 1 of 1 |
Author: | promingrrounen [ Wed May 04, 2011 12:51 pm ] |
Post subject: | problem with php |
I have posted a very simple html page on my site just to test out php capabilites here is the code. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>bannertest</title><link rel="stylesheet" href="bannertest.css" type="text/css"></head><body> <div id="wrapper"> <div id="content"> <h1>My Little Title</h1> <h2>sub title, also at default size</h2> <p>lots of real content stuff</p> <!--p echo $_SERVER['HTTP_USER_AGENT']--></div> </div> <p> </p> </body></html> I used <?php echo$_SERVER['HTTP_USER_AGENT']; ?> As you can see somehow the code was changed. And nothing is being displayed by the php line. Can someone help me with this? |
Author: | tivalinov [ Sun Dec 21, 2014 8:19 pm ] |
Post subject: | Re: problem with php |
Hello, The given code can not work separately. For better assistance could you please open a support Ticket from your account. Best Regards, Teo Smith ModeratorsTeam 100webspcae.com |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |