Re: [PHP] Backend autodatabase update

2009-03-07 Thread George Larson
I'm new to the list, so maybe I've missed something. Please disregard if I'm blathering idiotically. What OS are you using? Do you mean that you want to run the job repetitively (again and again) or do you mean that you want to check that the job is still running and start, if it stopped? On

Re: [PHP] Backend autodatabase update

2009-03-08 Thread George Larson
, 2009 at 4:42 AM, Andrew Williams andrew4willi...@gmail.comwrote: *I want to check that the job is still running and start, if it stopped because the program is meant to consistently update for the global market? * On Sat, Mar 7, 2009 at 11:19 PM, George Larson george.g.lar...@gmail.comwrote

Re: [PHP] PHP includes

2009-03-08 Thread George Larson
Right. There are several advantages to using included files. You can write routines that you're going to use repeatedly and just include the file with the code, instead of re-inventing the wheel, as they say. Consistency is another advantage. So, if you design your header, sidebar and footer

Re: [PHP] web refreshing problem

2009-03-08 Thread George Larson
Maybe you could use a javascript refresh? But that would still mean resubmitting the form. On Sun, Mar 8, 2009 at 11:35 AM, Andrew Williams and...@stocksignals.comwrote: Hi, my php program does not display current result of submitted form instead the previous content is shown until you

Re: [PHP] verify data in fields

2009-03-08 Thread George Larson
Ash certainly does raise an interesting point. :) Couldn't you just use DESCRIBE or EXPLAIN the tables through MySQL? On Sun, Mar 8, 2009 at 4:35 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know

[PHP] Script execution

2009-03-09 Thread George Larson
Hi everybody. The problem that I'm having is probably because I've got more of a Windows background -- and it isn't so much a problem as a point of curiosity. I've recently noticed that when I write a script that they seem to have different permissions when executed at the command line. Two

Re: [PHP] Script execution

2009-03-09 Thread George Larson
to. Again, that's for the rapid and thorough help! G On Mon, Mar 9, 2009 at 5:17 PM, haliphax halip...@gmail.com wrote: On Mon, Mar 9, 2009 at 4:04 PM, Daniel Brown danbr...@php.net wrote: On Mon, Mar 9, 2009 at 16:59, George Larson george.g.lar...@gmail.com wrote: Am I imagining things

Re: [PHP] Script execution

2009-03-09 Thread George Larson
That's funny! I've been watching this and a few other lists (MySQL, local Linux Users' Group) for a few days - weeks and I had wondered why the PHP list seemed more hostile. :) On Mon, Mar 9, 2009 at 5:28 PM, Daniel Brown paras...@gmail.com wrote: On Mon, Mar 9, 2009 at 17:21, Daniel Brown

Re: [PHP] Opendir on site root directory?

2009-03-09 Thread George Larson
but it had become lost in the detritus at the back of my mind Inappropriate as this is for _the_ PHP list -- that was a beautiful phrase, friend. On Mon, Mar 9, 2009 at 8:05 PM, Clancy clanc...@cybec.com.au wrote: On Mon, 9 Mar 2009 10:07:33 +, stut...@gmail.com (Stuart) wrote: ...

[PHP] /home/{user}/directory

2009-03-17 Thread George Larson
In my scripts, I usually define a boolean constant DEBUG. True looks for local copies of includes and echoes queries as they're used. My question is: Is there any way for me to reflect the actual home folder of the person running the script? So it will be /home/george/foo when I run it but,

Re: [PHP] /home/{user}/directory

2009-03-17 Thread George Larson
Thanks! On Tue, Mar 17, 2009 at 9:46 AM, Stuart stut...@gmail.com wrote: 2009/3/17 George Larson george.g.lar...@gmail.com In my scripts, I usually define a boolean constant DEBUG. True looks for local copies of includes and echoes queries as they're used. My question is: Is there any

Re: [PHP] /home/{user}/directory

2009-03-17 Thread George Larson
That is correct. PHP on CLI. Thanks! On Tue, Mar 17, 2009 at 9:51 AM, Thiago H. Pojda thiago.po...@gmail.comwrote: On Tue, Mar 17, 2009 at 10:42 AM, George Larson george.g.lar...@gmail.com wrote: In my scripts, I usually define a boolean constant DEBUG. True looks for local copies

Re: [PHP] Re: Fork and zombies

2009-03-17 Thread George Larson
If Fork and Zombies was a diner... I would totally eat there. On Tue, Mar 17, 2009 at 5:00 PM, Jochem Maas joc...@iamjochem.com wrote: Per Jessen schreef: Waynn Lue wrote: (Apologies for topposting, I'm on my blackberry). Hm, so you think exiting from the child thread causes the db

Re: [PHP] /home/{user}/directory

2009-03-18 Thread George Larson
with a var_dump($GLOBALS), however. :) As always, thanks everybody! On Wed, Mar 18, 2009 at 5:16 AM, Waynn Lue waynn...@gmail.com wrote: bash also has $HOME, which maps to /home/USERNAME, just in case you wanted another way. :) On Tue, Mar 17, 2009 at 6:47 AM, George Larson george.g.lar

Re: [PHP] Form to pdf

2009-03-18 Thread George Larson
I'm going to print one to 'Fork and Zombies' and hang it in my office. I really mean that. On Wed, Mar 18, 2009 at 10:17 AM, Gary gwp...@ptd.net wrote: I'm going to frame that and call my ma Can you direct me to how I can learn that? Thanks for your help. Gary Sperling Institute of

Re: [PHP] Re: Problems with exec() on windows

2009-03-20 Thread George Larson
I've skimmed some of thread, but I have not been following closely so please disregard if I'm just rambling. However, I've worked with lots of software on DOS boxen that couldn't handle long file names. If they also choke on the tildes then I usually just write a batch file that calls the full

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread George Larson
Not only that but, judging from the phone number, Samantha cleans also cleans houses: http://betterthancleanmaidandmaintenanceservices.com/choose-us/contact-us-mainmenu-3/12-contacts/1-name.html On Fri, Mar 20, 2009 at 10:57 AM, Jochem Maas joc...@iamjochem.com wrote: Ginkga Studio LLC schreef:

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread George Larson
I believe that I read somewhere that she designs all web sites in a French maid uniform. On Fri, Mar 20, 2009 at 1:21 PM, Jay Blanchard jblanch...@pocket.comwrote: [snip]hey, everyone, my name is Samantha[/snip] This thread is worthless without pictures.

[PHP] PHP blogs?

2009-03-20 Thread George Larson
I'm reorganizing my reader. Anybody suggest any good PHP feeds?

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread George Larson
meeting you all, even it was on such terms. God Bless. XOXOXOXO -Original Message- From: George Larson [mailto:george.g.lar...@gmail.com] Sent: Friday, March 20, 2009 11:34 AM To: Thiago H. Pojda Cc: webdes...@ginkga.com; php-general@lists.php.net Subject: Re: [PHP] [News

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread George Larson
Oh, good; I look forward to polishing your nails... spammer. On Fri, Mar 20, 2009 at 2:29 PM, Thiago H. Pojda thiago.po...@gmail.comwrote: On Fri, Mar 20, 2009 at 3:23 PM, Ginkga Studio, LLC webdes...@ginkga.com wrote: IF YOU WERE MY HUSBAND I WOULD SPANK YOUR ASS SO HAR YOU'D NEVER TALK

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread George Larson
on it. You're funny!!! :0) Now get to work! -Original Message- From: George Larson [mailto:george.g.lar...@gmail.com] Sent: Friday, March 20, 2009 11:42 AM To: webdes...@ginkga.com Cc: Thiago H. Pojda; php-general@lists.php.net Subject: Re: [PHP] [News] Affordable Independent Web Developer

Re: [PHP] PHP blogs?

2009-03-20 Thread George Larson
Fantastic! No, I had somehow managed to overlook that one. Thanks! On Fri, Mar 20, 2009 at 2:49 PM, Daniel Brown danbr...@php.net wrote: On Fri, Mar 20, 2009 at 14:37, George Larson george.g.lar...@gmail.com wrote: I'm reorganizing my reader. Anybody suggest any good PHP feeds

Re: [PHP] PHP blogs?

2009-03-20 Thread George Larson
Got it! Thanks! On Fri, Mar 20, 2009 at 2:53 PM, Stuart stut...@gmail.com wrote: 2009/3/20 George Larson george.g.lar...@gmail.com: I'm reorganizing my reader. Anybody suggest any good PHP feeds? http://www.planet-php.net/ is an aggregator of some of the good stuff that's out

Re: [PHP] Script Analysis (was Conclusion of use strict...)

2009-03-20 Thread George Larson
Netbeans does have some sick fanciness... Auto-suggest, leaving your cursor over a variable momentarily highlights it everywhere in the code and define labeled folding points. You can press CTRL-R to rename that variable everywhere it is used in the code. If you can figure out how to set it up

Re: [PHP] Script Analysis (was Conclusion of use strict...)

2009-03-20 Thread George Larson
Ooops! Those were v5.5 videos.. A little newer stuff is here: http://www.netbeans.org/kb/docs/screencasts.html On Fri, Mar 20, 2009 at 7:44 PM, George Larson george.g.lar...@gmail.comwrote: Netbeans does have some sick fanciness... Auto-suggest, leaving your cursor over a variable

Re: [PHP] Dynamic Form 'on The Fly' OT

2009-03-21 Thread George Larson
On Sat, Mar 21, 2009 at 8:58 AM, tedd tedd.sperl...@gmail.com wrote: At 1:03 PM -0500 3/20/09, Lists wrote: tedd wrote: Now, can you show me how to pull data from a mysql database so that the input statements can be created dynamically? Sure, On the WebDNA side, it's something like

Re: [PHP] Web Development/Application Analysis

2009-03-21 Thread George Larson
On Sat, Mar 21, 2009 at 9:40 AM, tedd tedd.sperl...@gmail.com wrote: At 11:45 PM +0300 3/20/09, OOzy Pal wrote: I guess I did not make it clear. Sorry guys/gals. I forgot to tell you that I own a web development/design company. Thank you -- OOzy What does that have to do with your

Re: [PHP] Script Analysis (was Conclusion of use strict...)

2009-03-21 Thread George Larson
**On Sat, Mar 21, 2009 at 10:27 AM, Hans Schultz h.schult...@yahoo.comwrote: Hi Virgilio, Thanks for that last link, I just know need to figure out why my Netbeans doesn't work like that (although I am using latest version) On Sat, 21 Mar 2009 10:56:46 +0100, Virgilio Quilario

Re: [PHP] Web Development/Application Analysis

2009-03-22 Thread George Larson
2009/3/22 OOzy Pal oozy...@gmail.com On Sat, Mar 21, 2009 at 6:33 PM, tedd tedd.sperl...@gmail.com wrote: At 6:15 PM +0300 3/21/09, OOzy Pal wrote: Tedd, You wrote a long story about a client hiring a programmer which not what I am asking. Anyhow, thank you for your post. I

Re: [PHP] Proper code formatting

2009-03-23 Thread George Larson
On Mon, Mar 23, 2009 at 8:23 AM, Shawn McKenzie nos...@mckenzies.netwrote: Bob McConnell wrote: From: Michael A. Peters Angus Mann wrote: Hi all, I'm fairly new to PHP so I don't have too many bad habits yet. I'm keen to make my code easy to read for me in the future, and for others

Re: [PHP] Proper code formatting

2009-03-23 Thread George Larson
lower case variable names with underscores for spaces while the next guy likes each letter of a new word in uppercase. However, I can imagine it getting out of control as the code continues to grow. On Mon, Mar 23, 2009 at 8:48 AM, Jason Pruim pru...@gmail.com wrote: George Larson wrote: On Mon

Re: [PHP] So called PHP Expert

2009-03-23 Thread George Larson
OMGBBQ I didn't even catch that! He truly is the c0d1ng g0d! On Mon, Mar 23, 2009 at 12:45 PM, haliphax halip...@gmail.com wrote: On Fri, Mar 20, 2009 at 5:27 PM, דניאל דנון danondan...@gmail.com wrote: ---8--- ### function h3x($envar){

[PHP] PHP task manager

2009-03-31 Thread George Larson
We've got a homebrew ToDo list (task project) manager / mailer that we're thinking about replacing with something a little more robust. Any suggestions? I saw TaskFreak! on Google but I am curious if there are any personal recommendations out there. Thanks! G

Re: [PHP] Workflow app for software

2009-04-01 Thread George Larson
Please quit side-posting. Thanks. On Wed, Apr 1, 2009 at 2:58 PM, Robert Cummings rob...@interjinn.comwrote: I for one don't find you very | On Wed, 2009-04-01 at 11:46 -0700, funny Bruce. It's common knowledge | bruce wrote: so haliphax... that it's very difficult to follow | side

Re: [PHP] [php] scheduled task in php

2009-04-02 Thread George Larson
On Thu, Apr 2, 2009 at 10:12 AM, Kyle Smith kyle.sm...@inforonics.comwrote: There's no need for third party software, windows has a scheduled task system. Make a scheduled task and for the application select the php executable (Maybe C:\PHP\bin\php.exe, or some such.). Once the wizard is

Re: [PHP] extracting text - regex

2009-04-08 Thread George Larson
I'm what you might consider rather green, myself. I certainly wouldn't use this code for production but if you're just debugging or something then how about something like this: ?php $handle = @fopen('page.htm', 'r'); if ($handle) { while (!feof($handle)) { $eos =

Re: [PHP] extracting text - regex

2009-04-08 Thread George Larson
On Wed, Apr 8, 2009 at 9:13 AM, George Larson george.g.lar...@gmail.comwrote: I'm what you might consider rather green, myself. I certainly wouldn't use this code for production but if you're just debugging or something then how about something like this: ?php $handle = @fopen('page.htm

Re: [PHP] alt() - unknown function?

2009-04-15 Thread George Larson
This is someplace where NetBeans really benefits me. You can hit CTRL-B, or right-click, to take you to a definition. Holding CTRL turns darned-near everything into a hyperlink, doing the same thing. Lastly, CTRL-SHIFT-F lets you search through every file in the project for your string.

Re: [PHP] Multiple return statements in a function.

2009-04-23 Thread George Larson
On Thu, Apr 23, 2009 at 8:25 AM, Per Jessen p...@computer.org wrote: Peter van der Does wrote: I tend to put my return value in a variable and at the end of the function I have 1 return statement. I have seen others doing returns in the middle of the function. Example how I do it: function

[PHP] Debugging

2009-04-24 Thread George Larson
Understanding that some coders are diametrically opposed to all assistance from debuggers as crutches, I offer this link for the rest of us: http://particletree.com/features/php-quick-profiler/ Mine was pointing to the wrong folder and still has some warnings so I think these guys might have