stop php and executables

newbie c <[email protected]> Fri, 1 Apr 2005 10:36:04 -0500 (EST)
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
--===============1896151993==
Content-Type: multipart/alternative; boundary="0-1468489047-1112369764=:7571"

--0-1468489047-1112369764=:7571
Content-Type: text/plain; charset=us-ascii

Hi, 

I would appreciate help with the following. I am trying to implement a 
cancel button on in a php application. In this application a person can 
login to his/her account and access a database. 

The PHP file that I am working on contains some input boxes and some 
pull down lists. According to the user's input and some choices the 
mypictures.php 
will 

1) make select statements from the database (I am using MySQL) 
2) in a loop has a grep statement that looks for pictures stored in the 
database 
3) call an excutable file called generatepicture and generatepicture 
also calls another excutable gatherparts 

A cancel button will be useful when a user makes a big request and then 
decides to cancel. 

This is a php and linux question as inside my php file there is a loop 
and inside the look there is a call "system" call that executes a shell 
script item #3 listed above. Inside this shell script there are 
serveral calls to execute executables from a third party software

One problem I have is that the php file is rendering itself so I'm not 
sure where or if the cancel can be placed or if it will be functional 
on the mypictures.php page. Let us say I have solved this problem with a 
pop up window that contains the cancel button.

My next linux related problem is that I want to stop the mypictures.php 
page itself and I want to stop any exectuables is has started.

I plan on having the cancel button redirecting the user to a fresh new 
page but before redirecting I would like to stop the three processes 
that I mentionned ie. select statements, grep statement and most 
importantly the executables that get called in the background. 

I have had problems with the server getting tied up because some of the 
executables kept on running. 
How do I stop these processes? Should I or could I use the kill command
if so how would I find the process ID of the original mypictures.php 
and any of the executables it has called. 

Thanks!





---------------------------------
Post your free ad now! Yahoo! Canada Personals

--0-1468489047-1112369764=:7571
Content-Type: text/html; charset=us-ascii

<DIV>Hi, <BR><BR>I would appreciate help with the following. I am trying to implement a <BR>cancel button on in a php application. In this application a person can <BR>login to his/her account and access a database. <BR><BR>The PHP file that I am working on contains some input boxes and some <BR>pull down lists. According to the user's input and some choices the <BR>mypictures.php <BR>will <BR><BR>1) make select statements from the database (I am using MySQL) <BR>2) in a loop has a grep statement that looks for pictures stored in the <BR>database <BR>3) call an excutable file called generatepicture and generatepicture <BR>also calls another excutable gatherparts <BR><BR>A cancel button will be useful when a user makes a big request and then <BR>decides to cancel. <BR><BR>This is a php and linux question as inside my php file there is a loop <BR>and inside the look there is a call "system
 " call that executes a shell <BR>script item #3 listed above. Inside this shell script th!
ere are
 <BR>serveral calls to execute executables from a third party software<BR><BR>One problem I have is that the php file is rendering itself so I'm not <BR>sure where or if the cancel can be placed or if it will be functional <BR>on the mypictures.php page. Let us say I have solved this problem with a <BR>pop up window that contains the cancel button.<BR><BR>My next linux related problem is that I want to stop the mypictures.php <BR>page itself and I want to stop any exectuables is has started.<BR><BR>I plan on having the cancel button redirecting the user to a fresh new <BR>page but before redirecting I would like to stop the three processes <BR>that I mentionned ie. select statements, grep statement and most <BR>importantly the executables that get called in the background. <BR><BR>I have had problems with the server getting tied up because some of the <BR>executables kept on running. <BR
 >How do I stop these processes? Should I or could I use the kill command<BR>if so how wou!
ld I find
 the process ID of the original mypictures.php <BR>and any of the executables it has called. <BR><BR>Thanks!<BR><BR></DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>
--0-1468489047-1112369764=:7571--


--===============1896151993==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Redhat-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-devel-list
--===============1896151993==--