Re: [PHP] Join PHPExperts

2004-11-10 Thread Robby Russell
/groups.yahoo.com/group/phpexperts > > Thank you all > > --Evelin > brilliant. you should start an irc channel next. :-p -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED]

Re: [PHP] Dinamically adding methods to an object instance?

2004-11-15 Thread Robby Russell
an object instance in same > way? how? will these methods have access to private and protected > members of the class of the object? > > Thanks a lot in advance... > -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetarg

Re: [PHP] Column Totals

2004-11-15 Thread Robby Russell
can try to sum them. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *--- Now supporting PHP5 --- *

Re: [PHP] copy function?

2004-11-16 Thread Robby Russell
t; the function? > > Garth > Php doesn't do anything like this...unless you post a form. Try javascript. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730

Re: [PHP] Is Perl faster than PHP?

2004-11-16 Thread Robby Russell
or is it running as a CGI? Which is quicker to program in? Yahoo uses php for some of their stuff, I would say that is a pretty high traffic site. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * P

[PHP] weekly email idea

2004-11-16 Thread Robby Russell
estions? Cheers, -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development

Re: [PHP] http header script to stimluate upload with drag and drop??

2004-11-16 Thread Robby Russell
e this possible... > > Thanks, > Scott > I have a script that will stimulate you. ;-) -- /*********** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/Postg

Re: [PHP] isset opposite

2004-11-16 Thread Robby Russell
gt; test if a $_GET is not set (not just empty). > > thanks in advance! > > d > isset() returns a boolean. so...try, if (!isset($x)) -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, O

Re: [PHP] Object oriented programming

2004-11-16 Thread Robby Russell
ections of program structures described under a > common class heading (prefixed blocks). Pretty sure that probably out dates many of the people subscribed to the list. ;-) (i included..) -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET A

Re: [PHP] free php live support script ?

2004-11-16 Thread Robby Russell
gt; We use this program for live support with our customers. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting

RE: [PHP] Question on query string

2004-11-16 Thread Robby Russell
On Wed, 2004-11-17 at 11:28 +1100, Jason Oakley wrote: > I think maybe > > $jtitle=$HTTP_GET_VARS['JTitle']; > Might I remind you that $_HTTP_*_VARS is deprecated.. $_GET $_POST (it's also much quicker to type) -Robby -- /********

Re: [PHP] isset opposite

2004-11-16 Thread Robby Russell
to all the php included functions that start with is. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *

Re: [PHP] free php live support script ?

2004-11-16 Thread Robby Russell
On Tue, 2004-11-16 at 18:35 -0800, Robby Russell wrote: > On Tue, 2004-11-16 at 21:40 -0400, Mario Bittencourt wrote: > > Hi, > > > > I was wondering if there is any free php live support script ? > > > > I'd like to add a "chat room" in my web si

Re: [PHP] How do I get referer in php?

2004-11-17 Thread Robby Russell
ER array. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *--- Now supporting PHP5 --- / signature.

Re: [PHP] PHP Supremacy...

2004-11-17 Thread Robby Russell
hp have a > support like .net. > > what arguments can I show for convince him to try PHP? > > Thank you very much :) The internet might disappear in a year..and then PHP could disappear as well. -- /******* * Robby Russell | Owner.Devel

Re: [PHP] mp3 cropping

2004-11-17 Thread Robby Russell
ut not necessary. :-p -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *

Re: [PHP] Is there a shorthand way to...?

2004-11-22 Thread Robby Russell
return False; } } if (getPostVar('contact_list') == "Used")... -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blo

Re: [PHP] redirecting to a success page

2004-11-22 Thread Robby Russell
e sent more headers until the next browser action. Javascript can do this with a meta refresh, or you can use ob_start() at the start of your php code, which will allow you to send headers at any point during your php code, as it waits until it goes through all your php code before sending any heade

Re: [PHP] mysql_connect vs mysql_pconnect

2004-11-26 Thread Robby Russell
tent+connection -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *---

Re: [PHP] Free for commercial use?

2004-12-02 Thread Robby Russell
http://www.php.net/license/ http://www.php.net/license/3_0.txt -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Dev

Re: [PHP] help me split chars w/o spaces by 2... like: 2004

2004-12-08 Thread Robby Russell
you building that needs to split the year by 2 sets of 2 digits? Second, you can do this like so: $foo = date("Y"); $bar = array(); $bar[] = substr($foo,0,2); $bar[] = substr($foo,2,2); print_r($bar); > Array > ( > [0] => 20 > [1] => 04 > ) -Robby -

Re: [PHP] Classes and Functions

2004-12-11 Thread Robby Russell
w number $object->y = 2; print $object->add() . "\n"; print $object->subtract() . "\n"; OUTPUT: > 14 > 6 > 12 > 8 As it sounds like you're still new to this, I would pick up a book or read some material online that will better show you

Re: [PHP] Possible to make $$ distributing PHP as Shareware?

2004-12-15 Thread Robby Russell
l and support..and have your users pay you to utilize your service. ($$) ..depending on what your goal is with it, those are generally the three ways you can make money with your app. Cheers, -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON

Re: [PHP] counting chars..

2004-12-15 Thread Robby Russell
On Thu, 2004-12-16 at 14:28 +0800, Louie Miranda wrote: > $string = "function yes good"; > $display = count_chars($string); > > echo $display; > ?> > > i know this is wrong, but how can i count chars used here? php.net/strlen ? -Robby -- /*

Re: [PHP] Fax Gateway

2004-12-18 Thread Robby Russell
isplay the current status of hylafax, so all you really need is the hylafax commandlines and call them with php. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | bl

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Robby Russell
effectively, the time it takes to go back and work on legacy code can be dropped: see: http://www.refactoring.com/ ..and a good book that someone recommended to me recently: http://www.amazon.com/exec/obidos/redirect? tag=gp04-20&path=tg/detail/-/0201485672%3Fv%3Dglance Cheers, -Robby -

Re: [PHP] MP3s

2004-12-23 Thread Robby Russell
advice would be greatfully appreciated > > > > > > Thanks in advance > > > > Happy Holidays > > Gary > > > -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland,

Re: [PHP] Help with code

2004-12-25 Thread Robby Russell
are getting. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *--- Now supporting PHP5 --- / -- PHP G

Re: [PHP] Test, please ignore

2004-12-28 Thread Robby Russell
On Tue, 2004-12-28 at 18:09 +0100, Steven Spierenburg wrote: > to see if i can post... > no, you can't. -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 5

Re: [PHP] gallery (4 in a row) // carefull newbie

2004-12-28 Thread Robby Russell
I don't think it would go anywhere: > [EMAIL PROTECTED] wrote: -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/Postgre

RE: [PHP] How to argue with ASP people...

2004-12-30 Thread Robby Russell
; Sure you can.. class Response { function redirect($location) { header("Location: " . $location); } function write($text) { print $text; } } Response::Redirect("http://www.planetargon.com/";); Response::Write("bar"); There, now we can compete with A

RE: [PHP] How to argue with ASP people...

2004-12-30 Thread Robby Russell
ch, by the way, makes a hell of a lot more sense. It's just an HTTP > response header like any other response header and it is called > Location, not Redirect. > > -Rasmus > -- /*** * Robby Russell | Owner.Developer.Geek * PLANET AR

Re: [PHP] newbie.. $_GET & $_POST

2005-01-03 Thread Robby Russell
. POST might be the easiest route without showing in the URL. -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/

Re: [PHP] variable hell

2005-01-04 Thread Robby Russell
se its value > > so if $x was "offers" on echo I would have (250) <-- "$isofferssorttext" > if $x was newproducts on echo I would have (350) <-- > "$isnewproductssorttext" > > Thanks in advance > > Mario > This seems like an odd appr

Re: [PHP] PHP code to analize email HELP

2005-01-09 Thread Robby Russell
ight help are 'php parse html email' -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *--- Now supporting PHP5 --- ***

Re: [PHP] Search Engine Friendly URLs

2005-01-15 Thread Robby Russell
ome adjustments to Apache to allow you to do this. -Robby -- /******* * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *

Re: [PHP] simple question

2005-01-31 Thread Robby Russell
t calls the main print. try return instead of print. example: function supScript($txt) { return "{$txt}"; } print "2" . supScript("3"); You shouldn't print a function that prints.. ;-) -Robby -- /*** * Robby Russell | O

Re: [PHP] Headers already sent error

2005-02-02 Thread Robby Russell
edirect the user. I get this error on the webhost, but not on my > local host. > > I've searched and found that this can be caused by spaces after the > closing php tag, but I don't have any. > > What could this be? > > > Tim > try adding: ob_start(

<    1   2