GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Secure Log in Pages
Secure Log in Pages
Iniciado por Phill Slusar, out., 01 2007 6:48 PM - 1 resposta
Conecte-se…
Phill Slusar
#1
Publicado em outubro, 01 2007 - 6:48 PM
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
Denunciar
0
0
Fabrice Harari
#2
Publicado em outubro, 01 2007 - 7:22 PM
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
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto