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 is
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?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
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
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-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 22:47
Technically you are not outside
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
-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 language
--
-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-
From: Jim Lucas
-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 include.
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 entire included file
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
return
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:
if ()
{
}
else
{
if ()
{
}
else if ()
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
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
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:
, 2003 2:09 PM
Subject: [PHP] Break, Exit, Die, Kill, Maime and Stab
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: [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 are
executed and everything works great.
The included page needs to check multiple information
16 matches
Mail list logo