[PHP] classes

2003-02-05 Thread Kevin Waterson
looks like this -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \) Kevin Waterson Port Macquarie, Australia -- PHP General Ma

Re: [PHP] 'superglobal'

2003-02-05 Thread Kevin Waterson
Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \____) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] 'superglobal'

2003-02-05 Thread Kevin Waterson
_SERVER_VARS Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \____) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Random Images

2003-02-05 Thread Kevin Waterson
ere but it works Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing L

Re: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Kevin Waterson
vin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \____) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strings and regular expression?

2003-02-07 Thread Kevin Waterson
string, '1,') == 'FALSE){ echo 'No match found'; }else{ echo 'Found a match'; } No need for costly regex Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \)

Re: [PHP] Strings and regular expression?

2003-02-07 Thread Kevin Waterson
omething like this.. There is almost always a better solution than regex Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_

Re: [PHP] How to remove only the last character?

2003-02-08 Thread Kevin Waterson
string", 0, -1); Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] how to move database from one server to another

2003-02-08 Thread Kevin Waterson
_two] -p hope this helps Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailin

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Kevin Waterson
slt/sablotron to call the xsl template and render the page Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_|

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Kevin Waterson
ses. enjoy Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex Help

2003-02-11 Thread Kevin Waterson
This one time, at band camp, "Lord Loh." <[EMAIL PROTECTED]> wrote: > I am trying to make a link collector. > > after opening the desired page, I want to get all the hyperlinks on it... OK, this is quick and nasty, but you can add sanity/error checking etc as you please, but it shows you the con

[PHP] string to array

2003-02-12 Thread Kevin Waterson
-- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD and 4.3

2003-02-12 Thread Kevin Waterson
e.php Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] File handling

2003-02-13 Thread Kevin Waterson
'Directory '.$dirname.' does not exist'; } or something Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Kevin Waterson
ou install from RPM?? Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mail

Re: [PHP] image creation error

2003-02-13 Thread Kevin Waterson
line add --with-gd Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Kevin Waterson
ke it. What is it you wish to do? Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Kevin Waterson
wish the script to do? Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Aust

Re: [PHP] database selection

2003-02-16 Thread Kevin Waterson
ER BY pollID ASC LIMIT 1"; Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General

Re: [PHP] date calculation

2003-02-16 Thread Kevin Waterson
- $timestamp1; cheers Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia

Re: [PHP] URL of calling page

2003-02-16 Thread Kevin Waterson
ER['HTTP_REFERER'] Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie,

Re: [PHP] inserting

2003-02-18 Thread Kevin Waterson
base. nl2br() http://www.php.net/nl2br Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can you execute UNIX scripts from PHP

2003-02-18 Thread Kevin Waterson
// my favourite or if you like you could do `blah.sh` // backticks Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \)

[PHP] counting array elements

2003-02-24 Thread Kevin Waterson
uot;dog => 5" I would like to get 'dog' and '5' into a $variable. Kind regards Kevin -- __ (_ \ _) ) | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_|

[PHP] output buffering

2003-02-27 Thread Kevin Waterson
bs = new thumbs; ob_start(array($thumbs,'select')); ?> Stuff goes here! -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Wat

Re: [PHP] pagination help

2003-03-09 Thread Kevin Waterson
od20001214.php3 Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sqlite

2003-08-24 Thread Kevin Waterson
? Kind regards kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia

Re: [PHP] Using PHP on an .html file

2003-08-24 Thread Kevin Waterson
d-php html Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net

Re: [PHP] sqlite

2003-08-24 Thread Kevin Waterson
e because it is compiled in. Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Aust

Re: [PHP] Zero Fill -> Number Format

2003-03-19 Thread Kevin Waterson
, "0", STR_PAD_LEFT); Kevin __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: number function

2003-03-20 Thread Kevin Waterson
}else{ > $result=false; >break; > }//if > }//if > }//foreach > return $result; > } -- __ (_ \ _) ) ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] locate

2003-03-28 Thread Kevin Waterson
udatedb Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question

2003-03-30 Thread Kevin Waterson
t;Banana" or "Ba na na" in echo ? $list = array('Ba-na-na', 'Ber-ry'); echo ''.str_replace('-','',$list[0]).''; Kevin -- __ (_ \ _) ) __

Re: [PHP] chill out

2003-04-02 Thread Kevin Waterson
s on is huge. fu2 -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] PHP LICENCE

2002-06-15 Thread Kevin Waterson
Just how much can the php name be used in applications? The license says 3. The name "PHP" must not be used to endorse or promote products derived from this software without prior permission from the PHP Group. This does not apply to add-on libraries or tools that work in co

Re: [PHP] DOCUMENT_ROOT disappeared on me!

2002-07-02 Thread Kevin Waterson
pages! $_SERVER['DOCUMENT_ROOT'] Kevin -- Kevin Waterson Byron Bay, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 4.3.0-dev and gd

2002-07-11 Thread Kevin Waterson
trying to get the built in gd to work without luck I am using redhat and it has gd 1.8.4(or something) but the newer compiled version does not seem to install. I check with phpinfo and it just says 1.6.2 or higher but none of the 2.* functions work so I assume the new gd did not install. my confi

Re: [PHP] PHP 4.3.0-dev and gd

2002-07-11 Thread Kevin Waterson
On Thu, 11 Jul 2002 17:19:07 +0100 "Danny Shepherd" <[EMAIL PROTECTED]> wrote: > You need to compile with GD2 if you want to use any of the 2.* functions in > PHP - phpinfo will say 'GD 2.0 or higher' I tried --with-gd2 but then I get no gd at all? the included gd version is 2.0.1 but does not s

Re: [PHP] Re: PHP 4.3.0-dev and gd

2002-07-11 Thread Kevin Waterson
On Thu, 11 Jul 2002 15:32:30 -0700 "Ricky Dhatt" <[EMAIL PROTECTED]> wrote: > You need to use --with-gd=php to use the built-in gd library. yep, that got over that hurdle, I used the config line ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr --with-ttf=/usr --enable-track-vars --ena

[PHP] ob_start

2002-07-14 Thread Kevin Waterson
I wish to compress some data using ob_start("ob_gzhandler"); I use if(strstr($_SERVER['HTTP_ACCEPT_ENCODING'],gzip)) { ob_start("ob_gzhandler"); } else { ob_start(); } but the compression is never used.. obstart is always used withouth the gz_handler is there a way around this? or am

Re: [PHP] ob_start

2002-07-14 Thread Kevin Waterson
On Sun, 14 Jul 2002 10:35:13 -0400 "John Holmes" <[EMAIL PROTECTED]> wrote: > Shouldn't gzip be in quotes, here?? The second argument to strstr... indeed, that fixes that.. thanks now, I have a problem with mozilla and netscape. Although they both accept the ob_start("ob_gzhandler"); netscape

[PHP] Thumbnails in database

2004-01-17 Thread Kevin Waterson
I am storing some images in a database. No problems there. But how can I create a thumbnail do store in the db also without having to create the thumbnail image on the file system first? Kind regards Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] Thumbnails in database

2004-01-17 Thread Kevin Waterson
egards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thumbnails in database - SOLUTION

2004-01-17 Thread Kevin Waterson
This one time, at band camp, Kevin Waterson <[EMAIL PROTECTED]> wrote: > I need to store the thumbnails in the database. > So, I need to resize the image at the same time as I store it. Ok, so the secret here is output buffering // prepare the image for insertion

[PHP] pass by reference

2004-01-22 Thread Kevin Waterson
direct stream to the webpage? Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port

Re: [PHP] pass by reference

2004-01-22 Thread Kevin Waterson
ggested in the first mail? Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] pass by reference

2004-01-22 Thread Kevin Waterson
tream to the browser? Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \) Kevin Waterson Port Macquari

Re: [PHP] Can someone check this mysql code

2002-05-19 Thread Kevin Waterson
On Mon, 20 May 2002 08:57:16 +1200 "PhilipNZ Staff" <[EMAIL PROTECTED]> wrote: > My code below don't want to insert the code into the database what am I doing wrong? > > > $answers="$band, $middlename, $pot"; > $date=date ("l dS of F Y h:i:s A"); > > $sql = "INSERT INTO `prizeline` (`id`,

Re: [PHP] Function

2002-05-21 Thread Kevin Waterson
On Wed, 22 May 2002 00:48:24 -0300 "Rodrigo" <[EMAIL PROTECTED]> wrote: > Hi guys I_m trying to use a function on na .inc file, how should I do? > > How should I write the function and what should I write on the file so > that the function file is _Included_ to be used on a function call on > t

Re: [PHP] Sessions Problem !!

2004-08-06 Thread Kevin Waterson
o in windows world Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Sessions Problem !!

2004-08-06 Thread Kevin Waterson
as the headers are being sent from the error message. Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sorting an array..dont know numeric or alpha-numeric

2004-08-07 Thread Kevin Waterson
x27;; } ?> or something. Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image and variable

2004-08-10 Thread Kevin Waterson
ing like this may help for random images -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing L

Re: [PHP] OO Theory Question

2004-08-18 Thread Kevin Waterson
you not get my mail? http://www.phpro.org/sessions.php -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Kevin Waterson
sanctioned by php.net? Kevin - __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] {Spam?} Re: [PHP] Anyone using SPL Iterators?

2004-09-21 Thread Kevin Waterson
This one time, at band camp, "John Holmes" <[EMAIL PROTECTED]> wrote: > Is anyone using SPL iterators out there? Any examples you'd like to share > that you find useful? Iterating through databases or large files, etc? Just > curious what people are using this for before I write some stuff mysel

Re: [PHP] Does PHP need another mailing list???

2004-09-22 Thread Kevin Waterson
This one time, at band camp, raditha dissanayake <[EMAIL PROTECTED]> wrote: > I was refering to "is php-general too *general* for advanced php5 users" > not specifically at php 5. No, list works just fine as it is with a mix of the new comer and advanced users. No need to split in any way. Kev

Re: [PHP] Newbie array problem

2004-09-23 Thread Kevin Waterson
This one time, at band camp, "Phpu" <[EMAIL PROTECTED]> wrote: > If i have an array > $array = array(1, 2, 3, 4, 5, 6, 7) > How can i display the array element sepparated by (;) like this > $display = 1;2;3;4;5;6;7 $i=0; $arraySize = sizeof($array); while($i < $arraySize){ echo $array[$i];

Re: [PHP] dirty words

2004-10-16 Thread Kevin Waterson
This one time, at band camp, Mag <[EMAIL PROTECTED]> wrote: > Hi, > I am useing file_get_contents on a remote page then > using stristr() to make sure there are no "bad words" > and its a family site. > Right now I am checking for just 3 bad words which > means 3 stristr() function calls, but if t

Re: [PHP] Fatal error

2004-10-16 Thread Kevin Waterson
This one time, at band camp, Pahlevanzadeh Mohsen <[EMAIL PROTECTED]> wrote: > Dear members,I get an error,What does mean my error? : > Fatal error: Maximum execution time of 30 seconds > exceeded in /var/www/html/votting/vote_implement.php > on line 8 It means the Maximum execution time of 30 se

Re: [PHP] READ BEFORE REPLYING TO : Re: [PHP] UNSUBSCRIBE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2004-10-01 Thread Kevin Waterson
This one time, at band camp, "Robert Restad" <[EMAIL PROTECTED]> wrote: > I am posting, obviously, the 26th message in this thread. (or maybe > higher). Look, he knew what he was getting into when he subscribed. There's no backing out now. I say, make him stick it out! Kevin - "Democr

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

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 Gener

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 (MyS

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 ex

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; http://www.phpro.org/tutoria

Re: [PHP] First PHP program

2008-12-13 Thread Kevin Waterson
This one time, at band camp, Anwarulhaq 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 shall > be thankful.

Re: [PHP] Image Resizing

2008-12-21 Thread Kevin Waterson
This one time, at band camp, Stephen Alistoun 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 http://www.phpro.org/tutorials/Imagick.html#4 Kevin --

Re: [PHP] RSS Feed on my PHP site

2009-01-06 Thread Kevin Waterson
This one time, at band camp, DanBarker85 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 enjoy Kevin -- PH

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 be

Re: [PHP] print a to z

2009-01-15 Thread Kevin Waterson
This one time, at band camp, "Leon du Plessis" 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 General

Re: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Kevin Waterson
This one time, at band camp, mike wrote: > On Fri, Jan 16, 2009 at 10:58 AM, mike 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 a > document and try to g

Re: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Kevin Waterson
This one time, at band camp, Eric Butera 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 unsubscribe, visit: ht

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 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 http://www.phpro.org/examples/GD-Thumbnail-Based-On-Image-Type.html http

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

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

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 the

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

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

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 c

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

2007-02-25 Thread Kevin Waterson
This one time, at band camp, "Alain Roger" <[EMAIL PROTECTED]> wrote: > Hi, > > i stored all my pictures in my PostgreSQL DB as bytea type. > Now i would like to know how can i display them in my PHP pages ? Here is a little tutorial on the subject, it uses MySQL and PDO but you simply need to c

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. Kevi

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 Mail

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), > > > > error_reporting(E_STRICT); > > ?> > > This might work better: > >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] 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 i

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 j

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 opp

[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

[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
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-> http://phpro.o

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? http://phpro.org/tutorials/Introduction-To-PHP-

[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

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. sendab

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 r

  1   2   >