|
|
michaelleeds2711
regular
Reg'd: Sun
Posts: 65
Loc: Brighton
|
|
Hi, I design web sites but normally use html and sometimes web design software like namo 3 and frontpage express, but with the advent of php and mysql i thought i would broaden my range. But I hit a brick wall on my 1st attempt. I have downloaded mysql and have the green traffic light on to show it is working. I also downloaded php and installed that and had the grey box saying it had successfully installed.i placed the black dot in the microsoft pws on windows 9x me when installing the php, I am running windows XP home edition. I have just typed the following into my browser as if i were making a html web site. <html> <head> <title>PHP test</title> <meta name="generator" content="Namo WebEditor v3.0"> </head>
<body> <p> this is an HTML line <p> <?php echo "This is a PHP line"; phpinfo(); ?> </body>
</html> And what is supposed to happen is it says This is an HTML line This is a PHP line
but ....................all i get is the This is an HTML Line and nothing else. Can some one please help me i am going in circles because i just do not know what to do.
Many Thanks
Michael (Hair thinning now due to pulling most of it out trying to fathom PHP)
http://www.anxious-times.co.uk non profit web site to help people understand Anxiety.
|
|
ChrisMellor
regular
Reg'd: Tue
Posts: 112
Loc: Leeds
|
|
Did you save your page as '{page}.php ?
Remember to use the PHP extention when using PHP in your pages. If that's not the case, then you've configured PHP wrong.
|
michaelleeds2711
regular
Reg'd: Sun
Posts: 65
Loc: Brighton
|
|
Hi Chris, Apologies for replying late to your response. Thank you yep i forgot to place .php on the end of the files lol (matron will be round soon with my medication) lol
I didnt realise you had to put php at the end how stupid is that lol Many thanks for your help the php works fine just trying to sort out the mysql then i am cooking on gas
Many Thanks
Michael
http://www.anxious-times.co.uk non profit web site to help people understand Anxiety.
|
peterstone
new user
Reg'd: Tue
Posts: 3
|
|
on a server - how to disable phpinfo.php from showing all the configuration info?
|