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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby ScienceGuy22 » 18. September 2010 21:45

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
ScienceGuy22
 
Posts: 14
Joined: 28. August 2010 09:08

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

Postby Altrea » 19. September 2010 03:01

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?
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: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

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

Postby ScienceGuy22 » 19. September 2010 09:00

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
ScienceGuy22
 
Posts: 14
Joined: 28. August 2010 09:08

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

Postby JonB » 19. September 2010 16:27

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:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests