Re: [PHP] Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP

2012-07-31 Thread Jason Pruim
On Jul 30, 2012, at 12:01 PM, JeffPGMT jeffp...@gmail.com wrote: Thanks All, now I have to tell the business owner to let the IT guy update to 10.8 if he likes, which will buy me time to sort out all of what you folks contributed. I wasn't aware that Mamp free installed anything more

Re: [PHP] Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP

2012-07-27 Thread Jason Pruim
.. Lots of examples on the net for what need to be put into the command line. Jason Pruim On Jul 27, 2012, at 3:56 PM, JeffPGMT jeffp...@gmail.com wrote: Please correct me if I'm wrong and IMAP is available (maybe a known config issue?) Mac OSX 10.7, Using the pre-installed Apache Php, IMAP

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Jason Pruim
On Jun 26, 2012, at 4:15 PM, Jen Rasmussen j...@cetaceasound.com wrote: LOL -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Tuesday, June 26, 2012 3:13 PM To: Marc Guay Cc: php-general@lists.php.net Subject: Re: [PHP] What's happened to our

Re: [PHP] Happy Diamond Jubilee everyone!

2012-06-01 Thread Jason Pruim
And this is when I realize that I still have so much to learn Looks amazing ash! Jason Pruim 352.234.3175 Google Voice 352.682.1073 Cell On Jun 1, 2012, at 1:44 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: This is a bit of a shameless plug, but it is a Friday and a pretty

Re: [PHP] php books

2012-04-08 Thread Jason Pruim
On Apr 8, 2012, at 8:53 PM, Kirk Bailey kbai...@howlermonkey.net wrote: Revisiting said dead horse, it's interesting there is no clear consensus of opinion about what is the best book to use to learn php. Generally, you get several people chiming in talking about the website. Now the

Re: [PHP] php books

2012-04-08 Thread Jason Pruim
On Apr 8, 2012, at 9:15 PM, Jason Pruim li...@pruimphotography.com wrote: On Apr 8, 2012, at 8:53 PM, Kirk Bailey kbai...@howlermonkey.net wrote: Revisiting said dead horse, it's interesting there is no clear consensus of opinion about what is the best book to use to learn php

Re: [PHP] Got HTML5 History API + caching LICKED, I think, grin

2012-03-18 Thread Jason Pruim
Just tried to load it up on my iPad and the load time was okay... Little slow. But your navigation is completely non functional on my iPad... Might want to look into that since mobile devices are becoming more and more common. Jason Pruim -- PHP General Mailing List (http://www.php.net

Re: [PHP] Got HTML5 History API + caching LICKED, I think, grin

2012-03-18 Thread Jason Pruim
On Mar 18, 2012, at 8:34 AM, rene7705 rene7...@gmail.com wrote: On Sun, Mar 18, 2012 at 1:24 PM, Jason Pruim li...@pruimphotography.comwrote: Just tried to load it up on my iPad and the load time was okay... Little slow. But your navigation is completely non functional on my iPad

Re: [PHP] Got HTML5 History API + caching LICKED, I think, grin

2012-03-18 Thread Jason Pruim
On Mar 18, 2012, at 8:54 AM, rene7705 rene7...@gmail.com wrote: On Sun, Mar 18, 2012 at 1:41 PM, Jason Pruim li...@pruimphotography.comwrote: On Mar 18, 2012, at 8:34 AM, rene7705 rene7...@gmail.com wrote: On Sun, Mar 18, 2012 at 1:24 PM, Jason Pruim li...@pruimphotography.com

Re: [PHP] Test

2012-02-20 Thread Jason Pruim
Nope doesn't work, ;) On Feb 20, 2012, at 1:57 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: Does this work? -- 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

Re: [PHP] Test

2012-02-20 Thread Jason Pruim
Someone finally got off their butt and got some work done? ;) And I have today off for Washingtons birthday! On Feb 20, 2012, at 2:59 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: I'll be darned - it finally works. What's up with that? On Feb 20, 2012, at 1:49 PM, Daniel

Re: [PHP] Numeric help needed

2012-01-15 Thread Jason Pruim
Sent from my iPhone On Jan 15, 2012, at 8:25 PM, Christopher J Payne oxygene...@gmail.com wrote: Hi everyone, I am having a hard time with a numerical problem. I need to round some numbers up and I've tried $round($number) and it doesn't work so I'm misunderstanding something.

Re: [PHP] Virus warning

2011-12-11 Thread Jason Pruim
Hey Ash, I didn't get anything... I'm guessing the list did it's thing and blocked it unless someone else got it! Jason Pruim li...@pruimphotography.com On Dec 11, 2011, at 10:03 AM, Ashley Sheridan wrote: Did anyone else receive an odd message today about a message to the list bouncing

[PHP] Frivolous Friday Fun!

2011-11-11 Thread Jason Pruim
in defending our ability to send out these Frivolous Friday emails! :) Jason Pruim li...@pruimphotography.com

Re: [PHP] Exporting large data from mysql to html using php

2011-11-02 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 31, 2011, at 7:52 PM, Ashley Sheridan wrote: On Mon, 2011-10-31 at 19:29 -0400, Jason Pruim wrote: Jason Pruim li...@pruimphotography.com On Oct 31, 2011, at 7:11 PM, Jim Lucas wrote: On 10/24/2011 5:50 PM, Jason Pruim wrote: Now

Re: [PHP] Exporting large data from mysql to html using php

2011-10-31 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 31, 2011, at 7:11 PM, Jim Lucas wrote: On 10/24/2011 5:50 PM, Jason Pruim wrote: Now that I've managed to list 3 separate programming languages and somewhat tie it back into php here's the question... I have about 89 million records

Re: [PHP] Exporting large data from mysql to html using php

2011-10-27 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 27, 2011, at 2:44 PM, Tommy Pham wrote: On Wed, Oct 26, 2011 at 5:47 PM, Jason Pruim li...@pruimphotography.com wrote: Jason Pruim li...@pruimphotography.com The server that's running it is a home computer with a VPS installed... It's

Re: [PHP] Exporting large data from mysql to html using php

2011-10-27 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 27, 2011, at 4:08 PM, Nathan Nobbe wrote: On Mon, Oct 24, 2011 at 6:50 PM, Jason Pruim li...@pruimphotography.com wrote: Now that I've managed to list 3 separate programming languages and somewhat tie it back into php here's the question

Re: [PHP] Help with redeclare error

2011-10-27 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 27, 2011, at 7:55 PM, Jack wrote: Hello All, I have some code that just broke with a PHP upgrade, the error says: PHP Fatal error: Cannot redeclare date_diff() the line of the error is the close bracket of the function which is below

Re: [PHP] Exporting large data from mysql to html using php

2011-10-26 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 26, 2011, at 6:23 AM, Tommy Pham wrote: On Wed, Oct 26, 2011 at 1:40 AM, Lester Caine les...@lsces.co.uk wrote: Tommy Pham wrote: I wonder ... The real question is what's the purpose of the DB? Is it for OLAP or OLTP? ;) As for dealing

Re: [PHP] Exporting large data from mysql to html using php

2011-10-26 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 26, 2011, at 9:09 PM, Jim Giner wrote: Your boss wants to give access to phone numbers to the public in general? Then what? Glad mine's unlisted. There's no identifying information on the phone numbers... Simply just the phone number

Re: [PHP] Exporting large data from mysql to html using php

2011-10-25 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 25, 2011, at 10:51 AM, Jim Giner wrote: I disagree. It's not about tuning the queries, it is more about the appl. design that currently thinks it SHOULD do such huge queries. My approach would be to prompt the user for filtering criteria

Re: [PHP] Exporting large data from mysql to html using php

2011-10-25 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 25, 2011, at 6:35 PM, Jim Giner wrote: Again why even do a detail query? Nobody is going to examine pages and pages and etc. Do a summary qry if u just need a count - no pagination there jg The bosses wanted them to be able to page

Re: [PHP] Exporting large data from mysql to html using php

2011-10-25 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 25, 2011, at 9:58 PM, Jim Giner wrote: David Robley robl...@aapt.net.au wrote in message news:49.50.34068.1b567...@pb1.pair.com... Consider running EXPLAIN on all your queries to see if there is something Mysql thinks could be done

Re: [PHP] Exporting large data from mysql to html using php

2011-10-25 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 25, 2011, at 10:10 PM, Jim Giner wrote: - Original Message - From: Jason Pruim li...@pruimphotography.com To: Jim Giner jim.gi...@albanyhandball.com Cc: php-general@lists.php.net Sent: Tuesday, October 25, 2011 10:06 PM Subject: Re

