QUOTE(lonebyrd @ Apr 22 2006, 05:37 PM)

I have downloaded a couple of PHP scripts and have tried to open the with XAMMP in PHP but it isn't working. The page pops up for a quick second, then disappears. I have no clue what is going on. I am opening it with the PHP.exe file in XAMMP, is that what I am supposed to be using? When it comes up for that second, you can see the writing, but like I said, it just disappears. Not sure what I'm doing wrong, probably something simple.
What is happening is you're running the PHP interpretter, which is a console program, that will pop up display your PHP results, then exit. This isn't what you are wanting to happen. The interpretter is good for knowing problems with your script before hand, but you must launch it in a console.
What you want to do is store your PHP files in your web directory that XAMPP sets up for you, then you would view them by opening your browser and typing
http://localhost/this_page.php where this_page.php is the name of the php file you want to open in your web directory.
Cheers,
MC
Comment/Reply (w/o sign-up)