Log In · Register

 
PHP Files and Webpages
bigtrey90
post Mar 26 2007, 08:03 PM
Post #1


talent on another level
*****

Group: Member
Posts: 746
Joined: Oct 2006
Member No: 475,735



So I finished all the webpages for my website in Dreamweaver. All of them right now are saved as .htm files. I am using CuteNews, so would it be best to save them as .php files?
 
 
Start new topic
Replies
bigtrey90
post Mar 27 2007, 04:08 PM
Post #2


talent on another level
*****

Group: Member
Posts: 746
Joined: Oct 2006
Member No: 475,735



so could i put it for example in my cutenews/example folder or make a seperate folder for it? Where is the root server cause I don't have a host yet to upload to, so I just wanted to know where it is ahead of time?
 
*mipadi*
post Mar 28 2007, 11:11 AM
Post #3





Guest






QUOTE(bigtrey @ Mar 27 2007, 5:08 PM) *
so could i put it for example in my cutenews/example folder or make a seperate folder for it? Where is the root server cause I don't have a host yet to upload to, so I just wanted to know where it is ahead of time?

The directory of your server is just the first directory, the place where you put everything.

Basically, anytime you want to just type a URL without a filename, you have to put a file called index.html in that directory.
 

Posts in this topic
bigtrey   PHP Files and Webpages   Mar 26 2007, 08:03 PM
mipadi   Only if they're PHP files.   Mar 26 2007, 08:41 PM
bigtrey   what did you mean by that?   Mar 26 2007, 08:45 PM
mipadi   Well, they should only have a .php extension if th...   Mar 26 2007, 09:00 PM
bigtrey   well none of my .htm files have scripts on them. y...   Mar 27 2007, 04:54 AM
mipadi   A .php file is generally a webpage that mixes in a...   Mar 27 2007, 07:36 AM
bigtrey   l0l okay gotcha. sorry bout the dumness. so if i s...   Mar 27 2007, 02:27 PM
mipadi   No, usually files that don't have an extension...   Mar 27 2007, 03:04 PM
bigtrey   so basically save it as what, this: http://www.exa...   Mar 27 2007, 03:09 PM
mipadi   If a pathname doesn't have an extension, most ...   Mar 27 2007, 03:17 PM
bigtrey   okay, l0l at the last comment. i get all that now,...   Mar 27 2007, 03:22 PM
mipadi   QUOTE(bigtrey @ Mar 27 2007, 4:22 PM) oka...   Mar 27 2007, 03:25 PM
bigtrey   okay whoo! thanks, so i'ma name my blog li...   Mar 27 2007, 03:28 PM
mipadi   Yeah.   Mar 27 2007, 03:52 PM
bigtrey   YES! Thanks again ! One more question, w...   Mar 27 2007, 03:57 PM
mipadi   Then just put a file called index.htm at the root ...   Mar 27 2007, 04:05 PM
bigtrey   so could i put it for example in my cutenews/examp...   Mar 27 2007, 04:08 PM
mipadi   QUOTE(bigtrey @ Mar 27 2007, 5:08 PM) so ...   Mar 28 2007, 11:11 AM
bigtrey   okay I did that. I also made my blog link index.ph...   Mar 28 2007, 01:52 PM
mipadi   Sounds good to me.   Mar 28 2007, 02:55 PM
bigtrey   okay i got it, thanks   Mar 29 2007, 05:15 AM


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: