Page 1 of 1

HELP! When ever I try to preview my .php file in browser

PostPosted: 18. September 2010 21:45
by ScienceGuy22
HELP! When ever I try to preview my .php file in browser it just takes me to the XAMPP for windows page:


XAMPP 1.7.3!
Congratulations:
You have successfully installed XAMPP on this system!

Now you can start using Apache and Co. You should first try »Status« on the left navigation to make sure everything works fine.

For OpenSSL support please use the test certificate with https://127.0.0.1 or https://localhost

And very important! Big thanks for help and support to Nemesis, KriS, Boppy, Pc-Dummy and all other friends of XAMPP!

Good luck, Kay Vogelgesang + Kai 'Oswald' Seidler + Carsten Wiedmann


-- It never used to do that, in fact when I was doing the same thing last night it took me to the file I wanted to preview! But I turned off my computer for the night and when I woke up this morning it started doing this!

I tried stopping APACHE and MYSQL on XAMPP control panel and restarting it, but to no avail

Thank you if you if you can help me..


Simon

Re: HELP! When ever I try to preview my .php file in browser

PostPosted: 19. September 2010 03:01
by Altrea
More information needed:

What is the full name of your file?
In which directory is the file?
What do you type in your browser address bar to request the file?

Re: HELP! When ever I try to preview my .php file in browser

PostPosted: 19. September 2010 09:00
by ScienceGuy22
All I do is open the file in Dreamweaver and go to PREVIEW IN BROWSER. the file is stored in the directory and it has all the proper references in the script..

If it helps any, in the script it reads:

<form action='../../../Documents/CASPECT/login.php' method='POST'>


What does this mean exactly?

For OpenSSL support please use the test certificate with https://127.0.0.1 or https://localhost

Re: HELP! When ever I try to preview my .php file in browser

PostPosted: 19. September 2010 16:27
by JonB
can I ask a question?

what happens when you try to run the script in YOUR BROWSER?

the file is stored in the directory


and - where is your DocumentRoot?

:shock: