Hello list,
I would like to launch a process (a long one: ftp, a lot of data to
check, a lot of time to do) from a page but do not want the end of the
process to return to the page.
I notice the pcntl_fork function, but need to rebuild PHP and Apache...
Does anyone knows another way to do this ?
Thanks a lot in advance for your help.
Philippe 5 1432
pch wrote: Hello list,
I would like to launch a process (a long one: ftp, a lot of data to check, a lot of time to do) from a page but do not want the end of the process to return to the page.
I notice the pcntl_fork function, but need to rebuild PHP and Apache...
Does anyone knows another way to do this ?
$cmd="/long/running/script";
`echo $cmd | at now`;
C.
What about this? Just suggestion.
/* client is redirected and script continues with execution */
ignore_user_abort(true);
header("Location: /back.php");
Colin McKinnon a écrit : pch wrote:
Hello list,
I would like to launch a process (a long one: ftp, a lot of data to check, a lot of time to do) from a page but do not want the end of the process to return to the page.
I notice the pcntl_fork function, but need to rebuild PHP and Apache...
Does anyone knows another way to do this ?
$cmd="/long/running/script"; `echo $cmd | at now`;
C.
Does this work in PHP ? If yes, it has no effect for me...
--
Please replace lalaposte by laposte ton send me an email.
ziizii a écrit : What about this? Just suggestion.
/* client is redirected and script continues with execution */ ignore_user_abort(true); header("Location: /back.php");
as far as I could see, the script is interrupted... to go to the
location stuff.
--
Please replace lalaposte by laposte ton send me an email.
pch wrote: Colin McKinnon a écrit : pch wrote:
Hello list,
I would like to launch a process (a long one: ftp, a lot of data to check, a lot of time to do) from a page but do not want the end of the process to return to the page.
I notice the pcntl_fork function, but need to rebuild PHP and Apache...
Does anyone knows another way to do this ?
$cmd="/long/running/script"; `echo $cmd | at now`;
C. Does this work in PHP ? If yes, it has no effect for me...
No, it works OUTSIDE of PHP - that's rather the point.
C. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Caroline |
last post by:
I'd like to launch an executable file from a web page. Basically, the user
enters seven parameters and then clicks a button to generate a graph. The
input is written to a file and then read by...
|
by: Michael Howes |
last post by:
I have a c# windows form that talks to a web service on a server that then
can talk to multiple "agents" on different machines using web service calls.
I want to be able to launch an application...
|
by: Christopher C |
last post by:
I am using a C# winform to launch some apps for our students. Basically the
user hits a button the form hides and the app is launched. When the app
exits, the form is unhidden. I have a question on...
|
by: Ronald S. Cook |
last post by:
How do I launch, say, Microsoft Word from within a C# Win app? Word should
launch exterior to my app, of course. Is it easy to set size and position
of where Word window will be placed?
...
|
by: jmsxp |
last post by:
Hi all,
I am in my infancy with programming, so please forgive stupid
questions...
I am attempting to write a C# program that will launch Trillian (well,
that is just a part of the overall...
| |
by: cooltoriz |
last post by:
Hello there,
I am not asking how to impersonate a process within C# windows
application. I already know that, in C# v2.0, you can easily achieve it
using ProcessStartInfo. You can run a process...
|
by: tombrogan3 |
last post by:
Hi, I'm writing a service which has to monitor a database looking for
new feeds (basically a few hundred thousand rows with a common id).
When it finds a new feed I can either:
1) Process it on...
|
by: Samuel A. Falvo II |
last post by:
I have a shell script script.sh that launches a Java process in the
background using the &-operator, like so:
#!/bin/bash
java ... arguments here ... &
In my Python code, I want to invoke...
|
by: tempnode |
last post by:
I have a problem that I can't seem to solve:
I need to write a C++ app that will run off of a floppy.
Basically, I will boot into DOS (from a floppy), and run my
executable
from the floppy. ...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |