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
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
--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
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
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
> -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
.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-
> -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
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
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
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
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:
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
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
14 matches
Mail list logo