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

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

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] 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] 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: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] 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] 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] 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] [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 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] 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] [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] [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] [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] [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] [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
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] 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] 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] 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] 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] 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] 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] 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: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] 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] password field validation

2009-03-12 Thread Daniel Brown
On Thu, Mar 12, 2009 at 15:05, Jason Todd Slack-Moehrle wrote: > > if (empty($_POST[PASSSWORD])) > { $GERROR="TRUE";} [snip!] > What am I doing wrong? Spelling. "Password" only has two S's. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilot

Re: [PHP] Copy Non-Text file from One Server to Another Issues

2009-03-12 Thread Daniel Brown
On Thu, Mar 12, 2009 at 14:51, Alice Wei wrote: > > Warning: file_get_contents() expects parameter 1 to be string, resource > given in C:\Inetpub\wwwroot\test\hello.php on line > 18 Freshman mistake. $file2 = fopen($copydir . "/play.txt", "w+"); You're trying to read a data stream i

Re: [PHP] Header - Redirect Command Not Working

2009-03-11 Thread Daniel Brown
On Wed, Mar 11, 2009 at 14:12, Shawn McKenzie wrote: > > Though the w3c HTML/XHTML standards do show the META tag inside the > head, hence the validation errors > (http://validator.w3.org/#validate_by_input): Right, which should be no surprise. Validation follows the recommended guidelines (

Re: [PHP] Header - Redirect Command Not Working

2009-03-11 Thread Daniel Brown
On Wed, Mar 11, 2009 at 12:38, Jan G.B. wrote: > > One more thing to mention: The HTTP Protocoll requires you to give a > full URL on "Location" Headers. That means that this is wrong: > "Location: file.txt" > and this is correct > "Location: http://www.x.x/file.txt"; > > Not all clients behave li

Re: [PHP] Spam on the list?

2009-03-10 Thread Daniel Brown
On Tue, Mar 10, 2009 at 19:37, דניאל דנון wrote: > > Can anyone explain, first, > Why doesn't the usual PHP-MailingList-Footer appears? It's SPAM. Not much we can do about it in an open forum, unfortunately. Just ignore it. > Second, What is the "out_of_the_list" email thing all about? Wil

Re: [PHP] whoami explanation

2009-03-10 Thread Daniel Brown
On Tue, Mar 10, 2009 at 15:31, 9el wrote: > > I'm trying to find whoami here :D You mean to say: "I'm trying to find whyami here." ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPi

Re: [PHP] Header - Redirect Command Not Working

2009-03-10 Thread Daniel Brown
On Tue, Mar 10, 2009 at 15:13, revDAVE wrote: > Newbie question... > > At the end of a php block I'm trying to use a redirect to go to another > page. > > header('Location: show.php'); > > It works on my test server w php 5.2.6 but not at the main server w v 5.12 Did you already have some out

Re: [PHP] Script execution

2009-03-10 Thread Daniel Brown
On Tue, Mar 10, 2009 at 01:23, Paul M Foster wrote: > > (Dan, make the check out to... ;-) > > Paul I prefer PayPal. Thanks to the Postal Service, the cost of a stamp is probably more than a bribery or endorsement payment. :-\ -- daniel.br...@parasane.net || danbr...@php.net http://www.p

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:39, haliphax wrote: > > That, or "***holes." That's what my name tag says. -- 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 Mail

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:21, Daniel Brown wrote: > >    Re-read the context of that first paragraph from the OP and you'll > see why I presume (as opposed to *ass*ume) that, despite his > experience with Windows, this is a *NIX-like setup. DISCLAIMER: This was supposed

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:17, haliphax wrote: > > OP is a Windows user. I am assuming that they are using Windows. Re-read the context of that first paragraph from the OP and you'll see why I presume (as opposed to *ass*ume) that, despite his experience with Windows, this is a *NIX-like setup

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 16:59, George Larson wrote: > > Am I imagining things?  If not, how would I properly make them able to run > through a browser? You're not imagining things. In general, unless set up with SuExec privileges, Apache (which is probably the HTTP server you're using) will r

Re: [PHP] stdin, stdout, stderr, 3

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 11:14, Per Jessen wrote: > > "UNIX Channel 3" ?? Sorry, Per, I must've stuttered. Yes, I said, "UNIX Channel 3." For lack of a better reference. That not withstanding, the direct response to Lynch's question still holds true. > It's just file descriptor 3, that's all

Re: [PHP] stdin, stdout, stderr, 3

2009-03-09 Thread Daniel Brown
On Sun, Mar 8, 2009 at 22:35, Richard Lynch wrote: > I have a program sending/receiving data to/from my CLI script using: > > 0 stdin > 1 stdout > 2 stderr > 3 ?? UNIX Channel 3 is a non-standard stream resource, though I don't believe it's even yet been given a name, so we'll have to cha

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Daniel Brown
On Sat, Mar 7, 2009 at 15:23, Robert Cummings wrote: > > > for( ; ; ) > { >    echo "You can make an endless loop in many, many ways.\n"; > } > > ?> -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at Pilot

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Daniel Brown
On Sat, Mar 7, 2009 at 02:12, Paul M Foster wrote: > > Someone would add gotos to a language *on purpose*?! Keep in mind that, unlike BASIC, the PHP implementation of GOTO will go to a label. Don't worry, you don't have to start line programming. (Those of you who read multiple threa

Re: [PHP] VAT number validation

2009-03-07 Thread Daniel Brown
On Sat, Mar 7, 2009 at 05:49, Clara wrote: > > Thanks a lot, > > I will better set an iframe to the official validator as a start :) Clara, In the future, please just start a new thread as opposed to hijacking on that is six months old. It'll get more attention and keep things organized

Re: [PHP] Re: if elseif elseif elseif....

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 19:29, Clancy wrote: > > Great news! .. Now ALL I have to do is to persuade my host to update from > 4.3.9. (or > maybe switch!) If your host is only using PHP4, you probably should switch because who knows what else they've chosen not to upgrade. Check out th

Re: [PHP] PHP and named groups in regex/PCRE

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 19:12, Daevid Vincent wrote: > A friend was showing off his regex-fu and the virtues of "named groups" > and how great Python is, knowing that PHP had to be equally as good > (since it uses the same PCRE libraries), we whipped up this little test. > So now us PHP folks can e

Re: [PHP] Re: if elseif elseif elseif....

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 09:15, Robert Cummings wrote: > > I remember the internals debate about 2 or 3 years ago. I was on the pro > goto side... it does have uses when used properly. I wholeheartedly concur. The first programming language I taught myself was BASIC about 23 years ago. We may

Re: [PHP] include question

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 08:53, Stuart wrote: >> >>        1.) We use regular open tags to be compatible with all stock >> PHP configurations. >>        2.) We echo out the response from dirname() so that it's >> output to the HTML source. >>        3.) We use dirname() twice, so it gives the dirnam

Re: [PHP] Re: if elseif elseif elseif....

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 08:53, Daniel Brown wrote: > >    Then you'll be happy with the advent of PHP6: > >        http://php.net/goto Uhh yeah, and 5.3 before that even. Duh. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilo

Re: [PHP] Re: if elseif elseif elseif....

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 00:12, Clancy wrote: > > Don't take me too seriously on this. But it riles me that the same peoplewho > threw out the > GOTO as being too dangerous could then introduce the break statement which, > as I said, > it's like a GOTO without a target. As a long-time assembly pro

Re: [PHP] include question

2009-03-06 Thread Daniel Brown
On Fri, Mar 6, 2009 at 08:37, PJ wrote: > good morning all, > > How can I include src and href in include files that will refer the > right paths from files in different hierarchies(directory tree levels)? > Example: > include dirname(_FILE_)."/../lib/header1.php"; ? > > This does not work: > snip

Re: [PHP] Testing gmail submission

2009-03-05 Thread Daniel Brown
On Thu, Mar 5, 2009 at 10:05, haliphax wrote: > > Indeed, it is I! Now, if I can only figure out how to keep GMail from > mangling quotes... ah, there's the Plain Text button! :) Yeah, and if only we could get a GreaseMonkey script to stop top-posting by default. Not to suggest that you did,

Re: [PHP] Testing gmail submission

2009-03-05 Thread Daniel Brown
On Thu, Mar 5, 2009 at 09:20, haliphax wrote: > Got tired of using Microsoft Outlook to sort the PHP list discussions... > apparently a lot of people use GMail for this, so I figured I would hook it > into my GMail account and see what happens. Boyd? -- daniel.br...@parasane.net || danbr..

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 22:46, VamVan wrote: > > Hey Guys I have  Question. I just noticed that once the whoami thread > reached 100 posts it automatically created another thread. Is this intended? > > Can a discussion be only 100 post's long?? > > Just out of curiosity :) In Gmail, yes. That

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 20:28, Shawn McKenzie wrote: > > Well, the ground beef is actually tartar and it goes without saying that > it would be topped with foie gras and grape chutney with caviar on the side. with gold-plated platinum flakes and diamond-dust salt. -- daniel.br...@paras

Re: [PHP] if elseif elseif elseif....

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 20:10, Al wrote: > > $obligatoryFieldNotPresent=null; > > foreach($_POST, as $value) > { >        if(!empty($value)continue; Parse error. ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hos

Re: [PHP] if elseif elseif elseif....

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 17:51, PJ wrote: >    elseif ($obligatoryFieldNotPresent = 1) { >            $obligatoryFieldNotPresent = 0; >    } Are you certain you only wanted a single equal operator in the last elseif() condition? Further, are you sure it should even be an elseif() and not a str

Re: [PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 15:26, Robert Cummings wrote: > > See this setting in your php.ini: > > memory_limit = ???M Also let us know what you're using for the database and how you're doing it. You mention that the .dat files are 4-5MB, but don't say if that's the database you're using, or if

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 15:07, Ashley Sheridan wrote: >> > Yeah, been crazily busy with both my regular job and freelance stuff. I > think I'm booked up to Armageddon now :-/ Good for you. It means you're definitely doing something right. -- daniel.br...@parasane.net || danbr...@php.net ht

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 15:03, Ashley Sheridan wrote: > On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote: >> Secondly, if you are getting a different response from Google, >> Sally, then you didn't use the same input > > I'd beg to differ. It's well k

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 13:31, PJ wrote: > am I vindicated  ;-) Eh. Whether or not it is true in practice, in theory it certainly sounds plausible to have varying results. However, your argument, verbatim, wasn't entirely with merit. ;-P All in all, sure. At the least, it shows th

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 12:28, Stuart wrote: > > As I understand it, and like you I certainly don't claim to know for sure, > clusters within the Google infrastructure sometimes fall behind with their > copy of the the index which can mean different results even between page > reloads. Never seen t

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 11:31, Stuart wrote: > > The results returned by Google are not constant. They vary based on your > location, which domain you're using, which index instance you hit and a > number of other things, most of which are not public. It is more than > possible that PJ did get diff

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 11:20, Boyd, Todd M. wrote: > > I think it's a Queen song, actually... Mama-mia. -- 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] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 10:52, Robert Cummings wrote: > > *runs away while lightning bolts strike him over and over* Would the sound to accompany this mental image be one of a Daffy Duck or Woody Woodpecker nature? -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ ||

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 10:42, PJ wrote: > Right on.  Good comments. > No offense taken and none intended. > I am enoying the list and will continue to participate, if i may. > I have learned a great deal already and really do appreciate the help. So you mentioned your involvement in televisio

<    6   7   8   9   10   11   12   13   14   15   >