Re: [PHP] Persistent connections

2013-10-26 Thread Stuart Dallas
? No, connections are not shared between PHP processes. Nothing is shared between PHP processes. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On Fri, Oct 25, 2013 at 3:54 PM, Stuart Dallas stu...@3ft9.com wrote: On 25 Oct 2013, at 11:10, Nibin V M nibi...@gmail.com wrote: I have been

Re: [PHP] framework or not

2013-10-26 Thread Stuart Dallas
On 25 Oct 2013, at 15:40, Robert Cummings rob...@interjinn.com wrote: On 13-10-25 10:17 AM, Stuart Dallas wrote: On 25 Oct 2013, at 15:01, Robert Cummings rob...@interjinn.com wrote: On 13-10-24 09:41 PM, Larry Garfield wrote: On 10/23/2013 08:51 AM, Jay Blanchard wrote: [snip

Re: [PHP] framework or not

2013-10-25 Thread Stuart Dallas
. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Persistent connections

2013-10-25 Thread Stuart Dallas
complaining. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trying to understand what is happening in this code

2013-10-11 Thread Stuart Dallas
Or is it just the line in question that is being echoed? I'm not sure exactly what it gets compiled to, but I also don't see why it matters. All that matters is that content outside of PHP tags will simply get echo'd. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http

Re: [PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Stuart Dallas
a function, so I found it odd. It did give a line to a function with array_merge on it. Has anyone seen this in the apache error logs? We are using PHP 5.3.3. Show us the line, and a few lines around it. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http

Re: [PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Stuart Dallas
On 7 Oct 2013, at 14:34, Michael Alaimo malaimo...@gmail.com wrote: On Mon, Oct 7, 2013 at 9:29 AM, Stuart Dallas stu...@3ft9.com wrote: On 7 Oct 2013, at 14:24, Michael Alaimo malaimo...@gmail.com wrote: We have a server that gets a large number of requests each month. After a period

Re: [PHP] Algorithm Help

2013-10-02 Thread Stuart Dallas
-in-php/ -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache

2013-09-23 Thread Stuart Dallas
for what I consider a lax and insecure Apache configuration. It's like saying they sliced your arm off with their chainsaw because it's made for cutting things, attempting to dodge all responsibility for having swung it in your direction! -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP

Re: [PHP] Apache's PHP handlers

2013-09-19 Thread Stuart Dallas
as quickly as possible. I don't care if they fix it - the fact their server was configured to do this by default is enough for me to never trust them again. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Apache's PHP handlers

2013-09-19 Thread Stuart Dallas
a static file, for no reason other than to avoid fixing the web server configuration. A misconfigured web server should be fixed, not worked around. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] high traffic websites

2013-09-18 Thread Stuart Dallas
optimisation is far better than trying generic stuff. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP CLI setting cooked terminal mode

2013-09-11 Thread Stuart Dallas
PHP to not do this ? TIA I am running PHP 5.3.3 on CentOS 6. Make sure output buffering is off by putting this at the top of your script: while(ob_end_clean()); -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-04 Thread Stuart Dallas
On 4 Sep 2013, at 00:03, Daevid Vincent dae...@daevid.com wrote: -Original Message- From: Stuart Dallas [mailto:stu...@3ft9.com] Sent: Tuesday, September 03, 2013 2:37 PM To: Daevid Vincent Cc: php-general@lists.php.net; 'Jim Giner' Subject: Re: [PHP] refernces, arrays, and why does

Re: [PHP] refernces, arrays, and why does it take up so much memory?

2013-09-03 Thread Stuart Dallas
you not break it up in to smaller pieces that won't put as much strain on resources? -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Stuart Dallas
a certain point, but those numbers make me sad! -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Basic Auth

2013-08-28 Thread Stuart Dallas
auth is a pretty antiquated way to handle authentication these days. Whatever you're using, I wish you all the best with it. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
which sends an XMLHttpRequest with an invalid username and password. The server will return a 401 which you ignore and then take the user to whatever URL you want them to see after they log off. Not pretty, but it works. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
On 27 Aug 2013, at 15:06, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 9:46 AM, Stuart Dallas wrote: On 27 Aug 2013, at 14:37, Jim Giner jim.gi...@albanyhandball.com wrote: Im using basic auth for a few of my pages that I want to limit access to - nothing of a sensitive

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
On 27 Aug 2013, at 15:18, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:14 AM, Stuart Dallas wrote: It's not really confusing so long as you understand how PHP works. Each request is brand new - nothing is retained from previous requests. The two variable you're changing

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
On 27 Aug 2013, at 15:51, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:39 AM, Stuart Dallas wrote: On 27 Aug 2013, at 15:18, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:14 AM, Stuart Dallas wrote: It's not really confusing so long as you understand how PHP

Fwd: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
Oops, sent this message from the wrong email address, so the list rejected it. Begin forwarded message: From: Stuart Dallas stu...@3ft9.com Subject: Re: [PHP] Basic Auth Date: 27 August 2013 16:36:27 BST To: jim.gi...@albanyhandball.com Cc: php-general@lists.php.net On 27 Aug 2013, at 15

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
On 27 Aug 2013, at 17:28, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 11:56 AM, Stuart Dallas wrote: Oops, sent this message from the wrong email address, so the list rejected it. Begin forwarded message: From: Stuart Dallas stu...@3ft9.com Subject: Re: [PHP] Basic Auth

Re: [PHP] Re: PHP vs JAVA

2013-08-21 Thread Stuart Dallas
of the improvements that PHP5 has introduced over the past five years! -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
to prove by saying that. If he's purely engaging in a mine's bigger than yours discussion I'd walk away, leave him to his petty games and actually accomplish something with the time instead. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
and doesn't come close to answering how big is the internet, assuming that means how many sites are there rather than how many publicly responsive edge servers exist. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
On 20 Aug 2013, at 22:00, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2013-08-20 at 21:44 +0100, Stuart Dallas wrote: On 20 Aug 2013, at 21:30, Dan Munro d...@danmunro.com wrote: in my opinion, that would be like asking how big is the internet?. http

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
-- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On Mon, Aug 19, 2013 at 4:32 PM, Szopen Xiao chopins.x...@gmail.com wrote: you can use JSON post 2013/8/19 aesbovis aesbo...@gmail.com: Hello there I am making a little web-based-tool for our studio to progress a large amount of data, more than

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 15:56, Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 10:49, aesbovis aesbo...@gmail.com wrote: I know Javascript can solve it, but I don't want to use Js. Thank you all the same. I

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 16:24, Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 15:56, Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013

Re: [PHP] Session_unset - session_destroy issue

2013-08-15 Thread Stuart Dallas
it's nothing more than a superglobal variable, it just won't be stored at the end of the request. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ambiguous?

2013-08-09 Thread Stuart Dallas
, it knows the answer to almost everything! -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Stuart Dallas
in detail. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Stuart Dallas
curious as to how it works, since presence is usually tied closely to how the client is detecting new messages. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Stuart Dallas
in the table, so it's not surprising that it appears like only the last entry in the array has been stored. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Stuart Dallas
On 22 Jul 2013, at 12:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/22 Stuart Dallas stu...@3ft9.com On 22 Jul 2013, at 08:04, Tamara Temple tamouse.li...@gmail.com wrote: On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I have

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Stuart Dallas
On 22 Jul 2013, at 13:25, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/22 Stuart Dallas stu...@3ft9.com On 22 Jul 2013, at 12:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/22 Stuart Dallas stu...@3ft9.com On 22 Jul 2013, at 08:04, Tamara Temple tamouse.li

Re: [PHP] Can this work?

2013-07-05 Thread Stuart Dallas
instead of one? ?php for ($i = 1; $i = 50; $i++) { ? option value=?php echo $i; ??php echo $i; ?/option ?php } ? -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can this work?

2013-07-05 Thread Stuart Dallas
On 5 Jul 2013, at 15:05, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello. I have a form in HTML/PHP with for loops that generate a selected list like this: for($i = 1; $i

Re: [PHP] Can this work?

2013-07-05 Thread Stuart Dallas
On 5 Jul 2013, at 15:24, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 15:05, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/7/5 Stuart Dallas stu...@3ft9.com On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen karlar...@gmail.com

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-26 Thread Stuart Dallas
is NOT possible -- this is a relational table thing. So, is there a way (programmatically) to set the next number in an auto-increment? Something like: alter table abc auto_increment = 2301; ALTER TABLE tbl AUTO_INCREMENT = 2301; -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP

Re: [PHP] Last Record INSERT

2013-06-26 Thread Stuart Dallas
the insert? If you're inserting with mysql_query() then that's just as deprecated as mysql_insert_id(). -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Last Record INSERT

2013-06-26 Thread Stuart Dallas
On Wednesday, 26 June 2013 at 19:01, Tedd Sperling wrote: On Jun 26, 2013, at 1:56 PM, Stuart Dallas stu...@3ft9.com (mailto:stu...@3ft9.com) wrote: On Wednesday, 26 June 2013 at 18:39, Tedd Sperling wrote: Let me add, currently I am inserting an email address into a database

Re: [PHP] Is it possible???

2013-06-24 Thread Stuart Dallas
and $update_item_amount_in_store as if PHP should know you mean the same thing. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fwd: Is it possible???

2013-06-24 Thread Stuart Dallas
) -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- Forwarded message -- From: Karl-Arne Gjersøyen karlar...@gmail.com Date: 2013/6/24 Subject: Is it possible??? To: PHP Mailinglist php-general@lists.php.net $item_amount_in_store = 223; $update_amount = 7

Re: [PHP] A Strange Problem

2013-06-20 Thread Stuart Dallas
-email.txt'); -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP is Zero

2013-06-13 Thread Stuart Dallas
then the issue is with your code not being explicit enough, not PHP. -Stuart [1] http://php.net/language.types.string#language.types.string.conversion -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Stuart Dallas
In a .htaccess file. However, it works on one site, but not on another -- any ideas as to why? At a rough guess there's an AllowOverride line in the main Apache config that's restricting what you can do in the .htaccess file. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP

Re: [PHP] Has this always been the case?

2013-05-31 Thread Stuart Dallas
. Yes, it has. Initial values class constants and member variables must be literal values. If you need to do that use a constructor. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Has this always been the case?

2013-05-31 Thread Stuart Dallas
, but I think it's an important distinction. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Has this always been the case?

2013-05-31 Thread Stuart Dallas
On 31 May 2013, at 12:17, shiplu shiplu@gmail.com wrote: On Fri, May 31, 2013 at 5:12 PM, Stuart Dallas stu...@3ft9.com wrote: That is not entirely correct. It must be a literal value. The expression 'a'.'b' is a constant value. I may be being overly picky here, but I think it's

Re: [PHP] Has this always been the case?

2013-05-31 Thread Stuart Dallas
On 31 May 2013, at 12:22, Richard Quadling rquadl...@gmail.com wrote: On 31 May 2013 12:17, shiplu shiplu@gmail.com wrote: On Fri, May 31, 2013 at 5:12 PM, Stuart Dallas stu...@3ft9.com wrote: That is not entirely correct. It must be a literal value. The expression 'a'.'b

Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
to pony up some cash. If you want someone to help you while you're learning, show us that you're working on it and we'll be happy to help. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
At a rough guess you mean worthy, not wordy. Worthy of what? You have nothing to prove to me other than the ability to make sense and ask a question that can be answered without four tonnes of interpretation. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On Wed, May 29, 2013 at 5:30 PM

Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
, try: http://support.simplemachines.org/ -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
On 29 May 2013, at 18:16, Jim Giner jim.gi...@albanyhandball.com wrote: On 5/29/2013 12:51 PM, Stuart Dallas wrote: Please find your caps-lock key and turn it off! Also, please include the list when replying, or expect an invoice for my consulting services. On 29 May 2013, at 17:36

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Stuart Dallas
devs. Ideas? normalisedError.xml: ?php return END_XML the xml here END_XML; Then in your class your require_once line will work. However, use require instead of require_once otherwise if the function gets called twice it won't work the second time. -Stuart -- Stuart Dallas 3ft9 Ltd http

Re: [PHP] Random

2013-05-23 Thread Stuart Dallas
-- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Stuart Dallas
to publish an interface for them to use. Does that help at all? -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Stuart Dallas
supply to change the pattern burnt. To enable them to use that you would provide them with the API to the Toaster object so they can talk to it, and the iToasterPattern interface so they can provide their own implementation of iToasterPattern. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com

Re: [PHP] Problems with array_push?

2013-05-07 Thread Stuart Dallas
Globals being used in a function. -Stuart On Tue, May 7, 2013 at 11:06 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: I know that I must be missing something really ridiculous, but when I print_r these arrays they are empty. I have confirmed that $arrayElement is properly

Re: [PHP] A little confused

2013-04-23 Thread Stuart Dallas
to be DateTime, integer given in I've had a look at the date/time function list, but I cannot seem to find any way to convert $_SESSION['ExpiryDate'] to an DateTime?? http://php.net/strtotime -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] A little confused

2013-04-23 Thread Stuart Dallas
and didn't realise you were trying to use DateTime objects. $datetime = new DateTime('2013-04-23'); If all you're doing is formatting the date you'll find using date($unix_timestamp) far more efficient than date_format($datetime_object). -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread Stuart Dallas
with it. What exactly are you developing that requires DB credentials to come from a form on a web page? -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
On 21 Apr 2013, at 15:46, tamouse mailing lists tamouse.li...@gmail.com wrote: On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Apr 21, 2013, at 9:32 AM, Stuart Dallas stu...@3ft9.com wrote: However, a more important question for me is why you are doing

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread Stuart Dallas
they have a shared MySQL instance for all of their customers. Given that you have command line access to the MySQL server, and can log in without specifying the host, I'm thinking you're trying to use it in a way they don't allow. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On Apr

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
well tested is your script? I don't know but I can say with absolute confidence that phpMyAdmin has been tested far more. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On Apr 21, 2013, at 12:46 PM, David OBrien dgobr...@gmail.com wrote: Not meaning to beat the proverbial dead horse

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
without an @ in it. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread Stuart Dallas
parameter to your mysql_connect call with 'instance43490.db.xeround.com:8904' and it will probably work. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
is the same as that between assembly and C? Hell, take it all the way to punch cards if you want -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
somebody else has built is not. Or, if it makes more sense substitute a car and inventing wheels. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect noob question

2013-04-21 Thread Stuart Dallas
management tool than connecting to a MySQL server and running queries. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect noob question

2013-04-20 Thread Stuart Dallas
legitimate reasons to be doing this, so the question is well worth asking. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] timezone

2013-04-15 Thread Stuart Dallas
On Mon, Apr 15, 2013 at 10:06 PM, Larry Martell la...@software-horizons.com=mailto:la...@software-horizons.com; wrote: On Mon, Apr 15, 2013 at 2:57 PM, Maciek Sokolewicz wrote: On 15-4-2013 22:12, Larry Martell wrote: On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine wrote: Larry Martell

Re: [PHP] JPGraph new GanttBar ... bar caption on left, right side

2013-04-09 Thread Stuart Dallas
=en-GB#!forum/jpgraph Would you email the Oxford English Dictionary for help with using the English language? -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Set process custom identifier

2013-04-02 Thread Stuart Dallas
it from the process that forked it then you don't need to store the PID anywhere other than a variable, and you don't need to wait for it. If you absolutely must do this then the only way is via an extension such as proctitle: http://php.net/setproctitle -Stuart -- Stuart Dallas 3ft9 Ltd http

Re: [PHP] Set process custom identifier

2013-04-02 Thread Stuart Dallas
to go! Based on what you've put above you already have some sort of storage that's tracking threads (they have a hash), so why not add the PID to that? Or, even better, use the PID as that hash? -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On Tue, Apr 2, 2013 at 5:02 PM, Stuart Dallas

Re: [PHP] target question

2013-03-25 Thread Stuart Dallas
it was originally marked as deprecated. Indeed. In fact w3schools.com is known to be a very unreliable source of information these days. My advice would be to avoid it at all costs! http://w3fools.com/ -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] application level variable file

2013-03-22 Thread Stuart Dallas
for this file like Web.config file for ASP.Net and Application.cfm for ColdFusion? No. Without the use of extensions, PHP follows a shared-nothing architecture. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] significance of escape character in string in PHP

2013-03-18 Thread Stuart Dallas
advice and recommend best practices as well as directly addressing people's problems, so it's right that things like this get repeatedly pointed out where appropriate. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] actually HTML again; resizeing images

2013-03-17 Thread Stuart Dallas
to the actual image, whether that's due to width and height attributes on an img tag, or CSS styles, or whatever. The specific algorithm used (which I'm guessing is what you mean by how is up to the browser and cannot be controlled. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General

Re: [PHP] Accessing Files Outside the Web Root

2013-03-15 Thread Stuart Dallas
a long time ago and haven't looked back since. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] rather a HTML Q; however 2-FRAME

2013-03-15 Thread Stuart Dallas
need to use Javascript, or reload the parent frame, neither of which involve PHP. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Introduction ... !

2013-03-02 Thread Stuart Dallas
turkey! -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpinfo()

2013-02-20 Thread Stuart Dallas
On 20 Feb 2013, at 19:23, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: Design in Motion Webdesign wrote: John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: I cannot find button2 in phpinfo() when I click it. I was hoping to find a

Re: [PHP] Undefined Variables

2013-02-14 Thread Stuart Dallas
Sorry for the top post! I don't know numbers, but my gut instinct is that the cycles wasted raising the notice (it gets raised even if it goes nowhere so turning display and log doesn't remove the hit completely) are better spent executing defensive code. There is no reason, ever, that

Re: [PHP] Undefined Variables

2013-02-14 Thread Stuart Dallas
On 14 Feb 2013, at 20:57, Al n...@ridersite.org wrote: On 2/14/2013 1:54 PM, Stuart Dallas wrote: Sorry for the top post! I don't know numbers, but my gut instinct is that the cycles wasted raising the notice (it gets raised even if it goes nowhere so turning display and log doesn't

Re: [PHP] Apache to serve RESTful requests using PHP

2013-02-11 Thread Stuart Dallas
with a primed cache. However, in most cases that is not a huge advantage. If each request and response is unique you need to be careful about what you choose to cache such that you don't incur caching costs without reaping benefits that make it worthwhile. -Stuart -- Stuart Dallas 3ft9 Ltd http

Re: [PHP] Apache to serve RESTful requests using PHP

2013-02-09 Thread Stuart Dallas
it is written (assuming a mostly-read service). -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is header() malfunction due to PHP5.3.3 - 5.4.11 transition?

2013-02-09 Thread Stuart Dallas
. You have output being sent to the client before that header() function call. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is header() malfunction due to PHP5.3.3 - 5.4.11 transition?

2013-02-09 Thread Stuart Dallas
and display_errors settings to make sure errors are being displayed and you should be able to save a lot of time. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On 2/9/2013 2:34 PM, Stuart Dallas wrote: On 9 Feb 2013, at 19:00, Jonathan Eagle jeo...@attglobal.net wrote: I'm having a problem

