unsigned does not equal absolute value.
$num = -40;
print "Num: $num\n";
$num = abs($num);
print "ABS: $num\n";
will display:
Num: -40
ABS: 40
http://us2.php.net/manual/en/function.abs.php
Justin
- Original Message -
From: "Roger Thomas" <[EMAIL PROTECTED]>
To:
Sent: Thursday, December 23
I am writing a file download system and I need to be able to do a
redirect after the download is finished.
Basically, the user will be presented with a simple HTML page that
contains a link to download the file (href="/download.php?fileid=143").
I have the code to send the file working just f
array getimagesize (string filename [, array imageinfo])
http://www.php.net/manual/en/function.getimagesize.php
Justin England [EMAIL PROTECTED]
Network Administrator
E-Net Information Services http://www.enetis.net
Tel: 605-341-3638
Just grap the lastest stable version. As of now:
Apache ver 1.3.22
PHPver 4.0.6
Most all of my Sparc Solaris8 machines are running Apache 1.3.19/PHP 4.0.6
Hope this helps.
Justin England [EMAIL PROTECTED]
Network Administrator
E-Net Information
Comment that line again, and add .php3 to:
AddType application/x-httpd-php .php .php3
This will tell apache to use PHP4 for both .php and .php3 files.
Justin England [EMAIL PROTECTED]
Network Administrator
E-Net Information Services
Your best bet is to remove the Apache package that comes with Solaris and
install from the source dist from the apache website. I do that with all
my Solaris8 Sparc machines.
Justin England [EMAIL PROTECTED]
Network Administrator
E-Net Information
pires and I have to re-login. How can
I reset the cookie_lifetime timer so that after each request the 20 minute
lifetime starts over?
Each script starts with:
session_name("mysessionname");
session_start();
And then checks session_is_registered('username')
7 matches
Mail list logo