Hi
You will need to kill the session data on the exit of your failed login not
on entry to the login page as the data will already be overwritten by the
previous session value.
I use
unset($name);
unset($password);
...
Tom
At 04:24 PM 6/03/01 +0900, Yasuo Ohgaki wrote:
>Do you use custom sess
HI
Opers has a nasty caching behaviour which can cause problems with sessions
and having different entry points on the same index page. To overcome some
of the problems any hrefs that don't contain get variables should be set
up as:
Even if you never use the variable "entered" it will s
Hi
what you need is:
$sql = "INSERT INTO orders (product,name,email)
:VALUES ('$product','$name','$email')";
You will also need to escape any single quotes in the variables
Tom
At 01:05 PM 24/03/01 +1200, YoBro wrote:
>I have tried that, and I have been reading all sorts of info and been
>cop
the href should be
print "http://www.contus.com/test_quote/quotepage.php3?site=$site&page=miniquote&;
subject=$headline'\">
I think..
Tom
At 09:41 PM 26/03/01 -0500, Claudia wrote:
>I am attempting to pass a string value via a URL. I have tried using
>urlencode and ereg_replace--with no luck.
>
You are doing a string compare not date, convert them to a unix time stamp
and then compare
$d1 = explode("-",$date1);
$d2 = explode("-",$date2);
$ts1 = mktime(0,0,0,$d1[1],$d1[2],$d1[0]);
$ts2 = mktime(0,0,0,$d2[1],$d2[2],$d2[0]);
if( $ts1 > $ts2 ):
echo "Date 1 is greater than date2";
Hi
I do it using sessions with:
//Check for a reload
$hash = mhash(MHASH_SHA1,serialize($HTTP_POST_VARS));
$hash = bin2hex($hash);
if($hash == $Hash):
$reload = "Yes";
echo "reload ";
endif;
$Hash is registered in the session.
Tom
At 02:54 AM 31/03/01 +0100, David Hynes wrote
Hi
You will probably need to make clean and rebuild php config and do a new
make against the new version of apache.
Just a guess
Tom
At 12:28 PM 5/04/01 +0900, Maxim Maletsky wrote:
>
>Hello,
>
>my co-worker has reinstalled Apache and PHP over the last night.
>
>The Apache was upgraded to the ne
Hi
I don't think gd uses freetype by default .. seem to remember having to
edit the makefile
Tom
At 12:12 PM 5/04/01 +0100, Alex Bloor wrote:
>Hi,
>
>Firstly, thanks for reading this message.
>
>Has anyone managed to compile and use :
>
>Apache latest + PHP latest + GD latest + Freetype latest
Hi
Try
$url = getHostByAddr($REMOTE_ADDR);
Tom
At 10:17 AM 9/04/01 -0300, Renzi, Sebastian wrote:
>Having the ip i want to obtain de URL (www.renzi.com.ar)
>
>Thank You very much !
>
>Sebastián Renzi
>ConsultorÃa & Desarrollo de Sistemas.
>CODES S.A
>
>
>--
>PHP General Mailing List (http://ww
know why !!
>
> > -Mensaje original-
> > De: trogers [SMTP:[EMAIL PROTECTED]]
> > Enviado el: lunes 9 de abril de 2001 10:41
> > Para: [EMAIL PROTECTED]
> > Asunto: Re: [PHP] URL FROM IP
> >
> > Hi
> >
> > Try
> >
> > $url = getH
Hi
I do it this way:
' ;
?>
must use single quotes
Tom
At 04:38 PM 9/04/01 -0400, Gary wrote:
>Hi All,
> When using the dtd below on a page that has a form with php. I get a
> parser error for am I going to have to go back to a
> HTML 4.01 dtd or can I do something like escape the ? ?
>
>
Hi
possibly a loop running endlessly..
Tom
At 11:02 AM 10/04/01 -0500, Jacky wrote:
>Hi people
>I ran a PHP page and there was an error said below:
>Fatal error Maximum execution time of 30 seconds exceeded in
>include/getRoomDesc.php4
>What could cause this??
>Jack
>[EMAIL PROTECTED]
>"There i
Hi
For some reason this works for me, can even download .html files
$headertxt = "Content-Disposition: attachment; filename=\"".$filename."\"";
header("Content-Type: application/force-download");header($headertxt);
Tom
At 12:09 AM 12/04/01 +0500, Vikram Vaswani wrote:
>Hi!
>
>I have a script wh
Hi
Probably the only way will be with a java applet to do the transfer
directly to the other host.
Not sure if applets can connect to a host that they did not originate from
(not done much with java yet :)
Tom
At 11:09 PM 12/04/01 -0500, David Minor wrote:
>hmm, good idea, but the only acce
14 matches
Mail list logo