[PHP] learning resources for PHP

2012-04-03 Thread Tim Dunphy
Hello list,  I am quite sure that you've heard this question at least a few times before. :) But I have been dabbling a bit in PHP for years and I've decided that its' high time that became serious about getting a solid grounding in it. Currently I work as a Sysadmin and have modest but reliable

Re: [PHP] learning resources for PHP

2012-04-18 Thread Tim Dunphy
I've been having a lot of fun with Beginning PHP 5.3 by Matt Doyle. Covers basics nicely... Nice! I'll give that a try! Thanks for the suggestion! On Wed, Apr 18, 2012 at 6:18 PM, sono...@fannullone.us wrote: On Apr 18, 2012, at 1:30 PM, Henry Martinez wrote: I've been having a lot of fun

[PHP] errors not showing

2012-05-19 Thread Tim Dunphy
hello, list! I have 'error_reporting = E_ALL' set in my php.ini file. However when I run a php script that has errors in it all that happens is that the page WSODs. I am running Mac OS X 10.6. Any thoughts on why errors don't show up in the browser and how to correct this? Thanks Tim -- GPG

Re: [PHP] errors not showing

2012-05-19 Thread Tim Dunphy
On Sat, May 19, 2012 at 11:57 PM, Simon J Welsh si...@welsh.co.nz wrote: On 20/05/2012, at 3:55 PM, Tim Dunphy wrote: hello, list! I have 'error_reporting = E_ALL' set in my php.ini file. However when I run a php script that has errors in it all that happens is that the page WSODs. I am

[PHP] Re: show info from mysql db

2012-06-10 Thread Tim Dunphy
, Jun 10, 2012 at 1:15 AM, Tim Dunphy bluethu...@gmail.com wrote: hello list,  I tried designing a very basic couple of web pages tonight that was solely meant to build some php chops. intentionally cheesy. I got half the way there by designing a page that grabs some info from an html form

Re: [PHP] Re: show info from mysql db

2012-06-10 Thread Tim Dunphy
strategy .. have to try to remember that strategy before i go running for help.. :) tim On Sun, Jun 10, 2012 at 12:15 PM, Adam Richardson simples...@gmail.com wrote: On Sun, Jun 10, 2012 at 8:25 AM, Tim Dunphy bluethu...@gmail.com wrote: $dbc = mysqli_connect('127.0.0.1','admin',secret

Re: [PHP] Programmers and developers needed

2012-09-13 Thread Tim Dunphy
We are looking for programmers and developers to create a world wide system. Is it bigger than a bread box? On Thu, Sep 13, 2012 at 3:45 AM, agbo onyador onya...@gmail.com wrote: Hello there! We are looking for programmers and developers to create a world wide system. Your comments are

Re: [PHP] Programmers and developers needed

2012-09-14 Thread Tim Dunphy
On Fri, Sep 14, 2012 at 3:00 PM, Robert Cummings rob...@interjinn.comwrote: On 12-09-13 06:10 PM, Ashley Sheridan wrote: On Thu, 2012-09-13 at 16:48 -0400, Tedd Sperling wrote: On Sep 13, 2012, at 3:45 AM, agbo onyador onya...@gmail.com wrote: Hello there! We are looking for programmers

Re: [PHP] Re: php can't insert data mysql table

2012-10-01 Thread Tim Dunphy
hey thanks guys adding debugging info worked. Actually it was mysqli_error() providing me with a specific error of where the problem was. Cannot insert query:Duplicate entry '0' for key 'PRIMARY' This is the data in the table mysql select * from guitarwars;

Re: [PHP] Re: php can't insert data mysql table

2012-10-01 Thread Tim Dunphy
a simple omission in forgetting to use auto_increment and using primary key. I usually know better. I'll blame this one on the clonopin. lol thank you tim On Mon, Oct 1, 2012 at 12:30 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 10/1/2012 12:20 PM, Tim Dunphy wrote: hey thanks guys adding

[PHP] iterate javascript verification

2013-05-24 Thread Tim Dunphy
Hello list, I have a php script that creates a variable number of forms based on a $_POST variable from a preceding page. It then takes the data input into the form and neatly packages the result into an email sent to an email address (eventually to be a ticketing system). Almost everything on

Re: [PHP] iterate javascript verification

2013-05-27 Thread Tim Dunphy
): if(element.value.length == 0){ // handle 0 length value } I do agree with Ken that you SHOULD NOT perform JS validation. It is preferable to use php or the new HTML5 features. JS can be turned-off by the user which will make JS validation impossible. On Fri, May 24, 2013 at 8:07 PM, Tim Dunphy

Re: [PHP] iterate javascript verification

2013-05-27 Thread Tim Dunphy
that in the above code Ken At 12:52 PM 5/27/2013, Tim Dunphy wrote: Hey guys, Thanks for the input! This is pretty nice, and DOES work. I like the fact that the fields have been into an iterative array. It's a very elegant solution. However the problem with this approach

[PHP] limit access to php page

2013-05-29 Thread Tim Dunphy
Hello list, I've created an authentication page (index.php) that logs into an LDAP server, then points you to a second page that some folks are intended to use to request apache redirects from the sysadmin group (redirect.php). Everything works great so far, except if you pop the full URL of

[PHP] mongo usage

2013-07-06 Thread Tim Dunphy
Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem to have hit an early obstacle that I'd like your opinion on. I try to pass an array to the mongo insert function, but for some reason the function does not recognize the array I'm passing. Even though I can perform a

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
| Could the comma after the last element in your array be causing the problem? I tried removing it, but there was no change. Thanks for the suggestion! On Sat, Jul 6, 2013 at 2:55 PM, Thomas Punt unassailable...@hotmail.comwrote: Could the comma after the last element in your array be causing

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
; Thanks again! On Sat, Jul 6, 2013 at 2:57 PM, Jonathan Sundquist jsundqu...@gmail.comwrote: You commented out the setting of yhe addresses variable On Jul 6, 2013 1:42 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
On Sat, Jul 6, 2013 at 5:39 PM, Matijn Woudt tijn...@gmail.com wrote: On Sat, Jul 6, 2013 at 9:16 PM, Tim Dunphy bluethu...@gmail.com wrote: | You commented out the setting of yhe addresses variable Those were both equivalent ways of stating the same thing. I tried substituting the other

Re: [PHP] Re: mongo usage

2013-07-06 Thread Tim Dunphy
Thanks. Sorry to bug you guys with this. That did it. sigh On Sat, Jul 6, 2013 at 6:49 PM, Tim Streater t...@clothears.org.uk wrote: On 06 Jul 2013 at 23:27, Tim Dunphy bluethu...@gmail.com wrote: | You seem to spell the variable differently (1 'd' vs. 2 'd's)? Thanks! Fixed the type-o

[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

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

2013-09-29 Thread Tim Dunphy
get deleted? This could just be an issue (which I see alot) where developers do not check for variables or preset them before usage, causing those notices to come up (pretty harmless most of the times). Aziz On Sun, Sep 29, 2013 at 12:30 PM, Tim Dunphy bluethu...@gmail.com wrote: Hi All

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

2013-09-29 Thread Tim Dunphy
...@gmail.com wrote: No Problem, the issue is that you referring to the invalid post element $bucket_name as opposed to the correct on bucket_name. *$bucket_name = $_POST['$bucket_name'];* Should be *$bucket_name = $_POST['bucket_name'];* Aziz On Sun, Sep 29, 2013 at 3:28 PM, Tim Dunphy