news.php.net wrote:
Hi! I have some text and JPEG files inside a directory like:
1992-7-11.txt
1992-7-11_pic1.jpg
2000-4-10.txt
2000-4-10_pic1.jpg
2004-5-2.txt
2004-5-2_pic1.jpg
On a Windows box (XP + Apache), if I do a dir_object->read() for the
directory, read() reads the files above "in order
Jim Lucas wrote:
news.php.net wrote:
Hi! I have some text and JPEG files inside a directory like:
1992-7-11.txt
1992-7-11_pic1.jpg
2000-4-10.txt
2000-4-10_pic1.jpg
2004-5-2.txt
2004-5-2_pic1.jpg
On a Windows box (XP + Apache), if I do a dir_object->read() for the
directory, read() reads the fil
news.php.net wrote:
Hi! I have some text and JPEG files inside a directory like:
1992-7-11.txt
1992-7-11_pic1.jpg
2000-4-10.txt
2000-4-10_pic1.jpg
2004-5-2.txt
2004-5-2_pic1.jpg
On a Windows box (XP + Apache), if I do a dir_object->read() for the
directory, read() reads the files above "in order
Hi! I have some text and JPEG files inside a directory like:
1992-7-11.txt
1992-7-11_pic1.jpg
2000-4-10.txt
2000-4-10_pic1.jpg
2004-5-2.txt
2004-5-2_pic1.jpg
On a Windows box (XP + Apache), if I do a dir_object->read() for the
directory, read() reads the files above "in order" (eg.
1992-7-11.txt.
On 9/17/07, Πρεκατές Αλέξανδρος <[EMAIL PROTECTED]> wrote:
> I'a writing first time so sorry if i reapeat but
> i wanted to say this in my own words and angle.
>
> My question is :
>
> Lets assume that we'r going throught php/html files
>
> a-> b --> c
> |<|
>
>
> 1)From a
Jim Lucas wrote:
REVISED
Try this
## Switched to an indexed array with the day as the value instead of
the key
$Campaign_array[] = $row['day'];
}
# At this point you have arrays as values for your $Campaign_array
# So, unless $k is an array that matches a sub array of $Campaign_array
# y
Jim Lucas wrote:
Richard Kurth wrote:
$query = "SELECTday
FROMemailcampaign
wherecampaign_id = '$emailcampaign'
ANDmember_id = '$members_id'
";
$DB_Change_Campaign_Results = safe_query($query);
while ( $row = mysql_fetch_array($DB_Change_Campaign
Richard Kurth wrote:
What I am trying to is get all the days from a table where email
campaign = number. and then look at the last day that was sent and find
it in the list and get the next day that follows that day. At this point
the script below is not working. So if you have any Ideas that
Kevin Murphy wrote:
I've got a site (password protected, sorry) where I have this in the top
of my template:
session_start();
$iSessionId = session_id();
$iSessionName = session_name();
Then I have a bunch of links like this in the site:
echo "Departments";
The first time, and on
Jim Lucas wrote:
Here is a nice little hack that I use.
"Little hack" it is, "nice" it isn't.
Ideally just turn off magic_quotes_gpc - you can do so in php.ini, or
perhaps your web server configuration files (httpd.conf, .htaccess etc.).
If you don't have access to any of the above then ins
I'a writing first time so sorry if i reapeat but
i wanted to say this in my own words and angle.
My question is :
Lets assume that we'r going throught php/html files
a-> b --> c
|<|
1)From a to b through a link
2)from b to c through a submit button (post method
We put a timeout at the top and show an error if the server never comes
back. You could do whatever you want. As long as the user doesn't try to
refresh the page or go somewhere else on your server, the ajax will just
keep trying in the background. That's all client-side JS / AJAX.
> -Origina
Richard Kurth wrote:
include ("includes/location.php");
$query = "SELECTday
FROMemailcampaign
wherecampaign_id = '1'
ANDmember_id = '8'
";
$DB_Change_Campaign_Results = safe_query($query);
$Campaign_array = array();
while ( $row = mysql_fetch_assoc($DB_
REVISED
Try this
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've got a site (password protected, sorry) where I have this in the
top of my template:
session_start();
$iSessionId = session_id();
$iSessionName = session_name();
Then I have a bunch of links like this in the site:
echo "Departments";
The first time, and only the f
brian wrote:
Richard Kurth wrote:
What I am trying to is get all the days from a table where email
campaign = number. and then look at the last day that was sent and
find it in the list and get the next day that follows that day. At
this point the script below is not working. So if you have
Hi Daevid,
This app keep alive forever as well?
When you restart apache what happend to your app?
Daevid Vincent escreveu:
-Original Message-
From: Rodolfo De Nadai [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 5:25 AM
To: php-general@lists.php.net
Subject: [PHP] Try
Hello,
I am a beginner in PHP. I need help with the function preg_replace.
I am trying to remove the backslashes ( \ ) from a string that is submitted
by the user.
It is submitted in a form but it adds \ before the quotation marks ( " ).
Will this change if I use the GET method instead of PO
Richard Kurth wrote:
What I am trying to is get all the days from a table where email
campaign = number. and then look at the last day that was sent and find
it in the list and get the next day that follows that day. At this point
the script below is not working. So if you have any Ideas tha
> -Original Message-
> From: Rodolfo De Nadai [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 17, 2007 5:25 AM
> To: php-general@lists.php.net
> Subject: [PHP] Try to find a solution, when restart Apache
> with PHP Script
>
> Hi all...
>
> I'm facing a serious problem with my app
M. Sokolewicz wrote:
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 06:04:45PM -0700, Richard Kurth wrote:
Richard Kurth wrote:
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 07:09:02PM -0400, brian wrote:
Richard Kurth wrote:
$Campaign_array| = array('0','1','3','5','8','15','25');|
I know
Chaim Chaikin wrote:
Hello,
I am a beginner in PHP. I need help with the function preg_replace.
I am trying to remove the backslashes ( \ ) from a string that is submitted
by the user.
It is submitted in a form but it adds \ before the quotation marks ( " ).
Will this change if I use the
Richard Kurth wrote:
$query = " SELECT day
FROMemailcampaign
where campaign_id = '$emailcampaign'
AND member_id = '$members_id'
";
$DB_Change_Campaign_Results = safe_query($query);
while ( $row = mysql_fetch_array($DB_Change_Cam
Rodolfo De Nadai wrote:
Jim, i've already look for pcntl... but the support server guys, tell me
that they can't install php modules that are not pre-compiled... so,
pcntl is not an alternative...
Bummer, get new support server guys... no, but really
I think you are right... i have to
Right on the moment this process is not a option... because the project
should end in 4 weeks... perhaps after a while i could try use this
ideia of yours...
But right now i have to find a diferent solution...
But thanks Jim... that open new horizons...
Jim Lucas escreveu:
Rodolfo De Nadai
Rodolfo De Nadai wrote:
No... it not should only run when i'm connected to it throught a web
server...
it means that when i go to specific IE page and press a button named
'Enable' the daemon should be called and start to run indefinitly, and
i'm able to close IE session and the daemon keep wor
No... it not should only run when i'm connected to it throught a web
server...
it means that when i go to specific IE page and press a button named
'Enable' the daemon should be called and start to run indefinitly, and
i'm able to close IE session and the daemon keep working as well...
That's
Rodolfo De Nadai wrote:
Edward , my best guess is that not IE is holding the connection but the
apache user... because the process is related to the apache user... and
there's more i can close IE, bacause i use the directive 2> log.log & on
the call of system.
Example:
system("php myscript.php
Jim, i've already look for pcntl... but the support server guys, tell me
that they can't install php modules that are not pre-compiled... so,
pcntl is not an alternative...
I think you are right... i have to make this script a daemon... but how
can i do that with php??... the problem is that t
tedd wrote:
Richard Kurth wrote:
$Campaign_array| = array('0','1','3','5','8','15','25');|
I know that I can find the next recored in a array using next. What I
do not understand is if I know the last number was say 5 how do I tell
the script that that is the current number so I can select th
Richard Kurth wrote:
$Campaign_array| = array('0','1','3','5','8','15','25');|
I know that I can find the next recored in a array using next. What
I do not understand is if I know the last number was say 5 how do I
tell the script that that is the current number so I can select the
next reco
Edward , my best guess is that not IE is holding the connection but the
apache user... because the process is related to the apache user... and
there's more i can close IE, bacause i use the directive 2> log.log & on
the call of system.
Example:
system("php myscript.php 2> log.log &");
This why
> I'm facing a serious problem with my application. I have a script write
> in PHP that starts in Internet Explorer, this script keep on running
> until a varible value change on my MySQL database.
> The problem is that when i restart Apache, the process child initalized
> isn't kill... then the ap
Hi all...
I'm facing a serious problem with my application. I have a script write
in PHP that starts in Internet Explorer, this script keep on running
until a varible value change on my MySQL database.
The problem is that when i restart Apache, the process child initalized
isn't kill... then the
I'm not sure, but perhaps tidy can fix the broken elements of the xml
file... I don't remember if it will close your quotes or just drop the
element from the tag.
On 9/17/07, John Taylor-Johnston <[EMAIL PROTECTED]> wrote:
>
> Pour examples of xml, but this is what I want to do. I have a quiz.
>
>
what do you mean using the zend framework. What did you do exactly?
- Original Message -
From: "debussy007" <[EMAIL PROTECTED]>
To:
Sent: Sunday, September 16, 2007 12:24 PM
Subject: Re: [PHP] Configure mail to use Gmail smtp
>
> I succeeded using the Zend Framework.
>
>
>
> debussy007
the only possible problem is that with Gmail you cant send too many mails at
once, more than 30 or so and it gives you an error . so if you are going to
be doing mass mailing you may not be able to use it.
- Original Message -
From: "Thomas Bachmann" <[EMAIL PROTECTED]>
To:
Sent: Sunday,
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 06:04:45PM -0700, Richard Kurth wrote:
Richard Kurth wrote:
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 07:09:02PM -0400, brian wrote:
Richard Kurth wrote:
$Campaign_array| = array('0','1','3','5','8','15','25');|
I know that I can find the n
38 matches
Mail list logo