I think he is asking whether people are using Internet Explore 8 Beta 2
No I'm not using it, I still haven't ugraded to IE7 yet, and probably
won't while I use Firefox 3, and am quite happy with FF3.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I tried to grab it, but it seems that my employer is protecting me
from it. Interesting.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Sep 3, 2008 at 1:33 PM, Wolf [EMAIL PROTECTED] wrote:
Since gmail won't take exe files...
http://lonewolf.homelinux.net/ChromeSetup.exe
Andrew Ballard wrote:
I tried to grab it, but it seems that my employer is protecting me
from it. Interesting.
Andrew
That wouldn't work here
On Sun, Aug 31, 2008 at 9:53 AM, tedd [EMAIL PROTECTED] wrote:
At 2:21 PM -0400 8/30/08, Andrew Ballard wrote:
On Sat, Aug 30, 2008 at 11:38 AM, tedd [EMAIL PROTECTED] wrote:
I think making the URL RED would be a better warning than showing
PUNYCODE
-- but that's my opinion.
Cheers
/green color blindness?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
taken his idea and done something much
simpler: they've simplified the character set. No additional colors,
no extra icons to have to decipher, etc.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
SELECT planned_dep_ap, COUNT(*) as apcount
FROM flightdb
GROUP BY planned_dep_ap
HAVING apcount = 100
ORDER BY apcount DESC
That should do it.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) and Ronald's does not? I thought it was supposed to get appended
to all messages from the list. (Actually, looking back at some other
messages in my box, it seems kind of hit and miss.)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: Andrew Ballard [EMAIL PROTECTED]
To: PHP General list php-general@lists.php.net
Date: Fri, 22 Aug 2008 09:38:31 -0400
Subject: Re: [PHP] Unsubscribe issues
On Fri, Aug 22, 2008 at 9:10 AM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
I assume Ronald won't see this, but I've mentioned it before
On Fri, Aug 22, 2008 at 9:51 AM, Maciek Sokolewicz [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
On Fri, Aug 22, 2008 at 9:10 AM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
I assume Ronald won't see this, but I've mentioned it before. The emails
coming from the mailing list all have
On Fri, Aug 22, 2008 at 10:10 AM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
Hence my response of read the headers ;)
Ash
www.ashleysheridan.co.uk
-- Forwarded message --
From: Andrew Ballard [EMAIL PROTECTED]
To: PHP General list php-general@lists.php.net
Date: Fri, 22 Aug
to include Canada and it will become
abundantly clear that a numeric data type is not correct for postal
codes.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are processing is what it should be.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
so they only need to be
stripped out once.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Aug 12, 2008 at 4:53 PM, Philip Thompson [EMAIL PROTECTED] wrote:
On Aug 12, 2008, at 2:10 PM, Andrew Ballard wrote:
On Tue, Aug 12, 2008 at 2:47 PM, Philip Thompson [EMAIL PROTECTED]
wrote:
Hi all.
If you are sanitizing _POST input for a database by escaping (via
mysql_
of
3145728000, which is 3000 * 1024 * 1024. I'm guessing that since the
upload size is greater than a (really large) negative number, PHP is
throwing an error. That's probably where the 2GB figure comes from.
Andrew
in the response headers when serving a GET request.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
effects, which is the definition of SQL
injection.) As I see it, this is one of the purposes of prepared
statements.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://localhost/hello.php should work.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that I can
prepare the statement if I will be running it several times with
different parameter values each time, or choose not to incur the
overhead if I'm only going to run a statement once.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
';
?
I ran this script several times, and the results below are fairly typical:
MB_STRLEN took : 0.054733037948608 milliseconds
STRLEN took : 0.037568092346191 milliseconds
The multi-byte function is slower, but not even by a factor of 2 on my
development machine.
Andrew
On Fri, Aug 1, 2008 at 12:34 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-08-01 at 11:12 -0500, Boyd, Todd M. wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti
Sent: Friday, August 01, 2008 10:58 AM
To: Andrew Ballard
Cc
On Fri, Aug 1, 2008 at 2:30 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-08-01 at 13:24 -0400, Andrew Ballard wrote:
On Fri, Aug 1, 2008 at 12:34 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-08-01 at 11:12 -0500, Boyd, Todd M. wrote:
-Original Message
to that country?) I know the order is backward from how one
typically writes an address on paper, but otherwise your state list
will be HUGE and often your country list would only have one value
after the user selects a state.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
on the net have
memory leaks, especially in IE. The YUI kit seems to avoid these; I
can't speak for other libraries that are available. Plus, you get an
API to (hopefully) simplify things.
http://developer.yahoo.com/yui/
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
to finish. If it's called from a cron job, don't you still
have to somehow flag the message as having been delivered so that the
next process doesn't come along and send the same thing all over
again?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
is default to the most common country and show the
associated states.
You can change the states if they change the country.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 12:40 PM, Rahul S. Johari
On Thu, Jul 31, 2008 at 4:24 PM, brian [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 1:27 PM, brian [EMAIL PROTECTED] wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails
take almost a full second to execute in Doze?...
That seems pretty whack...
I just ran your test code inside Zend Studio under Windows XP and it
printed 0.00044636011123657
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, or rougly 1/10,000th of the time Doze
takes.
Interesting. Just for comparison, I ran it directly with the binaries
(disabling the debugger) for PHP 4.4.4 and 5.2.0 on my machine.
4.4.4 - in the order of 4.5E-6 - 5.0E-6
5.2.0 - right around 1.0E-4
Andrew
--
PHP General Mailing List (http
that
doesn't belong to the set.)
Is there any reason in particular that you MUST use ISO-8859-1 rather
than UTF-8? The former is a subset of the latter, so I would think
you'd save yourself the headache if you just used UTF-8 for
everything.
Andrew
--
PHP General Mailing List (http://www.php.net
be:
header('Content-type: text/xml; charset=UTF-8');
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that is initially NULL, and I set it to UTC_TIMESTAMP()
for each row as I send the message. My query looks like this then:
SELECT * FROM mail_queue WHERE delivery_timestamp IS NULL LIMIT 100.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
consider it a hack. I know some people on the list don't
care for redirects, but I tend to use them this way to keep page
functions in line with the semantics of GET (request data) and POST
(modify state/data).
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
this doesn't get lost in all the top posting on this thread.)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: $redirect_url);
// flush any existing output buffers
while (@ob_end_flush());
exit();
}
?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to
'ANYSUBDOMAIN.webbytedd.com' as well as just 'webbytedd.com'. Of
course, make sure you actually want this behavior. Some sites will
rely on different session pools for different subdomains.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the wrong
library installed?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it and handle it correctly.) If it's just a display
issue, will number_format($float_value, 0, '', '') work?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bad day Dan? :-)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
developers to design products using only those procedures for all data
access. Of course, a lot of developers would complain under this level
of security, and I suspect a lot of frameworks that are out there
would be much less useful to lazy programmers.
Andrew
--
PHP General Mailing List (http
On Thu, Jul 17, 2008 at 2:48 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Thu, 2008-07-17 at 12:32 -0400, Andrew Ballard wrote:
On Thu, Jul 17, 2008 at 12:02 PM, Stut [EMAIL PROTECTED] wrote:
On 17 Jul 2008, at 15:31, David Giragosian wrote:
On 7/17/08, Stut [EMAIL PROTECTED] wrote
): aaeeiioouuAAEEIIOOUU
?
Ciao
Yeti
On Mon, Jul 14, 2008 at 8:20 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Mon, Jul 14, 2008 at 1:35 PM, Giulio Mastrosanti
[EMAIL PROTECTED] wrote:
Brilliant !!!
so you replace every occurence of every accent variation with all the
accent
variations
On Tue, Jul 15, 2008 at 9:46 AM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Tue, Jul 15, 2008 at 5:38 AM, Yeti [EMAIL PROTECTED] wrote:
I dont think using all these regular expressions is a very efficient way to
do so. As i previously pointed out there are many users who had a similar
problem
On Tue, Jul 15, 2008 at 12:30 PM, tedd [EMAIL PROTECTED] wrote:
At 10:15 AM -0400 7/15/08, Andrew Ballard wrote:
On TueWell, OK, I can think of one optimization. This takes advantage of
the
fact that preg_replace can accept arrays as parameters. In a couple
very quick tests this version
. (Not to mention the size and complexity of the query being
passed from PHP to the database or the potential size of the result
being passed from the database to PHP since it now could have lots of
formatting text embedded in it.)
Andrew
On Mon, Jul 14, 2008 at 11:06 AM, Giulio Mastrosanti
[EMAIL PROTECTED] wrote:
First of all thank you all for your answers, and thank you for your time
and yes Tedd, my question was quite ambiguous in that point.
Andrew is right, i don't want to change in any way the list of keys I show
it immediately, but I'll let you know:)
thank you!
Giulio
Andrew
expression ) to achieve in php a search and replace
accent-insensitive, so that i can find the word 'cafe' in a string
also if it is 'café', or 'CAFÉ', or 'CAFE', and vice-versa.;
echo highlight_search_terms('cafe', $string);
?
Andrew
(' ', $words);
?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of sessions in PHP, as
ASP.NET has its own session handler. I think it would be more
equivalent to storing a Zend_Form object in PHP sessions so that it
can handle events from page to page.
Andrew
when reading code like that:
If 'yes' is you_can_read_this, 'Stop standing on me' I say.
or
If 0 is my_pulse then 'dead you are' should say you.
:-D
--Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, Jun 28, 2008 at 1:33 PM, Jim Lucas [EMAIL PROTECTED] wrote:
Robert Cummings wrote:
On Sat, 2008-06-28 at 11:27 -0400, Andrew Ballard wrote:
On Sat, Jun 28, 2008 at 9:44 AM, Colin Guthrie [EMAIL PROTECTED]
wrote:
Robert Cummings wrote:
I will never do it... it looks ugly,
Only
the password comparison case-sensitive (as one
might reasonably infer from the subject of the message). However, the
OP wanted the password to be case-INsensitive.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Rights, that among these are
Life, Liberty and the pursuit of Happiness. It has been a cornerstone
of our society from the beginning that no one has to EARN freedom.
Nevertheless, I have the utmost respect for those who have sacrificed
to ensure that liberty.
Andrew
--
PHP General Mailing List (http
be my preferred way to set up
security, but depending on the level of risk involved it may be
sufficient.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is actually
allowed; only that resources were consumed in handling the request.
It's still the chicken and egg problem already described in this
thread.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in PHP, and PHP strings are handled like primitives rather than
instances of a class that extends the base Object class like they do
in Java. (PHP primitives can be converted to an instance of stdClass,
but it's not the same. AFAIK, stdClass does not have any methods of
its own, either.)
Andrew
/2100-1035_22-6140191.html
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and not
apache's? hun. thanks!
No, RTM.
Files for including are first looked for in each include_path entry
relative to the current working directory, and then in the directory
of current script.
http://www.php.net/manual/en/function.include.php
Andrew
--
PHP General Mailing List (http
', 'TitleC'));
parent::__construct($set, $merged);
}
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that are not valid in
XML, etc. In these cases, the DOM-type parsers will usually choke. You
might be able to salvage something with the stream-based parsers like
SAX. (I've never tried it.)
Andrew
would be appreciated.
Warm Regards,
Mário Gamito
That's what the mode parameter is for. You want w.
http://www.php.net/manual/en/function.fopen.php
Andrew
BY ','
ENCLOSED BY ''
LINES TERMINATED BY '\n'
Thanks
Andrew
2008/5/11 Richard Kurth [EMAIL PROTECTED]:
This script will create an xls file from the data that is sent to it
When I run this it only gets one recored and it is supposet to get all the
records that are past by the $_POST
and plan your
database first. Doing that will make your data model much better from
the start, and you can also start planning out what your HTML pages
need to be collecting as it relates to how the data is stored.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
memory leaks in the
web browser that seem to be common for most of the AJAX examples I
have seen on the web.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the following error
Fatal error: Call to undefined method DOMXPath::_construct()
Many thanks
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://us3.php.net/manual/en/reserved.variables.php
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
change. However,
it should work pretty well.
Or they could share an IP with a few hundred other people so that all
of them combined only get counted one time.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the file down to a
respectable size before uploading.
Cheers,
tedd
I'd be interested in seeing an example of how you actually plan on
doing that, Tedd. JavaScript can't access the file from an input
field, and I'm not aware of any JavaScript image handling functions
either.
Andrew
--
PHP
On Wed, Apr 16, 2008 at 10:10 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Wed, Apr 16, 2008 at 9:59 AM, Andrew Ballard [EMAIL PROTECTED] wrote:
In addition to the added time, aren't there any problems with race
conditions if two users try to create a file at the same time and each
On Wed, Apr 16, 2008 at 10:05 AM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Wed, Apr 16, 2008 at 7:59 AM, Andrew Ballard [EMAIL PROTECTED] wrote:
In addition to the added time, aren't there any problems with race
conditions if two users try to create a file at the same time and each
user's
to see the end result.
In addition to the added time, aren't there any problems with race
conditions if two users try to create a file at the same time and each
user's script tries to clean the same files at the same time?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On Wed, Apr 16, 2008 at 9:59 AM, tedd [EMAIL PROTECTED] wrote:
At 9:41 AM -0400 4/16/08, Andrew Ballard wrote:
On Wed, Apr 16, 2008 at 7:56 AM, tedd [EMAIL PROTECTED] wrote:
At 6:48 PM +0900 4/16/08, Dave M G wrote:
PHP list,
I have a PHP script that resizes an image
On Wed, Apr 16, 2008 at 12:00 PM, David Giragosian
[EMAIL PROTECTED] wrote:
On 4/16/08, tedd [EMAIL PROTECTED] wrote:
At 10:53 AM -0400 4/16/08, Andrew Ballard wrote:
On Wed, Apr 16, 2008 at 9:59 AM, tedd [EMAIL PROTECTED] wrote:
I saw one the other day that caught my eye
value to
make sure it's what you expect it to be.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
says it was PHP_INI_ALL for
versions up to 4.2.3.)
http://us.php.net/manual/en/ini.core.php#ini.register-globals
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, without $5 _
--
-Casey
Really? I was starting to think that the secret was the coins that
kept magically reappearing. I gave up. (That was in IE, bearing
through the JavaScript error alert boxes.)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Mon, Apr 14, 2008 at 6:34 PM, tedd [EMAIL PROTECTED] wrote:
Really? I was starting to think that the secret was the coins that
kept magically reappearing. I gave up. (That was in IE, bearing
through the JavaScript error alert boxes.)
Andrew
Andrew:
Try it again:
http
to (*gasp*) open it
in IE to even see the quarter images instead of a couple rows of
checkboxes.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Apr 11, 2008 at 10:51 AM, Thiago Pojda
[EMAIL PROTECTED] wrote:
Same for me, I was like hmm ok, checkboxes...
Just tried IE, now I can see what you're talking about :)
-Mensagem original-
De: Andrew Ballard [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 11 de abril
-loaded.php
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/setup.php);
but this didn't help.
Any assistance at all would be greatly appreciated.
?php
header('Content-type: text/plain; charset=utf-8');
echo 'Zoltán, you forgot the PHP tags to get credit for your answer. :-)';
exit;
?
Andrew
to the document in which they were created, so
you can't just append a node from one document into another document.
The importNode function does what you want.
http://us2.php.net/manual/en/function.dom-domdocument-importnode.php
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
it), but DOM nodes
are specific to the document and contain pointers and other
information related to that document.
If you really want to know moe details, you can check out the W3C site (or STW).
http://www.w3.org/DOM/faq.html#moveNode
Andrew
--
PHP General Mailing List (http://www.php.net
/xhtml1/#h-4.2
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Am I making sense yet?
-Shawn
Sounds to me like you already have an idea.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to see in the
results would help a lot in building the query to get those results.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
having first learned good ol' MS-DOS BASICA years ago, and thinking
that I was raising x to the power of y. :-)
Andrew
PS - For kicks, I just searched for the word 'tilde' and it returned
the delete() function. :-O
problem but you
are assigning the same value for ID each time through the loop. The ID
attribute is supposed to be unique for each element on the page.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
generation and refactoring functionality that is lightyears ahead of
any IDE
:-P
Perhaps, but I'm sure I can't afford the license -- especially the
multi-user version! :-)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Apr 8, 2008 at 11:42 AM, Jason Pruim [EMAIL PROTECTED] wrote:
On Apr 8, 2008, at 11:02 AM, Andrew Ballard wrote:
On Tue, Apr 8, 2008 at 10:56 AM, Jochem Maas [EMAIL PROTECTED] wrote:
indeed, although the proper answer never comes up. the proper answer is
ofcourse 'me
On Tue, Apr 8, 2008 at 3:51 PM, Ryan S [EMAIL PROTECTED] wrote:
Hi Guys,
[snip]
Andrew:
Thanks for replying!
[snip]
Also, FWIW, I doubt it has anything to do with your problem but you
are assigning the same value for ID each time through the loop. The ID
attribute is supposed
more than some set number of messages per hour whether directly
through local SMTP or through sendmail, mail(), etc., so I know it CAN
be done, and it appears that more than a few people know how to do it.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
at the time), so I'm not sure what
wrinkles things like number portability have thrown in or how it is
handled.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
server timezone/date/time all is good. Am I half asleep at the wheel
on this one and just not seeing my mistake here?
mktime will automatically calculate the correct value for out-of-range input.
The 31st day of February in 2008 is March 2nd, so both dates are in March.
Andrew
--
PHP General
) creates a
timestamp for February 31, which gets corrected to become March 2
(March 3 in non-leap years). Moving the month number ahead by one (+1)
creates a timestamp for April 31 gets corrected to become May 1.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
E_ALL for your error_reporting so you would SEE
the error messages telling you about this.
Just to clarify -- Richard's response fixes a poor coding practice in
your original post, but it does not fix the problem that you
originally asked about.
Andrew
--
PHP General Mailing List (http
any libraries like PEAR to build them, but it isn't too difficult
to write with the basic PHP XML libraries like XMLWriter or DOM.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
number of
packets.
Yes, but do so smartly. Excessive string concatenation can slow things
down as well. On most pages you probably won't notice much difference,
but I have seen instances where the difference was painfully obvious.
Andrew
--
PHP General Mailing List (http://www.php.net
501 - 600 of 1494 matches
Mail list logo