Reply to Re: Opening html files from PHP script

Your name:

Reply:


Posted by Serge Terryn on 12/31/06 14:25

Nakkie schreef:
> Thanx a mil that works perfectly.
>
> I just discovered something else.......
> On my login page I use a simple username and password form where the PHP
> code authenticate that against a .txt file
>
> The authentication works fine entering usernames and passwords. When leaving
> the username and password fields blank - it authenticates you....
> I used my scrip that generate the accounts and add the username and password
> pair to my 'txt file with a dummy password, but it still authenticates when
> leaving the fields blank....
>
> Any ideas?
>
>
>
> "Serge Terryn" <serge@essetee.be> wrote in message
> news:aF4lh.262145$QD.5675039@phobos.telenet-ops.be...
>> Nakkie schreef:
>>> Hi
>>> Thanx guys for the previous help on authentication.
>>> I could not get hold of my host, so decided I'll just go with form
>>> authentication iso Apachy - works fine now.
>>>
>>> could anyone give me the code to open an html page from my login page? in
>>> other words, once a user logs in, he/she is derected to another page?
>>> in my current code I have: echo "memberarea/members.html";
>>> for a successful login
>>> This needs to be swapped with what ever code to open a page.....
>> header('Location: memberarea/members.html');
>>
>> --
>> Posting at the top because that's where the cursor happened to be,
>> is like shitting in your pants because that's where your asshole
>> happened to be.
>>
>> http://www.essetee.be
>
>

if(empty($var)) { do something; }


--
Posting at the top because that's where the cursor happened to be,
is like shitting in your pants because that's where your asshole
happened to be.

http://www.essetee.be

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация