Hello everyone,
Do you know how to calculate the number of days between 2 dates?
So far, I used that function:
$a=mktime("","","",$month1, $day1, $year1);
$b=mktime("","","",$month2, $day2, $year2);
$c=($a-$b)/(60*60*24);
The problem is one date is prior to 01/01/1970, t
A few days ago, I found a way to stop the autocomplete feature. It's more
html coding that php actually.
Try
Jean-Louis
Jean-Louis
-Original Message-
From: Alberto Brea [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 10:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Self-fi
To work around that "headers already sent" problem, I use:
if ($condition == true) { echo
"location.href=('http://...');"; }
That works great all the time (unless the javascript has been disabled at
the browser side, but usually it's enabled).
Jean-Louis
At 15:55 3-4-2003, you wrote:
>Hi,
>
-
> From: LeTortorec, Jean-Louis
> Sent: Wednesday, March 05, 2003 11:59 AM
> To: '[EMAIL PROTECTED]'
> Subject: Need help with ?> vs. php?>
>
> Hello everyone,
>
> I've installed the Apache v2.0.44 with PHP4.3.1., under Windows.
>
> My pa
Hello everyone,
I've installed the Apache v2.0.44 with PHP4.3.1., under Windows.
My pages starting and ending with "" don't work anymore. I would
have to change them to "".
Do you know if there is a way for keeping "
Thanks to all for your prompt replies!
It works just fine.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all!
Is there a flag that would tell me if the page requested is using SSL, by
https, or regular http?
I'm not sure I could get that from PHP, or from Apache/PHP.
Thanks for your help.
Jean-Louis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Hi all:
I'm trying to write files for PDAs (pdb type) from a PHP script.
I've tried to use PHP-PDB from SourceForge but can only give a name to the
database, I cannot add any record (pretty bad for a database, no?).
Is someone could help with, that'd be fantastic! Either with that library or
w
Hello everyone.
I wrote a little code creating PNG images under Apache/PHP windows.
As the code works fine, I need to transfer it onto the Linux platform.
When I execute the code, PHP replies "Fatal error: Call to undefined
function: imagecreate()".
I had libgd installed. I just added GD 1.8.4.
Hello every one:
I'm trying to create XLS files on the fly.
I found BiffWriter. Looks great for adding texts and numbers, but not
formulas.
Has anyone implemented something about formulas?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Hello all:
I have a script that looks like:
...
$name="Project #1";
...
$title="NEW PROJECT: ".$name;
$a=mail("[EMAIL PROTECTED], [EMAIL PROTECTED]",$title,$body, "From:[EMAIL PROTECTED]");
...
When I execute this code (there is no loop anywhere), ALL the recipients
receive 2 emails:
- the f
Hi:
I'm coding pages that need to include some general functions. File1 is an
example of those pages.
I also need to use the very same function file across several web sites. So,
I created an additional file, where I have listed all the options for a
particular site (which is then included into
12 matches
Mail list logo