My PHP files are not working...

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

My PHP files are not working...

Postby nadinchathura » 14. December 2010 06:41

Hello,

I have installed the latest version of XAMPP and other than PHP all other options are working. Once i open my PHP file (http://localhost/myindex.php) it will return a HTML format. All PHP command written on the file been ignored.

Please help me.
nadinchathura
 
Posts: 1
Joined: 14. December 2010 06:34

Re: My PHP files are not working...

Postby Altrea » 14. December 2010 08:42

nadinchathura wrote:Once i open my PHP file (http://localhost/myindex.php) it will return a HTML format.

Thats correct. PHP is a serverside programming language and will be parsed by the php parser first. After that it will return pure plain-text (mainly HTML, but can be other MIME-Types too).

nadinchathura wrote:All PHP command written on the file been ignored.

If they are ignored, maybe you use short_open_tags and don't have activate them. But without any information about your sourcecode i can just guess.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 30 guests