View previous topic :: View next topic |
Author |
Message |
stultz -
Joined: 30 Sep 2006 Posts: 3
|
Posted: Sat Sep 30, 2006 3:19 am Post subject: confused |
|
|
Hello. Quick question. I downloaded the PHP pre-configured app. from aprelium.com and set it up with my Abyss Web Server. When i did it at work it was fine. I could add a new document in htdocs called whatever.php But now if i do it on my laptop it's a whatever.php.txt file??? does anyone know how to make it just a .php file?
also, when i go to 127.0.0.1/index.html it says ERROR: NOT FOUND whats up with that? thanks guys. |
|
Back to top |
|
|
Ralph -
Joined: 17 Sep 2006 Posts: 87
|
Posted: Sat Sep 30, 2006 4:51 am Post subject: |
|
|
Hello,
I am not 100% positive although I think you need to ad parentheses to the file name like "whatever.php" to keep it from going to text.
Hope this helps! I am in the middle of trying to get the MySQL thing going and I cant seam to get a red light turned on. I am going to try a reinstall I think.
www.qualitynetdesign.com |
|
Back to top |
|
|
canoedf -
Joined: 25 Oct 2004 Posts: 13 Location: Colorado
|
Posted: Sat Sep 30, 2006 5:25 am Post subject: |
|
|
Stultz,
Let me guess.
<guess>
You are using Windows Notepad? By default it will append .TXT to your filename.
When you save your php file you need to change the "save as file type" to be "all files".
</guess>
Good luck. _________________ Dan |
|
Back to top |
|
|
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Sat Sep 30, 2006 9:27 am Post subject: |
|
|
Not sure what it's called in the english version of Windows, but you need to make sure Explorer display files with its extension.
You could also save the file as "whatever.php" (including the quotes). |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Sat Sep 30, 2006 11:39 pm Post subject: |
|
|
In Notepad, when you're saving a file, look at the dialog box.
File --> Save As
You'll see file name box. Right below it is Save as type. It is set to Text Documents (*.txt). Instead, set it to All Files and name it whatever.php.
I would set Explorer to show you the full extensions. To do this, go to Tools --> Folder Options --> View tab. Uncheck Hide extensions for known file types. Then when you look at whatever.php, it'll probably show whatever.php.txt. Then just rename it (F2). _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Oct 01, 2006 12:05 am Post subject: |
|
|
The easiest way is to put the filename in quotes when you save, so instead of whatever.php, you put "whatever.php". :-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
|