My computer tries to open php files with Microsoft Picture It software (which it doesn’t have).
How do I stop it doing this and where should the appropriate program be to open it as a php file. I have downloaded XAPP software but I am all at sea with this stuff.
@NogDogMay 04.2007 — #The file needs to be open via the web server, thus you cannot just double-click it. You'll need to (1) save the file within the web documents directory (with XAMPP I believe it's usually "htdocs" under the apache directory) or one of its sub-directories; and then (2) "open" the file by launching your web browser and specifying a URL like: [b]http://localhost/filename.php[/b] or [b]http://localhost/subdirectory/filename.php[/b] .
@spiresgateauthorMay 05.2007 — #Thanks so much for this; I might just about be at the tipping point to get to grips with php. I have located a directory called
C:Program Filesxampphtdocs
and have put my php file in it. However on putting
C:Program Filesxampphtdocs/testphp.php in the browser URL it still wants to open it with the Microsoft Picture It program.
I feel I am nearly there! What's the diference between / and in this context?
the browser will read it as html but ignores the php bit.
Does all this depend on a php program being somewhere in my system, but my computer is not finding it (it still tries to open the local file with the Picture It program)