Page 1 of 1

BLOGSPOT IN PHP

Posted: Mon Feb 02, 2009 6:51 am
by jason257
Hi there, i have to create clone of blogspot for my project in PHP for my school.

I would be really glad if you could inform me that how blogspot gives unique url's ("myblog.blogspot.com") to its users,does it creates pages based on information provided and then show these pages to users or it creates pages on fly using data stored in database.

Even if you leave alone blogspot is it really possible to create pages for users, using php script when i am working on shared server.

Please help me out my teacher is providing no help , she just says "GOOGLE" it and i have done that but all in vain.

Thx.

Re: BLOGSPOT IN PHP

Posted: Mon Feb 02, 2009 8:48 am
by josh
The requested host will show up in the $_SERVER superglobal. Print_r it to browse your available data. You need to configure youre webhost to route all subdomains to your htdocs though, which is probably what it does by default for 75% of share hosting / default configs

Re: BLOGSPOT IN PHP

Posted: Mon Feb 02, 2009 11:09 am
by alex.barylski
If your teacher asked you to clone blogspot and you have "no idea" on how to even begin...your probably best taking up another trade, maybe plumbing? Sanitation specialist -- then you don't have to think just do. :P

Alternatively you could go download wordpress and tell your teacher you built it over the weekend. :lol:

Re: BLOGSPOT IN PHP

Posted: Mon Feb 02, 2009 1:18 pm
by josh
Sounds like its the teacher who needs a new trade

Re: BLOGSPOT IN PHP

Posted: Mon Feb 02, 2009 1:33 pm
by jaoudestudios
Tell your useless teacher "google is not the source of all knowledge! and some information on google can not be trusted".

Between us...it is quite good :)

I do like PCSpectra's idea, download something and say it was yours :? But a bit risky.

Re: BLOGSPOT IN PHP

Posted: Mon Feb 02, 2009 1:42 pm
by alex.barylski
Sounds like its the teacher who needs a new trade
Hahaha...true enough.