Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 23-11-04
Northern Monkey's Avatar
Member
 
Join Date: Jan 2004
Location: UK
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Northern Monkey is an unknown quantity at this point
  Question PHP and how it works

Ok so here is a few questions:

1) If I write a whole site in php and leave each page as .php will google etc epiders traverse it?

2) In a page will google actually look at the code within <?php ?>, I think it will as the spiders will crawl it and the server should just present the html code displayed within <?php ?>, is that right?

3) Say I have a page that is passed a code and then displays details of a video (title etc) held in the database, how do I get google to find out about all the new pages entered? I'm assuming it would be better to create a php script thjat creates a new page for each video linked by an A-Z and then get the details to be filled in by the database, is this right??

Thanks for any comments on the above as I have only been using php\mysql for 6 months.

Northerner.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 23-11-04
Registered User
 
Join Date: Aug 2003
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Reddy is an unknown quantity at this point
1) Yes

2) Google wont be able to see what is in between the <?php ?> tags. This is code which runs on your server in order to generate your html - it is this resultant html that google sees.

3) Create a separate page for each video and as long as you have links to each separate page, Google will find them. You could create separate pages for all the videos starting A, B etc. or using categories/genres, whatever you prefer or is more suitable.

David
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 23-11-04
Northern Monkey's Avatar
Member
 
Join Date: Jan 2004
Location: UK
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Northern Monkey is an unknown quantity at this point
Cheers David,

So in essence if I had an A-Z page that lists all videos by doing

select * from video database
display each title

on one page and then each title is a hyperlink to the page of the video then all would be dandy?

Sorry for the rushed mails but am V excited by you sorting out my confussion so quick!

Chris.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 23-11-04
Registered User
 
Join Date: Aug 2003
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Reddy is an unknown quantity at this point
yeah you could display the full list alphabetically (ORDER BY ...), but if you have lots of records, the page could get very big. It would be best to split it up into different pages (e.g. by genre, or say a page for As, one for Bs etc.). This way you would have fewer links on each page and it would also make it easier for your visitors to find what they're looking for (no one would want to load a full alphabetic list of say 000s of video titles, when the one they want is Zulu!).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #5 (permalink)  
Old 23-11-04
Northern Monkey's Avatar
Member
 
Join Date: Jan 2004
Location: UK
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Northern Monkey is an unknown quantity at this point
Gotcha,

Thanks very much, have already got a page splitting function so all seems good.

Chris.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7