?php
# I would recommend using the include method. Redirects should always
be second choice, because they are just evil.
# Example code below
$password = md5('swordfish');
$user = 'Trucker Joe';
if ($_POST['user'] == $user md5($_POST['password']) == $password) {
tedd wrote:
There are significant orders of magnitude difference between your results
and mine.
For example, it didn't make any difference if you used a comma or
concatenation, but in my system concatenation was 15 times faster than using
a comma. Interesting, I would have guessed it would
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
titleTest for Tedd/title
/head
body
?php
# Ok tedd, if you insist ..
?php
#User authentication should not be a problem at all.
#If you want it simple just serialize a user class and write it to a
file or into a DB.
class user {
var $username;
var $pw;
function set_user($name, $pw) {
$this-pw = md5($pw);
$this-username = $name;
return true;
}
}
$new_user
/* snippetty */
foreach ($mb_array as $mb_string) {
strlen('œŸŒ‡Ņ');
}
/* snip */
Oh, this is supposed to be a *strlen($mb_string)*; of course
I'm pretty sure this is a cache issue ..
To disable caching:*
header('Cache-Control: no-cache, no-store, max-age=0, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past
header('Pragma: no-cache');
*
But if you have the modification date then use
*$time =
Thijs jou should read the OP's statement again ..
The OP wrote: . *(The INSERT function is executed before the SELECT in the
page).*
I did not get it to work in Opera 9.5. But in Firefox 2.x it worked
Why are you doing that with JavaScript?
If you are willing to use googles chart api ..
http://code.google.com/apis/chart/#radar
Yeti
On Tue, Jul 15, 2008 at 11:35 AM, Richard Heyes [EMAIL PROTECTED]
wrote:
Hey,
Can anyone suggest an efficient method for plotting the marks on a radar
chart? I have the background done (
Doesnt filter_var() require PHP5+ ?
I have quite some systems still running 4.4.8.
On 7/12/08, Kevin Waterson [EMAIL PROTECTED] wrote:
This one time, at band camp, Yeti [EMAIL PROTECTED] wrote:
Now i was wondering of what there might be the best way to validate an
IPv6
address.
from
10 matches
Mail list logo