Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old February 5th, 2006, 03:59 AM
kh0513 kh0513 is offline
Member
 
Join Date: Aug 2005
Posts: 89
HTML Code help

2 things I need help with. Can anyone assist me on how to hide my html code so viewers can't see it? And second, can anyone tell me how to build a members only page? Thanks, Kevin
Reply With Quote


  #2  
Old February 5th, 2006, 10:52 AM
Callum Callum is offline
Member
 
Join Date: Feb 2006
O/S: Windows XP Home
Location: England
Age: 31
Posts: 31
Hi. I take it you mean by hide you mean people can't view the source? I don't think there is a way, sorry. And for the members only page, you'll need PHP and MySQL databases...
Reply With Quote
  #3  
Old February 5th, 2006, 01:19 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,476
You cannot block the HTML source. If the user can see it on screen then it means that the browser has rendered the code and so is available via View Source.

Quote:
for the members only page, you'll need PHP and MySQL databases
PHP mySQL is a very good and popular way to go about it, but it is not the only way.

Another popular method would be ASP and Access (or msSQL).

If you want somthing more basic that doesn't require PHP or ASP then you can use password protected folders. This can be done in Apache via a control panel or .htaccess or in Windows via a control panel.


Learn PHP & SQL
http://www.w3schools.com/
http://www.zend.com/php/beginners/index.php

Membership Tutorial
http://www.phpfreaks.com/tutorials/40/0.php
Reply With Quote
  #4  
Old February 5th, 2006, 02:42 PM
Callum Callum is offline
Member
 
Join Date: Feb 2006
O/S: Windows XP Home
Location: England
Age: 31
Posts: 31
Thats true, forgot about those. Thing is with pass protected folders is that you would still need php to create accounts, unless you wish to do it manually. But say it was for a download, they would then be able to pass on the link with the details.
Reply With Quote
  #5  
Old February 6th, 2006, 03:33 AM
kh0513 kh0513 is offline
Member
 
Join Date: Aug 2005
Posts: 89
Ok, thanks!! But my next question is this. I have a website that I can us PHP and MySQL, but not sure about Apache. What I would like to do, is when a member goes the the member page they to log in with a password that they make. And if that is the way they do it, is there a list that one would have to be on? Thanks for your help.
Reply With Quote
  #6  
Old February 6th, 2006, 11:25 AM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,476
One of the links I posted is how to write a membership site.

Any easier method maybe something like
http://www.php-fusion.co.uk/
Reply With Quote
  #7  
Old February 6th, 2006, 04:59 PM
Callum Callum is offline
Member
 
Join Date: Feb 2006
O/S: Windows XP Home
Location: England
Age: 31
Posts: 31
Hi again, those tutorials look good, but if theres something else you need that you can't find in there, i suggest you search www.pixel2life.com
Has tutorials for all kinds of things, from Adobe Photoshop, to PHP and MySQL...
Reply With Quote
  #8  
Old February 6th, 2006, 10:56 PM
kh0513 kh0513 is offline
Member
 
Join Date: Aug 2005
Posts: 89
Thanks, you two have been a big help.
Reply With Quote
  #9  
Old February 8th, 2006, 05:43 PM
Callum Callum is offline
Member
 
Join Date: Feb 2006
O/S: Windows XP Home
Location: England
Age: 31
Posts: 31
No problem, glad we helped
Reply With Quote
Reply

Bookmarks

Topic Tools

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

Forum Jump




All times are GMT +1. The time now is 06:57 PM.