Re: PHP & html local testing
| From: | David Robley | Date: | Thu, 10 Aug 2000 05:21:58 +0000 |
| Subject: | Re: PHP & html local testing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11064@lists.php.net to get a copy of this message | ||
On 9 Aug, Andrew V. Romero wrote:
> I was looking at creating an html form and then passing its variables
> into a php file for formatting and other things like that. This works
> when I load my php file and my html form onto a remote server but I can
> not figure out how to test this form and php file locally. I was
> wondering if someone could create a simple form and then a simple php
> file and tell me how I can test that combination locally? I was trying
> to just create a form that allows a user to enter two numbers into two
> seperate fields and then hit submit and have the numbers added together
> and have the sum displayed.
Providing your local machine is set up with PHP and a web server
configured to understand PHP, you should be able to access the file
through your browser using the address you have configured for your
local machine. If all else fails, localhost may work.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA