|
|
#1 |
|
New Member
![]() Join Date: Dec 2009
Posts: 1
|
Hey, I have Dreamweaver CS4, and I've been working with html for a while, but i don't have any experience with PHP. I have a server that is enabled with PHP and his hosting my website (http://gawg.cap.gov/GA065/). Here's my problem: I need to password protect a form. I then need the data entered in the form to be displayed on a third page.
I've tried online PHP tutorials and I'm completely lost. Can someone walk me through how to do this, or tell where I can find a good tutorial on PHP? Jay |
|
|
|
|
|
#2 |
|
New Member
![]() Join Date: Jan 2011
Posts: 11
|
start small, and work your way up. don't try to do what you need until you have learned the basics and understand what you are doing, otherwise your website will end up with problems. try this.
http://us2.php.net/tut.php |
|
|
|
|
|
#3 | |
|
Gold Member
![]() Join Date: Nov 2010
Posts: 324
|
Quote:
Well said!! Understanding the basics is the first thing to do. As you've said you're a fast learner then I think it will be easy for you!! You can try this link or this link Good Luck!
__________________
FTP hosting |
|
|
|
|
|
|
#4 |
|
New Member
![]() Join Date: Jan 2011
Posts: 4
|
From answering your question directly it sounds like you have a form and you want to grab the data on submission. So to grab the password you'd grab the post value and then to store in your database use the sha1 PHP function, I recommend also using an encryption key to help with the protection of the password.
__________________
Project Fizz - A new freelancing job portal Putting the motivation back into freelancing http://www.projectfizz.com |
|
|
|
|
|
#5 |
|
New Member
![]() Join Date: Jun 2011
Posts: 5
|
I'm trying to use your password protect script on an SMF forum... go here and see the error I'm getting:
http://www.habitathrm.com/forum/index.php Here is the error text: Warning: main(/pass/password_protect.php) [function.main]: failed to open stream: No such file or directory in /var/www/humanity/forum/index.php on line 1 Warning: main() [function.include]: Failed opening '/pass/password_protect.php' for inclusion (include_path='.:') in /var/www/humanity/forum/index.php on line 1
__________________
seo training in ahmedabad |
|
|
|
![]() |
| Tags |
| data, form, password protected, php, tutorial |
| Thread Tools | |
| Display Modes | |
|
|