Re: [PHP] Re: So called "PHP Expert"

2009-03-20 Thread Paul M Foster
On Fri, Mar 20, 2009 at 10:07:30PM -0400, Marc Christopher Hall wrote: > This is why I am pushing for legislation to make this a licensed profession. Gawd, I hope you fail. Any number of trips into history will verify that insisting fields be licensed is a bad idea. Mostly licensing is a protect

Re: [PHP] Trying To Read - Show A Csv File Line By Line

2009-03-20 Thread Tom Friedhof
The for loop iterates through each field of each line, the while loop iterates through each line. Move the out of the for loop, right before the end of the while loop as follows: $num fields in line $row: \n"; $row++; for ($c=0; $c < $num; $c++) { echo $data[$c] . " "; // This will

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

2009-03-20 Thread abdulazeez alugo
> Date: Fri, 20 Mar 2009 15:51:56 -0400 > From: danbr...@php.net > To: james.ausmus.li...@gmail.com > CC: php-general@lists.php.net > Subject: Re: [PHP] [News] Affordable Independent Web Developer - Search > Engine Optimization Services - March 19th, 2009 > > On Fri, Mar 20, 2009 at 15:23, J

[PHP] How do you use php-gettext?

2009-03-20 Thread Michelle Konzack
Hello, I am trying to i18n a website using php-gettext with strings like T_gettext("Hello World") the problem is, they are inside the PHP scripts and xgettext does not find them to write the POT files. How do you use php-gettext and get the POT files to translate it? Note: Writing all s

RE: [PHP] Re: So called "PHP Expert"

2009-03-20 Thread Marc Christopher Hall
ntisql) > > Or > > eregi(h3x("NULL"),$antisql)&&eregi(h3x("ALTER"),$antisql) > > ){ > > errorview(); > > } > > } > > ### > > ## All Rights Reserved! > > ### > >

Re: [PHP] Re: So called "PHP Expert"

2009-03-20 Thread Ashley Sheridan
On Fri, 2009-03-20 at 18:57 -0500, Shawn McKenzie wrote: <דניאל דנון wrote: > > I'm a member of some forums about some topics, > > One of them include a programming forum. > > > > Now, I've visited there a week ago and saw a topic with the title "Free > > security", > > Someone who calls himself

Re: [PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Jim Lucas
Shawn McKenzie wrote: Daniel Brown wrote: On Fri, Mar 20, 2009 at 20:06, Shawn McKenzie wrote: How is best to update all of my code to use this new function? Should I just search and replace 'mysql_real_esacpe_string(' with 'clean_sql_term(' or does this replace all of my validations on in

Re: [PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Shawn McKenzie
Daniel Brown wrote: > On Fri, Mar 20, 2009 at 20:06, Shawn McKenzie wrote: > >> How is best to update all of my code to use this new function? Should I >> just search and replace 'mysql_real_esacpe_string(' with >> 'clean_sql_term(' or does this replace all of my validations on inputs? >> And

[PHP] Re: Importing Data with Field Names

2009-03-20 Thread Shawn McKenzie
revDAVE wrote: > Newbie... > > I have phpmyadmin... > > I'm basically looking for a quick way to import records and avoid hand- > typing many field names (I can set the field types later) > > Is there a way to import into mySql with let's say a csv file - (or Tab > delimited file) and have t

Re: [PHP] Importing Data with Field Names

2009-03-20 Thread Jim Lucas
revDAVE wrote: Newbie... I have phpmyadmin... I'm basically looking for a quick way to import records and avoid hand- typing many field names (I can set the field types later) Is there a way to import into mySql with let's say a csv file - (or Tab delimited file) and have the first row be

Re: [PHP] Trying To Read - Show A Csv File Line By Line

2009-03-20 Thread revDAVE
On 3/20/2009 2:37 PM, "kirk.john...@zootweb.com" wrote: > revDAVE wrote on 03/20/2009 03:11:00 PM: > >> Newbie ... I'm trying to Trying to read / show a csv file line by line > ... > > fgetcsv is your friend. > > http://us.php.net/manual/en/function.fgetcsv.php Thanks Kirk for your help

[PHP] Re: So called "PHP Expert"

2009-03-20 Thread Shawn McKenzie
דניאל דנון wrote: > I'm a member of some forums about some topics, > One of them include a programming forum. > > Now, I've visited there a week ago and saw a topic with the title "Free > security", > Someone who calls himself a PHP expert (and said that he could teach me PHP > since my level is s

Re: [PHP] today i found the best function I've ever seen

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 19:43, Nathan Rixham wrote: > if( !function_exists('clean_sql_term') ) > { >    function clean_sql_term($term) { >        return $term; >    } > } DISCLAIMER: Nathan is being facetious. This is just one of several bits of a mess we took to fix in a project. Do not tr

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 wrote: > Netbeans does have some sick fanciness... Auto-suggest, leaving your > cursor over a variable momentarily highlights it everywh

Re: [PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 20:06, Shawn McKenzie wrote: > > How is best to update all of my code to use this new function?  Should I > just search and replace 'mysql_real_esacpe_string(' with > 'clean_sql_term(' or does this replace all of my validations on inputs? >  And I see the if( !function_exis

[PHP] Re: today i found the best function I've ever seen

2009-03-20 Thread Shawn McKenzie
Nathan Rixham wrote: > if( !function_exists('clean_sql_term') ) > { > function clean_sql_term($term) { > return $term; > } > } > > beautiful How is best to update all of my code to use this new function? Should I just search and replace 'mysql_real_esacpe_string(' with 'clean_sql

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 w

[PHP] today i found the best function I've ever seen

2009-03-20 Thread Nathan Rixham
if( !function_exists('clean_sql_term') ) { function clean_sql_term($term) { return $term; } } beautiful -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] So called "PHP Expert"

2009-03-20 Thread Nitsan Bin-Nun
Hi Daniel, Please keep these things out of the list. I'm sure that you want to have programming related stuff going on this list instead of discussions about telling someone lessons in life. We all do want the same, we want to have php related questions and discussions (also some funny and humor d

Re: [PHP] PHP blogs?

2009-03-20 Thread Michael A. Peters
Luke wrote: Yeah the CSS doesn't seem to be restricting the width of the boxes properly The problem is the tag in the one blog. Maybe there's a way, but the code tag doesn't like forced formating, so they need to replace code nodes with a div node that has style to emulate the code node exce

Re: [PHP] Importing Data with Field Names

2009-03-20 Thread Michael A. Peters
revDAVE wrote: Newbie... I have phpmyadmin... I'm basically looking for a quick way to import records and avoid hand- typing many field names (I can set the field types later) Is there a way to import into mySql with let's say a csv file - (or Tab delimited file) and have the first row be

Re: [PHP] Trying To Read - Show A Csv File Line By Line

2009-03-20 Thread Kirk . Johnson
revDAVE wrote on 03/20/2009 03:11:00 PM: > Newbie ... I'm trying to Trying to read / show a csv file line by line ... fgetcsv is your friend. http://us.php.net/manual/en/function.fgetcsv.php Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP] Apache question

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 17:27, Ernie Kemp wrote: > > Please point me in the right direction with this as this is becoming a pain > in the butt. Ernie, Check in with the Apache folks: http://httpd.apache.org/lists.html -- daniel.br...@parasane.net || danbr...@php.net http://ww

[PHP] Apache question

2009-03-20 Thread Ernie Kemp
Sometime when I run the program http://localhost/DigitalBiz4U/index.php in a browser this message come up and the page is not displayed. "Apache HTTP Server stopped working and was closed" message on screen. Apache version: Apache2.2.11 PHP version: 5.2.8 OS: Vista IIS is turned of

[PHP] Trying To Read - Show A Csv File Line By Line

2009-03-20 Thread revDAVE
Newbie ... I'm trying to Trying to read / show a csv file line by line ... I think that a csv file would have a line delim of chr(10) or chr(13) or something ... Fgets doesn't seem to see it Q: How do I get it to see 1 line at a time and display it with in between? Thanks in advance...

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

2009-03-20 Thread Hans Schultz
On Fri, 20 Mar 2009 15:45:09 +0100, Virgilio Quilario wrote: On Fri, Mar 20, 2009 at 6:47 PM, Pierre Lilliman wrote: I have been using same program for some (not very long time), and I find it very useful, although it has some annoying things (inability to work with all kinds of inc

Re: [PHP] Importing Data with Field Names

2009-03-20 Thread Ashley Sheridan
On Fri, 2009-03-20 at 13:46 -0700, revDAVE wrote: > Newbie... > > I have phpmyadmin... > > I'm basically looking for a quick way to import records and avoid hand- > typing many field names (I can set the field types later) > > Is there a way to import into mySql with let's say a csv file - (

[PHP] Importing Data with Field Names

2009-03-20 Thread revDAVE
Newbie... I have phpmyadmin... I'm basically looking for a quick way to import records and avoid hand- typing many field names (I can set the field types later) Is there a way to import into mySql with let's say a csv file - (or Tab delimited file) and have the first row be the field names.

Re: [PHP] Web Development/Application Analysis

2009-03-20 Thread OOzy Pal
On Fri, Mar 20, 2009 at 6:16 PM, Paul M Foster wrote: > On Fri, Mar 20, 2009 at 11:34:30AM +0300, OOzy Pal wrote: > >> Hello, >> >> I have just hired a remote PHP programmer. His main job is web >> development and applications. >> >> I have few concerns, I would be happy if someone can point me to

Re: [PHP] PHP blogs?

2009-03-20 Thread Luke
Yeah the CSS doesn't seem to be restricting the width of the boxes properly 2009/3/20 Michael A. Peters > Stuart wrote: > >> 2009/3/20 George Larson : >> >>> I'm reorganizing my reader. Anybody suggest any good PHP feeds? >>> >> >> http://www.planet-php.net/ is an aggregator of some of the good

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

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 16:01, Jochem Maas wrote: > > Ps. Dan, Tell Me Any Time You Want Me To Stop Writing In Ucfirst() :-D I knew that was going to come back and bite me in the ass before the end of the thread. I didn't have enough time to devote to writing a proper function to split the p

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

2009-03-20 Thread Jochem Maas
Daniel Brown schreef: > On Fri, Mar 20, 2009 at 15:23, James Ausmus > wrote: >> OK, umm... Wow. Bi-polar, anyone??? I'm getting whiplash reading this >> thread. Not to say it isn't entertaining... ;) > > You like this? Ask the regulars about "Crayon Shin Chan." ;-P > Fond Memories Indeed!

Re: [PHP] PHP blogs?

2009-03-20 Thread Michael A. Peters
Stuart wrote: 2009/3/20 George Larson : 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 there. It displays horribly in Firefox. They need to fix it. -- PHP General Mailing List (http://www.php.

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

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 15:23, James Ausmus wrote: > > OK, umm... Wow. Bi-polar, anyone??? I'm getting whiplash reading this > thread. Not to say it isn't entertaining... ;) You like this? Ask the regulars about "Crayon Shin Chan." ;-P -- daniel.br...@parasane.net || danbr...@php.net htt

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

2009-03-20 Thread James Ausmus
On Fri, Mar 20, 2009 at 11:39 AM, Ginkga Studio, LLC wrote: > LOL. > > :0) > > Ok. You guys are fun but I have to get to work. Hope all works out for you > guys. Sorry for posting to your list. Just block me so I don't bother you > again. > > Good luck with all your programming. You all seem like

Re: [PHP] PHP blogs?

2009-03-20 Thread George Larson
Got it! Thanks! On Fri, Mar 20, 2009 at 2:53 PM, Stuart wrote: > 2009/3/20 George Larson : > > 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 there. > > -Stuart > > -- > http://stut.net/ >

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

2009-03-20 Thread Frank Stanovcak
"George Larson" wrote in message news:a623739c0903201141o3b430640haf91ea575f276...@mail.gmail.com... > houses ain't gunna cleen themselfs... > > On Fri, Mar 20, 2009 at 2:39 PM, Ginkga Studio, LLC > wrote: > >> LOL. >> >> :0) >> >> Ok. You guys are fun but I have to get to work. Hope all works o

Re: [PHP] PHP blogs?

2009-03-20 Thread Stuart
2009/3/20 George Larson : > 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 there. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

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 wrote: > On Fri, Mar 20, 2009 at 14:37, George Larson > wrote: > > I'm reorganizing my reader. Anybody suggest any good PHP feeds? > > Are you already using the RSS/RDF stuff

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

2009-03-20 Thread Stuart
2009/3/20 Ginkga Studio, LLC : > > > -Original Message- > From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel > Brown > Sent: Friday, March 20, 2009 10:13 AM > To: webdes...@ginkga.com > Cc: Jochem Maas; Php-general; George Larson > Subject: Re: [PHP] [News] Affordable

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

2009-03-20 Thread George Larson
> > I do have a thick leather belt with your name on it. I bet it's in uppercase letters, you little vixen. On Fri, Mar 20, 2009 at 2:47 PM, Ginkga Studio, LLC wrote: > Georgeyou are SO close to getting spanked. > > I do have a thick leather belt with your name on it. > > You're funny!!! >

Re: [PHP] PHP blogs?

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 14:37, George Larson wrote: > I'm reorganizing my reader.  Anybody suggest any good PHP feeds? Are you already using the RSS/RDF stuff straight from the horse's mouth, George? http://news.php.net/ -- daniel.br...@parasane.net || danbr...@php.net http://www.

Re: [PHP] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-20 Thread Jochem Maas
Karel Kozlik schreef: >> >>> But there still remains two issues: >>> 1. How to pass arguments to method? The number of arguments is different >>> for each method. So is the only way to construct a string containing the >>> arguments and use eval()? Or is there an another way? >> >> then use call_us

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

2009-03-20 Thread Ginkga Studio, LLC
Georgeyou are SO close to getting spanked. I do have a thick leather belt with your name 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: Thi

RE: [PHP] [JUNK] .......

2009-03-20 Thread Ginkga Studio, LLC
And sorry to Jochem, who like a good friend comes forward and defends his colleagues. I'm sure I have no room to say anything about anyone's spelling. ;0) Keep up the good work Jochem. XOXOXOX ~Samantha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] [JUNK] .......

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 14:37, Jochem Maas wrote: > > PS: I guess a reply about the domain name referencing nisargadatta or > krishnamurti > wouldn't really ring any bells. Watch your mouth. There are children present. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.

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

2009-03-20 Thread George Larson
houses ain't gunna cleen themselfs... On Fri, Mar 20, 2009 at 2:39 PM, Ginkga Studio, LLC wrote: > LOL. > > :0) > > Ok. You guys are fun but I have to get to work. Hope all works out for you > guys. Sorry for posting to your list. Just block me so I don't bother you > again. > > Good luck with al

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

2009-03-20 Thread Ginkga Studio, LLC
LOL. :0) Ok. You guys are fun but I have to get to work. Hope all works out for you guys. Sorry for posting to your list. Just block me so I don't bother you again. Good luck with all your programming. You all seem like pretty good people. Sorry for harassing you George. I'm sure you are sexy

Re: [PHP] [JUNK] .......

2009-03-20 Thread Jochem Maas
Daniel Brown schreef: > On Fri, Mar 20, 2009 at 14:29, Ginkga Studio, LLC > wrote: >> LOL @ JOCHEM'S DOMAIN NAME (HENCE SELF-IMPOORTANCE)AND LOL @ JOCHEMS LACK OF >> ABILITY IN THE AREA OF SPELLING. (IT'S SPELLED "HERE" - NOT "HEAR") > > Point #1: Spelling. > > > >> SO JOCHEM MY DEA,

[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
Oh, good; I look forward to polishing your nails... spammer. On Fri, Mar 20, 2009 at 2:29 PM, Thiago H. Pojda wrote: > On Fri, Mar 20, 2009 at 3:23 PM, Ginkga Studio, LLC >wrote: > > > > > IF YOU WERE MY HUSBAND I WOULD SPANK YOUR ASS SO HAR YOU'D NEVER TALK > BACK > > ANY WOMAN EVER AGAIN !!! >

Re: [PHP] [JUNK] .......

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 14:29, Ginkga Studio, LLC wrote: > LOL @ JOCHEM'S DOMAIN NAME (HENCE SELF-IMPOORTANCE)AND LOL @ JOCHEMS LACK OF > ABILITY IN THE AREA OF SPELLING. (IT'S SPELLED "HERE" - NOT "HEAR") Point #1: Spelling. > SO JOCHEM MY DEA, PLEASEBEFORE YOU REBUKE SOMEONE ELSE

Re: [PHP] Re: very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread fjs
okay... well, i checked that and it looks like: ServerName examplemotion.com ServerAlias www.examplemotion.com ... ServerName examplemotion.com ServerAlias www.examplemotion.com so, i changed both ServerNames to www.examplemotion.com, and commented out the ServerAliases, rest

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

2009-03-20 Thread Thiago H. Pojda
On Fri, Mar 20, 2009 at 3:23 PM, Ginkga Studio, LLC wrote: > > IF YOU WERE MY HUSBAND I WOULD SPANK YOUR ASS SO HAR YOU'D NEVER TALK BACK > ANY WOMAN EVER AGAIN !!! > > > Oh, gee. Thanks for filters, Gmail. -- Thiago Henrique Pojda http://nerdnaweb.blogspot.com

RE: [PHP] [JUNK] .......

2009-03-20 Thread Ginkga Studio, LLC
LOL @ JOCHEM'S DOMAIN NAME (HENCE SELF-IMPOORTANCE)AND LOL @ JOCHEMS LACK OF ABILITY IN THE AREA OF SPELLING. (IT'S SPELLED "HERE" - NOT "HEAR") SO JOCHEM MY DEA, PLEASEBEFORE YOU REBUKE SOMEONE ELSE'S EFFORTS - TAKE A HARD LOOK AT YOURSELF FIRST. (THE IMPORTANT STATUS OF DANIEL IS DULY

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

2009-03-20 Thread Daniel Brown
wrote: > > > -Original Message- > From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel > Brown > Sent: Friday, March 20, 2009 10:13 AM > To: webdes...@ginkga.com > Cc: Jochem Maas; Php-general; George Larson > Subject: Re: [PHP] [News] Affordable Independent Web Develop

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

2009-03-20 Thread Ginkga Studio, LLC
-Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Sent: Friday, March 20, 2009 10:13 AM To: webdes...@ginkga.com Cc: Jochem Maas; Php-general; George Larson Subject: Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optim

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

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 14:15, Ginkga Studio, LLC wrote: > Sorry Jay, I'm already hitting on George. George and I are going to make > beautiful babies together. See? She'll fit in just fine here! ;-P > -Original Message- > From: Jay Blanchard [mailto:jblanch...@pocket.com] > Sent:

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

2009-03-20 Thread Ginkga Studio, LLC
Sorry Jay, I'm already hitting on George. George and I are going to make beautiful babies together. -Original Message- From: Jay Blanchard [mailto:jblanch...@pocket.com] Sent: Friday, March 20, 2009 10:21 AM To: Daniel Brown; webdes...@ginkga.com Cc: Jochem Maas; Php-general; George La

[PHP] Re: very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread Shawn McKenzie
francisco j sanchez wrote: > Shawn, > > thank you so much for your reply. I think this definitely has me on > the right track. what i need to figure out now is, is it Apache or > PHP that is switching the domain? all the code uses relative links > (as far as i can tell... i didn't build this pr

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

2009-03-20 Thread Lists
tedd wrote: [snip] No problem here -- I'm open to all languages. The OP posted his question on a php list and that's the reason why I responded with a php solution. Now, can you show me how to pull data from a mysql database so that the input statements can be created dynamically? Cheers,

[PHP] Re: very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread francisco j sanchez
Shawn, thank you so much for your reply. I think this definitely has me on the right track. what i need to figure out now is, is it Apache or PHP that is switching the domain? all the code uses relative links (as far as i can tell... i didn't build this project, i inherited it, so i'm figuring

Re: [PHP] assign associative array values to variables? SOLVED

2009-03-20 Thread PJ
Ford, Mike wrote: > On 18 March 2009 13:21, PJ advised: > > >> Thank you, once again, dg. Could not get it to work... whatever... >> But I did find an unexpected solution which made things very simple. >> This is the part for the categories section: >> >> if ( isset( $book_categories[$bookID] )

Re: [PHP] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-20 Thread Karel Kozlik
But there still remains two issues: 1. How to pass arguments to method? The number of arguments is different for each method. So is the only way to construct a string containing the arguments and use eval()? Or is there an another way? then use call_user_func() and/or call_user_func_array() in

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 wrote: > [snip]"hey, everyone, my name is Samantha[/snip] > > This thread is worthless without pictures. >

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

2009-03-20 Thread tedd
At 11:40 AM -0500 3/20/09, Lists wrote: O.K., I may get a back lash.. but I can't resist making a very small plug here for our server side language, WebDNA. Here is the same code in WebDNA: The Form: [loop start=1&end=3] [/loop] The Recieving page code (loop): [formvariables name=go_&exact=F

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

2009-03-20 Thread Jay Blanchard
[snip]"hey, everyone, my name is Samantha[/snip] This thread is worthless without pictures. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2009-03-20 Thread tedd
At 9:25 AM -0700 3/20/09, Ginkgo Studio, LLC wrote: As a matter of fact "DANIEL" ...I AM A REAL PERSON ! Dear Mr Biloba: Welcome to my fill file. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.p

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

2009-03-20 Thread Daniel Brown
On Fri, Mar 20, 2009 at 12:25, Ginkga Studio, LLC wrote: > > > As a matter of fact "DANIEL" ...I AM A REAL PERSON ! > > You know, I really hate it that people like YOU reply back to me with your > self-vain - self-important attitudes - and act like no one else on the F-ing > planet has the

Re: [PHP] mysql_real_escape_string paranoid enough?

2009-03-20 Thread Stuart
2009/3/20 Richard Lynch : > I typically do something like this: > > $data_sql = mysql_real_escape_string($data, $connection); > $query = "insert into data(data) values('$data_sql')"; > $insert = mysql_query($query, $connection); > if (!$insert){ >  trigger_error(mysql_error($connection), E_USER_ERR

Re: [PHP] linux sha1sum .vs php sha1

2009-03-20 Thread Jan G.B.
well, echoing a file name and hashing this name with an added carriage return is not the same as hashing the string you can see in your file. bye echo -n 123 | sha1sum && php -r 'echo sha1(123)." -\n";' 2009/3/20 bruce : > hi... > > doing some testing with linux sha1sum, and php's sha1 function

Re: [PHP] [JUNK] .......

2009-03-20 Thread Stuart
HEAR HEAR. Btw, I'm not a real person, I'm a highly sophisticated bot started by Sir Lynch way back when. How's my driving? Top posting... well, just because! -Stuart -- http://stut.net/ 2009/3/20 Jochem Maas : > Ginkga Studio, LLC schreef: >> >> As a matter of fact "DANIEL" ...I AM A REA

Re: [PHP] mysql_real_escape_string paranoid enough?

2009-03-20 Thread mike
On Fri, Mar 20, 2009 at 9:41 AM, Richard Lynch wrote: > I typically do something like this: > > $data_sql = mysql_real_escape_string($data, $connection); > $query = "insert into data(data) values('$data_sql')"; > $insert = mysql_query($query, $connection); > if (!$insert){ >  trigger_error(mysql_e

[PHP] Re: linux sha1sum .vs php sha1

2009-03-20 Thread Colin Guthrie
'Twas brillig, and Per Jessen at 20/03/09 16:06 did gyre and gimble: bruce wrote: hi... doing some testing with linux sha1sum, and php's sha1 function... are they both supposed to return the same results for the same chunk of text. test file "a.dat" = "1234567890" linux: echo a.dat > sha1s

[PHP] mysql_real_escape_string paranoid enough?

2009-03-20 Thread Richard Lynch
I typically do something like this: $data_sql = mysql_real_escape_string($data, $connection); $query = "insert into data(data) values('$data_sql')"; $insert = mysql_query($query, $connection); if (!$insert){ trigger_error(mysql_error($connection), E_USER_ERROR); } My custom error handler logs t

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

2009-03-20 Thread Lists
O.K., I may get a back lash.. but I can't resist making a very small plug here for our server side language, WebDNA. Here is the same code in WebDNA: The Form: [loop start=1&end=3] [/loop] The Recieving page code (loop): [formvariables name=go_&exact=F] [value] [/formvariables] The URL: h

Re: [PHP] [JUNK] .......

2009-03-20 Thread Jochem Maas
Ginkga Studio, LLC schreef: > > As a matter of fact "DANIEL" ...I AM A REAL PERSON ! > > You know, I really hate it that people like YOU reply back to me with your > self-vain - self-important attitudes - and act like no one else on the F-ing > planet has the right to live or even share t

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

2009-03-20 Thread Jochem Maas
Arno Kuhl schreef: > Sounds like a good deal - clean your home and develop your home page > all-in-one. A sailor friend once told me about all-in-one services he got > when he stopped for shore leave in Bangkok - also sounded like a good deal, > though I don't think it included web development. Exp

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

2009-03-20 Thread Arno Kuhl
Sounds like a good deal - clean your home and develop your home page all-in-one. A sailor friend once told me about all-in-one services he got when he stopped for shore leave in Bangkok - also sounded like a good deal, though I don't think it included web development. Experienced sailors pre-booked

Re: [PHP] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-20 Thread Jochem Maas
Karel Kozlik schreef: > Hello, > thanks for the hint. It looks nice. Where could I learn more about > $class::$method() syntax? I was not successfull when searching in php > manual. er, dunno - I picked it up on the internals mailing list I think, you might wnat to search that. > Btw. is it an

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

2009-03-20 Thread Ginkga Studio, LLC
As a matter of fact "DANIEL" ...I AM A REAL PERSON ! You know, I really hate it that people like YOU reply back to me with your self-vain - self-important attitudes - and act like no one else on the F-ing planet has the right to live or even share the same air you breath YOU "DANIEL

Re: [PHP] how to make for statement run faster

2009-03-20 Thread Shawn McKenzie
Andrew Williams wrote: > I have a program where I process more that 5000 list of 100 data at time > but it very slow due to many *for statement*s. how you make it run faster > Without seeing the code I would have to say optimize the code. -- Thanks! -Shawn http://www.spidean.com -- PHP Gen

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

2009-03-20 Thread Chrome
> George Larson schreef: > > 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.h > > what a busy girl :-) Kudos points to the first person to fi

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

2009-03-20 Thread Jochem Maas
George Larson schreef: > 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.h what a busy girl :-) > > On Fri, Mar 20, 2009 at 10:57 AM, Jochem Maas

Re: [PHP] how to make for statement run faster

2009-03-20 Thread Virgilio Quilario
> I have a program where I process more that 5000 list of 100 data at  time > but it very slow due to many  *for statement*s. how you make it run faster code for statements to use a variable or contant for testing in every iteration like below for ($i = 0; $i < 100; $i++) {} also try to optimize

Re: [PHP] linux sha1sum .vs php sha1

2009-03-20 Thread Per Jessen
bruce wrote: > hi... > > doing some testing with linux sha1sum, and php's sha1 function... are > they both supposed to return the same results for the same chunk of > text. > > test > > file "a.dat" = "1234567890" > > linux: > echo a.dat > sha1sum -t!= php > > any thoughts... Try "echo

[PHP] linux sha1sum .vs php sha1

2009-03-20 Thread bruce
hi... doing some testing with linux sha1sum, and php's sha1 function... are they both supposed to return the same results for the same chunk of text. test file "a.dat" = "1234567890" linux: echo a.dat > sha1sum -t!= php any thoughts... thanks -- PHP General Mailing List (http://www.

[PHP] how to make for statement run faster

2009-03-20 Thread Andrew Williams
I have a program where I process more that 5000 list of 100 data at time but it very slow due to many *for statement*s. how you make it run faster -- best www.willandy.co.uk

Re: [PHP] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-20 Thread Karel Kozlik
Hello, thanks for the hint. It looks nice. Where could I learn more about $class::$method() syntax? I was not successfull when searching in php manual. Btw. is it an intended behaviour that $class::$method() works in this way? I mean that I would pressume that method is called in static conte

[PHP] Re: very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread Shawn McKenzie
Shawn McKenzie wrote: > francisco j sanchez wrote: >> hello. I have been working on this bug for days now, and have scoured >> these forums and the web to no avail. I am fairly new to PHP, so >> please forgive me if I don't provide the right info. >> >> here is the problem: >> as of 9 days ago, whe

[PHP] Re: very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread Shawn McKenzie
francisco j sanchez wrote: > hello. I have been working on this bug for days now, and have scoured > these forums and the web to no avail. I am fairly new to PHP, so > please forgive me if I don't provide the right info. > > here is the problem: > as of 9 days ago, when someone arrives at a docume

Re: [PHP] Web Development/Application Analysis

2009-03-20 Thread Paul M Foster
On Fri, Mar 20, 2009 at 11:34:30AM +0300, OOzy Pal wrote: > Hello, > > I have just hired a remote PHP programmer. His main job is web > development and applications. > > I have few concerns, I would be happy if someone can point me to the > right direction. > >1. How can I provide him the r

Re: [PHP] Web Development/Application Analysis

2009-03-20 Thread Virgilio Quilario
>> Hello, >> >> I have just hired a remote PHP programmer. His main job is web >> development and applications. >> >> I have few concerns, I would be happy if someone can point me to the >> right direction. >> >>   1. How can I provide him the requirements. I mean how can I analyze >> the site and

[PHP] very strange session behavior -- fails on port 80, works on 9090

2009-03-20 Thread francisco j sanchez
hello. I have been working on this bug for days now, and have scoured these forums and the web to no avail. I am fairly new to PHP, so please forgive me if I don't provide the right info. here is the problem: as of 9 days ago, when someone arrives at a document on our site via google (or directly

[PHP] Segfault (shutdown_executor) Where to look when debugging?

2009-03-20 Thread AJ
Hi all, Our CMS segfaults on certain pages. It's a lot of code to debug so I wonder if someone can point in me in de right direction where to look. The GDB backtrace points out that the segfault occurs on shutdown. (shutdown_executor). Then I see a reference to zend_objects_free_object_storage

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

2009-03-20 Thread Shawn McKenzie
Kyohere Luke wrote: > You might have something there - never really thought about how windows > forms the 8.3 names... & not many resources online about it ... > > The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe" > I'd used "c:\Progra~1\Gammu~1\bin\gammu.exe" You take the first 6

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 wrote: > Ginkga Studio LLC schreef: > > Today's Date: M

Re: [PHP] Web Development/Application Analysis

2009-03-20 Thread Jochem Maas
tedd schreef: > At 11:34 AM +0300 3/20/09, OOzy Pal wrote: >> Hello, >> >> I have just hired a remote PHP programmer. His main job is web >> development and applications. >> >> I have few concerns, I would be happy if someone can point me to the >> right direction. >> >>1. How can I provide him

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

2009-03-20 Thread Jochem Maas
Ginkga Studio LLC schreef: > Today's Date: March 19th, 2009 > > Hello, > I'm a real person sending you this email - this is an > initial contact opt-in request for permission to contact you > for web development services. > > WHO I AM AND MY INTENTIONS: > I'm an affordable, independent web

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

2009-03-20 Thread Daniel Brown
No, you're NOT a real person, and I told you the other day on the PHP Webmaster list that you are in violation of various laws by sending this email. Now I am happily reporting this to the Nevada State Attorney General's Office and placing you on the RBL's. Have a fantastic first day of s

  1   2   >