![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
Hi i am an amature when it comes to building websites, well i have the design part down but its more so the setting it up part where i run into trouble.
So a few questions i have Im using dreamweaver and when i create a page, ie. home page title home.php Q1 At no point have i givin this page or anyother page an actual url. So my question is . when someone types my address into the address bar eg. www.mywebsite.com or whatever how are people directed to the home.php page and the same goes for when i link a tab such as contact tab is linking to contact.php or do i have to actually name the pages www.sitename.com/home for example please help me understand as i said im new to this????????? . Q2 i have created all my pages in .php form but do i need an .html copy for ever page when i upload everything? Q3 This is for anyone using DreamWeaver cs3. At one point while editing in DW when i click to preview in browser the page opens as always but i was able to click a link or tab on the page i opened in the browser and it would instantly bring that page up in the browser but for some reason now it is brining up a save/open or cancel box asking me to select one of the three even if i click save or open, the browser will not display the page i have asked for anymore, even though the pages are all saved. Anyway is there a setting or something that i have changed . Many thanks to the person who replies and i will thank you again for your help.
__________________
All the Gear & no idea |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,880
OS: Vista, various linux distros
|
Re: Dreamweaver users Help
Q1, this is down to the server's setup, traditionally "index.html/php" is the page served. But it's changeable. So you'll have to have a look at your server's configuration.
Q2, this is again linked, no you don't have to upload a html file to serve in place of the PHP. You need to change your server's config so that it serves "home.php" in place of "index.html"... It's just one of those things that is a bit of an effort to configure but once it's done it's done. What server are you running? Q3, It's probably because your file isn't saved, or is not up to date, and to preview it in the browser you must first save. Get into the habbit of pressing Ctrl+S before you click preview in browser =] Cheers, Jamey |
|
|
|
|
|
#3 (permalink) |
|
Registered User
|
Re: Dreamweaver users Help
Thanks again Jamey. I get what your saying about the index.php i think i will just rename it index.php because if i look at the original source files for the site it is named index and it is a php form but there are also html forms for other pages so im guessing the server supports php and ofcourse html but is that normal for some pages to be php and html? Basicly what i have been asked to do is rebuild an exsisting site
www.coolfm974.com if you happen to look on the site you will see there is not alot going on there. Thankfully they are not in a hurry for this new site . It is pretty much done so all i need to do is either email the source files to owner for upload or they give me the detail to do iut myself from here which would be alot easier. but from what i have been told the owner my uncle has only ever told me that he uploads changes made in DW from the DW's ftp program so i dont think he has actually "been on the server" to look at how its set up i dont really know how all that works. which leads me to this question i have put a mailme web form into my site but when i downloaded it it gave me a second php form a "server side" script is how they described it but it says about installing this on the server. when they say install do they simply mean upload it and does this have to go in a certin directory BTW thanks for the w3school.com link i am still reading and trying to understand fully php and mysql and the source is great much appreciated many thanks Jamey william
__________________
All the Gear & no idea |
|
|
|
|
|
#4 (permalink) |
|
Registered User
|
Re: Dreamweaver users Help
oh sorry forgot to mention i just opened DW and obviously all my files are saved or they would not be there :P but when i preview in browser and click a tab to a linked page its just asking me to save, open or cancel there must be a setting or something but thank you.
william
__________________
All the Gear & no idea |
|
|
|
|
|
#5 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,880
OS: Vista, various linux distros
|
Re: Dreamweaver users Help
I'm assuming the mailme form is a big script. And by installing they probably mean copying module code to the server(just uploading it)... If they dont' specify how/why then e-mail the admin.
It's best to use the same extension over all your files whether they're PHP/HTML/both. Just because it gives a user too much insight into your site's code/setup. Basically, it tells a hacker/possible attacker that "this page uses PHP, whilst this one doesnt" so they'll try to attack the PHP sides. Some mask their PHP files with a HTML extension, using .htaccess(server setup). And as for the save/open/cancel, i'm assuming the reason it's doing that is either a dodgey extension(what are the file extensions?) or the server not being involved in parsing the PHP (change the URL from file:// whatever, to http://testingserver/whatever)... Basically because if it uses the file:// protocol if an extension is unrecognised it won't serve it will try to download. Cheers, Jamey |
|
|
|
![]() |
| Thread Tools | |
|
|