| | |||||
| ||||||||
| Website Development Development concepts, scripts, sponsors and affiliate programs. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jul 2003 Location: United States of America
Posts: 1,158
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| |
| | #4 (permalink) | ||||
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thats the way I'm doing it.. <html> <head> <title> <meta tags> </head> <?php require("header.php"); ?> <some_specific_page_code> <?php require("footer.php"); ?> This way you save a lot of time and your keeping control of your meta-tags and title.. | ||||
| |
| | THREAD STARTER #5 (permalink) |
| Senior Member Join Date: Jul 2003 Location: United States of America
Posts: 1,158
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | thnks thnks avenue but........ it would be great if you could show us an example or maybe links to other pages on the internet like tutorial would be great. A lot appreciated |
| |
| | #6 (permalink) | ||||
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: thnks
Developping on Intranet/Extranet/Internet is my jobs so I can certainly help you | ||||
| |
| | THREAD STARTER #7 (permalink) |
| Senior Member Join Date: Jul 2003 Location: United States of America
Posts: 1,158
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Ok. I understood <?php require("header.php"); ?> was, <?php require("footer.php"); ?> was but i don't get <some_specific_page_code>. How would you implement it. For Ex. I had a gaming site. it has header.php and footer.php I would include it like this: <?php require("header.php"); ?> Body <?php require("footer.php"); ?> but i don't understand <some_specific_page_code>implementation |
| |
| | #8 (permalink) |
| Senior Member Join Date: Sep 2003 Location: Charlottesville Virginia
Posts: 2,317
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | basicly thats just where you'd put the info that particular page, an if you don't want the same title ect just have the header start with a table and on each page, use metatags ect and after all that call header.php |
| |
| | #9 (permalink) | ||||
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Then you go with your header.php -- The header.php usually include your menu dans the basic layout. Now, the <some_specific_page_code> Thats where you put your page specific data. You already have your meta tags, your menu. Then you put the information you want for this specific page. And then with the footer, you close the tag you have opened in the header for a perfect w3c-compliant page. And you close your SQL connection or your class object. ????: NamePros.com http://www.namepros.com/showthread.php?t=9602 Hope this answer your question | ||||
| |
| | #10 (permalink) | ||||
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins | ||||
| |
| | #11 (permalink) | ||||
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
If your speaking about PageRank. Google only matters about client-side code. He doesn't care at all about the way you achieve this code. | ||||
| |
| | THREAD STARTER #12 (permalink) | ||||
| Senior Member Join Date: Jul 2003 Location: United States of America
Posts: 1,158
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ok. Ok. i got the most of it.
| ||||
| |
| | #13 (permalink) |
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | <table width="50%"> <tr bgcolor="red"> <td>List of my offerings</td> ????: NamePros.com http://www.namepros.com/showthread.php?t=9602 </tr> <tr> <td>cool domains</td> </tr> <tr> <td>bad domains</td> </tr> <tr> <td>Unaffordable domains</td> </tr> <tr> <td>Body location for hot woman</td> </tr> </table> The way you usually do your web pages ![]() BTW, if you need a developper for some of your pages. I can do it for you |
| |
| | THREAD STARTER #14 (permalink) | ||||
| Senior Member Join Date: Jul 2003 Location: United States of America
Posts: 1,158
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | post I don't quite understand what you mean by below post. It is just html, i don't see any code in it or anything like that????
| ||||
| |
| | #15 (permalink) | ||||
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: post
????: NamePros.com http://www.namepros.com/showthread.php?t=9602 I suggest you buy a good PHP book. | ||||
| |
| | #18 (permalink) |
| NamePros Member Join Date: Sep 2003
Posts: 170
![]() ![]() | it´s easy! i do like this: have two files called header.inc.php and footer.inc.php then for example in a news page we would have: <?php $maintitle = "NamePros.com is number one"; include ("header.inc.php"); ?> your html code goes here <?php include ("footer.inc.php"); ?> and in the header.inc.php i would have: <html> ????: NamePros.com http://www.namepros.com/showthread.php?t=9602 <head> <title><?php echo $maintitle ?></title> </head> <body> and that´s it. i use a template system but the basics are here
__________________ Photoshop Tutorials Directory |
| |
| | #19 (permalink) | ||||
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This is better.. maybe just add $keyword and $description too... | ||||
| |
| | #20 (permalink) |
| NamePros Member Join Date: Sep 2003
Posts: 170
![]() ![]() | you can add all sort of things. ![]() in my cms i already extract this data from a mysql database.
__________________ Photoshop Tutorials Directory |
| |
| | #21 (permalink) |
| Senior Member Join Date: Jun 2003 Location: Markham, Ontario, Canada
Posts: 3,370
![]() ![]() ![]() ![]() | Nice work lfrias! I program all of pages in the same way as you do!
__________________ www.canonlens.ws Updated daily - Get Canon lens reviews and good deals on new/used Canon lens from CanonLens.ws![/SIZE] |
| |
| | #23 (permalink) | ||||
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=9602 but now I know where to get help for PHP. any good book on PHP to recommend??
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins | ||||
| |
| | #24 (permalink) |
| québécois libre Join Date: Oct 2003 Location: Trois-Rivieres, Québec
Posts: 558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I really like www.php.net It's only a reference. It's not teaching you the php minding.. But every functionnality is there |
| |
| | #25 (permalink) | ||||
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
my forum fast
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins | ||||
| |