Posted by Kurt Krueckeberg on 01/09/05 17:54
> I am hoping for some help with my PHP installation under windows xp. It
> was
> installed using the xampp script ans seemed to go very well until i tried
> running the following html and php. When the php code is called windows
> wants to download the file not execute it.
The problem is not the php file itself--if you are geting the Windows
download prompt. If the php file has errors, due to bad php code, you would
be probably live get a blank screen; you won't get the Windows prompt.
Try to get very basic working--like this
/* phpttest.php */
<?php
print phpinfo();
?>
This will output to your browser the php settings of your installation, by
calling the library function phpinfo.
Navigation:
[Reply to this message]
|