OZONE Asylum
Forums
DHTML/Javascript
Restrict maximum line length input in textarea in realtime
This page's ID:
29176
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
/me stomps [b]Tyberius Prime[/b] with a standard stick. What about, instead of some ugly document.write(), adding the following line to the [i].htaccess[/i]:[code]php_value auto_prepend_file /system/checkAuthentication.php[/code] The [i]/system/checkAuthentication.php[/i] script will check if a cookie is present and either display the requested page or an authentication form posting the data to the same URL and set the cookie. This way the login/password pairs can be stored directly in the PHP script or in a database. So it's rather safe. Clean, simple and doesn't mess up with the actual site. [url=http://www.p01.org/][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_neon88x31.gif[/img][/url] [small](Edited by [url=http://www.ozoneasylum.com/user/2185]poi[/url] on 05-10-2007 20:27)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »