Re: [PHP] PHP6 Stable Release Schedule

2009-09-05 Thread Kevin Waterson
On Sat, 2009-09-05 at 16:11 +0100, Richard Heyes wrote: Hi (again), ?php error_reporting(E_STRICT); ? This might work better: ?php error_reporting(E_ALL | E_STRICT); ? E_STRICT is now part of E_ALL Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] templating engine options

2009-05-23 Thread Kevin Waterson
On Sat, 2009-05-23 at 23:21 +0100, Nathan Rixham wrote: Hi All, Just a quick one, can anybody recommend any decent templating engines other than smarty. I've got no problem with smarty and it does the job - but if there is something newer and lighter out there that I'm missing then I'd

Re: [PHP] ImageMagick

2009-05-01 Thread Kevin Waterson
This one time, at band camp, Michael A. Peters wrote: Here's the scenario - Website has some demonstrative images. I create these images with the gimp - starting with a jpeg, adding a few text layers and straight lines. I then save as xcf in case I ever need to edit. Then I export

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:

Re: [PHP] Re: frameworks

2009-01-30 Thread Kevin Waterson
On Fri, 2009-01-30 at 18:03 -0600, Shawn McKenzie wrote: From what I could tell, this was the best RAD, however if you prefer to lay everything out your own way and do things your own way then probably CI or Zend. I use Zend every day in my current employ. It is like pulling teeth and its

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] What's the best way to rotate, resize, and thumbnail?

2009-01-17 Thread Kevin Waterson
This one time, at band camp, Al n...@ridersite.org wrote: Imagick class. Has more image manipulating functions than you'll ever use. You name, and there's function to do it. http://www.phpro.org/examples/Create-Thumbnail-With-GD.html

Re: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Kevin Waterson
This one time, at band camp, mike mike...@gmail.com wrote: On Fri, Jan 16, 2009 at 10:58 AM, mike mike...@gmail.com wrote: only if it's parseable xml :) Or not! Ignore me. Supposedly this can handle HTML too. I'll have to try it next time. Normally I wind up having to use tidy to scrub

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/) To

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

2009-01-15 Thread Kevin Waterson
WRT Frameworks.. before I rant, I should declare myself as an ex-consultant to Zend. I have used most of the more popular frameworks, and in my current employment am using Zend Framework. All of the frameworks I have used, have had some good features, and some poorly implemented ones. This, I

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] RSS Feed on my PHP site

2009-01-06 Thread Kevin Waterson
This one time, at band camp, DanBarker85 danbarke...@hotmail.co.uk wrote: Hi i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed added to my website? I've searched for some kind of tutorial but haven't found anything. http://www.phpro.org/classes/Rss-Class.html

Re: [PHP] Image Resizing

2008-12-21 Thread Kevin Waterson
This one time, at band camp, Stephen Alistoun stephenalist...@gmail.com wrote: I want all the images to resize to 100px width but the height adjusts automatically. Two ways, GD or Imagick http://www.phpro.org/examples/GD-Thumbnail-Based-On-Image-Type.html

Re: [PHP] First PHP program

2008-12-13 Thread Kevin Waterson
This one time, at band camp, Anwarulhaq anwarulha...@gmail.com wrote: I am working on MS.net.But now i days i want to work on PHP. I dont know the basis of PHP. Can any one guide me how i have to start with PHP and which editor i should use. Also the links of useful sites for help in PHP. I

Re: [PHP] Dates and Mysql

2008-12-10 Thread Kevin Waterson
This one time, at band camp, VamVan [EMAIL PROTECTED] wrote: I was wondering how is it possible for me to query the table to retrieve all the records that are one week less than the time stamp? SELECT DATE_SUB(date_time_column, INTERVAL 1 WEEK) FROM your_table;

Re: [PHP] A MySQL Question

2008-12-07 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote: In any event, the interviewer asked me how long I've been using MySQL and I replied several years. After which she asked a single question, which was What does EXIST mean? I only ever use it in rollbacks to check if a table exists.

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

2008-12-05 Thread Kevin Waterson
This one time, at band camp, Nick Gasparro [EMAIL PROTECTED] wrote: The perfect candidate will possess the following skills: * Serious OO design background * PHP5 (this will be your primary language, though you can learn it on the job ) * Strong database design skills (MySql

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] Days until Easter and Christmas

2008-11-18 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote: Easter lands on different dates depending upon several different factors. For example in Canada it's the day after it is in the USA -- I guess Canadians are slower, eh? :-) Also, in some religions the date is the full-moon after

Re: [PHP] question about google maps

2008-11-09 Thread Kevin Waterson
This one time, at band camp, Sudhakar [EMAIL PROTECTED] wrote: hi how do i go about displaying an address which appears on google maps for a business on a web page. what are the steps. if some one knows about this please let me know. http://www.phpro.org/classes/Phproogle.html and

Re: [PHP] ASCII Captcha

2008-09-14 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote: I fixed the errors you spoke about except I could never get the Graphic CAPTCHA to fail. Also, you're supposed to click the accessibility icon to get the page to speak the number. What if the user is deaf and blind? they are

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] Regex for email validation

2008-08-27 Thread Kevin Waterson
This one time, at band camp, Yeti [EMAIL PROTECTED] wrote: ?php # this one worked fine for me, but it does not cover the full RFC like: name [EMAIL PROTECTED] OR name [EMAIL PROTECTED] $regex = ^[a-z0-9,!#\$%'\*\+/=\?\^_`\{\|}~-]+(\.[a-z0-9,!#\$%'\*\+/=\?\^_`\{\|}~-]+)[EMAIL

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

2008-08-21 Thread Kevin Waterson
This one time, at band camp, Robert Cummings [EMAIL PROTECTED] wrote: Your assumption that this will occur is clearly based on false presumptions. For instance you assume that what has happened before will happen again. Secondly, your assertion that there are pedants waiting to pick apart

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

2008-08-20 Thread Kevin Waterson
This one time, at band camp, V S Rawat [EMAIL PROTECTED] wrote: Sorry for bothering the rest of you. I hope you wouldn't really mind if some of our colleagues who are doing such a lovely volunteer work here get to earn some money for a bottle of beer and more. Rest assured that it is no

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

2008-07-18 Thread Kevin Waterson
This one time, at band camp, Per Jessen [EMAIL PROTECTED] wrote: I'm curious, how does a domain get stolen ? This is a process I am now looking in to. The domain was registered via a reseller who I also had an email address with. The reseller had access to to both my domain registration

Re: [PHP] OpenID

2008-07-17 Thread Kevin Waterson
This one time, at band camp, Alex Chamberlain [EMAIL PROTECTED] wrote: Has anybody had any success implementing an OpenID server in PHP?? Sure, I had mine all set up on oceania.net and then the domain got stolen. So, all my OpenID info went with it.. not as good an idea as it first seems.

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

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
This one time, at band camp, Yeti [EMAIL PROTECTED] wrote: It will still take some time until every provider has PHP5 running, at least where I am from. I have many customers who want me to get their sites running on some cheap webspace they got along with their internet connection. Then you

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

2008-07-12 Thread Kevin Waterson
This one time, at band camp, Stephen [EMAIL PROTECTED] wrote: I am switching to PDO and can't find an equivalent to mysql_num_rows. Am I missing something silly? Or is there a change of thinking needed for PDO? How should I determine how many rows a query returned? PDO returns an

Re: [PHP] Dynamic dropdown lists (select)

2008-04-06 Thread Kevin Waterson
On Fri, 2008-04-04 at 12:51 +0200, Angelo Zanetti wrote: So there will be 2 dropdown lists. First one say gets (for example) a list of cars, Then once the car is choosen the second list is populated with the list of models for the car choosen. Try something like this-

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?

[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

[PHP] str_replace oddity

2007-09-21 Thread Kevin Waterson
I am using str_replace to strip double quotes. $string = 'This string has quotes in it'; $string = str_replace('', '', $string); this seems to work, yet when I put the $string into mysql, it uses backslashes to escape where the quotes were. The double-quotes are gone, yet it still escapes the

Re: [PHP] Re: html2png

2007-09-08 Thread Kevin Waterson
This one time, at band camp, Al [EMAIL PROTECTED] wrote: The Imagick php extension is at RC2 and like all beta ware, should not be considered for a production environment. Imagick PHP extension, easiest, or Imagemagick command line using exec(). Imagick to read a pdf and output it as a jpeg:

Re: [PHP] Image Conversion...

2007-09-08 Thread Kevin Waterson
This one time, at band camp, Tony Di Croce [EMAIL PROTECTED] wrote: I need to convert (resize, and store as blob's in a mysql db) images my users can upload. I'm wondering what the best conversion tool is... I'm considering ImageMagick... Is this the best? Is their anything that is

Re: [PHP] Buxa Coding Guidelines

2007-09-08 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote: At 12:17 AM +0200 9/9/07, magoo wrote: Hi NG! Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like

Re: [PHP] Reg.Photo Upload Tool

2007-09-07 Thread Kevin Waterson
This one time, at band camp, Ramesh.b [EMAIL PROTECTED] wrote: Hello, Any opensource or PHP applicaiton is available for Photo upload tool?. http://phpro.org/examples/Multiple-file-upload.html Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a

[PHP] results to html table

2007-08-11 Thread Kevin Waterson
I wish to get a result set into a html table. normally this is not a problem. But I wish to use one of the results as a heading. Here is the data... ASCII art warning ++--+-+---+ | forum_group_id | forum_group_name | forum_type_name |

[PHP] get domain component from email

2007-08-07 Thread Kevin Waterson
Hi all. Im looking for a way to get the domain from an email address. Not sub domains, just the domain, so [EMAIL PROTECTED] would return example.com.mn similarly, the address [EMAIL PROTECTED] would return example.com perhaps an array of tld's, then strip the tld off the end and anything

Re: [PHP] Re: get domain component from email

2007-08-07 Thread Kevin Waterson
This one time, at band camp, Stut [EMAIL PROTECTED] wrote: Which brings me back to my earlier question of why would you want to do this? I can't think of any reason, but then again it is getting late. I would like to prevent registration of emails from certain domains that abuse a forum. eg:

Re: [PHP] RecursiveArrayIterator

2007-07-23 Thread Kevin Waterson
This one time, at band camp, Jim Lucas [EMAIL PROTECTED] wrote: I don't get it, why not do this? foreach ( $array AS $row ) { foreach ( $row AS $k = $v ) { if ( ! is_array($v) ) { echo {$k} -- {$v}br/\n; } } } Maybe I am

Re: Re[2]: [PHP] Better way to store data in memory?

2007-07-23 Thread Kevin Waterson
This one time, at band camp, Richard Davey [EMAIL PROTECTED] wrote: Afraid not, I'm performing deformation on the data that requires a temporary location before rendering to the final image. you could use the pixel iterator in imagack extension Kevin -- Democracy is two wolves and a lamb

[PHP] RecursiveArrayIterator

2007-07-22 Thread Kevin Waterson
When I run the code below, I get an output of the array which is good. But the first member of the array output is 0=Array. Is there a way to prevent this? eg: 0 -- Array name -- butch sex -- m breed -- boxer name -- fido sex -- m breed -- doberman name -- girly sex -- f breed -- poodle ?php

Re: [PHP] RecursiveArrayIterator

2007-07-22 Thread Kevin Waterson
This one time, at band camp, Nathan Nobbe [EMAIL PROTECTED] wrote: Thanks for the response. I was hoping to avoid this sort of recursion within userspace and keep it at a lower level. Should not the recursive iterator recurse so we dont need to be using user defined functions?

Re: [PHP] RecursiveArrayIterator

2007-07-22 Thread Kevin Waterson
This is what I have so far.. ?php $array = array( array('name'='butch', 'sex'='m', 'breed'='boxer'), array('name'='fido', 'sex'='m', 'breed'='doberman'), array('name'='girly','sex'='f', 'breed'='poodle') ); $iterator = new RecursiveIteratorIterator(new

Re: [PHP] php5 cert

2007-05-19 Thread Kevin Waterson
This one time, at band camp, Greg Donald [EMAIL PROTECTED] wrote: Anyone wanna share their insights into the php5 cert test? As worthless as the php4 cert. 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] CMS

2007-05-08 Thread Kevin Waterson
This one time, at band camp, Jyoti [EMAIL PROTECTED] wrote: Hi Can anyone can tell me what CMS is? Content Management System How can we make it? A CMS can be quite simple and many use it as a first project for PHP. I guess this is why many of them are full of holes. What are the

Re: [PHP] Sending the results of a query without using a file

2007-05-02 Thread Kevin Waterson
This one time, at band camp, Todd Cary [EMAIL PROTECTED] wrote: Some shared servers do not allow the creation of a file, so I am looking for a way to take the results of a query (MySQL), create a CSV output and have it in a sendable format for the user without creating a file. sendable to

[PHP] Re: advice for blob tables?

2007-04-24 Thread Kevin Waterson
This one time, at band camp, [EMAIL PROTECTED] wrote: I've been using this one: http://www.dreamwerx.net/phpforum/?id=1 I developed it in 2001 and it's had implementations into the hundreds of gb's so far. I have a ftp interface to it that runs at wire speed (100FDX). I initially did

Re: [PHP] best framework (pear vs zend framework)

2007-03-02 Thread Kevin Waterson
This one time, at band camp, Marco Sottana [EMAIL PROTECTED] wrote: which is the best framework ? pear or zend framework? None of the above... -- 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

Re: [PHP] Re: how to display images stored in DB

2007-02-27 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: *ALL* of the arguments on this topic, and benchmarks, are in the PHP General archives. I am not concerned with past benchmarks done by others, I am asking what current benchmarks this user has made to make his claim. Kevin --

Re: [PHP] Store and retrieve photo from PostgreSQL

2007-02-25 Thread Kevin Waterson
This one time, at band camp, Alain Roger [EMAIL PROTECTED] wrote: Hi, I would like to store and retrieve photo from my DB (PostgreSQL). However, i do not know how to do it. Good idea, dont listen to those who give you the you should'nt store images in a database diatribe. Here is a little

Re: [PHP] Re: how to display images stored in DB

2007-02-25 Thread Kevin Waterson
This one time, at band camp, zerof [EMAIL PROTECTED] wrote: It is not a good practice to store pictures in DataBases, use links, instead of. Rubbish, where are your benchmarks? kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb

Re: [PHP] Detailed PHP User SPL documentation?

2007-02-24 Thread Kevin Waterson
This one time, at band camp, Erik Franzén [EMAIL PROTECTED] wrote: I can only find http://www.php.net/~helly/php/ext/spl which is nice, but for better understanding how to use them I am looking for detailed information how to use them. More comprehensive documentation with examples...?

Re: [PHP] Re: How to call image from mySql to php file

2007-02-21 Thread Kevin Waterson
This one time, at band camp, Haydar TUNA [EMAIL PROTECTED] wrote: Hello, Firstly, your image table field should be BLOB field then you create a image file (for example image.php). in this file, if your application is more secure, you can control the session variables. You get key

[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

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

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

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

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 and a

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

2006-10-14 Thread Kevin Waterson
This one time, at band camp, Roman Neuhauser wrote: BTW, here is my class: class returnConfigParams { var $a; var $b; var $c; var $d; function getMySQLParams() { include($_SERVER['DOCUMENT_ROOT']./properties.php); $values = array(0 = $a, 1 = $b, 2 = $c, 3 =

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
This one time, at band camp, Curt Zirzow [EMAIL PROTECTED] wrote: what about using: php.net/pi note the precision description. or are we talking about a different pi. The goal of the codegolf.com challenge is to print pi to 1000 places. The programmer to do it in the least keystrokes

Re: [PHP] PHP Frameworks - Opinion

2006-08-01 Thread Kevin Waterson
This one time, at band camp, Gabe [EMAIL PROTECTED] wrote: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc. If

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 and a

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

2006-07-16 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: Zend has provided a great deal to the PHP community -- Zend basically pays Ze'ev and Andi (and more) to work about half their time on improving PHP Open Source code. As an ex-Zend employee I find that they are maybe the only

Re: [PHP] GD to database directly

2006-07-16 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: Assume, for the sake of argument, that your hard drive crashed. And your backup tape was invalid. And the weekly backup tape is also invalid. And, for good measuere, the monthly tape is just so out-of-date, that

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

2006-07-15 Thread Kevin Waterson
This one time, at band camp, Dave M G [EMAIL PROTECTED] wrote: Please understand that I was *hoping* for advice here, as Zend and PHP are surely highly correlated. But I apologize if I came across as if I *expected* answers. You raise an interesting point. Whilst PHP uses the Zend Engine

Re: [PHP] GD to database directly

2006-07-14 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: I'm more concerned about the disaster recovery of a DB from a crashed hard drive, which has been cluttered up with binary data, making data recovery. One of the greatest benifits of binary DB storage is a single point of

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
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: If you've benchmarked on YOUR hardware and have a proven savings, fine, post your tests and output. Already done in previous threads. nowhere do I say the db is faster than file system. Just that various methods of db

Re: [PHP] GD to database directly

2006-07-11 Thread Kevin Waterson
This one time, at band camp, Jay Blanchard [EMAIL PROTECTED] wrote: 1. Do not store images in a database, it is just a bad idea from a performance perspective (as has been covered many times heretofore). rubbish, has been proven other wise, you are quoting old wives tales Please provide

Re: [PHP] GD to database directly

2006-07-11 Thread Kevin Waterson
This one time, at band camp, Austin Denyer [EMAIL PROTECTED] wrote: It is generally accepted that storing things like that in a database is a Bad Thing. Much better to store the images as files and store the path in the database. Storing paths and databases in slower than just storing

Re: [PHP] GD to database directly

2006-07-11 Thread Kevin Waterson
This one time, at band camp, Larry Garfield [EMAIL PROTECTED] wrote: There may be other reasons you'd want to store binary data in an SQL database, but it will always be a performance hit over just passing a normal file that can be streamed right off the disk to the server's NIC. How

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] Re: Templates, PHP Frameworks, and DB Abstraction?

2006-07-03 Thread Kevin Waterson
This one time, at band camp, Lester Caine [EMAIL PROTECTED] wrote: PDO is being pushed as a DB Abstraction library, but it only 'abstracts' the calls to PHP, it does nothing to abstract the SQL if you want a truly generic solution, if you need one, but if you don't then why bother with

Re: [PHP] Job Opportunities in Web Design company

2006-07-02 Thread Kevin Waterson
This one time, at band camp, Ahmed Abdel-Aliem [EMAIL PROTECTED] wrote: Requirements: blah blah blah How much? 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

Re: [PHP] Job Opportunities in Web Design company

2006-07-02 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote: I certainly could have designed/coded a better page, and site, than that -- does that count? My advice, if you're looking for qualified and experienced help, then reflect same in your site. Had not actually looked at the site,

Re: [PHP] Am I supposed to be using SPL?

2006-06-02 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: So, of all the things that COULD go wrong, we just assume it's No files Found??? I don't think I'll ever learn to like SPL or try/catch... Ok, I think my example was a little too simplistic... You could of course create

Re: [PHP] Am I supposed to be using SPL?

2006-06-01 Thread Kevin Waterson
This one time, at band camp, D. Dante Lorenso [EMAIL PROTECTED] wrote: Is SPL meant to be used? If so, is it experimental? Is it documented? Should I stay away from SPL for production code? What's the official word? Officially SPL is part of PHP. It provides a standard interface for

Re: [PHP] preg_replace learning resources? Regex tuts? Tips? (and yes, I have been rtfm)

2006-05-25 Thread Kevin Waterson
This one time, at band camp, Micky Hulse [EMAIL PROTECTED] wrote: Hi all, I have been rtfm on preg_replace, and I am a bit turned-off by how complex reg-exing appears to be anyway, I would like to spend some time learning how I would convert a file full of links that look like: Try

Re: [PHP] Sparse 1.0b - framework for MySQL programs

2006-05-19 Thread Kevin Waterson
This one time, at band camp, Jochem Maas [EMAIL PROTECTED] wrote: does it run on php5? does it run on php6-dev? 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

Re: [PHP] Regex Help for URL's

2006-05-17 Thread Kevin Waterson
This one time, at band camp, Robert Samuel White [EMAIL PROTECTED] wrote: Don't be rude. I've already don't all of that. Nothing came up. I've been programming for 20 years (since I was 11 years old) so I'm not a slacker when it comes to learning new things, however, I have always found

Re: [PHP] Question about templates

2006-05-16 Thread Kevin Waterson
This one time, at band camp, Charlene Wroblewski [EMAIL PROTECTED] wrote: looked at Smarty and it doesn't seem to be as useful the way I'm using templates. I'm not surprised, 1000 lines of code to do hello world Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch.

Re: [PHP] Exceptions in PHP

2006-05-15 Thread Kevin Waterson
This one time, at band camp, John Meyer [EMAIL PROTECTED] wrote: I have the following script: try { $conn = mysql_connect(localhost,webuser,testme) or die(Could not connect); -- snipped for sake of sanity -- I think if you wish to push down this path you may wish to look at PDO.

[PHP] Create database with pdo_mysql

2006-05-15 Thread Kevin Waterson
Is it possible to create a database with pdo_mysql? $dbh = new PDO(mysql:host=$hostname;dbname=my_db, $username, $password); is sort of what it requires... is there some way to omit the dbname? Kind regards Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty

Re: [PHP] PHP SRM, a dead project?

2006-05-12 Thread Kevin Waterson
This one time, at band camp, D. Dante Lorenso [EMAIL PROTECTED] wrote: All, I'm interested in a PHP application server that is non-webserver based which I can run on Linux. I was hoping for something like: * http://www.vl-srm.net/index.php Bananas rule my world. The project is a

Re: [PHP] Preg_match() regex

2006-04-22 Thread Kevin Waterson
This one time, at band camp, Jeff [EMAIL PROTECTED] wrote: Hey all, Regex pattern question here. I need to match on Foo-F00, Foo-foo, foo-Foo. I know in perl you can use the /i to specify case insensitive matching. Is there any such switch that can be used in preg_match() in PHP? Yes,

  1   2   >