Re: [PHP] break/exit

2005-02-28 Thread Richard Lynch
timothy johnson wrote: > I have a single php script that I am using to upload my gaim logs to a > mysql server, but I want to put in some type of means to where if that > log was already added then it will exit. what ways would you > recommend? How do you know if one gaim log matches another one i

Re: [PHP] break/exit

2005-02-27 Thread Justin Lilly
how about an if else statement? -justin On Sun, 27 Feb 2005 09:55:23 +, timothy johnson <[EMAIL PROTECTED]> wrote: > I have a single php script that I am using to upload my gaim logs to a > mysql server, but I want to put in some type of means to where if that > log was already added then it

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-04 Thread Jonathan Pitcher
--Original Message- > From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 03, 2003 5:10 AM > To: 'Jim Lucas'; Jonathan Pitcher; [EMAIL PROTECTED] > Subject: RE: [PHP] Break, Exit, Die, Kill, Maime and Stab > >> -Original Message

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Chris Hayes
At 14:35 3-7-2003, you wrote: > -Original Message- > From: Jeff Moser [mailto:[EMAIL PROTECTED] > Sent: 03 July 2003 13:07 > > So...why not write the entire included file as a function and > then call that > function instead of using include? I'd be interested, though, > to hear if the > re

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Jim Lucas
i works for me in many different areas on my site Jim Lucas - Original Message - From: "Jeff Moser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 03, 2003 5:07 AM Subject: RE: [PHP] Break, Exit, Die, Kill, Maime and Stab So...why not write the e

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Ford, Mike [LSS]
> -Original Message- > From: Jeff Moser [mailto:[EMAIL PROTECTED] > Sent: 03 July 2003 13:07 > > So...why not write the entire included file as a function and > then call that > function instead of using include? I'd be interested, though, > to hear if the > return broke out of the inclu

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Jeff Moser
.8282 --  -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 5:10 AM To: 'Jim Lucas'; Jonathan Pitcher; [EMAIL PROTECTED] Subject: RE: [PHP] Break, Exit, Die, Kill, Maime and Stab > -Original Message-

RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Ford, Mike [LSS]
> -Original Message- > From: Jim Lucas [mailto:[EMAIL PROTECTED] > Sent: 02 July 2003 22:47 > > Technically you are not outside of a function. > > you need to use one of the include or require functions to > include the file > right? include and require are not functions -- they are lan

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-03 Thread Marek Kilimajer
Make it be: if () { include(); } else { if () { include(); } else if () { include(); } } reads much better. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-02 Thread Jim Lucas
Technically you are not outside of a function. you need to use one of the include or require functions to include the file right? Jim Lucas - Original Message - From: "Jonathan Pitcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 2:3

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-02 Thread Jonathan Pitcher
return will work outside of functions ?? That I didn't know. Thanks, Jonathan On Wednesday, July 2, 2003, at 04:28 PM, Jim Lucas wrote: return; will do the trick Jim Lucas - Original Message - From: "Jonathan Pitcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-02 Thread Jonathan Pitcher
I have thought about that but most of the information is not switchable. I use the code mostly for checking if a list of variables have been setup correctly. Thanks though. Jonathan On Wednesday, July 2, 2003, at 04:23 PM, Jeff Harris wrote: On Jul 2, 2003, "Jonathan Pitcher" claimed that:

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-02 Thread Jim Lucas
return; will do the trick Jim Lucas - Original Message - From: "Jonathan Pitcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 2:09 PM Subject: [PHP] Break, Exit, Die, Kill, Maime and Stab > I have some scripting that includes files. The included files ar

Re: [PHP] Break, Exit, Die, Kill, Maime and Stab

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Jonathan Pitcher" claimed that: |I have some scripting that includes files. The included files are |executed and everything works great. | |The included page needs to check multiple information. | |Currently if I want the scripts to end correctly I have to: [snip] |I would love