View Full Version : Passwords ???
Samsoske
03-09-2006, 12:06 AM
I have been doing alot of re-search (??) and cannot find a program or SCRIPT that you can make a password protected web page.
What i mean is: when someone clicks the login button, they log in... and when they are done they log out. but how do you make it so that they can't just press the back button and now be logged in. How do you make those pages expire....??????:confused: :confused:
:confused:
If the above did not make sense, don't mind me.
You would need to use server-side scripting to achieve sessions, which is what you're talking about above.
Samsoske
03-09-2006, 07:59 PM
Would you know were i could get help on this:o ??
I am trying to make a basic system, like that. Just so people cant press the back button..... so on..
is there a simple code for expiring pages?
If not, dont worry, maybe i have to buy something?
If not, dont worry, maybe i have to buy something?Don't be daft. You can code one in PHP, for free, perfectly easily, or, if you post in the PHP forum here, you might be able to get someone else to do it for you, although you'll need PHP installed and enabled on your server. See php.net (http://www.php.net/) for further details on PHP.
Samsoske
03-09-2006, 11:50 PM
If my browser lets me see these forums, does it mean i have PHP installed??
No. The browser doesn't need any extensions to view the output of PHP, which is plain HTML; only the server needs it installed.
Samsoske
03-10-2006, 03:58 PM
Alright, lets say i have PHP installed, how would i tell?
Is it possible to check your browser for installed Programs?
if you post in the PHP forum here, you might be able to get someone else to do it for you, although you'll need PHP installed and enabled on your server. See php.net for further details on PHP.
I am not really wanting to make a forum, just a login system... that has the expiring pages...
I have been working on something, a java that lets me make users and thier accounts (passes ect.). But i need some code to complete my login system.
This is were I want only a login button; you click it; you enter you user & pass; you now view the secure pages; and you log out; but then you can't just click the back button and get back to the secure page...
I am not sure if i make much sense back there. Oh well i tried to explain myself....?
Is there any type of cut and paste code out there that will do that?
Is it possible to check your browser for installed Programs?The browser has nothing to do with it. The browser never sees PHP code.
I am not really wanting to make a forumI never said you did.
Is there any type of cut and paste code out there that will do that?Yes, but you need a server-side language (such as PHP) installed on your server.
Samsoske
03-10-2006, 07:54 PM
Anyway, sorry about that, I get a bit crazy with code understanding (i am fairly new to all this PHP and java code)
So which pakage would be the best to download, it looks like they have a few...?<<<<<<< Ignore THAT
Once i click dowload, do i run it or save it?
Thx:)
That depends. What OS are you running on your server? Are you using Apache (there's an Apache module available)?
Samsoske
03-10-2006, 08:09 PM
Well i just tried saving the
php-5.1.2.tar.gz
8,064,193 bytes
Does that sound correct?
I am not sure what i am running though?
Samsoske
03-10-2006, 08:10 PM
Do you mean my browser:
Im running Microsoft Internet Explorer
???
No, not your browser. Your server. What webserver package are you running?
Samsoske
03-10-2006, 08:59 PM
Windows XP: Home????
Sorry i am so confused. I am an idiot....
No, that is your operating system. After you have uploaded a file to your webserver, what is the software that serves it called? If you don't know, post a link to your site, and I may be able to find out.
Samsoske
03-10-2006, 11:11 PM
Oh sorry, Now i know what you mean.... <<<< i was having a "blond moment"
I have not put up a site yet, but i am planning to host it with "Yahoo"....?
Could that be of any help.....?
P.S: Just wondering, what hosting "company" would you say would be good to host a site on. I mean who has a good balance of storage space, bandwith, CGI friendly.....so on
I now use http://www.inspirenetworks.com/.
I don't think Yahoo support server-side scripts.
Samsoske
03-10-2006, 11:26 PM
Hmmm. looks good...
So what's the program they use?? for the PHP coding i want to do?
Samsoske
03-10-2006, 11:30 PM
--> O.K so lets say I have agreed to the starter plan...
--> I have saved the PHP zip file from PHP.net site
--> Do i have to send the company the zip file.
____. and then do my coding....
You don't need to install PHP on their servers. It's already installed. You can begin coding straight away. You only need to install PHP if you have your own webserver, or a third-party webserver without it installed.
Samsoske
03-10-2006, 11:52 PM
Ok, thank you. You've been a big help...
Alright Now... were is the best place to get some free code? Does DD have some. Do you?
When saving your PHP Text file, do you use the same ".html" extention or ".PHP"?
Samsoske
03-11-2006, 12:15 AM
Dont worry about my last post:
i got some real good PHP login coding athttp://evolt.org/PHP-Login-System-with-Admin-Features
So once again, thanks for helping me, i might come back if i need more help....
Hmmm....
Thx
Samsoske
03-11-2006, 02:26 AM
--> So after I dowload a zip file, said to contain code for "PHP" login system...
---> I get the unzipped files but for some strange reason the "PHP" files are showing up as if they were photographs.............???????
----> After double clicking on one of the "photo's" it just comes up saying it can't open the selected file.....Hmmm
Can anyone help me?
Not strange at all. Some other program is associated with PHP files on your system. Try Open With->Notepad. However, that's just to edit them. To actually use the scripts, you need to upload them to a PHP-enabled webserver.
Samsoske
03-11-2006, 05:29 PM
Once i have made my site i will uplaod them with it, then i'll se how it goes...
Thanks for all your help Twey, with my whole password situation.
So how long have you been "working" with DD forums?
Oh well...
Heh, I don't work with them, I just enjoy helping out and learning what I can in the process :p
I joined on 06/12 to laugh at a particularly complex and ill-considered attempt to hide HTML source, and just sort of hung around :p
Samsoske
03-11-2006, 05:50 PM
One last thing, must I end this thread I made?
Or will it just expire when no one uses it again, or something....
... no, it will stay here for others to read and possibly add to in the future, if they feel the need.
Samsoske
03-11-2006, 05:55 PM
Ok, c ya:) :)
Thanks Again....
Twey
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.