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, wrote: > On Apr 18, 2012, at 1:30 PM, Henry Martinez wrote: > >> I've been having a lot of fun with Beginning

[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 me

Re: [PHP] errors not showing

2012-05-19 Thread Tim Dunphy
;ve missed? Thanks Tim On Sat, May 19, 2012 at 11:57 PM, Simon J Welsh 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

[PHP] Re: show info from mysql db

2012-06-10 Thread Tim Dunphy
or die ('Could not connect to database'); d'oh!! spelling counts!!! :) On Sun, Jun 10, 2012 at 1:15 AM, Tim Dunphy wrote: > hello list, > >  I tried designing a very basic couple of web pages tonight that was > solely meant to build some php chops. intentionally ch

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

2012-06-10 Thread Tim Dunphy
'echo hello' test 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 wrote: > On Sun, Jun 10, 2012 at 8:25 AM, Tim Dunphy wrote: >> $dbc = mysqli_connect('127.0.0.1','admin

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 wrote: > Hello there! We are looking for programmers and developers to create a > world wide system. Your comments are welcome. > -- GP

Re: [PHP] Programmers and developers needed

2012-09-14 Thread Tim Dunphy
On Fri, Sep 14, 2012 at 3:00 PM, Robert Cummings wrote: > 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 wrote: >>> >>> Hello there! We are looking for programmers and developers to create

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
Yes I am now using auto_increment, and that's what seemed to solve my issue. Looks like 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, Ji

[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
[] = " > value='$num_forms' />"; > > $tmp[] = " name='requestor_email' > > value='$requestor_email' />"; > > $tmp[] = ""; > > $tmp[] = ""; > > > > ?> > > > > > >

Re: [PHP] iterate javascript verification

2013-05-27 Thread Tim Dunphy
ted > 2) use a different name for each form's submit button and use 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 >>

[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 red

[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 var

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 wrote: > Could the comma after the last element in your array be causing the > problem? > > > Date:

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
>adresses; Thanks again! On Sat, Jul 6, 2013 at 2:57 PM, Jonathan Sundquist wrote: > You commented out the setting of yhe addresses variable > On Jul 6, 2013 1:42 PM, "Tim Dunphy" wrote: > >> Hey all, >> >> I'm trying to pick up some basic use of

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
r suggestions? Appreciated. Tim On Sat, Jul 6, 2013 at 5:39 PM, Matijn Woudt wrote: > > > > On Sat, Jul 6, 2013 at 9:16 PM, Tim Dunphy wrote: > >> | You commented out the setting of yhe addresses variable >> >> Those were both equivalent ways of stating the same

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 wrote: > On 06 Jul 2013 at 23:27, Tim Dunphy wrote: > > > | You seem to spell the variable differently (1 'd' vs. 2 'd's)? > > > &g

[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 Docs

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

2013-09-29 Thread Tim Dunphy
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 wrote: > >> H

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 deleteObject(array( 'Bucket' => $bucket_name ));* // The response comes back as a Simple XML Object // In this case we just want to know if everything was okay. // If not, report the me

[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 s