Thank you Richard, I think I'd better explain a little about the project and
then you or somebody else might give some good suggestion upon the
restrictions of the project.
The project is to implement a digital library protocol, called oai_pmh
Read this chapter of the manual:
http://www.php.net/manual/en/features.connection-handling.php
Liang ZHONG wrote:
I now encounter a problem with flow control of my program with PHP. This
is very crucial to the design of a pretty big project. This is what I
want to do in the program:
?php
On Tue, July 19, 2005 5:32 am, Liang ZHONG said:
It sounds interesting. But since I am pretty new to PHP, I have some
questions, naive maybe, about what you wrote.
#!/bin/sh\n/path/to/script/Send.php 12 \n
What does the Send.php look like? I do not have idea how a shell
interprets
an php
I now encounter a problem with flow control of my program with PHP. This is
very crucial to the design of a pretty big project. This is what I want to
do in the program:
?php
do_A();
header(Location: .$result_of_do_A);
do_B();
?
Since it takes do_B() quite a while to finish, so I want the
http://ca.php.net/manual/en/function.register-shutdown-function.php
Cheers,
Rob.
On Thu, 2005-07-21 at 23:40, Liang ZHONG wrote:
I now encounter a problem with flow control of my program with PHP. This is
very crucial to the design of a pretty big project. This is what I want to
do in the
On Thu, July 21, 2005 8:40 pm, Liang ZHONG said:
I now encounter a problem with flow control of my program with PHP. This
is
very crucial to the design of a pretty big project. This is what I want to
do in the program:
?php
do_A();
header(Location: .$result_of_do_A);
Depending on the
Thank you Rouvas,
I never used the tools you mentioned. But I will definitely give them a try.
I wrote a perl script using LWP as an http user agent. and the timing
function you suggested. It works well.
I am new to this forum, and new to PHP. It seems Rasmus is famous, and I
should have
snipIt seems Rasmus is famous, and I should have shown my respect./snip
history src = 'php_manual_en.chm'
PHP succeeds an older product, named PHP/FI. PHP/FI was created by Rasmus
Lerdorf in 1995, initially as a simple set of Perl scripts for tracking
accesses to his online resume. He named this
Hi André,
It sounds interesting. But since I am pretty new to PHP, I have some
questions, naive maybe, about what you wrote.
#!/bin/sh\n/path/to/script/Send.php 12 \n
What does the Send.php look like? I do not have idea how a shell interprets
an php script and what the parameter 12 means
Can somebody here help me to delete my message?
People who read this must be laughing at me.
:)
snipIt seems Rasmus is famous, and I should have shown my respect./snip
history src = 'php_manual_en.chm'
PHP succeeds an older product, named PHP/FI. PHP/FI was created by Rasmus
Lerdorf in
I did something like that for a newsletter sending script. Basiclly, I
had two scripts:
a) AddEdit.php that would list the newsletter's items and allow it to send
b) Send.php that was a script I ran on the background
When pressed Send on AddEdit, it would do something like
$tempName = tempnam(
Hi Liang,
trying to get conclusive results with browsers is futile. Use a command-line
tool (like curl) to invoke the web pages and get the results. Or you can use
PHP's own function to query the web server and do your own timing with
microtime() function or another suitable for your purposes.
On 7/16/05, rouvas [EMAIL PROTECTED] wrote:
Hi Liang,
trying to get conclusive results with browsers is futile. Use a command-line
tool (like curl) to invoke the web pages and get the results. Or you can use
Although personally I think that telnet-to-port-80 would be a better
idea, in this
Liang wrote:
I am a programmer and new to php. I wonder what process control can php
interpreter do for multithreading . I notice that through http request, php
interpreter can execute 2 php programs simataneously, but will only
sequentially queued and execute if I try to execute one php
apache-php concurrent process control
Date: Fri, 15 Jul 2005 13:46:37 -0700
Liang wrote:
I am a programmer and new to php. I wonder what process control can php
interpreter do for multithreading . I notice that through http request,
php
interpreter can execute 2 php programs simataneously
Liang ZHONG wrote:
As I know, apache-php works this way. When the web server gets an http
request with file name extension .php, it will start the php
interpreter to process the php file.
Now I have a php program does something like this: when it is executing
with one parameter p1, the
Could you please explain it a little bit more?
I did test this way.
The code is the same for a.php and b.php
?php
sleep(20);
print Done. br /;
?
I place request from 2 browser windows.
First time, I placed with http://baseURL/a.php with both 2 browsers,
starting times have 5
Liang ZHONG wrote:
Could you please explain it a little bit more?
I did test this way.
The code is the same for a.php and b.php
?php
sleep(20);
print Done. br /;
?
I place request from 2 browser windows.
First time, I placed with http://baseURL/a.php with both 2
Hi Rasmus,
You are right. It was the problem with the browser. I used Mozilla Firefox
to try, and do not know what consideration it just serialized the identical
url http requests. I then turned to use 2 IE 6.0 windows, 2 tabs within
Maxthon browser, one IE windows and one Firefox, to test.
19 matches
Mail list logo