Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Google Forum


You are currently viewing our The Google Forum as a guest. Please register to participate.
Login



Reply
Old 09-06-2004, 08:41 PM Php Include Question
monkey's Avatar
Ultra Talker

Posts: 487
Trades: 0
I just starting using some PHP in my site to make this a bit easier on myself. One of the things I've done is use a php include for my nav bar on the left. The code looks like this in HTML.

Quote:
<?
include("http://www.dirtymonkeys.net/nav_bar.php");
?>
On my main page I didn't use the include because I didn't know whether or not google and other search engines would read the links in the nav bar. However when I view the source code on a page that I used the include like my games page it appears just like it does where I included the html on the main page. So will google see the links the same on each page? Would it just make more sense to do everything in the nav_bar.php file then trying to keep them all matching exactly and making it more time consuming.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
monkey is offline
Reply With Quote
View Public Profile Visit monkey's homepage!
 
 
Register now for full access!
Old 09-06-2004, 09:08 PM
Lola's Avatar
Super Talker

Posts: 128
Trades: 0
Search engines only see the formatted code not the backend code, so it is safe for you to use php anywhere. Actually, you will be the only person in the world capable of view the ACTUAL code, everythjing else sees it as it is formatted in teh "View Source".
Lola is offline
Reply With Quote
View Public Profile
 
Old 09-06-2004, 09:53 PM
flashsource's Avatar
Super Talker

Posts: 102
Location: PDX
Trades: 0
the thing is, if you use "php", it creates and shows only html code for a browser, not the actual php script ... and yes, <include> is perfect for dynamic pages.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
flashsource is offline
Reply With Quote
View Public Profile Visit flashsource's homepage!
 
Old 09-06-2004, 11:05 PM
monkey's Avatar
Ultra Talker

Posts: 487
Trades: 0
oh that's great to hear. i'm such a php newbie but boy is it great.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
monkey is offline
Reply With Quote
View Public Profile Visit monkey's homepage!
 
Old 09-29-2004, 04:12 PM
kisk's Avatar
Extreme Talker

Posts: 161
Location: skynet
Trades: 0
Yes I discovered PHP about 2 years ago and have never looked back
kisk is offline
Reply With Quote
View Public Profile Visit kisk's homepage!
 
Reply     « Reply to Php Include Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 4.01935 seconds with 12 queries