Hi Guys and Gals.
I am generally new to using PHP. So new that I have not yeat created a half decent php file.
I am not sure where I should of posted the question but here it goes i.e. installation or general help.
I have followed the instruction for installing php3 i.e.
Downloading a windows version php and extracting it to my php directory.
Played around with php3.ini-dist file to incorparate the needed changes as well as renaming the file and placing it in the windows directory.
Edited the registry, very carefully I might add, to incorporate php.
- Do I need to move all DLL that do not begin with php_*.dll to the windows\systerm directory ??
How do I actually run a php script ?
The following script should load with the hello world on the screen, in the browser right ?
<body>
<?php
$myvar = "Hello World";
echo $myvar;
?>
<B></b>
</body>
When I double click the file (test.php3), a command prompt pops up telling me that it is a BAD COMMAND or FILE NAME, which gernally tells that it does not recognise the file.
If I load the file via a browser i.e. explorer of navigator, the command line pops up again and also nothing appears in the borwser window.
I am also using windows 98 with Microsoft Personal Web Server (which I am fairly new at as well) as my web server. Do I have to configure this as well to use php, if so how?
I will be greatful for a speed responce.
Many Thanks
Sunit Modi
Sunit_modi@excite.co.uk or
modis@aston.ac.uk