FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Secure Log in Pages
Secure Log in Pages
Débuté par Phill Slusar, 01 oct. 2007 18:48 - 1 réponse
Connectez-vous…
Phill Slusar
#1
Posté le 01 octobre 2007 - 18:48
I'm looking at making a secure log in page on my webdev site, however I am unsure on how I would get it to read the database so when you type in the username and corresponding password it allows you access to enter.
I am using a hyper file file as my database.
Does anyone have any ideas?
Regards
Phill
Signaler
0
0
Fabrice Harari
#2
Posté le 01 octobre 2007 - 19:22
Hello Phill
It looks like you are new to HF DB usage?
If it's the case, there a re many things to cover... But the first thing
should be to read the manual where many of these things are explained...
But here goes ONE of the MANY ways of doing it:
- define a use file in your db with user name, login, password, etc
(login shold be a unique key)
- on your page, define two fields, login and password or the appropriate
type and a button
- in the button code (server side), read the user file using a
hreadseek(FileName, LoginKeyName, LoginValue)... If found, compare the
password and either do a displaypage of the part of the site you want to
access, or a displaypage of an error page (or of the login page with an
error message displayed)... If not found, same thing than if password is
incorrect
in a nutshell, that's it...
best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
More information on
http://www.fabriceharari.com
Phill Slusar wrote:
I'm looking at making a secure log in page on my webdev site, however I am unsure on how I would get it to read the database so when you type in the username and corresponding password it allows you access to enter.
I am using a hyper file file as my database.
Does anyone have any ideas?
Regards
Phill
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte