php-general Digest 14 Dec 2013 13:03:52 -0000 Issue 8448

2013-12-14 Thread php-general-digest-help
php-general Digest 14 Dec 2013 13:03:52 - Issue 8448 Topics (messages 322570 through 322570): Re: Array + php 322570 by: marco.behnke.biz Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from the digest, e-mail

php-general Digest 28 Nov 2013 19:11:08 -0000 Issue 8440

2013-11-29 Thread php-general-digest-help
php-general Digest 28 Nov 2013 19:11:08 - Issue 8440 Topics (messages 322515 through 322527): Re: echo count(false); == 1 ?! 322515 by: Camilo Sperberg 322516 by: Tsvetan Nikolov 322517 by: Aziz Saleh 322518 by: Tim Behrendsen 322519 by: Daevid

php-general Digest 24 Nov 2013 20:39:26 -0000 Issue 8435

2013-11-24 Thread php-general-digest-help
php-general Digest 24 Nov 2013 20:39:26 - Issue 8435 Topics (messages 322493 through 322495): Re: DSN for MS SQL Server Express 2005 322493 by: marco.behnke.biz 322494 by: Tomás Corrales Lemoine PHP tutorial 322495 by: Martin Christian Administrivia: To subscribe

php-general Digest 21 Nov 2013 07:23:33 -0000 Issue 8431

2013-11-21 Thread php-general-digest-help
php-general Digest 21 Nov 2013 07:23:33 - Issue 8431 Topics (messages 322475 through 322478): Re: form submit send SMS 322475 by: Camilo Sperberg 322476 by: Bálint Horváth 322477 by: Jonathan Sundquist An upload that was, but now isn't... 322478 by: PHP

php-general Digest 17 Nov 2013 22:02:38 -0000 Issue 8428

2013-11-18 Thread php-general-digest-help
php-general Digest 17 Nov 2013 22:02:38 - Issue 8428 Topics (messages 322467 through 322468): Re: save $_GLOBALS to a database field 322467 by: Robert Cummings 322468 by: marco.behnke.biz Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr

php-general Digest 14 Nov 2013 10:44:41 -0000 Issue 8425

2013-11-15 Thread php-general-digest-help
php-general Digest 14 Nov 2013 10:44:41 - Issue 8425 Topics (messages 322447 through 322454): Re: regarding print_r() 322447 by: George Wilson 322448 by: Shawn McKenzie 322452 by: Tamara Temple 322453 by: Sachin Raut Date sequence calculating 322449

[PHP] Re: How to download a multi-part file at the server side?

2013-11-02 Thread Ajay Garg
I just came across http://www.w3schools.com/php/php_file_upload.asp, and tested it.. It works fine, when the file is uploaded via a form. It does seem that the client-method might indeed play a role. Here is my Java code for uploading the file

Re: [PHP] How to download a multi-part file at the server side?

2013-11-02 Thread Ajay Garg
stuck with the following server-side code. No matter what I do, I always get a no echoed back (specifying that the file is not copied to its target place). ### ?php $headers = apache_request_headers(); foreach

Re: [PHP] How to download a multi-part file at the server side?

2013-11-02 Thread Aziz Saleh
). ### ?php $headers = apache_request_headers(); foreach ($headers as $header = $value) { if($header == active_window_title) { $active_window_title = $value; break; } } $target_path = /home/ajay/success.png

php-general Digest 31 Oct 2013 07:14:27 -0000 Issue 8414

2013-11-01 Thread php-general-digest-help
php-general Digest 31 Oct 2013 07:14:27 - Issue 8414 Topics (messages 322393 through 322396): Re: Starting with XML 322393 by: Stuart Dallas Re: Apache/PHP exploit 322394 by: Tamara Temple 322395 by: Joshua Kehn 322396 by: Camilo Sperberg Administrivia

Re: [PHP] preg_replace

2013-11-01 Thread Adam Szewczyk
Hi, On Fri, Nov 01, 2013 at 11:06:29AM -0400, leam hall wrote: Despite my best efforts to ignore preg_replace... Why? :) PHP Warning: preg_replace(): Delimiter must not be alphanumeric or backslash Thoughts? You are just using it wrong. http://us2.php.net/manual/en

Re: [PHP] FYI: Apache/PHP exploit

2013-10-31 Thread Camilo Sperberg
+ today, thought I’d at least pass it along: http://www.exploit-db.com/exploits/29290/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

php-general Digest 26 Oct 2013 08:44:06 -0000 Issue 8410

2013-10-26 Thread php-general-digest-help
php-general Digest 26 Oct 2013 08:44:06 - Issue 8410 Topics (messages 322376 through 322384): Re: framework or not 322376 by: Stuart Dallas 322378 by: Robert Cummings 322380 by: Stuart Dallas 322381 by: David Harkness News Regard Attack; Announcing Official

php-general Digest 25 Oct 2013 14:01:46 -0000 Issue 8409

2013-10-26 Thread php-general-digest-help
php-general Digest 25 Oct 2013 14:01:46 - Issue 8409 Topics (messages 322370 through 322375): Persistent connections 322370 by: Nibin V M 322371 by: Stuart Dallas 322372 by: Nibin V M 322373 by: Stuart Dallas 322374 by: Nibin V M Re: framework

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

[PHP] Persistent connections

2013-10-26 Thread Nibin V M
Hello, I have been reading docs and many are telling that persistent connections are kept open indefinitely. But I found in PHP docs that it will not close after script execution like requesting a page; so should it close after the request is over? So when exactly a persistent connection should

Re: [PHP] I am puzzled. Error on one site, no error on the other

2013-10-26 Thread Aziz Saleh
On Fri, Oct 25, 2013 at 8:27 PM, Stephen stephe...@rogers.com wrote: Problem Situation I have two web sites on the same shared host. They share code for the control panel. When executed for one site I get a warning (reproducible always), but on the other there is no warning. One my home

Re: [PHP] framework or not

2013-10-26 Thread Stuart Dallas
I'm not! :) -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] framework or not

2013-10-26 Thread Robert Cummings
Disclaimer: Information contained in this message and any attached documents is considered confidential and legally protected. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized. -- PHP General Mailing List (http://www.php.net

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
On 25 Oct 2013, at 11:10, Nibin V M nibi...@gmail.com wrote: I have been reading docs and many are telling that persistent connections are kept open indefinitely. But I found in PHP docs that it will not close after script execution like requesting a page; so should it close after

Re: [PHP] framework or not

2013-10-24 Thread Marc Guay
I'm looking forward to the day that I'll know everything and can stop all this learning nonsense. Sounds like the attitude most people take when they sit down to a keyboard. (Ref: http://xkcd.com/386/) Off-topic is the new on-topic Marc -- PHP General Mailing List (http://www.php.net

Re: [PHP] framework or not

2013-10-23 Thread Robert Cummings
Disclaimer: Information contained in this message and any attached documents is considered confidential and legally protected. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized. -- PHP General Mailing List (http://www.php.net

Re: [PHP] framework or not

2013-10-23 Thread Larry Martell
On Wed, Oct 23, 2013 at 10:26 AM, Tedd Sperling tedd.sperl...@gmail.comwrote: On Oct 23, 2013, at 12:04 AM, Robert Cummings rob...@interjinn.com wrote: On 13-10-22 05:38 PM, Larry Garfield wrote: If you need more convincing, I will cite Fred Brooks:

Re: [PHP] framework or not

2013-10-23 Thread Larry Martell
On Wed, Oct 23, 2013 at 11:08 AM, Tedd Sperling tedd.sperl...@gmail.comwrote: On Oct 23, 2013, at 12:34 PM, Larry Martell la...@software-horizons.com wrote: Was it Brian Kernighan who said the 3 rules of programming are: 1. Keep it simple. 2. Build it in stages. 3. Let someone else do

php-general Digest 20 Oct 2013 15:50:29 -0000 Issue 8402

2013-10-20 Thread php-general-digest-help
php-general Digest 20 Oct 2013 15:50:29 - Issue 8402 Topics (messages 322325 through 322339): Re: Best Secure practice for uploading a csv file to import 322325 by: Ashley Sheridan 322326 by: Joshua Kehn Re: Algorithm Help 322327 by: German Geek 322334

Re: [PHP] If date is greater than

2013-10-20 Thread Ashley Sheridan
something } } ||| Easiest to convert to integers and then compare Yes, I was going to ask, why are you storing your dates as strings? MySQL has a perfectly good DATE type. It's also generally faster comparing dates within a MySQL query than PHP code. Thanks, Ash http

Re: [PHP] Algorithm Help

2013-10-20 Thread Ayush Ladia
-Hinnerk Heuer Twitter: @geekdenz Blog: http://www.thheuer.com On 20 October 2013 19:13, German Geek geek...@gmail.com wrote: Try this class: ?php // ASSUMES NAMES DON'T HAVE | IN THEM!! YOU COULD USE ANOTHER // CHARACTER COMBO IF NEEDED AND explode ON THAT class Graph

Re: [PHP] Algorithm Help

2013-10-20 Thread German Geek
][$with]++; } for the together function. Tim-Hinnerk Heuer Twitter: @geekdenz Blog: http://www.thheuer.com On 20 October 2013 19:13, German Geek geek...@gmail.com wrote: Try this class: ?php // ASSUMES NAMES DON'T HAVE | IN THEM!! YOU COULD USE ANOTHER // CHARACTER COMBO IF NEEDED AND explode

Re: [PHP] If date is greater than

2013-10-20 Thread Tedd Sperling
On Oct 20, 2013, at 4:01 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Yes, I was going to ask, why are you storing your dates as strings? MySQL has a perfectly good DATE type. It's also generally faster comparing dates within a MySQL query than PHP code. Thanks, Ash http

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

2013-10-11 Thread Stuart Dallas
?php $first = 0; $second = 1; for ($i = 0; $i 20; $i++) { ? echo li?php echo $first + $second ?/li ?php $temp = $first + $second; $first = $second; $second = $temp; } ? echo /ul echo /body

Re: [PHP] php.ini

2013-10-09 Thread Jim Giner
test subdomain? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I need more! 1 - the doc you mentioned refers to 'user.ini'. Does that literally mean the file is called 'USER.ini'? I have been placing my .ini overrides/settings in each

Re: [PHP] php.ini

2013-10-09 Thread Jim Giner
the executing folder. If that is so, then am I correct in assuming that settings in the lowest ini file take precedence over any found in 'bubbled-up' ini files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini

2013-10-09 Thread Simon Schick
domain folders are appended/updated against the 'main' ini settings to give me a 'current' group of php.ini settings. What I'm looking to find out is does an ini setting established in a test subdomain of my site affect those ini settings outside of my test subdomain? -- PHP General Mailing

Re: [PHP] php.ini

2013-10-09 Thread Jim Giner
that settings in the lowest ini file take precedence over any found in 'bubbled-up' ini files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Hi, Jim Never mind my last paragraph ... I was thinking the wrong way of what you wrote earlier

[PHP] php.ini

2013-10-08 Thread Jim Giner
against the 'main' ini settings to give me a 'current' group of php.ini settings. What I'm looking to find out is does an ini setting established in a test subdomain of my site affect those ini settings outside of my test subdomain? -- PHP General Mailing List (http://www.php.net

php-general Digest 7 Oct 2013 13:24:41 -0000 Issue 8388

2013-10-07 Thread php-general-digest-help
php-general Digest 7 Oct 2013 13:24:41 - Issue 8388 Topics (messages 322243 through 322257): Re: date time problem 322243 by: Farzan Dalaee 322244 by: Jim Giner 322245 by: Farzan Dalaee 322247 by: Jim Giner 322248 by: Farzan Dalaee 322249

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

2013-10-07 Thread Michael Alaimo
We have a server that gets a large number of requests each month. After a period of time I began to see this error in our error logs this weekend. PHP Fatal error: Call to undefined function () It does not reference a function, so I found it odd. It did give a line to a function

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

2013-10-07 Thread Stuart Dallas
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 of time I began to see this error in our error logs this weekend. PHP Fatal error: Call to undefined function () It does not reference

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

2013-10-07 Thread Michael Alaimo
a large number of requests each month. After a period of time I began to see this error in our error logs this weekend. PHP Fatal error: Call to undefined function () It does not reference a function, so I found it odd. It did give a line to a function with array_merge on it. Has

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

2013-10-07 Thread Stuart Dallas
of time I began to see this error in our error logs this weekend. PHP Fatal error: Call to undefined function () It does not reference 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

Re: [PHP] date time problem

2013-10-07 Thread Jim Giner
: ($days == 1) ? $days day : ''; $hms = $diff-format(%h:%i:%s); return Time left: $days $hms; } else return '?'; } else return '0'; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] date time problem

2013-10-06 Thread Jim Giner
I always hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE[$applid.expire]; $curr_time = time(); // get the difference $diff = $exp_time - $curr_time; // produce a display

Re: [PHP] date time problem

2013-10-06 Thread Farzan Dalaee
You should use gmdate() if you want to how many hours left to expire $time_left = gmdate(H:i:s,$diff); Best Regards Farzan Dalaee On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until

Re: [PHP] date time problem

2013-10-06 Thread Jim Giner
in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE[$applid.expire]; $curr_time = time(); // get the difference $diff = $exp_time - $curr_time; // produce a display time of the diff $time_left = date(h:i:s,$diff

Re: [PHP] date time problem

2013-10-06 Thread Farzan Dalaee
); Best Regards Farzan Dalaee On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE

[PHP] After a PHP script timeout, Apache logs the error but may not cleanly exit the script

2013-10-06 Thread Meta Seller Admin
Hi. I'm wondering if anyone can help with this. We're using PHP and Apache, hosted on a dedicated server running Debian Linux. The specific versions in each case are mostly immaterial, as this problem has been around since Debian 6, and is still present in Debian 7; in the meantime we've been

Re: [PHP] date time problem

2013-10-06 Thread Jim Giner
to expire $time_left = gmdate(H:i:s,$diff); Best Regards Farzan Dalaee On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp

Re: [PHP] date time problem

2013-10-06 Thread Farzan Dalaee
with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE[$applid.expire]; $curr_time = time(); // get the difference $diff = $exp_time - $curr_time; // produce a display time of the diff

Re: [PHP] date time problem

2013-10-06 Thread Jonathan Sundquist
This should help you out http://stackoverflow.com/questions/365191/how-to-get-time-difference-in-minutes-in-php On Oct 6, 2013 6:07 PM, Farzan Dalaee farzan.dal...@gmail.com wrote: Its so freaky Best Regards Farzan Dalaee On Oct 7, 2013, at 2:29, Jim Giner jim.gi...@albanyhandball.com

Re: [PHP] date time problem

2013-10-06 Thread Aziz Saleh
hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE[$applid.expire]; $curr_time = time(); // get the difference $diff = $exp_time - $curr_time; // produce

Re: [PHP] date time problem

2013-10-06 Thread Jim Giner
gmdate() if you want to how many hours left to expire $time_left = gmdate(H:i:s,$diff); Best Regards Farzan Dalaee On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until an hour

Re: [PHP] date time problem

2013-10-06 Thread Aziz Saleh
,$diff); Best Regards Farzan Dalaee On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values

Re: [PHP] date time problem

2013-10-06 Thread Ashley Sheridan
On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE[$applid.expire

Re: [PHP] date time problem

2013-10-06 Thread Jim Giner
= gmdate(H:i:s,$diff); Best Regards Farzan Dalaee On Oct 7, 2013, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time

Re: [PHP] date time problem

2013-10-06 Thread Jim Giner
, at 1:49, Jim Giner jim.gi...@albanyhandball.com wrote: I always hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE[$applid.expire]; $curr_time = time(); // get

Re: [PHP] date time problem

2013-10-06 Thread Romain CIACCAFAVA
hate dealing with date/time stuff in php - never get it even close until an hour or two goes by anyway I have this: // get two timestamp values $exp_time = $_COOKIE[$applid.expire]; $curr_time = time(); // get the difference $diff = $exp_time - $curr_time; // produce a display time

php-general Digest 3 Oct 2013 12:47:41 -0000 Issue 8386

2013-10-03 Thread php-general-digest-help
php-general Digest 3 Oct 2013 12:47:41 - Issue 8386 Topics (messages 322235 through 322240): Re: Algorithm Help 322235 by: Stuart Dallas 322236 by: Serge Fonville 322237 by: Floyd Resler 322238 by: Marc Guay 322239 by: Tamara Temple 322240

Re: [PHP] Algorithm Help

2013-10-03 Thread Floyd Resler
On Oct 2, 2013, at 6:23 PM, Tamara Temple tamouse.li...@gmail.com wrote: On Oct 2, 2013, at 9:05 AM, Marc Guay marc.g...@gmail.com wrote: If you have the technology handy, it could also just be easier to wipe the children's memories after each stay. Marc -- PHP General Mailing

Re: [PHP] Algorithm Help

2013-10-03 Thread Nickolas Whiting
slow. My idea was to give each group of kids a score and the lowest score is the group that is selected. However, this approach wound of iterating through several arrays several times which was really slow. Does anyone have any ideas on this puzzle? Thanks! Floyd -- PHP General Mailing

php-general Digest 2 Oct 2013 13:52:00 -0000 Issue 8385

2013-10-02 Thread php-general-digest-help
php-general Digest 2 Oct 2013 13:52:00 - Issue 8385 Topics (messages 38 through 322234): Re: delete S3 bucket with AWS PHP SDK 38 by: Aziz Saleh Re: Algorithm Help 39 by: John Meyer 322230 by: Aziz Saleh 322231 by: Ashley Sheridan 322232

Re: [PHP] Algorithm Help

2013-10-02 Thread Tamara Temple
which was really slow. Does anyone have any ideas on this puzzle? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php While definitely a tempting coding exercise, I just want to say that if this is urgent in any way

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] Algorithm Help

2013-10-02 Thread Serge Fonville
on this puzzle? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php While definitely a tempting coding exercise, I just want to say that if this is urgent in any way, shuffling cards with the kids' names on them

Re: [PHP] Algorithm Help

2013-10-02 Thread Floyd Resler
. However, this approach wound of iterating through several arrays several times which was really slow. Does anyone have any ideas on this puzzle? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php While definitely

Re: [PHP] Algorithm Help

2013-10-02 Thread Marc Guay
If you have the technology handy, it could also just be easier to wipe the children's memories after each stay. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Algorithm Help

2013-10-02 Thread Tamara Temple
On Oct 2, 2013, at 9:05 AM, Marc Guay marc.g...@gmail.com wrote: If you have the technology handy, it could also just be easier to wipe the children's memories after each stay. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 1 Oct 2013 18:51:44 -0000 Issue 8384

2013-10-01 Thread php-general-digest-help
php-general Digest 1 Oct 2013 18:51:44 - Issue 8384 Topics (messages 37 through 37): Algorithm Help 37 by: Floyd Resler Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from the digest, e-mail

[PHP] Algorithm Help

2013-10-01 Thread Floyd Resler
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-10-01 Thread Aziz Saleh
for getting back to me! I appreciate you spotting that error. So I corrected that ?php require_once 'sdk.class.php'; if (isset($_POST['submit'])) { * $bucket_name = $_POST['bucket_name'];* // Create the S3 Object from the SDK $s3 = new AmazonS3(); * $result = $s3-deleteObject(array

Re: [PHP] Algorithm Help

2013-10-01 Thread John Meyer
any ideas on this puzzle? Thanks! Floyd Whatever solution you're going with will probably involve a relational database of some sort. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Algorithm Help

2013-10-01 Thread Aziz Saleh
? Thanks! Floyd Whatever solution you're going with will probably involve a relational database of some sort. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Algorithm Help

2013-10-01 Thread Ashley Sheridan
several times which was really slow. Does anyone have any ideas on this puzzle? Thanks! Floyd Whatever solution you're going with will probably involve a relational database of some sort. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Algorithm Help

2013-10-01 Thread Floyd Resler
database of some sort. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php This sounds remarkably like homework, which we can't help you with unless you've got a specific problem that you're stuck with. Thanks, Ash http

Re: [PHP] Algorithm Help

2013-10-01 Thread Serge Fonville
? Thanks! Floyd Whatever solution you're going with will probably involve a relational database of some sort. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php This sounds remarkably like homework, which we can't

php-general Digest 30 Sep 2013 18:03:46 -0000 Issue 8383

2013-09-30 Thread php-general-digest-help
php-general Digest 30 Sep 2013 18:03:46 - Issue 8383 Topics (messages 322219 through 36): Re: delete S3 bucket with AWS PHP SDK 322219 by: Ashley Sheridan 31 by: Aziz Saleh 32 by: Tim Dunphy 33 by: Aziz Saleh 35 by: Tim Dunphy Re

[PHP] SOAP: Is correct to override XML standards?

2013-09-30 Thread buzon
I am working with some WSDL call for a provider. The strange thing is that the SOAP used (for me, as client) should include an 'xml' element, and it is supported by the Php constructor, even that is not correct under XML syntaxis. Why? Is somekind of not validation? This works: ?php

php-general Digest 29 Sep 2013 16:30:23 -0000 Issue 8382

2013-09-29 Thread php-general-digest-help
php-general Digest 29 Sep 2013 16:30:23 - Issue 8382 Topics (messages 322207 through 322218): Re: Switch Statement 322207 by: Aziz Saleh 322209 by: Jim Giner 322210 by: Jim Giner 322212 by: Ethan Rosenberg 322213 by: Ethan Rosenberg 322214

[PHP] Running a command without shell

2013-09-29 Thread vitalif
() if the first argument is an array?) it would be rational because there is already such option for Windows... -- With best regards, Vitaliy Filippov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Switch Statement

2013-09-29 Thread Aziz Saleh
snip Aziz - Used var_dump no further information Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Tim Dunphy
Hi All, I am attempting to delete an empty S3 bucket using the AWS PHP SDK. Here's how they describe the process in the docs: $result = $client-deleteBucket(array( // Bucket is required 'Bucket' = 'string', )); You can find the full entry here: AWS PHP SDK Delete Bucket Docshttp

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Ashley Sheridan
On Sun, 2013-09-29 at 12:30 -0400, Tim Dunphy wrote: Hi All, I am attempting to delete an empty S3 bucket using the AWS PHP SDK. Here's how they describe the process in the docs: $result = $client-deleteBucket(array( // Bucket is required 'Bucket' = 'string', )); You

Re: [PHP] Switch Statement

2013-09-29 Thread mrfroasty
, Ethan Rosenberg wrote: Dear List - I have a working program. I made one change in a switch statement, and it does not work. I'm probably missing something fundamental. Here are some code SNIPPETS... [please note that all my debug statements are at the left margin] Setup... ?php

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Aziz Saleh
Dunphy bluethu...@gmail.com wrote: Hi All, I am attempting to delete an empty S3 bucket using the AWS PHP SDK. Here's how they describe the process in the docs: $result = $client-deleteBucket(array( // Bucket is required 'Bucket' = 'string', )); You can find the full entry

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Tim Dunphy
Hey guys, Sorry about that i should have posted the full code to give you some idea of context. Anyway, here it is: ?php require_once 'sdk.class.php'; if (isset($_POST['submit'])) { * $bucket_name = $_POST['$bucket_name'];* // Create the S3 Object from the SDK *$s3 = new AmazonS3

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Aziz Saleh
wrote: Hey guys, Sorry about that i should have posted the full code to give you some idea of context. Anyway, here it is: ?php require_once 'sdk.class.php'; if (isset($_POST['submit'])) { * $bucket_name = $_POST['$bucket_name'];* // Create the S3 Object from the SDK *$s3 = new

Re: [PHP] Re: Sending PHP mail with Authentication

2013-09-29 Thread Paul M Foster
On Fri, Sep 27, 2013 at 12:06:30AM +0200, Maciek Sokolewicz wrote: [snip] I'm sure I'm going to annoy people with this, but I would advise to never use PEAR. It's the biggest load of extremely badly coded PHP you'll ever find. Creating an SMTP client (with the purpose of just sending mail

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Tim Dunphy
Hi Aziz, Thank you for getting back to me! I appreciate you spotting that error. So I corrected that ?php require_once 'sdk.class.php'; if (isset($_POST['submit'])) { * $bucket_name = $_POST['bucket_name'];* // Create the S3 Object from the SDK $s3 = new AmazonS3(); * $result = $s3

php-general Digest 28 Sep 2013 12:26:53 -0000 Issue 8380

2013-09-28 Thread php-general-digest-help
php-general Digest 28 Sep 2013 12:26:53 - Issue 8380 Topics (messages 322200 through 322200): Re: How to capture uploaded file data 322200 by: Bastien Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from

php-general Digest 29 Sep 2013 02:33:32 -0000 Issue 8381

2013-09-28 Thread php-general-digest-help
php-general Digest 29 Sep 2013 02:33:32 - Issue 8381 Topics (messages 322201 through 322206): create a local temp table in local machine 322201 by: iccsi 322202 by: Bastien 322203 by: iccsi 322204 by: Bastien 322205 by: iccsi Switch Statement

Re: [PHP] How to capture uploaded file data

2013-09-28 Thread Bastien
Thanks, Bastien On Sep 27, 2013, at 12:56 AM, Mariusz Drozdowski scheme...@wp.pl wrote: Hi all php experts, I would like to ask you all a question, I hope this is the right place to ask it. I'm writing a PHP extension now in c/c++. User uploads a file (could be POST or PUT method

[PHP] create a local temp table in local machine

2013-09-28 Thread iccsi
I need create a local table on the local machine. I would like to know is it possible to down on server side or client side or jQuery to do the work. Your information and help is great appreciated, regards, Iccsi, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] create a local temp table in local machine

2013-09-28 Thread Bastien
or some other JS framework to manipulate that data may also be an option -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] create a local temp table in local machine

2013-09-28 Thread iccsi
options could include sending csv or json data down to the browser and using jquery, angular or some other JS framework to manipulate that data may also be an option -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] create a local temp table in local machine

2013-09-28 Thread Bastien
list with the autocomplete. I cached the list to a JS file and ran the autocomplete from that. It works well if the list is relatively static which mine was. It will be tougher if the list is dynamic, but you could send the data down after the initial page load. HTH Bastien -- PHP General

Re: [PHP] create a local temp table in local machine

2013-09-28 Thread iccsi
with the autocomplete. I cached the list to a JS file and ran the autocomplete from that. It works well if the list is relatively static which mine was. It will be tougher if the list is dynamic, but you could send the data down after the initial page load. HTH Bastien= -- PHP General Mailing List

[PHP] Switch Statement

2013-09-28 Thread Ethan Rosenberg
Dear List - I have a working program. I made one change in a switch statement, and it does not work. I'm probably missing something fundamental. Here are some code SNIPPETS... [please note that all my debug statements are at the left margin] Setup... ?php session_start

Re: [PHP] Switch Statement

2013-09-28 Thread Aziz Saleh
statement, and it does not work. I'm probably missing something fundamental. Here are some code SNIPPETS... [please note that all my debug statements are at the left margin] Setup... ?php session_start(); session_name(STORE); set_time_limit(2400); ini_set

Re: [PHP] create a local temp table in local machine

2013-09-28 Thread Bastien
Sorry Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Switch Statement

2013-09-28 Thread Jim Giner
] Setup... ?php session_start(); session_name(STORE); set_time_limit(2400); ini_set('display_errors', 'on'); ini_set('display_startup_errors', 'on'); error_reporting(-2); ini_set('error_reporting', 'E_ALL | E_STRICT'); ini_set('html_errors', 'On'); ini_set

  1   2   3   4   5   6   7   8   9   10   >