navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

.php files

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> .php files
Page: [1]
 
artpics

 

Posts: 122
Joined: 12/20/2003
From: London UK
Status: offline

 
.php files - 7/10/2004 17:39:38   
hello i have been asked to work on a site that uses .php as the page extension does fp support this ,and is it easy to change like html.

thanks
RT
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: .php files - 7/10/2004 18:07:04   
Short answer...... no and no.

Longer answer..... php is easy if you know php. FP2003 will allow you to open and edit php files but you won't get any help from it so forget templates etc. Also, unless you get PHP running on your machine you can't see the results of any of your work without uploading them to the host.

If the site uses PHP I suspect that means there is also a MySQL database in there somewhere as well.

The book I use as a reference is PHP and MySQL for Dummies. It has step by step tutorials, examples etc.

Good luck.

< Message edited by jaybee -- 7/10/2004 18:21:58 >


_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to artpics)
artpics

 

Posts: 122
Joined: 12/20/2003
From: London UK
Status: offline

 
RE: .php files - 7/10/2004 18:54:38   
thanks again jaybee ,
your info should let me do what the client wants , :)
i will try a dummy run first

thanks
rt

(in reply to jaybee)
abbeyvet

 

Posts: 5095
From: Kilkenny Ireland
Status: offline

 
RE: .php files - 7/10/2004 20:21:13   
I make most of my sites using .php extensions and almost all of them in FP.

You can see and edit pages in the normal way, ie, all three views and so on, nothing different there. There are some things to watch out for though.

It also updates things as you move them around and so on.

1. You should probably FTP rather than publish your site. Not sure about this, but it's what I do.

2. You will not be able to use FP includes, forms etc. None of the FP specific stuff will work.

3. You can however use PHP includes. They look like this:

<?php include($DOCUMENT_ROOT . "/inc/footer.txt"); ?>

where "inc" is the include folder and "footer.txt" has all the code for the footer stuff.

You will not however see your includes when you are editing a page.

What I generally do is make a template, then extract everything I want to be in an include to a text file, in the "inc" folder.

NOTE: FP will not update these, so you need to keep track of any links in them manually.


It takes a little shift in the way you normally work with FP, but is perfectly doable.

_____________________________

Katherine

:: InKK Design :: InKK Domains

(in reply to artpics)
artpics

 

Posts: 122
Joined: 12/20/2003
From: London UK
Status: offline

 
RE: .php files - 7/10/2004 21:03:58   
http://www.1wants1.com/

this is the site and i don't think it is that confusing,
thanks for the confidence boost

(in reply to abbeyvet)
BobbyDouglas

 

Posts: 5470
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: .php files - 7/10/2004 23:58:38   
It also updates things as you move them around and so on.
- Try this again. FP has NEVER been able to do this with .php pages. If you do a search for php and frontpage on here, you will see many posts by me complaining about how this doesn't work, and wondering if someone has a fix for it. (Dan said it was something on his todo list, but he is pretty busy.)

Basically, FP handles .php like it does .txt files.

The website you linked to runs off of a database, most likely you will need to upload your files in binary, something I didn't think FP could do.

Depending on what you need to do to the site, stay far away from FP until you have the knowledge of what it does before you go practice on a client's site. I would make your own php site, try to edit things using FP, learn a few tricks along the way, then use it to edit a client's .php site.

It can really screw things up. I found out that FP does not support .php as it does .html pages. Not only do you have to configure it to open .php pages, you have to manually change things like the location/source of every image and link that you change.

If MS allowed .php extensions to work just like the .html ones, a lot more people would be using FP.

Once DW adds the FP technology of updating location/source it will really shoot a hole in FP. Only reason I like and use FP is because of the automatic updating of the location/source, and its very easy to use extensions. If DW can get both of these, I would switch in seconds :)

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to artpics)
artpics

 

Posts: 122
Joined: 12/20/2003
From: London UK
Status: offline

 
RE: .php files - 7/11/2004 0:09:24   
thanks bob for your feedback i have read a lot of posts on this forum ,yes php looks complicated, i downloaded a tryout version of go live (adobe) and was lost even though i am brilliant in photoshop ,
shall i get the client to buy golive as my fee or do i redesign the whole site with .html extensions so i know what i am doing and can manage the site easily with front page then add some kind of shopping option later.

or shall i just stick with editing the images, metas, graphics, hyperlinks,

thanks for your answers


rt

(in reply to BobbyDouglas)
BobbyDouglas

 

Posts: 5470
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: .php files - 7/11/2004 0:26:37   
php looks complicated
- Learning to code PHP can be complicated. But having a .php extensions isn't too much of a difference, it is just a few things you need to know before you go mess on a real site.

i downloaded a tryout version of go live (adobe) and was lost even though i am brilliant in photoshop
- It seems like the Adobe products are a little bit harder to use than the macromedia ones. Going from FP to GoLive is a HUGE step. I would suggest you experiment with DreamWeaver first, since it is a little easier than GoLive.

