confused

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
stultz
-


Joined: 30 Sep 2006
Posts: 3

PostPosted: Sat Sep 30, 2006 3:19 am    Post subject: confused Reply with quote

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 View user's profile Send private message
Ralph
-


Joined: 17 Sep 2006
Posts: 87

PostPosted: Sat Sep 30, 2006 4:51 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
canoedf
-


Joined: 25 Oct 2004
Posts: 13
Location: Colorado

PostPosted: Sat Sep 30, 2006 5:25 am    Post subject: Reply with quote

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 View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sat Sep 30, 2006 9:27 am    Post subject: Reply with quote

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 View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 952
Location: Michigan, USA

PostPosted: Sat Sep 30, 2006 11:39 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Oct 01, 2006 12:05 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group