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.
BLOGSPOT IN PHP
Moderator: General Moderators
Re: BLOGSPOT IN PHP
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
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: BLOGSPOT IN PHP
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. 
Alternatively you could go download wordpress and tell your teacher you built it over the weekend.
Alternatively you could go download wordpress and tell your teacher you built it over the weekend.
Re: BLOGSPOT IN PHP
Sounds like its the teacher who needs a new trade
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: BLOGSPOT IN PHP
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.
Between us...it is quite good
I do like PCSpectra's idea, download something and say it was yours
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: BLOGSPOT IN PHP
Hahaha...true enough.Sounds like its the teacher who needs a new trade