Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Wolf
Stut wrote: On 12 Mar 2008, at 17:31, Wolf wrote: Richard Heyes [EMAIL PROTECTED] wrote: Greg Donald wrote: You're gonna restrict the entire development team from using a given feature just because you don't want to invest 20 minutes in getting your newbie developer up to spead? That's

Re: [PHP] What's is the needed configuration to enable SOAP?

2007-08-12 Thread Stut
Brice wrote: I have a little problem with Soap. I programmed a script which works well on all server except one. I had an 'HTTP Error : Couldn't open socket connection to server' Too bad for me it's the main one. I wonder if there is a configuration problem? I just saw that socket is disabled

Re: [PHP] What's is the needed configuration to enable SOAP?

2007-08-12 Thread Tijnema
On 8/12/07, Brice [EMAIL PROTECTED] wrote: Hello all, I have a little problem with Soap. I programmed a script which works well on all server except one. I had an 'HTTP Error : Couldn't open socket connection to server' Too bad for me it's the main one. I wonder if there is a configuration

Re: [PHP] What's this image tag for?

2007-01-05 Thread Simon Forster
On 5 Jan 2007, at 14:38, Skip Evans wrote: a href=http://click.linksynergy.com/fs-bin/click? id=5sJlsTOpnzEofferid=115126.1505type=4subid=0IMG alt=Sharper Image border=0 src=http:// www.sharperimagespecials.com/banners/Promos/11_Nov06/ fshproplus_1106_125x125.gif/aIMG border=0 width=1

Re: [PHP] What's this image tag for?

2007-01-05 Thread Skip Evans
I thought it would be something like that. So here's another question I'd appreciate thoughts on: If I have ten of these links on a page, linking to ten different stores, should I include one of these IMG links on each link, just as they say to cut and paste? Or should there only be one per

Re: [PHP] What's this image tag for?

2007-01-05 Thread Stut
Skip Evans wrote: I thought it would be something like that. So here's another question I'd appreciate thoughts on: If I have ten of these links on a page, linking to ten different stores, should I include one of these IMG links on each link, just as they say to cut and paste? Or should

Re: [PHP] What's this image tag for?

2007-01-05 Thread Skip Evans
Stut wrote: That's really a question for the ad company to answer according to their policy. You'll probably an answer in their instructions somewhere. We can't give you an authoritative answer on a specific company's policy. Good point. I finally was able to track down their contact info

Re: [PHP] What's this image tag for?

2007-01-05 Thread Richard Lynch
It makes it look like you displayed an advertisement, even though you shrunk it down to 1x1, so it's not generally noticeable to the user. Often used for tracking a user across domains for legitimate and illegitimate purposes, and for racking up pennies for showing ads without actually showing

Re: [PHP] what's all the about then?

2006-09-01 Thread tedd
tedd schrieb: At 4:34 PM +0200 8/30/06, Jochem Maas wrote: tedd wrote: At 2:19 PM +0200 8/30/06, Paul Scott wrote: Read up on MVC (Model View Controller) and the front end controller design pattern. Interesting that someone finally put a name to something we've been doing for decades. We

Re: [PHP] what's all the about then?

2006-08-30 Thread Jochem Maas
Ross wrote: There is a site which has interesting behaviour. http://myurl.co.uk/index.php?p=latest when I click the links the variable and the end changes changing the page. http://myurl.co.uk/index.php?p=news Can someone tell me (i) how is this achived index.php --- ?php if

Re: [PHP] what's all the about then?

2006-08-30 Thread Paul Scott
On Wed, 2006-08-30 at 13:10 +0100, Ross wrote: (ii) what is the technique called Read up on MVC (Model View Controller) and the front end controller design pattern. Wikipedia is a good start. --Paul All Email originating from UWC is covered by disclaimer

RE: [PHP] what's all the about then?

2006-08-30 Thread Jay Blanchard
[snip] There is a site which has interesting behaviour. http://myurl.co.uk/index.php?p=latest when I click the links the variable and the end changes changing the page. http://myurl.co.uk/index.php?p=news Can someone tell me (i) how is this achived (ii) what is the technique called (iii) does

RE: [PHP] what's all the about then?

2006-08-30 Thread Peter Lauri
Do this. 1. Create a script called hello.php with the following content: ?php echo $_GET['string']; ? 2. Enter http://yoururl/hello.php?string=Hello 3. The page will say Hello The content after the ? will be treated as GET variables in the http request to the server. You can use this to

Re: [PHP] what's all the about then?

2006-08-30 Thread tedd
At 2:19 PM +0200 8/30/06, Paul Scott wrote: On Wed, 2006-08-30 at 13:10 +0100, Ross wrote: (ii) what is the technique called Read up on MVC (Model View Controller) and the front end controller design pattern. Wikipedia is a good start. --Paul Interesting that someone finally put a name

Re: [PHP] what's all the about then?

2006-08-30 Thread Jochem Maas
tedd wrote: At 2:19 PM +0200 8/30/06, Paul Scott wrote: On Wed, 2006-08-30 at 13:10 +0100, Ross wrote: (ii) what is the technique called Read up on MVC (Model View Controller) and the front end controller design pattern. Wikipedia is a good start. --Paul Interesting that someone

Re: [PHP] what's all the about then?

2006-08-30 Thread tedd
At 4:34 PM +0200 8/30/06, Jochem Maas wrote: tedd wrote: At 2:19 PM +0200 8/30/06, Paul Scott wrote: On Wed, 2006-08-30 at 13:10 +0100, Ross wrote: (ii) what is the technique called Read up on MVC (Model View Controller) and the front end controller design pattern. Wikipedia is a

Re: [PHP] What's the regex for this...?

2006-07-05 Thread Tom Chubb
Brian, I was trying to do this the other day using file_get_contents to load a page into a variable, but never quite got round to finishing it off. However, I recently received a very good Reg Exp tutorial which I hope is of use to you... *Basic Syntax of Regular Expressions (as from

Re: [PHP] What's the regex for this...?

2006-07-04 Thread Paul Novitski
At 04:50 PM 7/4/2006, Brian Dunning wrote: I have the source of a web page stored in $here and I want to set $this to whatever appears between 'span class=myclass' and '/ span'. Example: $here contains (amid tons of other stuff): span class=myclassThis is a statement./span If you can

Re: [PHP] What's the regex for this...?

2006-07-04 Thread Chris
Brian Dunning wrote: I have the source of a web page stored in $here and I want to set $this to whatever appears between 'span class=myclass' and '/span'. Example: $here contains (amid tons of other stuff): span class=myclassThis is a statement./span I want to set $this to This is a

Re: [PHP] What's this in my dir list?

2006-05-18 Thread cajbecu
yup, psacln is the group of the user ancientstones who`s owner of the files. tedd wrote: Hi Gang: When I list one of my directories, via: echo(pre); system(ls -l); echo(/pre); I get: -rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif -rw-r--r-- 1

Re: [PHP] What's this in my dir list?

2006-05-18 Thread John Nichel
tedd wrote: Hi Gang: When I list one of my directories, via: echo(pre); system(ls -l); echo(/pre); I get: -rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif -rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css -rw-r--r-- 1 ancientstones psacln 658 May 2 14:59

Re: [PHP] What's this in my dir list?

2006-05-18 Thread tedd
At 10:58 AM -0400 5/18/06, John Nichel wrote: tedd wrote: Hi Gang: When I list one of my directories, via: echo(pre); system(ls -l); echo(/pre); I get: -rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif -rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css

Re: [PHP] What's this in my dir list?

2006-05-18 Thread Jochem Maas
tedd wrote: At 10:58 AM -0400 5/18/06, John Nichel wrote: tedd wrote: Hi Gang: When I list one of my directories, via: echo(pre); system(ls -l); echo(/pre); I get: -rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif -rw-r--r-- 1 ancientstones psacln 2090 May 14

Re: [PHP] What's a Blog?

2006-02-14 Thread Duncan Hill
On Monday 13 February 2006 21:55, Sam Smith wrote: I have a client who wants to blog or he wants a blog on his website. I don't know anything about these blogs except it's sort of a fad I think. Isn't a blog just a simple web form with a big textarea on the blogger's side writing to a

Re: [PHP] What's a Blog?

2006-02-14 Thread Kim Christensen
On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5 minutes to install vs an hour to code a basic interface - I'd take the 5 minutes :p That being said, get lost from the PHP user list! :-) -- Kim

Re: [PHP] What's a Blog?

2006-02-14 Thread Duncan Hill
On Tuesday 14 February 2006 16:18, Kim Christensen wrote: On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5 minutes to install vs an hour to code a basic interface - I'd take the 5 minutes :p

Re: [PHP] What's a Blog?

2006-02-14 Thread Dan McCullough
Or code and give back to the project On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: On Tuesday 14 February 2006 16:18, Kim Christensen wrote: On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5

RE: [PHP] What's a Blog?

2006-02-13 Thread Jay Blanchard
[snip] I have a client who wants to blog or he wants a blog on his website. I don't know anything about these blogs except it's sort of a fad I think. Isn't a blog just a simple web form with a big textarea on the blogger's side writing to a database and then the data is displayed in

Re: [PHP] What's a Blog?

2006-02-13 Thread Dan McCullough
Wordpress is free and easy to setup. On 2/13/06, Sam Smith [EMAIL PROTECTED] wrote: I have a client who wants to blog or he wants a blog on his website. I don't know anything about these blogs except it's sort of a fad I think. Isn't a blog just a simple web form with a big textarea on the

Re: [PHP] What's the safest way to destory/wipe out the arrays within the associative arrays?

2005-10-13 Thread Paul Waring
On Wed, Oct 05, 2005 at 03:12:51PM -0400, Scott Fletcher wrote: What is the safest way to destroy or take out the $xml['NEWSFEED']['0']['MESSAGE']['2']. associative arrays starting with ['2'] and those arrays inside of the ['2'] array path? The unset() would make it not possible to

Re: [PHP] What's the safest way to destory/wipe out the arrays within the associative arrays?

2005-10-13 Thread Richard Lynch
On Wed, October 5, 2005 2:12 pm, Scott Fletcher wrote: What is the safest way to destroy or take out the $xml['NEWSFEED']['0']['MESSAGE']['2']. associative arrays starting with ['2'] and those arrays inside of the ['2'] array path? The unset() would make it not possible to reassign the

Re: [PHP] What's the going rate for making websites ?

2005-04-05 Thread David Bevan
Hi Rene, I am becoming a little bit concerned about some of the advice you have been getting about setting a rate for your work. Don't get me wrong, there is nothing wrong with charging by the hour, but a lot of times one of two things happen, either you begin to resent your customer or they

Re: [PHP] What's the going rate for making websites ?

2005-04-04 Thread Brent Baisley
That would be between $10 and $150 per hour or more. One can easily find and hire a college kid to slap together some open source programs, maybe throw a bit of Flash and fancy graphics on a web page and the project is done for $10 per hour. Of course, there is no cohesiveness or consistency

Re: [PHP] What's the going rate for making websites ?

2005-04-03 Thread Robby Russell
On Sun, 2005-04-03 at 16:51 -0600, -{ Rene Brehmer }- wrote: Hi gang Sorry for asking this question here, but I don't know where else to ask. And Goole'ing didn't help me much. My father-in-law has a friend in Alaska (and I'm in Canada) that needs a website done. Not sure what kinda

Re: [PHP] What's the going rate for making websites ?

2005-04-03 Thread Leif Gregory
Hello -{, Sunday, April 3, 2005, 4:51:29 PM, you wrote: RB What do y'all charge when you do sites for people ??? ... In the RB past I've only done pro-bono work (because they usually don't RB require much work, so it's not a problem getting it done while RB working on other projects), but I've

Re: [PHP] What's the going rate for making websites ?

2005-04-03 Thread Miles Thompson
Leif, Amen, amen and amen. Miles At 08:52 PM 4/3/2005, Leif Gregory wrote: Hello -{, Sunday, April 3, 2005, 4:51:29 PM, you wrote: RB What do y'all charge when you do sites for people ??? ... In the RB past I've only done pro-bono work (because they usually don't RB require much work, so it's not

RE: [PHP] What's up with the list?

2005-02-25 Thread Jay Blanchard
[snip] Haven't gotten anything from the list since yesterday...is it me, or is it the list. Fix it Jay!!! ;) [/snip] I am up to my arse in an application roll-out and you want me to reboot the computer?!?!?! I don't think so Tim, um er..John! ROFLMMFAO -- PHP General Mailing List

RE: [PHP] What's up with the list?

2005-02-25 Thread Chris W. Parker
John Nichel mailto:[EMAIL PROTECTED] on Friday, February 25, 2005 6:12 AM said: Haven't gotten anything from the list since yesterday...is it me, or is it the list. Fix it Jay!!! ;) While we're asking questions about the list, is it just me or does it take everyone's email 30+ minutes

RE: [PHP] What's up with the list?

2005-02-25 Thread Tyler Replogle
So many people have said this, but i think its fix. From: John Nichel [EMAIL PROTECTED] To: PHP Mailing Lists php-general@lists.php.net Subject: [PHP] What's up with the list? Date: Fri, 25 Feb 2005 09:11:34 -0500 MIME-Version: 1.0 Received: from lists.php.net ([216.92.131.4]) by

Re: [PHP] What's up with the list?

2005-02-25 Thread Rasmus Lerdorf
Our mailing list server has been getting bogged down so we are experimenting with some new code. That code got stuck last night. No mail was lost, but it did get held up until we woke up to fix it. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] What's going on?

2004-09-26 Thread Marek Kilimajer
Phpu wrote: For the last 2 days i haven't received emails. What's going on with this mailing list? It might have something to do with the fact your clock is 2 days behind. Have you been time travelling? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Jim Grill
Here's the question... I can either A) in the header or my page, generate a recordset of all of the records in the related table and then loop through the recordset creating an array of the fields I need and then later pull from it in the repeat region... or B) take the six lines of code

RE: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Dan Joseph
I can either A) in the header or my page, generate a recordset of all of the records in the related table and then loop through the recordset creating an array of the fields I need and then later pull from it in the repeat region... or B) take the six lines of code Dreamweaver generates to

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Chris Shiflett
--- Robb Kerr [EMAIL PROTECTED] wrote: Here's the question... I can either A) in the header or my page, generate a recordset of all of the records in the related table and then loop through the recordset creating an array of the fields I need and then later pull from it in the repeat

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Galen
Almost all the time (unless the data being worked with is extremely, extremely large) PHP is much faster at manipulating data than MySQL. So if you already have the record set pulled out of MySQL, you probably want to go with PHP to manipulate it. Especially for repeating like this, there is

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Robb Kerr
On Wed, 8 Sep 2004 10:30:59 -0500, Jim Grill wrote: Here's the question... I can either A) in the header or my page, generate a recordset of all of the records in the related table and then loop through the recordset creating an array of the fields I need and then later pull from it in the

RE: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Jay Blanchard
[snip] I don't completely understand your terminology, but it's always faster to get all of your data with a single query rather than a query per loop. Of course, the difference is that it also requires more memory. In general, if you have the memory, use it. It will always be faster. [/snip] +1

RE: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Jay Blanchard
[snip] That brings up another question which I know actually belongs over on the MySQL board, but since the question arose here I thought I'd post here. I understood that MyISAM tables could not be relational. Do you mean that I can create JOINs between MyISAM tables? Maybe I need to do some more

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread John Holmes
From: Robb Kerr [EMAIL PROTECTED] That brings up another question which I know actually belongs over on the MySQL board, but since the question arose here I thought I'd post here. I understood that MyISAM tables could not be relational. Do you mean that I can create JOINs between MyISAM tables?

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Greg Donald
On Wed, 2004-09-08 at 13:31, Robb Kerr wrote: That brings up another question which I know actually belongs over on the MySQL board, but since the question arose here I thought I'd post here. I understood that MyISAM tables could not be relational. Do you mean that I can create JOINs between

Re: [PHP] What's faster? MySQL Queries or PHP Loops? OT

2004-09-08 Thread Jim Grill
That brings up another question which I know actually belongs over on the MySQL board, but since the question arose here I thought I'd post here. I understood that MyISAM tables could not be relational. Do you mean that I can create JOINs between MyISAM tables? Maybe I need to do some more

RE: [PHP] What's this

2004-06-17 Thread Jay Blanchard
[snip] This has me confused, is this Java or a php class, a constant or what?, i have never seen this kind of action. form method=post action={S_MODE} In what type of file will i find the S_MODE. [/snip] A quick Google indicates .NET -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] What's wrong with this IF statement?

2004-04-22 Thread Richard Davey
Hello Robert, Thursday, April 22, 2004, 8:02:55 PM, you wrote: RS $cat_id = $cats[id_num]; Try this: $cat_id = $cats['id_num']; You need to quote array elements otherwise PHP expects a constant. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General

RE: [PHP] What's wrong with this IF statement?

2004-04-22 Thread Michael Sims
John W. Holmes wrote: You want instead of || if ($cat_id != 53 $cat_id != 54 $cat_id != 55 $cat_id != 117 $cat_id != 118 $cat_id != 74) For stuff like this I've always found the following slightly easier on the eyes: if (!in_array($cat_id, array('53', '54', '55', '117', '118', '74')))

Re: [PHP] What's wrong with this IF statement?

2004-04-22 Thread Daniel Clark
What about removing the quotes around the numbers. if ($cat_id != 53 || $cat_id != 54 || $cat_id != 55 etc... My IF statement should be picking up on the numbers, and if the number matches not be displaying out the information, however I look at the outputted page and the information is

Re: [PHP] What's wrong with this IF statement?

2004-04-22 Thread John W. Holmes
From: Robert Sossomon [EMAIL PROTECTED] if ($cat_id != 53 || $cat_id != 54 || $cat_id != 55 || $cat_id != 117 || $cat_id != 118 || $cat_id != 74) Okay, if $cat_id is 53, this will work out to: if(FALSE || TRUE || TRUE || TRUE || TRUE || TRUE) which results in TRUE overall. You want

Re: [PHP] What's wrong with this IF statement?

2004-04-22 Thread Chris Shiflett
--- Robert Sossomon [EMAIL PROTECTED] wrote: if ($cat_id != 53 || $cat_id != 54 || $cat_id != 55 || $cat_id != 117 || $cat_id != 118 || $cat_id != 74) That looks like a pretty big logical flaw to me. Just read that out loud to yourself. It should be clear that this statement is equivalent to:

RE: [PHP] What's the use in OOP?

2004-03-31 Thread Peter Albertsson
: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: den 29 mars 2004 23:53 To: Stephen Craton; 'PHP List' Subject: Re: [PHP] What's the use in OOP? --- Stephen Craton [EMAIL PROTECTED] wrote: I've been reading up on object oriented programming in PHP for a while now and I just don't get what's

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Robert Cummings
On Mon, 2004-03-29 at 16:43, Stephen Craton wrote: I've been reading up on object oriented programming in PHP for a while now and I just don't get what's the use in using it. It supposedly makes it faster, but I don't really see how in any of my scripts. What's the advantage of OOP anyway, and

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Jason Giangrande
Stephen Craton wrote: I've been reading up on object oriented programming in PHP for a while now and I just don't get what's the use in using it. It supposedly makes it faster, but I don't really see how in any of my scripts. What's the advantage of OOP anyway, and why are so many people using it

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Chris Shiflett
--- Stephen Craton [EMAIL PROTECTED] wrote: I've been reading up on object oriented programming in PHP for a while now and I just don't get what's the use in using it. It supposedly makes it faster, but I don't really see how in any of my scripts. Makes it faster in what way? I'm curious to

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Richard Davey
Hello Stephen, Monday, March 29, 2004, 10:43:22 PM, you wrote: SC I've been reading up on object oriented programming in PHP for a while now SC and I just don't get what's the use in using it. It supposedly makes it SC faster, but I don't really see how in any of my scripts. What's the SC

Re: [PHP] What's the use in OOP?

2004-03-29 Thread William Lovaton
I agree, but the reuse of code is also posible in an structured oriented fashion and it is not inherent in OOP. Simply saying that you are going to use OOP doesn't means that the code reuse is granted, like in structured oriented programming you have to think very carefully how to design your

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Stephen Craton
- -Original Message- - From: Chris Shiflett [mailto:[EMAIL PROTECTED] - Sent: Monday, March 29, 2004 4:53 PM - To: Stephen Craton; 'PHP List' - Subject: Re: [PHP] What's the use in OOP? - - --- Stephen Craton [EMAIL PROTECTED] wrote: - I've been reading up on object oriented programming in PHP

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Chris de Vidal
Stephen Craton said: I've been reading up on object oriented programming in PHP for a while now and I just don't get what's the use in using it. It supposedly makes it faster, but I don't really see how in any of my scripts. What's the advantage of OOP anyway, and why are so many people using

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Kelly Hallman
Mar 29 at 5:25pm, Stephen Craton wrote: I used OO in my chat script (can be found at http://php.melchior.us) but it really seemed like a waste since it was such a small basic script. I never really find myself re-needing code except for database connectivity and calling the database and stuff

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Chris Shiflett
--- Kelly Hallman [EMAIL PROTECTED] wrote: I think there is a bit of what I consider an efficiency myth in regards to OOP in PHP. Most agree that the OO implementation in PHP is not robust. It's much better in PHP 5, although a lack of robustness is not how I would personally describe PHP 4's

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Kelly Hallman
Mar 29 at 3:23pm, Chris Shiflett wrote: I think there is a bit of what I consider an efficiency myth in regards to OOP in PHP. Most agree that the OO implementation in PHP is not robust. It's much better in PHP 5, although a lack of robustness is not how I would personally describe PHP

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Robert Cummings
On Mon, 2004-03-29 at 18:23, Chris Shiflett wrote: --- Kelly Hallman [EMAIL PROTECTED] wrote: I think there is a bit of what I consider an efficiency myth in regards to OOP in PHP. Most agree that the OO implementation in PHP is not robust. It's much better in PHP 5, although a lack of

[PHP] RE:[PHP]What'stheuseinOOP?

2004-03-29 Thread Chris de Vidal
Stephen Craton said: I used OO in my chat script (can be found at http://php.melchior.us) but it really seemed like a waste since it was such a small basic script. I never really find myself re-needing code except for database connectivity and calling the database and stuff like that. My

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Chris Shiflett
--- Robert Cummings [EMAIL PROTECTED] wrote: Perhaps, but I would say that most people who make this assertion understand OO. The performance penalty is not a myth. Just as templating incurs a performance penalty, so does OO. The reward can be worth it, of course, in terms of organization

Re: [PHP] What's your favorite PHP weather code?

2004-02-29 Thread Karl Timmermann
Not a problem. I think it doesn't work because you need to register for a key on weather.com site now. Thanks though! Karl On Feb 29, 2004, at 7:40 AM, Lowell Allen wrote: I'm looking for some code to get the latest weather and put it on my webpage, and have it very customizable. What are

Re: [PHP] What's your favorite PHP weather code?

2004-02-28 Thread Lowell Allen
I'm looking for some code to get the latest weather and put it on my webpage, and have it very customizable. What are your favorites? I've only tried this one -- found it easy to work with: http://www.cruelacid.com/?page=weather -- Lowell Allen -- PHP General Mailing List

Re: [PHP] What's your favorite PHP weather code?

2004-02-28 Thread Burhan Khalid
Karl Timmermann wrote: I'm looking for some code to get the latest weather and put it on my webpage, and have it very customizable. What are your favorites? http://weatherpixie.com/ Can't get any more customized than that ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] What's wrong with this code please?

2004-02-24 Thread Sam Masiello
If you want to see the contents of an array, use the print_r function: http://www.php.net/print_r HTH! --Sam Donpro wrote: $emails = array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]); $addresses = explode(,,$emails); for ($i=0; $i count($addresses); $i++) { echo $i . ':

Re: [PHP] What's wrong with this code please?

2004-02-24 Thread Adam Bregenzer
On Tue, 2004-02-24 at 12:51, Donpro wrote: $emails = array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]); $addresses = explode(,,$emails); for ($i=0; $i count($addresses); $i++) { echo $i . ': ' . $addresses[$i] . 'br'; if ($i == count($addresses) - 1)

RE: [PHP] What's wrong with this code please?

2004-02-24 Thread Chris W. Parker
Donpro mailto:[EMAIL PROTECTED] on Tuesday, February 24, 2004 9:52 AM said: $emails = array([EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]); $addresses = explode(,,$emails); for ($i=0; $i count($addresses); $i++) { echo $i . ': ' . $addresses[$i] . 'br'; if ($i ==

Re: [PHP] What's a good regex to validate an email address? ;)

2003-10-18 Thread Curt Zirzow
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]): From: Jeremy Russell [EMAIL PROTECTED] Will get nearly everything that resembles an email address. Holy crap, batman... did you even read the original message? lol.. I'm more curious as how this topic got into this thread. Curt

RE: [PHP] What's a good regex to validate an email address? ;)

2003-10-17 Thread Jeremy Russell
[EMAIL PROTECTED](net|com|org|gov|...) or [EMAIL PROTECTED] Will get nearly everything that resembles an email address. [EMAIL PROTECTED] would even go through the second one. Best thing to do maybe is try to send a email to the address to verify it. -Original Message- From:

RE: [PHP] What's a good regex to validate an email address? ;)

2003-10-17 Thread Jeremy Russell
No... I replied to a reply think it was the original... :/ Doh!! -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 2:48 PM To: Jeremy Russell; Daevid Vincent; [EMAIL PROTECTED] Subject: Re: [PHP] What's a good regex to validate

Re: [PHP] What's a good regex to validate an email address? ;)

2003-10-17 Thread CPT John W. Holmes
From: Daevid Vincent [EMAIL PROTECTED] Not PHP, but in js, I use this: Dude... read the messages before you reply. you know, the whole think before you say thing?? ;) ---John Holmes... -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15,

Re: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread Analysis Solutions
On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote: I'm surprised the email address hasn't been taken off the list yet. [EMAIL PROTECTED] you are my arch-nemesis!! [EMAIL PROTECTED] is the place to kvetch about users like this. I already did. A subject of username bouncing is

Re: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread daniel
sorry i just made the notice too i hope it works On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote: I'm surprised the email address hasn't been taken off the list yet. [EMAIL PROTECTED] you are my arch-nemesis!! [EMAIL PROTECTED] is the place to kvetch about users like this.

RE: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread Chris W. Parker
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Tuesday, August 12, 2003 4:15 PM said: i didnt undertstand a word you said , is he off the list yet 1. Maybe your comprehension would be helped if you learned to punctuate sentences correctly. Spaces never ever come before punctuation. It's

Re: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread daniel
i didnt undertstand a word you said , is he off the list yet On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote: I'm surprised the email address hasn't been taken off the list yet. [EMAIL PROTECTED] you are my arch-nemesis!! [EMAIL PROTECTED] is the place to kvetch about users

Re: [PHP] What's this talk about ASP to PHP?

2003-07-10 Thread Philip Olson
On 10 Jul 2003, Jonathan Villa wrote: I've read somewhere about some asptophp convertor/tool/methodology...?? Don't know what it is, that's why I'm asking. I've been asked to help out on a project which might include some already developed basic ASP code. I would rather do it in PHP.

Re: [PHP] what's wrong with this?????

2003-07-08 Thread Adam Voigt
Umm quotes. Anywhere in your actual SQL that you are using a single quote, you need to put a backslash before it, example: activated ENUM('0','1') DEFAULT '0' Becomes: activated ENUM(\'0\',\'1\') DEFAULT \'0\' On Tue, 2003-07-08 at 11:26, Artoo wrote: I keep getting Parse error: parse

Re: [PHP] what's wrong with this?????

2003-07-08 Thread Artoo
Thanks. - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Artoo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:31 AM Subject: Re: [PHP] what's wrong with this? Umm quotes. Anywhere in your actual SQL that you are using a single quote, you

RE: [PHP] What's wrong with this code??

2003-05-31 Thread Jennifer Goodie
Problem lines if ($mo == 06 and $dy 01 and $dy 09) { $wd = 8; } if ($mo == 06 and $dy 08) { $wd = 9; } but if I change my date to 06/02 then no matter what I try, $wd always gets the value of 9 (it should be 8 on this date). It should not get the value 9 until the 9th

Re: [PHP] What's wrong with this code??

2003-05-31 Thread Ernest E Vogelsinger
At 01:08 30.04.2003, Beauford said: [snip] if ($mo == 06 and $dy 01 and $dy 09) { $wd = 8; } if ($mo == 06 and $dy 08) { $wd = 9; } [snip] The problem is your notation. If you had written if ($mo == 6 and $dy

Re: [PHP] What's wrong with this code??

2003-05-31 Thread Beauford
think of any other way of doing it. Any suggestions? Thanks - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Beauford [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Friday, May 30, 2003 7:39 PM Subject: Re: [PHP] What's wrong with this code?? At 01:08

Re: [PHP] What's wrong with this code??

2003-05-31 Thread Brian V Bonini
On Fri, 2003-05-30 at 20:02, Beauford wrote: Your right though, the code is awkward - but I couldn't think of any other way of doing it. Any suggestions? switch http://us4.php.net/manual/en/control-structures.switch.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] What's wrong with this code??

2003-05-31 Thread Beauford
] To: Beauford [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Friday, May 30, 2003 9:18 PM Subject: Re: [PHP] What's wrong with this code?? On Fri, 2003-05-30 at 20:02, Beauford wrote: Your right though, the code is awkward - but I couldn't think of any other way of doing it. Any

Re: [PHP] what's the best way to handle this?

2003-03-18 Thread Ernest E Vogelsinger
At 14:38 18.03.2003, Edward Peloke said: [snip] When a user 'registers' with our site, I want to generate their personal webpage for them. Currently, I have a webpage where the contents are generated from their personal info in the db and I have a drop down

RE: [PHP] what's the best way to handle this?

2003-03-18 Thread Edward Peloke
thanks, not sure how to do either of these...but I will look them up. -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 9:14 AM To: Edward Peloke Cc: [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] what's the best way to handle

Re: [PHP] what's the best way to handle this?

2003-03-18 Thread Chris Hayes
At 14:38 18-3-03, you wrote: Ok, I hope this makes sense, When a user 'registers' with our site, I want to generate their personal webpage for them. Currently, I have a webpage where the contents are generated from their personal info in the db and I have a drop down to view client pages but it

Re: [PHP] what's the best way to handle this?

2003-03-18 Thread Chris Hayes
I forgot to mention, you may need to finetune this: not every server gives exactly the same $SERVER values. When default is reached, the url is really wrong and you give them a nice scowling in the 404.html file. (A nice suggestion: HEY You dumb pi3ce of sh1t3! Learn to type!

Re: [PHP] what's the best way to handle this?

2003-03-18 Thread CPT John W. Holmes
When a user 'registers' with our site, I want to generate their personal webpage for them. Currently, I have a webpage where the contents are generated from their personal info in the db and I have a drop down to view client pages but it is just the same page but I pass in the clientid so it

Re: [PHP] what's the best way to handle this?

2003-03-18 Thread Justin French
very cool chris!!! Justin on 19/03/03 2:27 AM, Chris Hayes ([EMAIL PROTECTED]) wrote: At 14:38 18-3-03, you wrote: Ok, I hope this makes sense, When a user 'registers' with our site, I want to generate their personal webpage for them. Currently, I have a webpage where the contents are

Re: [PHP] What's this _FILE junk?

2003-03-17 Thread Pete James
Is your form enctype set? Like so: form name='foo' method='post' action='foo.php' enctype='multipart/form-data' Liam Gibbs wrote: This line: INPUT TYPE = FILE NAME = imprintpicture SIZE = 22 when clicking submit, produces nothing. I print_r $_FILES[imprintpicture], I try to echo

<    1   2   3   4   >