php-general Digest 17 Sep 2007 11:46:14 - Issue 5023
Topics (messages 262150 through 262160):
Re: Finding next recored in a array
262150 by: brian
262151 by: Richard Kurth
262152 by: Rick Pasotto
262153 by: Richard Kurth
262154 by: Richard Kurth
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
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:
what do you mean using the zend framework. What did you do exactly?
- Original Message -
From: debussy007 [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Sunday, September 16, 2007 12:24 PM
Subject: Re: [PHP] Configure mail to use Gmail smtp
I succeeded using the Zend
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.
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 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 apache
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 IE
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
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
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
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 2
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:
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
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:
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
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 =
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
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
-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 application.
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
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
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]
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
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 a href=\/departments/\Departments/a;
The
REVISED
Try this
?php
$query = SELECT day
FROMemailcampaign
WHERE campaign_id = '$emailcampaign'
AND member_id = '$members_id'
;
$DB_Change_Campaign_Results = safe_query($query);
##
## NOTICE: changed from array to assoc
##
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 =
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.
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)
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
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 a href=\/departments/\Departments/a;
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
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 =
Jim Lucas wrote:
REVISED
Try this
?php
$query = SELECTday
FROMemailcampaign
WHEREcampaign_id = '$emailcampaign'
ANDmember_id = '$members_id'
;
$DB_Change_Campaign_Results = safe_query($query);
##
## NOTICE: changed from array to assoc
##
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 to b through a
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.
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
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
39 matches
Mail list logo