This will resize JPG images:
function get_image_width($image)
{
$imgsize = getimagesize($image);
return $imgsize[0];
}
function get_image_height($image)
{
$imgsize = getimagesize($image);
return $imgsize[1];
}
function resize_image($originalimage, $dest_width, $save_path, $newfilename)
thanks for the FYI on PEAR, installing now.
I'd still be interested in understanding why the header data in my code
didn't work.
-tom
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Tom Reed wrote:
>
> > On some webmail progra
On some webmail programs, when I send them an email from php, they appear as
being "blank" emails.
Here's the code I am using:
$headers .= "From: \"$WEBSITE_name\" <$ADMIN_email>\n";
$headers .= "X-Sender: <$ADMIN_email>\n";
$headers .= "X-Mailer: $WEBSITE_name Mailer\n"; // mailer
$heade
I would think using HTTP_ACCEPT_LANGUAGE to get the users browser
language/country info would be quicker and easier to implement.
Example:
$string = getenv('HTTP_ACCEPT_LANGUAGE');
list($language, $country) = split('[-,]', $string);
-Tom Reed
[EMAIL PROTECTED]
"Enda
Try this:
http://us4.php.net/checkdate
-Tom Reed
[EMAIL PROTECTED]
"Chris Bruce" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello all,
I was going to build a function to check whether a selected date
exists, but thought that I would see if anyone has done th
5 matches
Mail list logo