|
Posted by David Gillen on 11/29/06 15:34
An noise sounding like John Obrien said:
> I got this far
><html>
><head>
><title>My first PHP page</title>
></head>
>
><body>
>
><?php
> print "Hello World";
>
> ?>
>
></body>
>
></html>
>
> I saved it as a PHP file.
> The problem is I do not know how to "upload it as I would normally do
> I have the XAMPP package.
> How do you get this script to the package like you would with say
> dreamweaver or front page?
>
You need to save this file to, assuming you installed xampp to the default
location, C:\Program Files\xampp\htdocs\helloworld.php, and then open your web
browser and point it to http://localhost/helloworld.php
I hope this helps. As your machine is essentially the server, you do not need
to upload to it.
I hope this makes sense.
D.
Navigation:
[Reply to this message]
|