Shall i get the client to buy golive as my fee
- Sometimes you can include this into the quote, other times you cannot. I wouldn't talk to the client like this is something they need to pay for because your normal program cannot work on their site (it makes you look bad).

or do i redesign the whole site with .html extensions
- You can't do this. The website runs off of a database, which is something they took the trouble to do, so they would most likely want to keep it like that.

Without knowing more about what you are going to do to the site, I can't really tell you what you need to do. I can only suggest you try out another program such as Dreamweaver.

You can pick up Dreamweaver MX 2004 for pretty cheap on Ebay.

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to artpics)
Giomanach

 

Posts: 6128
Joined: 11/19/2003
From: England
Status: offline

 
RE: .php files - 7/11/2004 0:36:26   
quote:

php looks complicated

lol, for me it was like learning complex JavaScript for Servers:)

quote:

Dan said it was something on his todo list, but he is pretty busy.

It's still on my to do list. That reminds me, must re-install VBS Pro and C++:):)

Personally, I use PHPEdit for my PHP files, it's an IDE and works a treat for what I want.

quote:

You can pick up Dreamweaver MX 2004 for pretty cheap on Ebay.

If not 2004 version, MX will suffice just nicely, I have boht, sooo, ummm, yeah lol

Dan

_____________________________




(in reply to BobbyDouglas)
artpics

 

Posts: 122
Joined: 12/20/2003
From: London UK
Status: offline

 
RE: .php files - 7/11/2004 0:37:27   
thanks bob for your time bit too much php for me to learn at the moment i think.

The website runs off of a database, which is something they took the trouble to do, so they would most likely want to keep it like that.

can i convert the database .php to *access ms* type of database(.mdb)
so everything is working with front page(extensions) as the client only has 20 products.

what needs doing to the site is submitting to the search engines, tidying up email links, images and adding a shopping cart later when the site is popular.

again thanks
Rt

(in reply to BobbyDouglas)
BobbyDouglas

 

Posts: 5470
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: .php files - 7/11/2004 2:39:31   
can i convert the database .php to *access ms* type of database(.mdb)
- Not only would you have to switch the server that the website is hosted on, but you will also need to go through the trouble of understanding the php code in order to "convert" it.

It sounds like what you need to do will require very little knowledge of php, if any at all.

The only thing you might need to get ahold of is a shoppingcart. Depending what price you are getting paid for this, everything you stated above (other than the shopping cart) can be given to many small companies to do for a very cheap price.

There are a lot of young designers who are learning html and the internet, many things like submitting the site to search engines are things they can do.

Your first step needs to be everything that your client wants to have done to the site. It is always best to document everything before you start the project, and get an actual signature.

It isn't nice when you get a client who asks you to convert a template to FrontPage format, then walks away with the finished product without paying you the $50 you requested.

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to artpics)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: .php files - 7/11/2004 5:51:23   
quote:

probably FTP rather than publish your site.


If you're the sort of person who likes shoving red hot pins under their toenails then by all means publish. Personally I prefer the pain free method and FTP.

You should be able to change the basics without too much trouble. ALWAYS back up before you start. To be on the safe side make 2 copies of everything and store them in different places.

I would suggest that you sort out that template anyway. It's come from a template store and all the copyrights have been removed. If you're going to keep it I would find out if your client or his original developer bought the licence.

Looking at what you have on that site I see no real reason for it to be php anyway. You could easily do that in html.

If he wants a shop later on there are several php/MySQL shops for free. Very straightforward to install. Customisation takes a little while but not a major problem. You just plug them into your site with a hyperlink from the html page or the nav bar.

< Message edited by jaybee -- 7/11/2004 7:18:54 >


_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to BobbyDouglas)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: .php files - 7/11/2004 9:39:11   
quote:

If you're the sort of person who likes shoving red hot pins under their toenails

ooooo ..that made me tingle

_____________________________

Dan

(in reply to jaybee)
artpics

 

Posts: 122
Joined: 12/20/2003
From: London UK
Status: offline

 
RE: .php files - 7/11/2004 12:01:44   
quote:

Looking at what you have on that site I see no real reason for it to be php anyway. You could easily do that in html.


i will mention this to my client see what they say. buildit in html and then add the cart later.


I would suggest that you sort out that template anyway. It's come from a template store and all the copyrights have been removed. If you're going to keep it I would find out if your client or his original developer bought the licence.

yes lol i downloaded a sample 7000 templates for $25, the template i got was the same as this site not good must have been an old design.

It sounds like what you need to do will require very little knowledge of php, if any at all.------- yep nowt bob. i no nothing about .php

again thanks
Rt will let you know how i get on:)


well this is how i would like to do it *quick job*new version like a photogallery you click the link of the pic and can fill in a form with your details which is emailed to you. then hope to progress with a shopping cart which is what the client wants and i can change daily with confidence.


1wants1 old curent site

< Message edited by artpics -- 7/12/2004 21:02:44 >

(in reply to dpf)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> .php files
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts