Re: [PHP] password field validation

2009-03-12 Thread Daniel Brown
On Thu, Mar 12, 2009 at 16:04, Rodrigo Escares wrote: > prueba con trim() : > $pass=trim($_POST[PASSSWORD]); > if (empty($pass)) > { >   $GERROR="TRUE"; > } Incorrecto, Rodrigo. Tambien, utilice por favor solamente el ingles en esta lista --- usted puede encontrar la lista de usuario espanola

Re: [PHP] bad interpreter error from CLI

2009-03-13 Thread Daniel Brown
On Fri, Mar 13, 2009 at 10:10, Thodoris wrote: > Hi gang, >   I am trying to run a script from cli which goes like this: > > #!/usr/bin/php > passthru("printenv"); > ?> > > The error I get is this: > /usr/bin/php^M: bad interpreter: Permission denied Note the ^M --- then use dos2unix from th

Re: [PHP] php 5.2.8 to 5.2.9 concerns

2009-03-13 Thread Daniel Brown
On Fri, Mar 13, 2009 at 05:01, The Doctor wrote: [snip!] > > What is going on? [snip!] The warnings could've indicated simply that the error reporting configuration was different between your builds, but the failure - when both were built the same way for PostgreSQL. Are both on the same sys

Re: [PHP] bad interpreter error from CLI

2009-03-13 Thread Daniel Brown
On Fri, Mar 13, 2009 at 10:23, Thodoris wrote: [snip!] > > Both commands return the same path. and that path, I'll presume, is the same you have set in the script, right? Please offer as much information as you can with each email to speed up the troubleshooting process. ;-P What'

Re: [PHP] Header - Redirect Command Not Working

2009-03-13 Thread Daniel Brown
On Fri, Mar 13, 2009 at 13:15, Jan G.B. wrote: > > Where's your point? Proving that you know the well known clients and > their behaviour? > Just stick to the standards. easy. no or less errors occur. Okay, I'm not going to get into a flame war with you, because it's obvious that your native

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Daniel Brown
On Sat, Mar 14, 2009 at 13:41, Per Jessen wrote: > > Check if the mysqli extension has been loaded. Also check this page: http://us.php.net/manual/en/mysqli.connect.php For some of the mirrors, trying to hit http://php.net/mysqli_connect erroneously takes you to the mysql_connec

Re: [PHP] left join does not work, why?

2009-03-14 Thread Daniel Brown
On Sat, Mar 14, 2009 at 19:51, PJ wrote: > $sql1 = "SELECT b.id, b.title, b.sub_title, b.descr, b.comment, > b.bk_cover, b.copyright, b.ISBN, b.language, b.sellers, c.publisher, <--- > CONCAT_WS(' ', first_name, last_name) AS Author > FROM book AS b > LEFT JOIN book_author AS ab ON b.id = ab.bookI

Re: [PHP] Re: GeoIP?

2009-03-16 Thread Daniel Brown
On Mon, Mar 16, 2009 at 12:01, zerof wrote: > > Please, avoid to reply our messages with entire heads. > I don't like to see my email along these. Then unsubscribe. Before subscribing and posting to any mailing list, you should read the rules and regulations of the list. Had you done so

Re: [PHP] php-general-sc.1237291233.npmhceaklghpccnefjed-born2victory=gmail....@lists.php.net

2009-03-18 Thread Daniel Brown
On Wed, Mar 18, 2009 at 00:07, Born2Win wrote: > > In case you didn't realize it already by seeing a stream of posts starting to arrive, you're subscribed now. ;-P You can change you preferences in the future by filling out the form at http://php.net/mailinglists -- daniel.br...@para

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

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 el

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

2009-03-20 Thread Daniel Brown
...@pocket.com] > Sent: Friday, March 20, 2009 10:21 AM > To: Daniel Brown; webdes...@ginkga.com > Cc: Jochem Maas; Php-general; George Larson > Subject: RE: [PHP] [News] Affordable Independent Web Developer - Search > Engine Optimization Services - March 19th, 2009 > > [sni

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

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

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

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] need help with code

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 10:42, Chris Westbrook wrote: > I hate asking for help with simple code like this because I can usually > figure it out, but I'm stumped on this one.  I'm getting a parser error on > line 13, whether I comment out the require_once line or not.   Can you help? Probabl

Re: [PHP] So called "PHP Expert"

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 10:48, tedd wrote: > > Leave it to you to drop kick me when you have the chance. Here I was trying > to say something prophetic and you made it pathetic. :-) Maybe philosophical? > Oh well, at least I take comfort in the fact that you'll probably not live > to be as o

Re: [PHP] need help with code

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 10:54, Virgilio Quilario wrote: > > hi Chris, > > basing on the code you posted, you're missing the closing brace for > if ($accessToken===NULL) > { > > there should be 3 closing braces before the last ?> That'll be the next error, but that error would print "unexpecte

Re: [PHP] PHP (Google Summer of Code 2009)

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 18:39, Slava Gerchicov wrote: >  Are you looking for developers? > What could I do for you? Check out the GSOC 2009 Wiki page at http://wiki.php.net/gsoc/2009 for some ideas of what's being considered this year. > What do you think about a translation the last PHP's d

Re: [PHP] Web Development/Application Analysis

2009-03-22 Thread Daniel Brown
On Sun, Mar 22, 2009 at 09:02, tedd wrote: > > Good luck with your remote programmer. I second that, "OOzy." You're going to need all the luck you can get with the "web development/design business" you apparently "own." Since you obviously have no clue what it's like to freelance and instead

[PHP] Frameworks / obstinate?

2009-03-22 Thread Daniel Kolbo
Tony Marston wrote: "Nitsan Bin-Nun" wrote in message news:d47da0100903220910q7bb66706s6255f0fc89b98...@mail.gmail.com... Don't forget to attach the message to the list. Regarding the frameworks, which of them, for your opinion, will take the fastest time to learn and get into code?

Re: [PHP] Frameworks / obstinate?

2009-03-22 Thread Daniel Kolbo
lients need at hand and build from there. -Original Message- From: Daniel Kolbo [mailto:kolb0...@umn.edu] Sent: Sunday, March 22, 2009 4:54 PM To: php-general@lists.php.net Cc: Tony Marston Subject: [PHP] Frameworks / obstinate? Tony Marston wrot

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

2009-03-23 Thread Daniel Brown
On Mon, Mar 23, 2009 at 09:07, Igor Escobar wrote: > Do not try this at home... Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Host

Re: [PHP] Google Summer Of Code : The PHP Project

2009-03-23 Thread Daniel Brown
On Mon, Mar 23, 2009 at 05:57, Nabil Khamassi wrote: > > I am especially interested in "Integrated Code Coverage of C and PHP Code" > because I have a solid knowledge in C language (and a full-time project in > C is planned at the end of this semester in ENSIMAG) but also on parsers > that I am st

Re: [PHP] Security Support

2009-03-30 Thread Daniel Brown
On Sun, Mar 29, 2009 at 22:07, abdulazeez alugo wrote: >> Yea, dude, well me GED says I kin git it dun wit less wastid time. >> >> -- > No be only una get pidgin English ooo. Me sef fit do am sharp sharp no be say > them say. Is there any particular reason you guys totally trashed this threa

Re: [PHP] Server document root change

2009-03-30 Thread Daniel Brown
On Mon, Mar 30, 2009 at 11:59, Manoj Singh wrote: > Hi All, > > My production server has facing disk full problem. Actually my server has > the following drives mounted: > /var - 10 GB > /home - 200 GB > etc... > > Now i want to change the document root of apache server from /var to /home. > > Is

Re: [PHP] Error on .htaccess

2009-04-01 Thread Daniel Brown
On Wed, Apr 1, 2009 at 10:39, Igor Escobar wrote: > In all the servers i had tested my system i dont have any problem, but in > this server the apache are displaying to me the error 500 "Internal Server > Error". > > Someone can say tome what is wront with my .htaccess? This is a question for

Re: [PHP] Too many open files

2009-04-05 Thread Daniel Brown
On Sun, Apr 5, 2009 at 12:57, Larry Garfield wrote: > > I know PHP has a max-files-open limit somewhere.  Is that per process, per > user, or per server?  Is this even something I can address myself in my app, > or does it indicate that the server itself is getting over-busy and I have to > just b

Re: [PHP] Out of the blue question..

2009-04-07 Thread Daniel Brown
On Tue, Apr 7, 2009 at 11:56, bruce wrote: > chris... > > did you read the entire msg.. this isn't/wasn't a hunt for someone for a > project... > > please re-read.. It would've been fine even if it was, Bruce. This is the "General" list. As long as it's PHP-related, you're fine. However, I

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Daniel Brown
On Thu, Apr 9, 2009 at 11:01, Govinda wrote: >> >> >> Quite frankly, I asked myself that same question earlier but I thought Dan >> was in charge of such stuffs. He's been very quiet on a lot of things >> lately. Hey guys, does anyone know where Dan's been? i'm guessing he's gone >> on a short cou

Re: [PHP] Increase your monthly income!

2009-04-09 Thread Daniel Brown
On Thu, Apr 9, 2009 at 11:33, Richard Heyes wrote: >> In the history of email, the only >> better SPAM blocking stuff has been a pair of scissors applied to the >> power cord. > > Wearing insulating gloves I would add... You always were the one to see the Big Picture[tm]. ;-P -- daniel.br

Re: [PHP] Sobre Login PHP

2009-04-11 Thread Daniel Brown
2009/4/11 Alejandro Esteban Galvez : > > Saludos colegas, los otros dias, estuve escribiendo acerca de esto, y bueno > ya tengo una parte ahora necesito que cuando se cierre el navegador, se > cierre la sesion de login tambien.  Saludos Saludos, Alejandro; Envíe por favor este mensaje a

Re: [PHP] Additional support for your family!

2009-04-11 Thread Daniel Brown
On Sat, Apr 11, 2009 at 19:29, 9el wrote: > > Ah! could you just pay in my paypal? bluh! For future reference, the general practice on the list is not even to acknowledge the email. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Of

Re: [PHP] Let me google that for you.

2009-04-17 Thread Daniel Brown
On Fri, Apr 17, 2009 at 10:18, Gary wrote: > I would like to create a script that would fill in the search box for the > Let Me Google That For You. That's fantastic! Thanks for letting us know. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotp

Re: [PHP] Let me google that for you.

2009-04-17 Thread Daniel Brown
On Fri, Apr 17, 2009 at 11:19, Gary wrote: > Your welcome, would you know how to create the script to incorporate it on a > page? Yeah, but it's JavaScript and HTML (DHTML), not PHP. > "Daniel Brown" wrote in message > news:ab5568160904170815u75a93e44x2647

Re: [PHP] 800 pound gorilla

2009-04-20 Thread Daniel Brown
On Mon, Apr 20, 2009 at 09:48, Marc Christopher Hall wrote: > Sun buys MySQL and now Oracle buys Sun (not final, yet). What will happen > with the main db we PHP'ers have come to know and love especially since v 5 Become a MySQL developer and help make the decision. -- daniel.br...@parasan

Re: [PHP] 800 pound gorilla

2009-04-20 Thread Daniel Brown
On Mon, Apr 20, 2009 at 09:58, Marc Christopher Hall wrote: > > Ahhh, I love the smell of condescension first thing in the morning. BTW I am > a MySQL developer thank you. A developer does not an owner make. Where do > you get the idea that Oracle would put this to a democratic vote? Condesce

Re: [PHP] MAIL Error

2009-04-21 Thread Daniel Brown
On Tue, Apr 21, 2009 at 03:28, wrote: > Hi All, > > While using $m=new MAIL; I get an error "Fatal error: Class 'MAIL' not > found in...". > > Can anyone help on this? Maybe if you provided the relevant code and not just a single variable instantiation. Also, per the rules of the list (

Re: [PHP] MAIL Error

2009-04-22 Thread Daniel Brown
On Wed, Apr 22, 2009 at 12:31, Jan G.B. wrote: > I believe that you all should just overread the huge signature. > You've wasted a lot bandwidth with this discussion about the signature. :-) > It's not interesting. > You could have send your pointless replies to the person, skipping the > mailing

Re: [PHP] Symlinks and ownership

2009-04-23 Thread Daniel Brown
On Thu, Apr 23, 2009 at 13:21, Christoph Boget wrote: > Is there a reason why you can't programatically set ownership of a > symbolic ink?  The following code You can't do it from the command line either, Chris. This is because chown and chgrp automatically dereference symlinks, so it's actu

Re: [PHP] PHP CLI vs WebServed

2009-04-25 Thread Daniel Brown
On Sat, Apr 25, 2009 at 10:14, Simon wrote: > > Hopefully, I'm looking for a way that would not require any hacking of > the PHP files that are currently working with other webservers... Perhaps you may want to consider hacking PHP itself. From memory, one place you may want to start looking

Re: [PHP] PHP CLI vs WebServed

2009-04-25 Thread Daniel Brown
Replying this back on the list, unchanged and without any additions from me yet. On Sat, Apr 25, 2009 at 14:09, Simon wrote: >>    Perhaps you may want to consider hacking PHP itself.  From memory, >> one place you may want to start looking is the >> php_filter_get_storage() function, the

Re: [PHP] Change color of anything in double/single quotes

2009-04-25 Thread Daniel Brown
On Sat, Apr 25, 2009 at 13:50, Marc Steinert wrote: > > $string = preg_replace('/"(.*?)"/', '"\\1"', > $string); Close, but I'd also recommend dropping in a 'Us' modifier so that it is `U`ngreedy and `s`pans lines. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/

Re: [PHP] CamelCase conversion to proper_c_style

2009-04-27 Thread Daniel Brown
On Mon, Apr 27, 2009 at 01:25, Paul M Foster wrote: > I know it's probably heresy for a lot of coders, but does anyone know a > function or class or regexp or somesuch which will scan through a PHP > file and convert all the CamelCase code into proper C-type code? That > is, "CamelCase" gets conve

Re: [PHP] Re: Formating Numbers

2009-04-27 Thread Daniel Brown
On Sun, Apr 26, 2009 at 18:15, Gary wrote: > Sorry for the delay in response.  I was able to figure the number_format() > function out. > > Thanks for all your responses. Since you're working specifically with money as described in your example, Gary, you could also check out money_format()[1

Re: [PHP] E-Mail Verification - Yes, I know....

2009-04-28 Thread Daniel Brown
On Tue, Apr 28, 2009 at 11:40, Jay Blanchard wrote: > Our company wants to do e-mail verification and does not want to use the > requests / response method (clicking a link in the e-mail to verify the > address), which as we all know is the only way you can be truly sure. I > found this; > > http:

Re: [PHP] E-Mail Verification - Yes, I know....

2009-04-28 Thread Daniel Brown
d clicked "Send." #...@%&. On Tue, Apr 28, 2009 at 11:50, Daniel Brown wrote: > On Tue, Apr 28, 2009 at 11:40, Jay Blanchard wrote: >> Our company wants to do e-mail verification and does not want to use the >> requests / response method (clicking a link in the e-mail to verify

Re: [PHP] Two very useful PHP functions

2009-04-30 Thread Daniel Brown
On Wed, Apr 29, 2009 at 22:32, Raymond Irving wrote: > > What do you think? Can they make it into 5.3? Not when doing the ternary operator that you even displayed yourself takes up less code and time than a core function would. It's a good idea, but better handled on the frontend of things.

Re: [PHP] Can includes be used for head tags?

2009-05-11 Thread Daniel Brown
On Mon, May 11, 2009 at 12:41, Gary wrote: > I was thinking of creating a php include for the tags for a site.  Is > this possible? Of course it would be. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans

Re: [PHP] Re: Urgent problem PCRE or DOM help

2009-05-13 Thread Daniel Brown
On Wed, May 13, 2009 at 08:48, Lenin wrote: > No one willing to help? Please don't "bump" your own threads on here. It creates unnecessary traffic. Someone will respond to you when they can, or you can explore one of the thousands of other avenues for support on the Internet. -- daniel.

Re: [PHP] SMS gateway

2009-05-13 Thread Daniel Brown
On Wed, May 13, 2009 at 10:00, Manoj Singh wrote: > Hi All, > > I need to create the SMS functionality in PHP. > > Do you have any idea of Open Source SMS gateway which i can use? http://google.com/search?q=open+source+sms+gateway If you have any idea of how SMS works, you'll know it's n

Re: [PHP] Sending SMS through website

2009-05-13 Thread Daniel Brown
On Wed, May 13, 2009 at 10:39, Andrew Williams wrote: > http://google.com/search?q=open+source+sms+gateway That looks awfully familiar, Andy ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at Pi

Re: [PHP] Shopping Cart

2009-05-16 Thread Daniel Brown
On Sat, May 16, 2009 at 05:37, Vernon St Croix wrote: > Hi, > > I am pretty new to PHP and I am trying to create a shopping cart. Just as a side note: in the future, please do not cross-post on multiple lists. For general questions, this is the right place. The PHP-DB list is just for datab

Re: [PHP] Shared memory - linx and PHP newbie

2009-05-21 Thread Daniel Brown
On Thu, May 21, 2009 at 10:15, Richard W wrote: > > Any help will be greatly appreciated, especially answering 2) as to why I > can't read the data. Are you certain that the problem lies within the shmop reading? Check to see if the file is actually being accessed properly, the key is good fr

Re: [PHP] urgent CSS question

2009-05-22 Thread Daniel Brown
On Fri, May 22, 2009 at 08:02, Michael A. Peters wrote: > > If I recall - it is illegal to end a css class name is a number. > I'm not positive though. You are correct. They just executed a man in Texas for this. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ ||

Re: [PHP] WHY ARE lists.php.ne USER EMAIL BEING PUBLISH ON THE INTERNET

2009-05-22 Thread Daniel Brown
On Fri, May 22, 2009 at 06:42, Andrew Williams wrote: > WHY IS php-general@lists.php.net PUBLISHING USER EMAIL ON THE INTERNET: > > http://www.google.co.uk/search?q=sumitphp5%40gmail.com&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enGB303GB303&aq=t This has been the case for many, many years,

Re: [PHP] Why does PHP have such a pain in the a$$ configuration file?

2009-05-26 Thread Daniel Brown
On Tue, May 26, 2009 at 13:30, wrote: > Something that seriously annoys me about PHP is the fact that it has > a configuration file which can *completely* change the behaviour of > the language. We are very, very sorry that we've created an extensible language that pleases thousands upon tho

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread Daniel Brown
On Wed, May 27, 2009 at 09:08, Stuart wrote: > > There's like 37 different things it could be, none of which have > anything to do with PHP. You may find someone on this list willing to > help you out, but your better bet would be to find a list more suited > to the problem. I will help.

Re: [PHP] PHP scalability problem

2009-05-27 Thread Daniel Brown
On Tue, May 26, 2009 at 23:26, tRace DOliveira wrote: > What I am trying to achieve is to have the server do less processing. Like I > said PHP is a server side scripting language and each time a request is made > a process is spawned and processes are heavy weight as compared to a thread > whi

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Daniel Brown
On Thu, May 28, 2009 at 09:20, Olexandr Heneralov wrote: > Hi! > Guys, you of course, know that  ASP.NET becomes more and more popular in the > world. > I have a question for everyone: > Can it happen so that PHP will be replaced with ASP.NET? The myth-in-phrase "there is no such thing as a s

Re: [PHP] PHP vs ASP.NET

2009-05-28 Thread Daniel Brown
On Thu, May 28, 2009 at 09:39, Robert Cummings wrote: > > It's not really a stupid question. Some people aren't sufficiently aware > of other technologies to know the answer. It may seem simplistic to many > of us, but not to those new to the culture. Well, even though I forgot to tack-on my

Re: [PHP] Re: mysql create table with date or timestamp

2009-05-28 Thread Daniel Brown
On Thu, May 28, 2009 at 11:15, Andrew Ballard wrote: > > Make that a 'comma', not the 'coma' that I seem to be in.  :-) Eh, it's your birthday. You're allowed. ;-P Happy birthday, by the way. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pi

Re: [PHP] cURL loop?

2009-05-29 Thread Daniel Brown
On Thu, May 28, 2009 at 23:31, espontaneo wrote: > > Hello! I am currently working on a script that will scrape data from a > property advertising web page. The web page has multiple pages. What I'm > getting is only the first page. What I wanted to do is to use curl to scrape > all the data from

Re: [PHP] Jacob's Calendar

2009-06-01 Thread Daniel Brown
On Mon, Jun 1, 2009 at 00:55, Jacob Kutty wrote: > Hi > > I am creating a birthday calendar of all my friends and family.  Can you > please click on the link below to enter your birthday for me? > > http://www.birthdayalarm.com/bd2/85206071a420999425b1469532889c603775600d905 Please do not se

Re: [PHP] Re: PHP vs ASP.NET

2009-06-01 Thread Daniel Brown
On Mon, Jun 1, 2009 at 17:08, Lists wrote: > > I usually prefer a language called WebDNA [...] [snip!] > > -- >  =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >  D. BROOKE                       EUCA Design Center >                               WebDNA Software Corp. I could be way off-b

Re: [PHP] Re: PHP vs ASP.NET

2009-06-01 Thread Daniel Brown
On Mon, Jun 1, 2009 at 17:44, Eddie Drapkin wrote: > > Completely off topic, but www.pilotpig.net is down or buggered or > something!  Looks like a squatter to me >.> Looks fine to me, but you may have caught it while I was swapping over some junk with GoDaddy. They're not as seamless as the

Re: [PHP] Re: PHP vs ASP.NET

2009-06-01 Thread Daniel Brown
On Mon, Jun 1, 2009 at 17:25, Lists wrote: > > Most definitely, as I stated (or alluded to) in a previous post. Absolutely. There was nothing malicious intended by my comment with your particular post. With some folks who come around trolling threads to tout their sites and services, yes, b

Re: [PHP] Perplexing problem.

2009-06-05 Thread Daniel Brown
On Fri, Jun 5, 2009 at 11:28, Gary wrote: > I have a form script that is not cooperating.  When I fill out this form,  I > get the checkbox "yes", but not the checkbox "info" Also, in the message on > the result page that displays, I get "Yes, send me referral Caards! at > the bottom.  ( I have

Re: [PHP] Perplexing problem.

2009-06-05 Thread Daniel Brown
On Fri, Jun 5, 2009 at 11:50, Gary wrote: > As usual, thank you for your help.  How do I get it to display in the emails > only if the boxes are checked? -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at Pi

Re: [PHP] smallA framework, over 140 characters for twitter ;)

2009-06-08 Thread Daniel Brown
On Sun, Jun 7, 2009 at 12:51, Rolando Santamaria Maso wrote: > This is a very small framework for PHP inspired by the framework of Fabien > Potencier (http://twitto.org/). Awesome. As soon as we can throw security out the window and listen to it splat on the sidewalk below, it looks like that

Re: [PHP] smallA framework, over 140 characters for twitter ;)

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 10:24, Andrew Ballard wrote: > > C'mon, Dan. Obviously you aren't aware of the first line of the > script, which was simply omitted by the OP: > > > require "magic_fairy_dust.php"; Good point. In all fairness, I don't know that they don't have prepended includes on the

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 11:51, Bastien Koert wrote: > > > > -- > > Bastien > > Cat, the other other white meat Hey, Bastien the other other white meat got your tongue. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 11:48, tedd wrote: > Hi gang: > > I've heard that php can be used for more than web programming, but I am not > aware of specifically how that can be done. So, let me ask directly -- can > php be used to create a Mac Application? > > If so, how? Probably the most well-kn

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 11:53, Richard Heyes wrote: > Hi, > >> I've heard that php can be used for more than web programming, but I am not >> aware of specifically how that can be done. So, let me ask directly -- can >> php be used to create a Mac Application? >> >> If so, how? > > Don't know about

Re: [PHP] Show the entire browser request

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 12:07, Dotan Cohen wrote: > I need to diagnose a web browser problem, and I'd like PHP to return a > page that shows the entire browser request, exactly as it was sent. It > would naturally contain all the data in the HTTP Headers Information > from phpinfo() but formatted ex

Re: [PHP] Show the entire browser request

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 12:17, Dotan Cohen wrote: > > Thanks, Daniel, but I am trying to help someone who is writing a > text-based web browser but gets "Bad Request" messages from some > websites. As he is able to visit http://simplesniff.com (my site) I > figured that

Re: [PHP] php applications

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 12:33, Matty Sarro wrote: > Real men use perl ;) 's/Real men/Masochists' -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 -- PHP General Mailing Li

Re: [PHP] key for in_array()

2009-06-08 Thread Daniel Brown
On Mon, Jun 8, 2009 at 17:33, Dee Ayy wrote: > array_search > in the See Also section for in_array docs? You and Andrew are quick today. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Co

Re: [PHP] How does caching work?

2009-06-09 Thread Daniel Brown
On Tue, Jun 9, 2009 at 16:35, Paul M Foster wrote: > > But if a page is populated with variables from a database (for example) > which could change from time to time, how could a caching engine > possibly cache it? How would it determine whether to re-fetch the page > or use the cached version?

Re: [PHP] php applications

2009-06-09 Thread Daniel Brown
On Tue, Jun 9, 2009 at 20:42, Robert Cummings wrote: > > From my POV, better than writing "Programmed desktop applications in VB". > But that's just my POV :) Did I happen to tell you that's what I've been doing all day, or are you just *that* good at making me miserable --- even when it's not

Re: [PHP] php applications

2009-06-09 Thread Daniel Brown
Hate to police threads here, but please don't top-post. On Tue, Jun 9, 2009 at 21:48, Michael wrote: > This was about half of my point, writing these applications in PHP is > difficult, it is a task to be overcome. PHP requires cajoling into being > useful. Your solution to "use the Java exten

Re: [PHP] php applications

2009-06-10 Thread Daniel Brown
On Wed, Jun 10, 2009 at 08:37, tedd wrote: > > Beside, this is how languages evolve. There is no job that any tool is > designed for. The "job" is our current perception of the task at hand and > that is always changing. That's the point I was trying to get at in the email I wrote last night t

Re: [PHP] PHP as Server Side for a Web Database Application.

2009-06-10 Thread Daniel Brown
On Wed, Jun 10, 2009 at 01:41, R. S. Patil wrote: > Hi, > > We are in phase of evaluating PHP as Serverside technology for our first web > application. > We have finalized Flex for user interface and Birt as reporting engine. Now > the data services > are to be evaluated. Flex forums recommended us

Re: [PHP] php applications

2009-06-10 Thread Daniel Brown
On Wed, Jun 10, 2009 at 08:59, Robert Cummings wrote: > > Don't you have VB applications to write? And this after I just mentioned your name in another thread without throwing up in my mouth. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.ne

Re: [PHP] PHP as Server Side for a Web Database Application.

2009-06-10 Thread Daniel Brown
On Wed, Jun 10, 2009 at 09:06, Robert Cummings wrote: > > Dan, I'd appreciate it if you wouldn't share our pillow talk with the list > at large. Oh, stop, it's not like I mentioned the rash for which you've been getting that cream. -- daniel.br...@parasane.net || danbr...@php.net http://www

Re: [PHP] PHP as Server Side for a Web Database Application.

2009-06-10 Thread Daniel Brown
On Wed, Jun 10, 2009 at 09:11, Daniel Brown wrote: > On Wed, Jun 10, 2009 at 09:06, Robert Cummings wrote: >> >> Dan, I'd appreciate it if you wouldn't share our pillow talk with the list >> at large. > >    Oh, stop, it's not like I mentioned the rash

Re: [PHP] PHP as Server Side for a Web Database Application.

2009-06-10 Thread Daniel Brown
On Wed, Jun 10, 2009 at 09:14, Robert Cummings wrote: > > He was quite active... when I raised a really good point all he could do was > scream. and it is at this point that I would like to remind you that we are on the air, gentlemen, live and being recorded for future generations to sea

Re: [PHP] php applications

2009-06-10 Thread Daniel Brown
On Wed, Jun 10, 2009 at 09:16, tedd wrote: > > That's Okay, I just say it better than you.  :-) Show-off. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 -- PHP General M

Re: [PHP] Re: ezmlm response

2009-06-11 Thread Daniel Brown
On Thu, Jun 11, 2009 at 13:24, Mika Pohjola wrote: > It could be arti...@bluemusicgroup.com or m...@bluemusicgroup.com > > Please, remove. Thanks. Mika, You will need to do this yourself at http://php.net/mailinglists. If it's a different address forwarding to your primary that is subscri

Re: [PHP] Field type for american money

2009-06-11 Thread Daniel Brown
On Thu, Jun 11, 2009 at 16:08, revDAVE wrote: > Php - MySQL - newbie question > > - Field type for american money - int(11) seems to work fine > > - but also I tried decimal(10,2) > > Is one a better choice than another for american money usage? For PHP, check out money_format(), number_format

Re: [PHP] CURL intermittant problem

2009-06-11 Thread Daniel Brown
On Thu, Jun 11, 2009 at 19:07, ioan...@btinternet.com wrote: > > The target URL works perfectly and quicly if put directly into the browser > URL line. > > Do you know of any other reasons for problems with such a connection? Is the script being run located on the same system as which you're u

[PHP] include file in a class with global/parent scope?

2009-06-14 Thread Daniel Kolbo
Hello, I understand the why $vars is not in the global scope, but i was wondering if there was a way from within the class file to include a file in the parent's scope? i tried ::include('vars.php'), parent::include('vars.php'), but this breaks syntax... Please consider the following three files

Re: [PHP] include file in a class with global/parent scope?

2009-06-16 Thread Daniel Kolbo
;; > >function cinclude($filename) { >extract( $GLOBALS ); >include('vars.php'); >echo "In class $vars\n"; >} > } > > On Sun, Jun 14, 2009 at 1:41 PM, Daniel Kolbo <mailto:kolb0...@umn.edu>>

Re: [PHP] include file in a class with global/parent scope?

2009-06-16 Thread Daniel Kolbo
Hello, I've cleaned up my question a bit. I want the included file which is called within a method of a class to have the same scope as the instantiation of the class's object. That is, i want a class to include a file in the calling object's scope. How would one do this? 'test.php' cinclude()

<    9   10   11   12   13   14   15   16   17   18   >