On Sunday 03 July 2005 13:10, Rodolfo Gonzalez Gonzalez wrote:
> :-S ? ... I've googled to see if there's some sample code for caching
>
> adodb recordsets, without success so far.
adodb already has a caching mechanism, have you tried it?
> Is someone aware of some
> class to cache Adodb reco
Hi,
Saturday, July 2, 2005, 6:57:07 PM, you wrote:
S> The lack of a specific type to store monetary values is something of a
S> problem with commercial applications. Be it that you have value added tax
S> or sales tax to add per-item to an invoice or any other calculation like
S> commissions, dis
On Sat, 2 Jul 2005, Jochem Maas wrote:
I would like to use PHP's memcached extension to store objects. However I
keep getting the "incomplete object" everytime I try to operate on an
load the class definition BEFORE you try to extract the object from the
cache.
Thanks to Jochem and Brad fo
On Sat, 2 Jul 2005, Nate Tanner wrote:
I'm working on the design of a program for sending automatic messages to
users, based on certain conditions. It seems like there should be some
So the point is that I need to be able to set up rules for what each message contains, and when each message sho
I'm working on the design of a program for sending automatic messages to users,
based on certain conditions. It seems like there should be some sort of
framework for this sort of thing, but I'm not sure what it would be called,
besides "auto-reply framework." I didn't find anything when searchin
* "Ryan A" <[EMAIL PROTECTED]>:
> This is the code I am using to display a persons age from the mysql db:
>
> $day1=strtotime($age);
> $day2 = strtotime(date("Y-m-d"));
Just to be pedantic... just use time() for the above statement; no
reason to do extra work here. (date() will actually call time(
On Sat, July 2, 2005 11:35 am, Joe Krahn said:
> Richard Lynch wrote:
>> I'm not unsympathic to your plight, and you're absolutely right it would
>> have been a better Design had somebody thought to do it that way, oh, 10
>> years ago...
> Well, I I think PHP will be around for a long time, so we'r
On Sat, July 2, 2005 3:11 pm, Andy Pieters said:
> I have this situation where mail() returns a false status but the message
> is
> actually accepted AND reaches destination!
>
> The PHP Version is 4.3.10, the OS Linux
>
> So what I do is (
>
> $header="header for multipart mime message";
> $body="
Hello,
on 07/02/2005 07:11 PM Andy Pieters said the following:
> Hi all
>
> I have this situation where mail() returns a false status but the
message is
> actually accepted AND reaches destination!
>
> The PHP Version is 4.3.10, the OS Linux
>
> So what I do is (
>
> $header="header for multipa
> Use floor() instead of round(). Using the round() function will round
> anyone whose age is above 16.5 to 17, while floor() always rounds down.
Thanks mate...silly me.
Cheers,
Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey,
On 7/3/2005 2:12:35 AM, Colin Ross ([EMAIL PROTECTED]) wrote:
> and for completeness of the topic, ceil() will round fractions up.
> i.e.
>
> ceil(16.1) = 17
> ceil(16.0) = 16
>
> I think the Credit Card Industry using ceil() alot ;P
>
Well, either i am dumb or that is pretty go
>
> I think the Credit Card Industry using ceil() alot ;P
>
HAHAHAHAHAHAHAHAHAHAah.*sigh*
--
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored.
However, I must say that the ENTIRE co
and for completeness of the topic, ceil() will round fractions up.
i.e.
ceil(16.1) = 17
ceil(16.0) = 16
I think the Credit Card Industry using ceil() alot ;P
On 7/2/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote:
>
> Ryan A wrote:
> > Hey guys,
> > This is the code I am using to
Ryan A wrote:
Hey guys,
This is the code I am using to display a persons age from the mysql db:
$day1=strtotime($age);
$day2 = strtotime(date("Y-m-d"));
$dif_s = ($day2-$day1);
$dif_d = ($dif_s/60/60/24);
$age = round(($dif_d/365.24));
but when someone entered their birth day($age) as 1988-07-0
Andy Pieters wrote:
So what I do is (
$header="header for multipart mime message";
$body="body with multipart mime message";
$result=mail("Name Firstname <$address>","Subject",$message,$header);
echo ($result?"ok":"bogus");
Well, firstly your subject does not match what you're doing. PHP is
w
Satyam wrote:
I would rather use native data types and functions. This is a good idea
when you have to deal with the balance sheet of a corporation, where you
have to handle huge numbers and still be precise up to the last cent. For
most retail business, where the largest amount can still be
Hey guys,
This is the code I am using to display a persons age from the mysql db:
$day1=strtotime($age);
$day2 = strtotime(date("Y-m-d"));
$dif_s = ($day2-$day1);
$dif_d = ($dif_s/60/60/24);
$age = round(($dif_d/365.24));
but when someone entered their birth day($age) as 1988-07-06 it is showing
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner s
Hi all
I have this situation where mail() returns a false status but the message is
actually accepted AND reaches destination!
The PHP Version is 4.3.10, the OS Linux
So what I do is (
$header="header for multipart mime message";
$body="body with multipart mime message";
$result=mail("Name Fir
Richard Lynch wrote:
On Thu, June 30, 2005 8:47 pm, Joe Krahn said:
PHP imports GET and POST data to array elements by senselessly
converting periods and spaces to underscore. The intent is to make
strings variable-name compatible for conversion directly into global
variables via import_request
This message was undeliverable due to the following reason:
Your message was not delivered because the destination computer was
not reachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely ther
On Sat, Jul 02, 2005 at 12:05:49AM -0500, John Jairo Vega Angulo wrote:
> Hi, hope you have a good programming:
> I'm still a novice in php topics and I'm looking forward to find a FREE
> hosting site to publish my .php's, so I hope you could give me an advise,
> and if the service provides MySQ
Chris Boget wrote:
If it's because of memory issues then it will indicated by an error
message saying that your script has tried to allocate more than the
allowed memory limit (and it's easy to fix by adjusting this limit in
php.ini)
Actually, I'm not getting any error at all. The script just
Here are some sites that list free PHP web host:
http://www.oinko.net/freephp/
http://www.free-php-hosting.com/
http://www.web-hosting.com.bz/
I do agree with the other people who replied that you should pay for
your web hosting needs. However, when I was starting out with PHP, I
had to rely on
On 7/2/05, John Jairo Vega Angulo <[EMAIL PROTECTED]> wrote:
> I'm still a novice in php topics and I'm looking forward to find a FREE
> hosting site to publish my .php's
Free web hosts suck. I have to deal with them all the time, trust me.
People download my free PHP scripts then complain to m
I would rather use native data types and functions. This is a good idea
when you have to deal with the balance sheet of a corporation, where you
have to handle huge numbers and still be precise up to the last cent. For
most retail business, where the largest amount can still be expressed in
c
Andrei Verovski (aka MacGuru) wrote:
Hi,
I have a PEAR-related question. My class library using some PEAR
packages, and I would like to make it self-contained, i.e. to be able
to move it to a server (for example MacOS X) which do not have (and
will not require) installation of any PEAR packag
Good morning,
I would like to use PHP's memcached extension to store objects. However I
keep getting the "incomplete object" everytime I try to operate on an
object got from the cache. How can be an object stored in memcached and
later recovered to work with it?. Is this possible?. I would tha
Virus Warning Message
The virus (W32/[EMAIL PROTECTED]) was detected in the attachment mail.zip. The
attached File mail.zip has been removed.
Nachfolgender Virus (W32/[EMAIL PROTECTED]) wurde im Attachment mail.zip
gefunden,
deshalb wurde das Attachment mail.zip gelöscht.
Für
Satyam wrote:
Now, am I missing something in all this? Please comment. Thanks
Satyam
Just use the Arbitrary Precision Mathematics functions in PHP, set to a
precision of 2 decimal places. There's bcmath[1] and GMP[2].
Jasper
[1] http://www.php.net/bc
[2] http://www.php.net/gmp
--
PHP Ge
Richard Davey wrote:
Hello Graham,
Friday, July 1, 2005, 12:54:42 AM, you wrote:
GA> if $_SERVER['SCRIPT_NAME'] give this
GA> /folder/folder/Library/php/filename.php
$_SERVER['SCRIPT_NAME'] won't give you that,
$_SERVER['SCRIPT_FILENAME'] would.
SCRIPT_NAME would just give you /filename.
The lack of a specific type to store monetary values is something of a
problem with commercial applications. Be it that you have value added tax
or sales tax to add per-item to an invoice or any other calculation like
commissions, discounts and such, you end up with an endless number of
insign
Andrew Scott wrote:
I agree with you, but why does the installer package not come with
everything to get you going to begin with, that was my original
question to begin with a long time ago not on this list of course.
I can't speak for whoever made the decision to keep what's included with
the
I am still writing a script for my friend he asked me about being able
to scan strings and make any strings that have http links in them,
able to be an anchor in a broswer, as I am sure I am not the first to
do this, any one have any ideas??? I am on php.net looking thru the
functions see lots of i
34 matches
Mail list logo