Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-08 Thread Andrew Barnett
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

Re: [PHP] Google Chrome

2008-09-03 Thread Andrew Ballard
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

Re: [PHP] Google Chrome

2008-09-03 Thread Andrew Ballard
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

Re: [PHP] Re: What's with the Rx symbol?

2008-09-02 Thread Andrew Ballard
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

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Andrew Ballard
/green color blindness? Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Andrew Ballard
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

Re: [PHP] Braindead

2008-08-29 Thread Andrew Ballard
. 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

Re: [PHP] Unsubscribe issues

2008-08-22 Thread Andrew Ballard
) 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

Re: [PHP] Unsubscribe issues

2008-08-22 Thread Andrew Ballard
: 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

Re: [PHP] Unsubscribe issues

2008-08-22 Thread Andrew Ballard
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

Re: [PHP] Unsubscribe issues

2008-08-22 Thread Andrew Ballard
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

Re: [PHP] Restore Leading Zeros in Zip Codes

2008-08-22 Thread Andrew Ballard
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

Re: [PHP] Which Exception to use ....

2008-08-22 Thread Andrew Ballard
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

Re: [PHP] strip_tags

2008-08-12 Thread Andrew Ballard
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

Re: [PHP] strip_tags

2008-08-12 Thread Andrew Ballard
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_

Re: [PHP] php File upload

2008-08-08 Thread Andrew Ballard
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

Re: [PHP] php File upload

2008-08-08 Thread Andrew Ballard
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

Re: [PHP] PDO prepared statements and LIKE escaping

2008-08-05 Thread Andrew Ballard
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

Re: [PHP] Newbie problem: Php script not running in browser.

2008-08-05 Thread Andrew Ballard
://localhost/hello.php should work. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDO prepared statements and LIKE escaping

2008-08-04 Thread Andrew Ballard
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

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Andrew Ballard
'; ? 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

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Andrew Ballard
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

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Andrew Ballard
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

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Andrew Ballard
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

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Andrew Ballard
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

Re: [PHP] limiting the amount of emails sent at a time in a batch send

2008-07-31 Thread Andrew Ballard
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

Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Andrew Ballard
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

Re: [PHP] limiting the amount of emails sent at a time in a batch send

2008-07-31 Thread Andrew Ballard
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

Re: [PHP] Windows date(Y/m/d H:i:s) performance

2008-07-30 Thread Andrew Ballard
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

Re: [PHP] Re: Windows date(Y/m/d H:i:s) performance

2008-07-30 Thread Andrew Ballard
, 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

Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Andrew Ballard
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

Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Andrew Ballard
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

Re: [PHP] limiting the amount of emails sent at a time in a batch send

2008-07-29 Thread Andrew Ballard
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

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Andrew Ballard
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

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-22 Thread Andrew Ballard
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

Re: [PHP] session ok? [SOLVED]

2008-07-21 Thread Andrew Ballard
: $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

Re: [PHP] session ok? [SOLVED]

2008-07-21 Thread Andrew Ballard
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

Re: [PHP] problem with DOMDocument

2008-07-18 Thread Andrew Ballard
the wrong library installed? Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Floats and avoid exponential notation - How?

2008-07-17 Thread Andrew Ballard
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

Re: [PHP] is there a problem with php script pulling HTML out of database as it writes the page??

2008-07-17 Thread Andrew Ballard
Bad day Dan? :-) Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is there a problem with php script pulling HTML out of database as it writes the page??

2008-07-17 Thread Andrew Ballard
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

Re: [PHP] is there a problem with php script pulling HTML out of database as it writes the page??

2008-07-17 Thread Andrew Ballard
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

Re: [PHP] case and accent - insensitive regular expression?

2008-07-15 Thread Andrew Ballard
): 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

Re: [PHP] case and accent - insensitive regular expression?

2008-07-15 Thread Andrew Ballard
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

Re: [PHP] case and accent - insensitive regular expression?

2008-07-15 Thread Andrew Ballard
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

Re: [PHP] case and accent - insensitive regular expression?

2008-07-15 Thread Andrew Ballard
. (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

Re: [PHP] case and accent - insensitive regular expression?

2008-07-14 Thread Andrew Ballard
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

Re: [PHP] case and accent - insensitive regular expression?

2008-07-14 Thread Andrew Ballard
it immediately, but I'll let you know:) thank you! Giulio Andrew

Re: [PHP] case and accent - insensitive regular expression?

2008-07-13 Thread Andrew Ballard
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

Re: [PHP] Multiple words str_shuffle

2008-07-07 Thread Andrew Ballard
(' ', $words); ? Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CURL de-bugging: So why am I not getting the results page on the target site?

2008-07-01 Thread Andrew Ballard
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

Re: [PHP] Re: Inspiration for a Tombstone.

2008-06-28 Thread Andrew Ballard
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

Re: [PHP] Re: Inspiration for a Tombstone.

2008-06-28 Thread Andrew Ballard
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

Re: [PHP] Case sensitive password

2008-06-20 Thread Andrew Ballard
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

Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-20 Thread Andrew Ballard
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

Re: [PHP] Case sensitive password

2008-06-19 Thread Andrew Ballard
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

Re: [PHP] How to prevent DoS on PHP script?

2008-06-16 Thread Andrew Ballard
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

Re: [PHP] Class Type Casting

2008-06-10 Thread Andrew Ballard
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

Re: [PHP] Re: Re: Re: A Little Something.

2008-05-23 Thread Andrew Ballard
/2100-1035_22-6140191.html Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with includes

2008-05-16 Thread Andrew Ballard
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

Re: [PHP] Variable Scope from child to parent

2008-05-15 Thread Andrew Ballard
', 'TitleC')); parent::__construct($set, $merged); } Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Good HTML parser needed

2008-05-15 Thread Andrew Ballard
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

Re: [PHP] Flush file contents

2008-05-15 Thread Andrew Ballard
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

Re: [PHP] creating an xls file from mysql data

2008-05-11 Thread Andrew Johnstone
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

Re: [PHP] Where to start!

2008-05-06 Thread Andrew Ballard
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

Re: [PHP] Any Running Simple Ajax Sample for Php

2008-05-05 Thread Andrew Ballard
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

[PHP] extending Xpath

2008-05-01 Thread Andrew Mason
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

Re: [PHP] newbie with php/HTML/HTTP question

2008-04-28 Thread Andrew Ballard
://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

Re: [PHP] Most viewed?

2008-04-17 Thread Andrew Ballard
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

Re: [PHP] Memory limit of 8 MB not enough

2008-04-16 Thread Andrew Ballard
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

Re: [PHP] PHP Speech

2008-04-16 Thread Andrew Ballard
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

Re: [PHP] PHP Speech

2008-04-16 Thread Andrew Ballard
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

Re: [PHP] PHP Speech

2008-04-16 Thread Andrew Ballard
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

Re: [PHP] Memory limit of 8 MB not enough

2008-04-16 Thread Andrew Ballard
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

Re: [PHP] Memory limit of 8 MB not enough

2008-04-16 Thread Andrew Ballard
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

Re: [PHP] getting funny error on working page

2008-04-15 Thread Andrew Ballard
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

Re: [PHP] $_SESSION problem [NOW SOLVED]

2008-04-14 Thread Andrew Ballard
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

Re: [PHP] Quarters

2008-04-14 Thread Andrew Ballard
, 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

Re: [PHP] Quarters

2008-04-14 Thread Andrew Ballard
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

Re: [PHP] Quarters

2008-04-11 Thread Andrew Ballard
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

Re: [PHP] Quarters

2008-04-11 Thread Andrew Ballard
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

Re: [PHP] Check XMLReader enable

2008-04-09 Thread Andrew Ballard
-loaded.php Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] require_once dying silently

2008-04-09 Thread Andrew Ballard
/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

Re: [PHP] Problem with DOMElement/Node

2008-04-09 Thread Andrew Ballard
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

Re: [PHP] Problem with DOMElement/Node

2008-04-09 Thread Andrew Ballard
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

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-09 Thread Andrew Ballard
/xhtml1/#h-4.2 Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Andrew Ballard
. 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

Re: [PHP] joins issues again

2008-04-08 Thread Andrew Ballard
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

Re: [PHP] Can someone tell me what a tilde means ?

2008-04-08 Thread Andrew Ballard
, 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

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Andrew Ballard
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

Re: [PHP] Recommended PHP Editors?

2008-04-08 Thread Andrew Ballard
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

Re: [PHP] Recommended PHP Editors?

2008-04-08 Thread Andrew Ballard
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

Re: [PHP] dynamic boxes problem... JS and PHP

2008-04-08 Thread Andrew Ballard
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

Re: [PHP] limit mail() function

2008-04-08 Thread Andrew Ballard
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

Re: [PHP] phone number allocation manager

2008-04-01 Thread Andrew Ballard
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

Re: [PHP] Date Issue

2008-03-31 Thread Andrew Ballard
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

Re: [PHP] Date Issue

2008-03-31 Thread Andrew Ballard
) 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

Re: [PHP] Date Issue

2008-03-31 Thread Andrew Ballard
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

Re: [PHP] PHP code to write excel spreadsheet with multiple workbooks

2008-03-28 Thread Andrew Ballard
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

Re: [PHP] Re: optimilize web page loading

2008-03-26 Thread Andrew Ballard
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

<    1   2   3   4   5   6   7   8   9   10   >