Re: [PHP] Pear Page2

2013-01-06 Thread Stuart Dallas
said All websites are created manually. (nano + html/css Tags) he meant All of the websites are created manually. (nano + html/css Tags) meaning the sites he's working on rather than every site in existence. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http

Re: [PHP] variable placeholders in a text file

2012-12-31 Thread Stuart Dallas
Please excuse the top post, but this may be helpful: http://stut.net/2008/10/28/snippet-simple-templates-with-php/ -Stuart -- Sent from my leaf blower On 31 Dec 2012, at 19:59, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Mon, 2012-12-31 at 13:39 -0600, Nelson Green wrote: Hello,

Re: [PHP] Re: shared memory on php servers?

2012-12-04 Thread Stuart Dallas
them from multiple servers. Also, as Sebastian says, a database is another option unless you have a good reason to want the data in shared memory rather than a DB. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Can't use the SNMP class

2012-12-04 Thread Stuart Dallas
://php.net/snmp.construct -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Switch - Case Statement Questions

2012-11-19 Thread Stuart Dallas
are the mother of all f*** ups. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Switch - Case Statement Questions

2012-11-17 Thread Stuart Dallas
solution and minimising maintenance issues. I see neither side being compromised by using a switch statement in this manner, in fact I see both sides potentially getting a boost. Just because the usage is unfamiliar or even surprising to you doesn't mean it's wrong. -Stuart -- Stuart Dallas 3ft9

Re: [PHP] Rest Authentication

2012-11-11 Thread Stuart Dallas
http authentication and the hassle of apache configurations? HTTP auth doesn't need to involve the web server at all: http://stut.net/2012/11/11/snippet-http-authentication/ -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Date comparison going wrong, wrong, wrong

2012-11-11 Thread Stuart Dallas
. time() for the current time, and what you get back from strtotime for the end date. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/

Re: [PHP] Date comparison going wrong, wrong, wrong

2012-11-11 Thread Stuart Dallas
thing. I just can't figure out what's wrong. Your comparison is backwards: if ($todaydate $showenddate): should be if ($todaydate $showenddate): -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On 11 November 2012 18:48, shiplu shiplu@gmail.com wrote: You can always use

  1   2   3   4   5   6   >