|
|
|||||||
| Web Development Chat about all aspects of developing web sites. PHP, MySQL, Javascript, Ajax, etc. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jan 2008
Posts: 2
|
Hello PHP erxperts
I expect this is a really stupid question to bother you with. I am a complete beginner with PHP. I have had a lot of experience with java and javascript and am a pretty good programmer although my database skills need attention. I installed a program called XAMPP which I downloaded from apache and in the first 'hello world' program I got from a tutorial was told to put the following program in the conf file which contains the file httpd.conf. <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> I was told then to type http://localhost/hello.php into the program open dialogue of my browser which is IE explorer. Sadly when I did this all I got was an error message. Any ideas ? Rory Barrett |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Nov 2007
Posts: 8
|
well i blame the tutorial
in browse to {HDD LETTER}:/xampp/htdocs/ stick that code into a file and name it 'hello.php' then with xampp running goto :: http://localhost/hello.php it should come up then
__________________
---[ Posting Info ]--- I don't try to be mean but you know what they say, theres no such thing at stupid answers, only stupid questions... ---[ A Good Rhyme / Joke ]--- Little Timmy was a chemist, Little Timmy is no more... 'Cause what Little Timmy thought was H2O, Was really H2SO4 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2008
Posts: 2
|
Thanks. I'll try that. I knew it had to be something really simple.I would have played round for days and I may or may not have found this.
I'll try tomorrow. Rory Barrett |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Do you work as a full time webmaster/designer? | PhilG | Chit Chat | 1 | 04-22-2008 10:20 AM |