Webmaster Forum
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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2007, 06:26 PM
espmartin's Avatar
Senior Member
Recent Blog:
 
Join Date: Jun 2007
Location: West Coast, USA (California)
Posts: 962
iTrader: 0 / 0%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
espmartin will become famous soon enough
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
Recent Blog:
 
Join Date: Jun 2007
Location: Moscow - New York
Posts: 1,386
iTrader: 0 / 0%
Thanks: 0
Thanked 1 Time in 1 Post
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
SkinnerW is just really niceSkinnerW is just really niceSkinnerW is just really niceSkinnerW is just really niceSkinnerW is just really nice
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
Recent Blog:
 
Join Date: Jun 2007
Location: West Coast, USA (California)
Posts: 962
iTrader: 0 / 0%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
espmartin will become famous soon enough
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

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
a75-s229 laptop ac adapter apple ipod nano 4gb brand new cellphone digital camera dj mixer drupal earphones ecommerce edible oil electronics events in india for webmasters free social hosting free web space google analytical tool hosting hosting offer low cost iphone iphone 3g 16gb iphones laptops mdj's mobile phones motorola rokr e6 newbie new pioneercdj's nokia oil phones phpld plasma tv poineer prepaid phone card prepaid phone cards proxy social web hosting telecom links template design usb cable web hosting webmasters web space for free

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 05:07 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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151