[PHP] Exporting large data from mysql to html using php

2011-10-24 Thread Jason Pruim
pull it from MySQL... Just the load time sucks... Any suggestions on where I can pull some more info from? :) Thanks in advance! Jason Pruim li...@pruimphotography.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exporting large data from mysql to html using php

2011-10-24 Thread Jason Pruim
On Oct 24, 2011, at 10:44 PM, Jim Giner wrote: Why would any user need to have access to 89M records? They don't need access to it to edit it... Just to be able to view it... Also, it will be expanding in the future to include alot more data. Jason Pruim li...@pruimphotography.com

Re: [PHP] Exporting large data from mysql to html using php

2011-10-24 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 24, 2011, at 9:20 PM, Bastien wrote: On 2011-10-24, at 8:50 PM, Jason Pruim li...@pruimphotography.com wrote: Now that I've managed to list 3 separate programming languages and somewhat tie it back into php here's the question... I

Re: [PHP] Processing newlines in a text area field

2011-10-13 Thread Jason Pruim
Answer below! Jason Pruim li...@pruimphotography.com On Oct 13, 2011, at 10:49 PM, Stephen wrote: I have a web page with a form with a text area. I enter: foo bar PHP processes the POST and inserts the record into MySQL. The database field is text. I use PDO For testing

Re: [PHP] Decoding Barcode Images

2011-10-10 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 10, 2011, at 2:42 PM, Floyd Resler wrote: I've been trying to find a solution for decoding barcode images in PHP but haven't had much luck so far. Does anyone have any suggestions? Thanks! Floyd Hi Floyd, What kind of barcodes are you

[PHP] Problem with code...

2011-10-06 Thread Jason Pruim
it sends... Anyone have any ideas? I'm stumped Jason Pruim li...@pruimphotography.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with code...

2011-10-06 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 6, 2011, at 9:04 PM, George Langley wrote: On 2011-10-06, at 6:28 PM, Jason Pruim wrote: ?PHP //SETUP VARIABLES $mailTo = li...@pruimphotography.com; $mailFrom = li...@pruimphotography.com; //These 2 can be changed IF you know what you

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Jason Pruim
Sent from my iPhone On Sep 19, 2011, at 5:08 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: Hi gang: I need information to convince administrators in management that PHP is a viable subject that should be taught in college with credits going toward a Degree or Certification. Would

Re: [PHP] Re: Repetitive answers . . .

2011-09-15 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Sep 15, 2011, at 3:22 AM, Nathan Nobbe wrote: On Wed, Sep 14, 2011 at 10:06 PM, Joshua Stoutenburg jehoshu...@gmail.comwrote: On Wed, Sep 14, 2011 at 11:59 AM, Govinda govinda.webdnat...@gmail.com wrote: As for duplicate answers..., [snip

Re: [PHP] Code should be selv-maintaining!

2011-08-30 Thread Jason Pruim
of the beholder. I always thought that was beer holder? Is it friday yet? ;) Jason Pruim li...@pruimphotography.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dealing with multiple form submissions

2011-08-23 Thread Jason Pruim
submitting a form... Then hitting back, and submitting again, then hitting back I think you get the idea... What do you all do? Thanks! Jason Pruim li...@pruimphotography.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with inserting numbers...

2011-08-11 Thread Jason Pruim
Replies below Jason Pruim li...@pruimphotography.com On Aug 10, 2011, at 11:08 PM, Ken Robinson wrote: At 09:22 PM 8/10/2011, Jason Pruim wrote: So here I am attempting to generate some numbers to be inserted into a database... eventually they will make up a phone number (Which I've

Re: [PHP] Problem with inserting numbers...

2011-08-11 Thread Jason Pruim
Jason Pruim pru...@gmail.com On Aug 11, 2011, at 9:35 AM, Andrew Ballard wrote: On Wed, Aug 10, 2011 at 9:22 PM, Jason Pruim pru...@gmail.com wrote: So here I am attempting to generate some numbers to be inserted into a database... eventually they will make up a phone number (Which I've

Re: [PHP] Problem with inserting numbers...

2011-08-11 Thread Jason Pruim
Jason Pruim pru...@gmail.com On Aug 11, 2011, at 11:52 AM, Jim Lucas wrote: On 8/10/2011 6:22 PM, Jason Pruim wrote: So here I am attempting to generate some numbers to be inserted into a database... eventually they will make up a phone number (Which I've emailed about before and know

[PHP] Problem with inserting numbers...

2011-08-10 Thread Jason Pruim
/Phone/config/phoneareacodes.php on line25 which is where the second while starts... Does anyone know a better way to do this? I'm off to finish searching google while waiting for some good news :) Thanks Everyone! Jason Pruim pru...@gmail.com

Re: [PHP] Problem with inserting numbers...

2011-08-10 Thread Jason Pruim
a problem with the way the 2 while loops are interacting and creating a infinite loop... BUT... I'm thinking there must be a better way... Maybe a while with a foreach? Now I'm just thinking outloud :) Jason Pruim pru...@gmail.com

[PHP] Problem with header(Location: )...

2011-07-31 Thread Jason Pruim
to handle a successful verification } ? The insert happens, BUT it won't redirect back to the site There isn't any reason I should be able to do a header() redirect at that point is there? Or is there a better way to do it? Thanks Everyone! Jason Pruim li...@pruimphotography.com

Re: [PHP] Problem with header(Location: )...

2011-07-31 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Jul 31, 2011, at 2:50 PM, Dajka Tamas wrote: Try lowercase 'http'. Anything in error log? Try turning on display_errors. Tried both, upper and lower case http nothing changed... And nothing in the error log... I try a simple echo with a link

[PHP] Phone numbers....

2011-07-31 Thread Jason Pruim
that they could send me like that? :) Or any tips on phone numbers? Thanks again! :) Jason Pruim li...@pruimphotography.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Phone numbers....

2011-07-31 Thread Jason Pruim
On Jul 31, 2011, at 4:14 PM, Alex Nikitin wrote: There are databases with area codes for the first 3, so you only have to generate 1 million. Why do you need to store all of them again? I don't necessarily need to store it... BUT I do need to be able to represent all the numbers

Re: [PHP] Problem with header(Location: )...

2011-07-31 Thread Jason Pruim
On Jul 31, 2011, at 6:23 PM, Tamara Temple wrote: On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote: So I'm attempting to redirect back to the main site of a page after a successful insert into a database... Here's my code: ?PHP if (!$resp-is_valid) { // What happens when

[PHP] PayPal IPN

2011-07-27 Thread Jason Pruim
){ $emailtext .= $key . = .$value .\n\n; } mail(pru...@gmail.com, Live-INVALID IPN, $emailtext . \n\n . $req); //Removed for testing //mail($email, Live-INVALID IPN, $emailtext . \n\n . $req); } } } fclose ($fp); ? Thanks everyone! Hoping to find a easy fix to it! Jason Pruim pru...@gmail.com

Re: [PHP] Submit Using An Image Form Processing

2011-06-19 Thread Jason Pruim
On Jun 18, 2011, at 7:34 PM, Shawn McKenzie wrote: On 06/18/2011 11:06 AM, Jason Pruim wrote: On Jun 18, 2011, at 11:54 AM, Ron Piggott ron.pigg...@actsministries.org wrote: INPUT TYPE=image SRC=http://www.theverseoftheday.info/store-images/trash_can.png; WIDTH=20 HEIGHT=20 style

Re: [PHP] Submit Using An Image Form Processing

2011-06-18 Thread Jason Pruim
it gives you a start though. Jason Pruim

[PHP] Filtering data not with mysql...

2011-05-18 Thread Jason Pruim
Hey Everyone, Probably a simple question but I wanted to make sure I was right before I got to far ahead of my self I have a form that I am working on and this form will be emailed to the recipient for processing (Not stored in a database). When I store in a database, I simply run

Re: [PHP] Re: iPhone apology - was Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Jason Pruim
Jason Pruim On May 5, 2011, at 12:29 PM, Ken Kixmoeller phph...@comcast.net wrote: On Thu, May 5, 2011 at 9:52 AM, Richard Quadling rquadl...@gmail.com wrote: On 5 May 2011 15:08, Mike Mackintosh mike.mackint...@angrystatic.com wrote: Sent from my iPhone Why do all iPhone users apologize

Re: [PHP] Newsgroup status

2011-04-27 Thread Jason Pruim
It used to be alot busier. But lately it has slowed down... It's up to us though to fix that! It's time for the next generation to start picking up the slack and helping out and asking questions :) Jason Pruim On Apr 27, 2011, at 11:54 AM, Joshua Kehn josh.k...@gmail.com wrote

Re: [PHP] files outside of the web tree

2011-04-27 Thread Jason Pruim
Jason Pruim On Apr 27, 2011, at 1:11 PM, Joshua Kehn josh.k...@gmail.com wrote: On Wednesday, April 27, 2011 at 1:08 PM, Jim Giner wrote: I have managed to build include files and store them above my public folder and the called pages manage to find them from the public folder and properly

Re: [PHP] Flattery will get you nowhere

2011-04-27 Thread Jason Pruim
On Apr 27, 2011, at 4:58 PM, Robert Cummings wrote: On 11-04-27 04:47 PM, HallMarc Websites wrote: I just googled up php tedd form validation and can't find a single reference. What does this mean, that I respect tedd's skills or that he needs better SEO? OOH!! I KNOW! I KNOW! PICK

[PHP] XML... Useful or another layer of complexity?

2011-04-03 Thread Jason Pruim
So the subject says it all... And yes I know this isn't related to PHP but it's the weekend and I trust the opinions on this list more then any other list I have seen. I've been doing alot of reading on XML and honestly it looks pretty cool... BUT the question is... Is it truly useful or is it

Re: [PHP] XML... Useful or another layer of complexity?

2011-04-03 Thread Jason Pruim
On Apr 3, 2011, at 3:31 PM, mrfroasty wrote: On 04/03/2011 08:41 PM, Jason Pruim wrote: So the subject says it all... And yes I know this isn't related to PHP but it's the weekend and I trust the opinions on this list more then any other list I have seen. I've been doing alot of reading

Re: [PHP] Design question

2011-02-05 Thread Jason Pruim
gone down this road before? any pitfalls I should watch out for that aren't in google yet? :) Thanks everyone! Jason Pruim I guess it all depends on what you need. A little while back there was a discussion on the list about whether or not to leave all content dynamic or have the PHP

Re: [PHP] Design question

2011-02-05 Thread Jason Pruim
On Feb 5, 2011, at 6:46 PM, Paul M Foster wrote: On Sat, Feb 05, 2011 at 11:11:57AM -0500, li...@pruimphotography.com wrote: Morning everyone! I have a design question... No it's not about the interior of my house... although I could use some help with that as well... I am working on a

Re: [PHP] Hot Topics

2010-12-30 Thread Jason Pruim
Jason Pruim On Dec 30, 2010, at 12:36 AM, Daniel Brown danbr...@php.net wrote: On Dec 29, 2010 11:48 PM, Jason Pruim li...@pruimphotography.com wrote: Weren't you playing with the possibility of including the amount of actual code written as well? Yeah, that was in for a few weeks

Re: [PHP] Hot Topics

2010-12-29 Thread Jason Pruim
you're right. Jason Pruim On Dec 29, 2010, at 9:22 PM, Daniel Brown danbr...@php.net wrote: First, I have to admit that what I did was wrong. I had assumed (ASS-umed) that the other party in a discussion under a different thread would understand and appreciate the irony of my email in reply

Re: [PHP] Barcode Reader

2010-12-06 Thread Jason Pruim
What kind of barcode? Most of the barcodes I work with only store text that doesn't mean much unless you have the decode algorithm... In other words you need to know where the info is coming from to be able to determine what is stored in the barcode. Jason Pruim On Dec 6, 2010, at 11:21

Re: [PHP] Problem with functions and arrays...

2010-11-22 Thread Jason Pruim
On Nov 21, 2010, at 4:57 PM, Tamara Temple wrote: On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote: ?PHP function ddbYear($name, $message, $_POST, $option){ Maybe it's just me, but using the name of a global as a function parameter just seems like a bad idea. Yes, you can do it. Should

[PHP] Procedural Autoloader?

2010-11-22 Thread Jason Pruim
before I go and try and do it my self :) I may also have a misunderstanding of how it is supposed to work since I don't truly understand OOP I've always done procedural... Any help on this one would be greatly appreciated it! :) Jason Pruim -- PHP General Mailing List (http://www.php.net

Re: [PHP] Procedural Autoloader?

2010-11-22 Thread Jason Pruim
On Nov 22, 2010, at 4:24 PM, Daniel P. Brown wrote: On Mon, Nov 22, 2010 at 15:37, Jason Pruim li...@pruimphotography.com wrote: Hey Everyone! Fresh off my problem with functions and arrays I come across something that I can't seem to find currently... The autoloader function

[PHP] Problem with functions and arrays...

2010-11-20 Thread Jason Pruim
Hey Everyone! So I came across a problem that I don't know how to fix... I have searched and thought and just not having anything click as to where I am messing up... I have a few functions as follows: ?PHP function ddbYear($name, $message, $_POST, $option){ //Make sure to post form

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Jason Pruim
:| Same here, but isn't it a bit eerie that many of us hit that same point almost simultaneously? Richard Lynch, Lester Caine, Jochem Maas, Jim Lucas, the Nathans (Rixham and Nobbe), yourself, myself - even Tedd Sperling and Jason Pruim, among many others - seemed to all fall off the face

[PHP] odd while behavior...

2010-10-16 Thread Jason Pruim
Okay so I'm just playing around with some stuff trying to learn more and expand my knowledge and I ran into something I don't understand... Take the following code: ?PHP echo select; $i =0; while($i =12) { $dateformat = date(M, mktime(0,0,0, $i,0,0)); $month = mktime(0,0,0,

[PHP] Since it is friday.... :)

2010-10-01 Thread Jason Pruim
Anyone know of a good and active general web design list? Looking for somewhere that I can post about javascript specifically :) And happy friday to you all! :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Standalone WebServer for PHP

2010-09-12 Thread Jason Pruim
On Sep 12, 2010, at 1:33 PM, tedd wrote: At 5:57 PM +0100 9/12/10, Ashley Sheridan wrote: On Sun, 2010-09-12 at 12:55 -0400, tedd wrote: Can a business have a server connected to the Internet but limit access to just their employees? I don't mean a password protected scheme, but rather the

[PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread Jason Pruim
Hey everyone! Hope you are having a great weekend, and I'm hoping someone might be coherent enough to help me find a more elegant solution to a problem that I have... I have a form for submitting an event to a website, and if the form is not submitted successfully (such as they didn't

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread Jason Pruim
On Sep 11, 2010, at 11:55 AM, tedd wrote: At 9:49 AM -0400 9/11/10, Jason Pruim wrote: Hey everyone! Hope you are having a great weekend, and I'm hoping someone might be coherent enough to help me find a more elegant solution to a problem that I have... I have a form for submitting

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread Jason Pruim
it if it's empty but a good suggestion none the less! If I stick with that code for some reason I'll be updating it to use isset() Thanks Ash! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Jason Pruim li...@pruimphotography.com Date: Sat, Sep 11, 2010 14:49 Subject

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread Jason Pruim
Hi Tamara, On Sep 11, 2010, at 12:39 PM, Tamara Temple wrote: Rather than repeating all that code, I suggest the following: select name=type id=type option value=0-- select type --/option option value=meeting ?php echo (isset($_POST['hidSubmit'] $_POST['hidSubmit'] == TRUE

Re: [PHP] Elegance is the goal... Sticky form submit help

2010-09-11 Thread Jason Pruim
On Sep 11, 2010, at 1:03 PM, Debbie . wrote: Jason, I don't really understand the responses you got to this email, I have attached the sticky form I made from a book called PHP Visual Quickstart guide. It uses an if conditional to print a response if the field is empty. If I'm not

Re: [PHP] Questions about $_SERVER

2010-08-29 Thread Jason Pruim
On Aug 29, 2010, at 10:55 AM, tedd wrote: At 10:56 AM +0200 8/29/10, Peter Lind wrote: On 29 August 2010 08:08, Jim Lucas li...@cmsws.com wrote: *snip* Their is not existing variable (if you would) that your server, when connecting to a remote server, would be sending. So, to have the

Re: [PHP] Re: Making multiple RSS feeds for the blog website

2010-08-28 Thread Jason Pruim
On Aug 27, 2010, at 5:55 AM, Andre Polykanine wrote: Hello Michelle, Hm. link rel=alternate... that's a good one, thanks (btw, you say me that I should RTFM, but if I knew what to read). Now there are two questions: 1. How do I do those .RSS files with PHP? All of mmy blog entries and

Re: [PHP] mysqldump

2010-08-17 Thread Jason Pruim
On Aug 17, 2010, at 3:19 PM, tedd t...@sperling.com wrote: At 11:45 AM -0700 8/17/10, Mari Masuda wrote: Actually, mysqldump -u user -p password database_name outfile.sql is also the incorrect command. When providing the password in the command, there should not be a space

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Jason Pruim
Hi Vince, On Jul 31, 2010, at 3:15 PM, Vince Leibowitz wrote: ?php if (is_home(?php wpads('728leaderboard'); ?) (is_page(42)(?php wpads('leaderboard1'); ? (is_page(10)(php? wpads('leaderboard5);?) ? Try: ?php if (is_home(wpads('728leaderboard');) (is_page(42)( wpads('leaderboard1')

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Jason Pruim
is the same issue I was having with the original code string. On Sat, Jul 31, 2010 at 2:25 PM, Jason Pruim li...@pruimphotography.com wrote: Hi Vince, On Jul 31, 2010, at 3:15 PM, Vince Leibowitz wrote: ?php if (is_home(?php wpads('728leaderboard'); ?) (is_page(42)(?php wpads('leaderboard1

Re: [PHP] the state of the PHP community

2010-07-29 Thread Jason Pruim
On Jul 29, 2010, at 1:36 AM, Nathan Rixham wrote: Hi All, Hey Nathan! I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your

[PHP] Fwd: [PHP-DB] always the logic that messes me up.... Database fun!

2010-07-20 Thread Jason Pruim
Hey Everyone, I know it's not strictly on topic but the php-db list hasn't responded and I haven't gotten any farther :) So please read below and earn a free beer for anyone that can help me, and can make it to Florida :) Begin forwarded message: From: Jason Pruim li

Re: [PHP] Recent Influx of Unrelated Discussions

2010-07-16 Thread Jason Pruim
On Jul 16, 2010, at 10:47 AM, Paul M Foster wrote: On Fri, Jul 16, 2010 at 11:59:49AM +0200, Arno Kuhl wrote: And Daniel, your own gentle prods to keep things on track I think sets some of the professional tone of the list. This is very true. I've administered various lists for almost

[PHP] There has to be a better way!!

2010-07-10 Thread Jason Pruim
Okay so I've been fighting with this for awhile now and haven't found a better way yet What I want to do, is I have a small portion of my website included into a template. It is displaying hosting plans so on the main site index.php I want it to display a little bit of text (Same as on

Re: [PHP] There has to be a better way!!

2010-07-10 Thread Jason Pruim
On Jul 10, 2010, at 12:03 PM, Ashley Sheridan wrote: On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: Okay so I've been fighting with this for awhile now and haven't found a better way yet What I want to do, is I have a small portion of my website included into a template

Re: [PHP] State and City Database

2010-07-09 Thread Jason Pruim
On Jul 9, 2010, at 10:43 AM, tedd wrote: At 2:07 PM +0200 7/9/10, Thijs Lensselink wrote: On 07/07/2010 10:02 PM, tedd wrote: Hi gang: Does anyone have a source for a US State and City database? Cheers, tedd Hey Tedd, Maybe this helps. I used the data files for some other projects..

[PHP] Inner join woes... and sweet tea!

2010-07-05 Thread Jason Pruim
Hi everyone, I'll admit right now that I'm still trying to wrestle with inner joins... Which leaves me with this code right here: ?PHP if(isset($_GET['cat'])) { $cat = mysql_real_escape_string($_GET['cat']); } if(isset($cat)) { $sql = SELECT *

Re: [PHP] Inner join woes... and sweet tea!

2010-07-05 Thread Jason Pruim
On Jul 5, 2010, at 9:14 AM, Peter Lind wrote: On 5 July 2010 15:02, Jason Pruim li...@pruimphotography.com wrote: Hi everyone, I'll admit right now that I'm still trying to wrestle with inner joins... Which leaves me with this code right here: ?PHP if(isset($_GET['cat

Re: [PHP] NetBeans Question

2010-05-30 Thread Jason Pruim
On May 30, 2010, at 12:32 PM, php wrote: On 05/30/2010 05:57 PM, tedd wrote: Hi gang: Do any of you use NetBeans for your IDE? Yes, i do. Since 2 Years (Netbeans 6.5 then), now with 6.8 I work very well with netbeans on Mac OS-X and Ubuntu, using SVN as version-backend, XDEBUG for

Re: [PHP] authentication issue...

2010-05-29 Thread Jason Pruim
On May 29, 2010, at 12:02 AM, Nathan Nobbe wrote: On Fri, May 28, 2010 at 7:43 PM, Jason Pruim li...@pruimphotography.com wrote: Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me

[PHP] authentication issue...

2010-05-28 Thread Jason Pruim
Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me but is escaping me at the moment Take this authentication function: ?PHP function authentication($authUser, $authPass,

[PHP] A weird problem that probably has a comma in the wrong spot....

2010-05-16 Thread Jason Pruim
Hi Everyone! So I'm sitting here trying to get my RSS feed to work off of my main database login script so that I can centralize the management of the whole blasted thing, you know... stuff like only having the password in one place to log into the DB :) I can connect just fine if I

Re: [PHP] A weird problem that probably has a comma in the wrong spot....

2010-05-16 Thread Jason Pruim
On May 16, 2010, at 1:11 PM, Ashley Sheridan wrote: On Sun, 2010-05-16 at 13:14 -0400, Jason Pruim wrote: Hi Everyone! So I'm sitting here trying to get my RSS feed to work off of my main database login script so that I can centralize the management of the whole blasted thing, you know

Re: [PHP] A weird problem that probably has a comma in the wrong spot....

2010-05-16 Thread Jason Pruim
On May 16, 2010, at 1:21 PM, Peter Lind wrote: On 16 May 2010 19:14, Jason Pruim li...@pruimphotography.com wrote: Hi Everyone! So I'm sitting here trying to get my RSS feed to work off of my main database login script so that I can centralize the management of the whole blasted thing, you

Re: [PHP] Can't find my error

2010-05-06 Thread Jason Pruim
On May 5, 2010, at 9:02 PM, David McGlone wrote: On Wednesday 05 May 2010 13:12:58 Dan Joseph wrote: On Wed, May 5, 2010 at 1:06 PM, David McGlone da...@dmcentral.net wrote: On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: On Wed, May 5, 2010 at 12:55 PM, David McGlone

Re: [PHP] Two color rows in table inside while iteration -- just say no to mod

2010-04-30 Thread Jason Pruim
On Apr 30, 2010, at 4:20 PM, Daevid Vincent wrote: -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Modulus is the most elegant solution I reckon. Imagine if you only needed to highlight every 3rd row, or 4th? Easy to change the modulus for it, not so easy

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Jason Pruim
On Apr 25, 2010, at 9:16 AM, tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent in a long line of war games (i.e.,

Re: [PHP] Structured PHP studying

2010-04-24 Thread Jason Pruim
On Apr 24, 2010, at 7:14 AM, David McGlone wrote: On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: On 23 April 2010 13:15, David McGlone da...@dmcentral.net wrote: Is there a good strategy to studying PHP? For instance, is there a way to break everything down into small managable

Re: [PHP] How to do i18n better?

2010-04-19 Thread Jason Pruim
On Apr 18, 2010, at 6:55 PM, Andre Polykanine wrote: Hi everyone, I posted this in the PHP-i18n list, however got no answer so trying here). We are making a blog platform (http://oire.org/) which is provided in several languages (currently they are Russian, Ukrainian, and English). Now the

Re: [PHP] Zip Search

2010-04-15 Thread Jason Pruim
On Apr 15, 2010, at 3:21 PM, Jack wrote: Hello All, Can anyone recommend a good open source zip code search application and database? If it's us zip's you want... I'd go straight to the source... http://www.usps.com/zip4/welcome.htm?from=home_headerpage=findazipcode The post office

Re: [PHP] Basic switch statement

2010-04-15 Thread Jason Pruim
On Apr 15, 2010, at 8:55 AM, tedd wrote: At 4:13 PM -0400 4/14/10, Al wrote: Incidentally, about formatting scripts, one of the reasons I like phpEdit is that it has a terrific code beautifier. You can set it for phpDoc or Pear rendering. And, it auto indents, etc. as you enter stuff.

  1   2   3   4   5   6   7   >