Re: [PHP] GD to database directly

2006-07-11 Thread Kevin Waterson
images in the db or simnply storing them on the server. You are making a db request and a file system request. Rather than a single request to the db. What is a file system if not a database? Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb

Re: [PHP] GD to database directly

2006-07-11 Thread Kevin Waterson
much of a performance hit? Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Startinga shell process with a life of its own

2006-07-11 Thread Kevin Waterson
This one time, at band camp, Daevid Vincent [EMAIL PROTECTED] wrote: I wish PHP would add threading. We write enterprise level products with PHP, and we end up using DBUS and letting Ruby do all the real work. submit patch Kevin -- Democracy is two wolves and a lamb voting on what to have

Re: [PHP] GD to database directly

2006-07-13 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: It's coming FROM THE FILE SYSTEM. databases can be stored on RAW partitions, thus eliminating FILE SYSTEM overhead Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb

Re: [PHP] GD to database directly

2006-07-13 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: You really need to TEST your assumption about the DB being faster. Do you _really_ think I am speaking without testing any of this?? I once wrote an article on this very topic in PHP mag and published the benchmarks. Kevin

Re: [PHP] GD to database directly

2006-07-13 Thread Kevin Waterson
are yours? Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD to database directly

2006-07-14 Thread Kevin Waterson
, I have never run into them. Nor has terraserver which stores hundreds of thousands of images in its db, although not mysql. Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http

Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock

2006-07-15 Thread Kevin Waterson
relying on the good will of the open source/PHP folks for tech support? If we should support Zend products, why not other commercial applications also? Is Zend hoping for volunteer contributions for commercial enterprises? Should we support Zend business partners also? Kind regards Kevin

Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock

2006-07-16 Thread Kevin Waterson
here scenario, but where do folks draw the line? Kind regards kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD to database directly

2006-07-16 Thread Kevin Waterson
regards Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xml v php question

2006-07-25 Thread Kevin Waterson
This one time, at band camp, Larry Garfield [EMAIL PROTECTED] wrote: The correct answer is (b). (PHP 6 won't even have short tags, so get used to not having them.) ummm, I think it was decided to stay in php6. I could be mildly/wildly mistaken Kevin -- Democracy is two wolves

Re: [PHP] PHP Frameworks - Opinion

2006-08-01 Thread Kevin Waterson
. If you want something solid and mature, you cant go past ezPublish and ezComponents http://www.ez.no Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Multiple Includes vs. One Long Include (Functions)

2006-08-08 Thread Kevin Murphy
); // one long page, but only called once. vs. require (function1.php);// multiple short pages with multiple calls. require (function2.php); require (function4.php); require (function6.php); require (function8.php); -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada

Re: [PHP] Dividing, and keeping, text from the first space

2006-08-09 Thread Kevin Murphy
= explode( ,$string); $first_word = $array[0]; $rest_words = substr_replace($string,,0,strlen($first_word)); -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326

[PHP] Re: [css-d] Where CSS, XHTML and Javascript meet

2006-08-21 Thread Kevin Murphy
Don't forget that you can also do the CSS inline: body style=background: url(/images/$random_image) And then also in the CSS file have all the other declarations for the body tag. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775

[PHP] Format of Encrypted Password

2006-09-05 Thread Kevin Murphy
letters) and don't appear to have any punctuation (although it could be just the few I am looking at that don't). Is there any way to tell how these passwords were encrypted? -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445

Re: [PHP] Format of Encrypted Password

2006-09-05 Thread Kevin Murphy
On Sep 5, 2006, at 4:14 PM, Robert Cummings wrote: On Tue, 2006-09-05 at 15:27 -0700, Kevin Murphy wrote: I've inherited this website and there is an application that is running on it that has a bunch of passwords stored in a mysql table. The problem is, the previous webmaster didn't leave me

Re: [PHP] Format of Encrypted Password

2006-09-05 Thread Kevin Murphy
. Is that a mysql part that I am not familiar with and that I should know? I've been known to miss obvious stuff before. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Sep 5, 2006, at 4:25 PM, Chris W. Parker wrote

Re: [PHP] Format of Encrypted Password

2006-09-07 Thread Kevin Murphy
? -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Sep 7, 2006, at 12:50 PM, Eric Butera wrote: On 9/5/06, Kevin Murphy [EMAIL PROTECTED] wrote: $query = select name from table where name = '$authuser' and password

Re: [PHP] if statement with or comparison (newbie)

2006-09-08 Thread Kevin Murphy
Shouldn't that be this instead: if (($_REQUEST['id'] != black) OR ($_REQUEST['id'] != white)) { echo wrong color; } else { echo right color; } -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu

[PHP] Filter MS Word Garbage

2006-09-12 Thread Kevin Murphy
it into BBEdit and use the convert to ASCII command that solves the problem. Is there some way I can filter/convert this information before it gets to the mysql database? -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326

[PHP] Reverse of date(w)

2006-09-18 Thread Kevin Murphy
I'm looking for something that will convert a the opposite of the date (w) function. In other words, if I have the number 3, I would like it to return Wednesday. Is there such a beast out there besides writing a switch or array or something? -- Kevin Murphy Webmaster: Information

Re: [PHP] Reverse of date(w)

2006-09-18 Thread Kevin Murphy
like that? Oh, and it has to run on PHP 4. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Sep 18, 2006, at 3:18 PM, Jay Blanchard wrote: [snip] I'm looking for something that will convert a the opposite of the date (w

Re: [PHP] Reverse of date(w)

2006-09-19 Thread Kevin Murphy
Kevin Murphy wrote: Not really. If it were always today that would work, but in this case, I was thinking of storing a day of the week in a database (3), and then display the info based on that digit. So assuming that the number was in fact 3, then: echo date(D,3); Would return Wed

Re: [PHP] Help converting C to PHP

2006-09-21 Thread Kevin Waterson
This one time, at band camp, Tom Atkinson [EMAIL PROTECTED] wrote: Hello, I am attempting to convert this code for generating the digits of pi from the original C (below) to PHP. is this for codegolf? Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty

Re: [PHP] Help converting C to PHP

2006-09-21 Thread Kevin Waterson
is the winner. Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail Problem

2006-09-26 Thread Kevin Murphy
-9-]+\.[a-zA-Z0-9.-]+$/si, $data)) { $email_error = yes; } -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Sep 26, 2006, at 9:09 AM, [EMAIL PROTECTED] wrote: I have an issue with sending email via PHP which may

[PHP] Remove Spaces from Middle of String

2006-10-03 Thread Kevin Murphy
(preg_match('/ /',$data)) { $data = str_replace( , ,$data);} Is there a better way to accomplish this same task? (PHP 4.x). Thanks. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326

Re: [PHP] Remove Spaces from Middle of String

2006-10-03 Thread Kevin Murphy
Works perfect! Thanks. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Oct 3, 2006, at 3:30 PM, Robert Cummings wrote: On Tue, 2006-10-03 at 15:17 -0500, Richard Lynch wrote: On Tue, October 3, 2006 1:47 pm, Richard

Re: [PHP] Retrieving values from array on a class

2006-10-14 Thread Kevin Waterson
__clone(){ } } /*** end of class ***/ Just a thought Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parsing serialized PHP arrays in C

2006-10-21 Thread Kevin Wilcox
will port to a stand alone application without extensive modifications. Any help would be greatly appreciated. Thanks, Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Job Opening

2006-10-26 Thread Kevin Waterson
This one time, at band camp, Larry Garfield [EMAIL PROTECTED] wrote: My company is looking for a few good PHP programmers. 8--- snip - As a follow-up, since several people have asked: ---8 --- snip - How much?? Kevin -- Democracy is two wolves

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Kevin Waterson
This one time, at band camp, Ed Lazor [EMAIL PROTECTED] wrote: ps... I wonder if .NET will ever support PHP *GRIN* or perhaps something to counter php-gtk... win32php that would would be interesting Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty

Re: [PHP] OO website/program doubt

2006-11-01 Thread Kevin Waterson
This one time, at band camp, bruce [EMAIL PROTECTED] wrote: does php provide the ability to store objects in a session var yes http://phpro.org/tutorials/Introduction-to-PHP-Sessions.html#8 Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well

Re: [PHP] Problem with PHP 5.2.0

2006-11-13 Thread Kevin Waterson
This one time, at band camp, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. I just installed PHP 5.2.0 and I'm running into some strange problems. xdebug Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP

Re: [PHP] Hide Warnings

2006-11-17 Thread Kevin Waterson
This one time, at band camp, Stein Ivar Johnsen [EMAIL PROTECTED] wrote: Hi.. How can I hide Warning messages so they are not shown on screen..: code properly... -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. --

Re: [PHP] PHP Programmers

2006-11-18 Thread Kevin Waterson
This one time, at band camp, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone know of a good website, which rates PHP programmers? or Does anyone know of a good, trustworthy, reliable, and reasonably price programmer(s)? You get to choose any two of the above only. enjoy --

Re: [PHP] multiple upload files?

2006-11-21 Thread Kevin Waterson
This one time, at band camp, Stut [EMAIL PROTECTED] wrote: Does anybody know if yes/no? Quick example here... http://phpro.org/examples/Mulitple-file-upload.html Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote

Re: [PHP] Please hack my app

2006-11-22 Thread Kevin Waterson
This one time, at band camp, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote: *** THIS IS NOT ABOUT HACKING THE SERVER *** But about getting in the application when you're not allowed to! So, basically, you want _us_ to do _your_ bug checking?? Kevin -- Democracy is two wolves and a lamb voting

Re: [PHP] Please hack my app

2006-11-22 Thread Kevin Waterson
This one time, at band camp, Rory Browne [EMAIL PROTECTED] wrote: you can hire - Chris Shiflett. BWAHAHAHAHAHAHAHH I actually did laugh... -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- PHP General Mailing

[PHP] Preg_match - Find URL and convert to lower case

2006-11-30 Thread Kevin Murphy
to all lowercase by doing something like this? Or is there a better way? $pattern = /WWW.(.*?) /i; $replace = a href=\http://www.\\1\;http://www.\\1/a; $section_notes = preg_replace($pattern,$replace,$section_notes); -- Kevin Murphy Webmaster: Information and Marketing

Re: [PHP] Preg_match - Find URL and convert to lower case

2006-11-30 Thread Kevin Murphy
Well the problem would be then that the entire string would be lower case, and I only can have the link as lower case. Is there a way to apply strtolower into the preg_match? -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445

[PHP] Re: SOLVED: [PHP] Preg_match - Find URL and convert to lower case

2006-11-30 Thread Kevin Murphy
. But, it works now. Thanks for the help. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Nov 30, 2006, at 3:04 PM, Kevin Murphy wrote: Well the problem would be then that the entire string would be lower case, and I

Re: [PHP] Re: Preg_match - Find URL and convert to lower case

2006-12-01 Thread Kevin Murphy
On Nov 30, 2006, at 7:50 PM, Jonesy wrote: On Thu, 30 Nov 2006 14:16:16 -0800, Kevin Murphy wrote: I have some text that comes out of a database all in uppercase (old IBM Mainframe that only supports uppercase characters). I see via other followups that you have your kludge working

Re: [PHP] Preg_match - Find URL and convert to lower case

2006-12-01 Thread Kevin Murphy
On Dec 1, 2006, at 1:56 PM, Richard Lynch wrote: On Thu, November 30, 2006 5:04 pm, Kevin Murphy wrote: Well the problem would be then that the entire string would be lower case, and I only can have the link as lower case. Is there a way to apply strtolower into the preg_match? Why not use

[PHP] Count empty array

2006-12-21 Thread Kevin Murphy
one give me an answer of 0 instead of 1. I know I could do a IF $data == [empty] and then not count if its empty and just set it to 0, but am wondering if there was a better way. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775

[PHP] New ImageMagick Extension

2006-12-24 Thread Kevin Waterson
Just what all long suffering image folks have been needing http://phpro.org/phpdev/New-ImageMagick-Extension.html When finished, this should be alot of fun. K -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [JOB] Seeking PHP/Perl programmer willing to learn mod_perl - Charlotte, NC

2007-01-02 Thread Kevin Old
://jobs.perl.org/job/5100 Please direct any replies to [EMAIL PROTECTED] Thanks, -- Kevin Old [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sort Array not working

2007-01-09 Thread Kevin Murphy
. Obviously I'm doing something wrong here. I'm using PHP 4.3.4. Any suggestions? -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326

[PHP] Re: SOLVED: [PHP] Sort Array not working

2007-01-09 Thread Kevin Murphy
Once you see it in email, sometimes the obvious jumps out at you. Fixed this on my own. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Jan 9, 2007, at 10:41 AM, Kevin Murphy wrote: I'm having trouble sorting

Re: [PHP] dynamic lists

2007-01-17 Thread Kevin Murphy
or submitting the form. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326

Re: [PHP] dynamic lists

2007-01-17 Thread Kevin Murphy
On Jan 17, 2007, at 2:20 PM, Jochem Maas wrote: Kevin Murphy wrote: On Jan 17, 2007, at 1:39 PM, Brad Fuller wrote: -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 17, 2007 4:05 PM To: Don; php-general@lists.php.net Subject: RE: [PHP

[PHP] MS purchase Yahoo

2008-03-31 Thread Kevin Waterson
Did they finally do it or is April fools com early? http://digg.com/business_finance/Microsoft_Purchase_Yahoo_For_62_Billion K -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MS purchase Yahoo

2008-03-31 Thread Kevin Waterson
On Mon, 2008-03-31 at 17:05 -0700, mike wrote: You are pathetic. Spamming your own fake digg article to your own fake news story and didn't even take the effort to host it on another domain? BWHAHAHAHHAA Thanks, nice reaction, made my day, do you have more? Kev -- PHP General Mailing

Re: [PHP] Dynamic dropdown lists (select)

2008-04-06 Thread Kevin Waterson
/tutorials/Creating-Dropdowns-with-PHP-and-Xajax.html It gives you goodness you desire Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] objects stored in sessions

2008-04-06 Thread Kevin Waterson
On Sun, 2008-04-06 at 11:02 -0400, Mark Weaver wrote: So, if I create a user object, set the properties of said user object and store that object in the user session will that object be available throughout the application from the session?

Re: [PHP] IPv6 validation

2008-07-12 Thread Kevin Waterson
This one time, at band camp, Yeti [EMAIL PROTECTED] wrote: Now i was wondering of what there might be the best way to validate an IPv6 address. from this url.. http://phpro.org/tutorials/Filtering-Data-with-PHP.html#9 ?php /*** an IP address ***/ $ip =

Re: [PHP] IPv6 validation

2008-07-12 Thread Kevin Waterson
or incometence. Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDO Question. Number of rows returned

2008-07-12 Thread Kevin Waterson
, sizeof/count will get you home Kevin http://phpro.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IPv6 validation

2008-07-13 Thread Kevin Waterson
This one time, at band camp, Per Jessen [EMAIL PROTECTED] wrote: No, it's a simple matter of need. People also run apache 1.x, mysql 3.x etc. There are still Linux 2.2 and 2.4 systems out there too. 4 years its been, thats incompetence. Kevin -- PHP General Mailing List (http

Re: [PHP] OpenID

2008-07-17 Thread Kevin Waterson
. Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OpenID

2008-07-18 Thread Kevin Waterson
and mediation, which has so far cost me over $1k. Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why PHP4?

2008-07-30 Thread Kevin Waterson
This one time, at band camp, Richard Heyes [EMAIL PROTECTED] wrote: I'm interested - why are people still using PHP4? It's been over 4 years (I think) - plenty of time to upgrade to five. I asked that question and was called a troll... Kevin -- PHP General Mailing List (http://www.php.net

Re: [PHP] Web2.0 style tags - where to start?

2008-07-30 Thread Kevin Waterson
This one time, at band camp, Paul Jinks [EMAIL PROTECTED] wrote: Does anyone know of any good resources on building a tagging system? The video for now will be held on a normal LAMP machine as will everything else. Tagging... http://phpro.org/tutorials/Tagging-With-PHP-And-MySQL.html Kevin

Re: [PHP] Using Ajax to populate a drop-down list

2008-08-08 Thread Kevin Waterson
This one time, at band camp, Don [EMAIL PROTECTED] wrote: Does anyone have an example of how to do this? http://phpro.org/tutorials/Creating-Dropdowns-with-PHP-and-Xajax.html enjoy, Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-20 Thread Kevin Waterson
Kind regards Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-21 Thread Kevin Waterson
poorly thought out arguments is baseless. Lastly, you forgot to send in your dues to the list to ensure unmolested posting of ridiculous statements. Please return to your rock and draw up another strategy to offend the list. See what I mean? Kevin -- PHP General Mailing List (http

Re: [PHP] Regex for email validation

2008-08-27 Thread Kevin Waterson
, but they all fail at some point. The best you can do is cater to most _sane_ addresses. And when the domain name space is opened up, well, you will back to strpos() and @ Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursive Iteration over a collection of objects

2008-09-08 Thread Kevin Waterson
This one time, at band camp, David Lidstone [EMAIL PROTECTED] wrote: which with hindsight is completely illogical! I also wasn't aware of the constants. Is there a simple tutorial / docs you know of for SPL? http://www.phpro.org/tutorials/Introduction-to-SPL.html Kevin -- PHP General

Re: [PHP] ASCII Captcha

2008-09-14 Thread Kevin Waterson
? they are denied access? Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ANN: BrowserHawk for PHP

2008-09-22 Thread Kevin E
looking forward to the feedback from the PHP community on how you like BHTG so please give it a try and let us know! Thanks, Kevin Product Engineer cyScape, Inc, www.cyscape.com Makers of BrowserHawk

Re: [PHP] question about google maps

2008-11-09 Thread Kevin Waterson
and some docs at http://www.phpro.org/classes/Phproogle-Docs.html example code can be found at http://www.phpro.org/examples/Google-Maps-With-PHP-And-Phproogle.html Kevin -- This email message (and any accompanying file attachments) may contain confidential or privileged information

Re: [PHP] Days until Easter and Christmas

2008-11-18 Thread Kevin Waterson
-Equinox.html Any improvements welcomed Kind regards Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] store class zithin session

2008-11-20 Thread Kevin Waterson
This one time, at band camp, Alain Roger [EMAIL PROTECTED] wrote: Hi, i have a class and i would like to store it zithin session. i was thinking to use serialize/unserialize but it does not work. http://www.phpro.org/tutorials/Introduction-To-PHP-Sessions.html#8 Kevin -- PHP General

Re: [PHP] Job opportunity in Denver, CO - Jr. PHP developer needed

2008-12-05 Thread Kevin Waterson
... Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A MySQL Question

2008-12-07 Thread Kevin Waterson
it Sequel or anything other than My S. Q. L MY ESS KEW ELL Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dates and Mysql

2008-12-10 Thread Kevin Waterson
/Introduction-to-PHP-and-MySQL.html#45 Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] First PHP program

2008-12-13 Thread Kevin Waterson
shall be thankful. have a look at phpro.org and for an editor, well vi(m) of course ;) set yourself a project to make something, start coding, and ask lots of questions. Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image Resizing

2008-12-21 Thread Kevin Waterson
/Imagick.html#4 Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RSS Feed on my PHP site

2009-01-06 Thread Kevin Waterson
enjoy Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-15 Thread Kevin Waterson
. The speed of development comes as you become more familiar with the environment you are developing in. Try any of the frameworks, or write you own, just avoid Zend. Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] print a to z

2009-01-15 Thread Kevin Waterson
This one time, at band camp, Leon du Plessis l...@dsgnit.com wrote: I used that notation before, and it did not work 100%. Adapt as follows: for ($i = 'a'; $i = 'z'; $i++) if ($i == aa) break; else echo $i; foreach(range('a', 'z') as $letter ) { echo $letter; } Kevin -- PHP

Re: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Kevin Waterson
a document and try to get it into xhtml and then use simplexml. I wonder how well this would work with [crappy] HTML input. $dom-loadHTML($html) Kevin http://phpro.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Kevin Waterson
This one time, at band camp, Eric Butera eric.but...@gmail.com wrote: You could also use DOM for this. http://us2.php.net/manual/en/domdocument.getelementsbytagname.php http://www.phpro.org/examples/Get-Links-With-DOM.html Kevin -- PHP General Mailing List (http://www.php.net

Re: [PHP] What's the best way to rotate, resize, and thumbnail?

2009-01-17 Thread Kevin Waterson
-On-Image-Type.html http://www.phpro.org/examples/Imagick-Thumbnail-From-Center.html but _do_ checkout imagick it has all the good toys http://www.phpro.org/tutorials/Imagick.html Kevin http://phpro.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] New PHP User with a simple question

2009-01-25 Thread Kevin Waterson
Sorry, I am also new to the etiquette of these mail lists. Hope this will get you started, http://www.phpro.org/tutorials/Introduction-to-PHP-templating.html Kevin http://phpro.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: frameworks

2009-01-30 Thread Kevin Waterson
the makers of PHP and is supposed to be a mature framework and ready for enterprise level applications. What a joke. but, just my $0.02 Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] paging

2009-02-09 Thread Kevin Waterson
On Tue, 2009-02-10 at 03:26 +, Jim Douglas wrote: http://phpro.org/tutorials/Pagination-with-PHP-and-PDO.html Does anyone have a link to any examples of paging? Kevin http://phpro.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Problem with arrays

2005-06-24 Thread Kevin L'Huillier
On 24/06/05, Josh Olson [EMAIL PROTECTED] wrote: for ($i = 0; $i count($array1); i++) $array1[$i][] = $array2[$i]; from kevin l'huillier That's basically what Mike wrote (only with array_push instead of []), and Bob improved upon. And they didn't mix the arrays up. I was only

Re: [PHP] Can't even make a simple test RSS feed

2005-06-24 Thread Kevin L'Huillier
On 6/24/05, Brian Dunning [EMAIL PROTECTED] wrote: What am I doing wrong? This doesn't work. The browser does not even load the page, no error or anything: The script looks fine and executed as expected on my machine. Try executing it from the command-line. Often if nothing loads in the

Re: [PHP] Re: Strange notation to create object

2005-06-24 Thread Kevin L'Huillier
On 24/06/05, Jason Barnett [EMAIL PROTECTED] wrote: OK I'm pretty clear on it, but now I wonder: is variable assignment (=) the only place where the Zend Engine will copy a reference instead of reference the reference? In PHP 4, function arguments work the same way. Unless you use the

Re: [PHP] Re: A Bug in string 'brbr eD'?

2005-06-26 Thread Kevin L'Huillier
Are you viewing this via a web server? It's probably returning content-type text/html, which means that you might need to htmlspecialchars() that string. That's what i was thinking. It looks like how some browsers would render that string. Could you copy the relevant code into a message?

Re: [PHP] Re: A Bug in string 'brbr eD'?

2005-06-26 Thread Kevin L'Huillier
On 26/06/05, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Kevin L'Huillier wrote: Could you copy the relevant code into a message? Sure, either set the content-type to text/plain (to see the raw string rather than have the browser interpret it as HTML), like this: Sorry, Jasper. I meant

Re: [PHP] Re: $mydata-StampDate

2005-06-27 Thread Kevin L'Huillier
On 27/06/05, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: John Taylor-Johnston wrote: I could just change the field type. But how do you calculate it? I don't see much to inspire a start. I'm not a full-time coder either. More of a tinkerer. I don't want someone to do it for me, but need

Re: [PHP] removing chars from string

2005-06-27 Thread Kevin L'Huillier
Paul Nowosielski [EMAIL PROTECTED] wrote: If a have a string thats 11 characters long how can I strip off the last two characters? Jay Blanchard [EMAIL PROTECTED] wrote: $newString = substr($oldString, 0, 8); echo $newString; substr's third argument is length, not position. It also accepts

Re: [PHP] Breaking up data efficiently

2005-06-27 Thread Kevin L'Huillier
I agree, your implementation is efficient. It does depend on the data being entirely proper, however. If you can not be entirely sure (and you should rarely be), i might add a suggestion that increases code length, but decreases the chance of problems: You might consider creating a function to

Re: [PHP] ad management

2005-06-27 Thread Kevin L'Huillier
On 27/06/05, Sebastian [EMAIL PROTECTED] wrote: i am looking for a simple ad management app to keep track of ad views/impressions. i was looking at phpadsnews, but it seems way too much bloat of what i need i to do. I am not aware of any such package, however you may way to keep in mind that

Re: [PHP] Question about HTTP 301 permanent redirects

2005-06-27 Thread Kevin L'Huillier
On 27/06/05, Dr. Brad Lustick [EMAIL PROTECTED] wrote: I'm a novice trying to understand the exact construction of code for doing an HTTP 301 permanent redirect for a server coded in PHP. Could someone please tell me how I would handle the following example?

Re: [PHP] Breaking up data efficiently

2005-06-28 Thread Kevin L'Huillier
In my opinion you should save exceptions for, well, EXCEPTIONal problems. Either that or you use exceptions for a large system that discriminates against specific types of errors and handles each error type in a totally different way. Can we say bloat? Depending on the system, malformatted

Re: [PHP] turn off the www

2005-06-29 Thread Kevin L'Huillier
Wouldn't $newUrl = 'https://' . substr( $_SERVER['SERVER_NAME'], 4 ) be a _hell_ of a lot faster? If one considers micro-seconds 'a _hell_ of a lot faster', then _maybe_ And it could be slower if you avoid sending someone from http://example.com/ to https://ple.com/ by

<    1   2   3   4   5   6   7   8   9   10   >