Go Back   Webmaster Forums UK SEO SEM Webmaster Community Forum - UKWW > Web Design and Website Development > Programming > PHP Forum
Register FAQ Members List Downloads Calendar Today's Posts Webmaster Resources Webmaster Blogs
 
 

PHP Forum PHP related discussion, help, tips and tutorials.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2007, 06:26 PM
espmartin's Avatar
Senior Member
1086 posts this year. Platinum VIP!
Trusted Member - This user is a Master!
Last months UKWW Tokens: 3
 
Join Date: Jun 2007
Location: West Coast, USA (California)
Posts: 963
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default Building a new site with PHP

Hello All,

The more I use PHP, the more I realize I really want to use it more. You see,
before I started using PHP, I would hard-code all elements such as navigation
onto every page I have on a site. I'd make sure that the code was exactly
the same, so when I needed to make a change or addition, I would do a
search-and-replace on that site.

But now with PHP, I just have one navigation php file, and link to it from my
site's markup.

How many of you designers use PHP in this fashion?

Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-08-2007, 08:00 PM
SkinnerW's Avatar
Senior Member
1566 posts this year. Platinum VIP!
Trusted Member - This user is a Master!
 
Join Date: Jun 2007
Location: Moscow - New York
Posts: 1,386
Thanks: 0
Thanked 1 Time in 1 Post
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Send a message via Yahoo to SkinnerW
Default

There were other options to achieve similar tasks, DHTML for example. They work almost the same way as "php include" - you create dynamic template with all common elements and than just attach content pages to that template...

PHP gives you much more flexibility than just simple "include" and I actually slow but sure converting all my html sites to php.
__________________
Advanced CMS software with directory, blog, classifieds and portal features
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-08-2007, 08:20 PM
espmartin's Avatar
Senior Member
1086 posts this year. Platinum VIP!
Trusted Member - This user is a Master!
Last months UKWW Tokens: 3
 
Join Date: Jun 2007
Location: West Coast, USA (California)
Posts: 963
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

Quote:
Originally Posted by SkinnerW View Post
...PHP gives you much more flexibility than just simple "include"...
I agree with you SkinnerW. I actually use PHP to serve one of my sites as
XHTML 1.1 (with the correct content type as well):
Code:
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
and other "lesser" browsers get XHTML 1.0 Strict, with it's content type as:
Code:
content="text/html;
Just one semi-advanced PHP thang I do...
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Webmaster Resources
UK WW SEO Tools
Find UK Hosts
 
The Forum Rules
Forum Rules - MUST READ
 
Site Of the Month
BizzFace
Nominate site of the month
 
Tag Cloud
affiliates ambitious asbestos cancer bid bidding directory bid directory bid directory list bid for position business call center software clothes contest cricket writer dacx ameyo delisted designer discount drishti ecommerce email list email marketing finance forum free web hosting free website hosting global business directory google handbags huge email database jewelry link submissions niche of mesothelioma phones electronics php file value pr7 directory replica social bookmark startup sunglasses technology telecommunications wallets web website website for sale website promotion websites for sale wholesale yahoo backlink

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
link building tips marketraise int The Exchange 0 04-17-2007 12:32 PM
Link Building for Hilltop temi Forum Post Exchange 0 03-25-2005 08:27 PM
building a site.... crowebird General Webmaster Talk 7 03-07-2005 08:15 AM
Forum building tips? temi General Webmaster Talk 5 10-11-2004 06:05 AM


All times are GMT. The time now is 01:39 PM.

UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons.
Subscribe to our feeds   Subscribe to our feeds

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0