Quote:
Originally Posted by Webhosting-10
Thanks for the Information Steve & Naves
Assumed That I'v done the php part and now my website can support a Login function,Is there a way where the Login Page(mysite.com/member1) can be viewed publicly(through search engines & Stuff) and also Is there a way where a common Template can be used on all the Dynamically created pages.
thanks Guys! 
|
Ok, here's what I'd do. Use php to get user registration and add them to a mysql database with only their user name password and an id. Then, when the user logs in, I'd use http to call their website like : www.example.com/1234. That is of course, the registration php will create a page with their id in the url. Each personal page will parse a specific XML page using jscript to be displayed via a template. This means that the actual personal page will simply be a template, and any part that requires dynamic updates from the user will be controlled by the external XML page (and it's wise to use XSLT to style it) and dynamically updated using jscript.
It sounds hard, but it actually is. The only problem that you (and me) will find is that browsers treat XML differently. And Google Chrome and Safari may not parse the XML at all (like the w3schools tutorials). But this is probably the most efficient way to do it.
Quote:
Originally Posted by kcmartz
Ok, but those are usually "Premium" on template websites and you have to pay for them, could you point me to a tutorial for making a website w/o a database (I think I have one, but dad hasn't told me the password yet), I would like a login that connects to my phpBB forum when I get it, so you are already logged in to the forum if you sign up on the main site (also like: http://forums.g4tv.com/ | connects to the main website, http://g4tv.com)
|
If you can actually edit the actual code of the forum, then here's what you do. You see where the forum saves the database. Then you call the same database when you make your actual website like what I've stated above. You must change the forum registration code to also make a personal page like i've stated above, unless you don't want a personal page, so it depends on what you want to do. But the gist of it is to just call the database that your forum uses.
Last edited by ThisNewGuy; 05-10-2009 at 06:54 AM..
|