On Tue, July 25, 2006 3:15 pm, Kevin Waterson said:
This one time, at band camp, Larry Garfield [EMAIL PROTECTED]
wrote:
The correct answer is (b). (PHP 6 won't even have short
tags, so get
used to
not having them.)
ummm, I think it was decided to stay in php6. I could be
Hi gang:
Why does starting my php script with --
?xml version=1.0 encoding=utf-8?
-- stop it from running?
I would like to use php in a page, but the page has to begin with a
xml declaration to generate a quirksmode for IE6 and under while
permitting IE7 to be left in standards mode.
Disable short tags.
If short tags are enabled, the PHP parser sees the ? and switches into PHP
mode. It then starts parsing the xml and sees that it's not proper PHP,
and freaks out.
You can:
a) Use PHP to print out the XML declaration as a string:
?php print '?xml version=1.0
I posted a bit earlier and did some other tests and now i have a VERY
simple question... check the following code :
===
class test {
public function __construct(){
echo 'Buildingbr';
}
public function __destruct(){
I get: (on Linux, PHP 5.1.4)
php cls_t.php
Will buildbrBuildingbrFinished
buildingbrUnsetingbrDestroyingbrUnset completebr
Mathieu Dumoulin wrote:
I posted a bit earlier and did some other tests and now i have a VERY
simple question... check the following code :
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
yes.
php_uname()
read about it here http://php.net/manual/en/function.php-uname.php
and then read 10 pages either side just for fun :-)
Thank you.
M.
--
PHP General Mailing
Jochem Maas wrote:
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
yes.
php_uname()
read about it here http://php.net/manual/en/function.php-uname.php
and then read 10 pages either side just for fun :-)
Thank you.
M.
Ha -
Hi,
Is there a function that can detect the OS on which the script is running?
Thank you.
M.
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
Thank you.
M.
The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug*
The OS of the client is not available - server side - remember.
--
life is a game... so have fun.
--
PHP
At 11:46 AM +1000 6/27/06, Ligaya Turmelle wrote:
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
Thank you.
M.
The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug*
The OS of the client is not available - server side -
I am working on some code that I am moving to use PDO in order to
play with it a bit. I used to use ADODB, but want to try out the
performance of using PDO and just skipping some of the portability of
the db code. The one thing I find myself missing is the ADODB debug
and sql values where
I am working on some code that I am moving to use PDO in order to
play with it a bit. I used to use ADODB, but want to try out the
performance of using PDO and just skipping some of the portability of
the db code. The one thing I find myself missing is the ADODB debug
and sql values where
On Wed, May 24, 2006 11:26 am, Suhas wrote:
I am trying to write a script which will avoid browser timeout problem
and
in that process I have created 2 files
FILE1.php:
set_time_out(1);
echo shell_exec(/usr/local/bin/php -f FILE2.php );
FILE2.php:
@mail($to,$sub,$msg);
sleep(60);
Hi,
I am trying to write a script which will avoid browser timeout problem and
in that process I have created 2 files
FILE1.php:
set_time_out(1);
echo shell_exec(/usr/local/bin/php -f FILE2.php );
FILE2.php:
@mail($to,$sub,$msg);
sleep(60);
@mail($to,$sub,$msg);
I run File1.php thr' browser
On 5/24/06, Suhas [EMAIL PROTECTED] wrote:
Hi,
I am trying to write a script which will avoid browser timeout problem and
in that process I have created 2 files
FILE1.php:
set_time_out(1);
echo shell_exec(/usr/local/bin/php -f FILE2.php );
FILE2.php:
@mail($to,$sub,$msg);
sleep(60);
I have been using template.inc for templates. It works very well so
that I can just work on coding and a designer can make the page look good.
But I noticed that there are several versions (some of which don't seem
to work), and its no longer in the phplib. Is there some reason not to
use
This one time, at band camp, Charlene Wroblewski [EMAIL PROTECTED] wrote:
looked at Smarty and it doesn't seem to be as useful the way I'm using
templates.
I'm not surprised, 1000 lines of code to do hello world
Kevin
--
Democracy is two wolves and a lamb voting on what to have for lunch.
Sure if all you are writing is a hello world page, but if you are
writing out an application that is more complex, wouldn't the savings
and managability be beneficial enough to justify? ... code reusability
... Don't ya think?
Why is it easier to do something like this:
echo 'table';
echo
On 11/05/06, Jochem Maas [EMAIL PROTECTED] wrote:
Ginger Cheng wrote:
Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste (cut -f1 file1) (cut -f2
Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste (cut -f1 file1) (cut -f2 file2) final_file
It works perfectly well if I just
On Wednesday 10 May 2006 4:02 pm, Ginger Cheng wrote:
Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste (cut -f1 file1) (cut -f2 file2)
Ginger Cheng wrote:
Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste (cut -f1 file1) (cut -f2 file2) final_file
It works perfectly
Hi all. I have heard that functions like apc_define_constants and
apc_load-constants are useful in speeding up mass definition of constants
but could someone tell me how many constants you would have to have before
this became appropriate. I am writing an app that loads a number of
constants into
Dave Goodchild wrote:
Hi all. I have heard that functions like apc_define_constants and
apc_load-constants are useful in speeding up mass definition of constants
but could someone tell me how many constants you would have to have before
this became appropriate. I am writing an app that loads a
Dave Goodchild wrote:
Oooo you have so much power..must be amazing to be so
knowlgeable...oh my god, are you really considering witholding that
information from me...what on earth am I goimng to dohow can I
cope...uh...uh...
oh shit! I worked it out myself. No need to wade
Hi,
I'm making a PHP Installer that is customizable by using plugins, I haven't
used PHP for a while and which I have forgotten some things about PHP *eek*..
Anyway, I want to know how to add things to an array. Like this:
$foobar = array()
$foobar['rar']['miaw']
Would that output come out
On 27 Apr 2006, at 20:51, Saul Rennison wrote:
Anyway, I want to know how to add things to an array. Like this:
$foobar = array()
$foobar['rar']['miaw']
Would that output come out (for the array) as:
array(
'rar' = 'miaw'
)
No, it would create a multi-dimensional array that contains
Saul Rennison wrote:
Hi,
I'm making a PHP Installer that is customizable by using plugins, I haven't
used PHP for a while and which I have forgotten some things about PHP *eek*..
$hiddenKnowledge = unforgetPHP();
Anyway, I want to know how to add things to an array. Like this:
$foobar =
That is incorrect.
There *IS* a setting for another magic_quotes_runtime, which will do
addslashes to all data coming FROM the database.
That's a particularly silly setting UNLESS your entire application
consists of taking date out of one database and shoving it into
another database -- which
I have a server where magic_quotes_gpc is set to On. It's my
understanding that this should add slashes to something like Joe's
so that it's Joe\'s but when I look in the db, it is in there as
Joe's. This doesn't seem like it should be the anticipated behavior.
Is there another setting in
On Sat, April 8, 2006 7:49 pm, jonathan wrote:
I have a server where magic_quotes_gpc is set to On. It's my
understanding that this should add slashes to something like Joe's
so that it's Joe\'s but when I look in the db, it is in there as
Joe's. This doesn't seem like it should be the
jonathan wrote:
I have the following construct:
$arg['textarea']['body']=Hello;
foreach($arg['textarea'] as $row)
{
echo $row['body'].br/;
$row contains the _string_ 'Hello'.
the thing is you can use array-like notation to
get at the individual chars of a
On Mon, February 20, 2006 8:57 pm, jonathan wrote:
I have the following construct:
$arg['textarea']['body']=Hello;
foreach($arg['textarea'] as $row)
{
echo $row['body'].br/;
echo $arg['textarea']['body'].br/;
}
I would expect both of them
jonathan wrote:
I have the following construct:
$arg['textarea']['body']=Hello;
foreach($arg['textarea'] as $row)
{
echo $row['body'].br/;
echo $arg['textarea']['body'].br/;
}
I would expect both of them to output Hello but only the second does.
['body']. $row[1]. $row[1]. $row[2]. $row[3]. $row[4];
It will probably echo Hello for you :)
/Peter
-Original Message-
From: jonathan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 9:58 AM
To: php-general@lists.php.net
Subject: [PHP] question about foreach and associate array
Hi list,
For debugging purposes I want to send to a function the line and file
where it is called. The problem is that I want these parameters to be
added to function as default parameters (changing all function calls
would not be an option for me)
function my_func( $param, $line =
Andrei,
http://php.net/manual/en/function.debug-backtrace.php
David
Andrei wrote:
Hi list,
For debugging purposes I want to send to a function the line and
file where it is called. The problem is that I want these parameters to
be added to function as default parameters (changing
Thank you very much David
Andrei
David Grant wrote:
Andrei,
http://php.net/manual/en/function.debug-backtrace.php
David
Andrei wrote:
Hi list,
For debugging purposes I want to send to a function the line and
file where it is called. The problem is that I want these parameters to
be
On Tue, January 31, 2006 6:20 am, Andrei wrote:
For debugging purposes I want to send to a function the line and file
where it is called. The problem is that I want these parameters to be
added to function as default parameters (changing all function calls
would not be an option for me)
I'm currently working on a media based site that serves up user submitted
videos/images/flash games/etc. The owner wants an easy way to generate
thumbnails for the content so that we don't have to depend on the user to
submit one. We would also like to attach a small intro clip to the video
On Thu, January 12, 2006 4:13 pm, jonathan wrote:
I have a class which creates another class within it such as:
class Loc{
public function outputInfo()
{
$map=new Map();
$map-setKey();
}
}
In my main page can I access the $map object like this:
$loc=new Loc();
Hi, Jonathan!
On Thu, 2006-01-12 at 14:13 -0800, jonathan wrote:
I have a class which creates another class within it such as:
class Loc{
public function outputInfo()
{
$map=new Map();
$map-setKey();
}
}
In my main page can I access the
$map=new Map();
$this-map = new Map();
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$map is not a member variable of the Loc class in your code...
Instead do this:
class Loc {
// Defines a member variable
var $map;
// Constructor
function Loc() {
$this-map = new Map(); // Create map object and save to Loc object
$this-map-setKey();
}
}
$loc = new Loc();
Does this
(PHP 4 = 4.2.1, PECL)
Mean it is installed for version higher than
4.2.1?
Ted zeng
On 1/9/06 7:41 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Ted Zeng wrote:
Hi,
I use OS X tiger which has a PHP v4.3.12 installed.
any reason to be using an old version of php?
I would like
From the http://pecl.php.net/package/domxml page:
NOTE: if you're running PHP 4.x, the domxml is already part of the
distribution.
It seems to me the Extension should be installed already.
On 1/9/06 7:41 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Ted Zeng wrote:
Hi,
I use OS X tiger which
Hi,
I use OS X tiger which has a PHP v4.3.12 installed.
I would like to be able to generate xml files.
But when I copied a php script from a tutorial and tried it,
Php complaints that
domxml_new_doc is undefined function
How could that be?
Ted zeng
--
PHP General Mailing List
Hi, my name is Danilo, i am from Brazil
I need your assistence with a code made by your self, if you are not too
busy :P
I am using PHP/XML with your request.php file, but i cant get some
attributes from a Tag, everything is working fine, but it :(
The Tag name is RUA and have some attributes that
do a:
print_r($_REQUEST)
on the php page. if nothing, things aren't configured correctly or
you aren't passing in variables correctly.
On Dec 1, 2005, at 12:15 PM, Danilo Azevedo wrote:
Hi, my name is Danilo, i am from Brazil
I need your assistence with a code made by your self, if you
Hello,
I wanna ask you about :
1. When you say server, does it mean my CPU?
2. Do i have to buy a seperate server besides my computer CPU?
3. Can i use the software to multiple web-domain that i will create
and launch online?
4. How will i be able store those data
On Sunday 27 November 2005 12:34, cheeto borje wrote:
Hello,
I wanna ask you about :
1. When you say server, does it mean my CPU?
By CPU I assume you mean your computer and not the Central Processing Unit.
being a CPU is the small chip inside your computer attached into the
motherboard
server and client are logical definitions, in the environment here
normally discussed these are meanings
server : a pc (cpu) where a web server is running (usually apache) and
php is parsing pages served to the client
client: is a pc (cpu), normally remote, who is asking for a page to the server
On Fri, November 11, 2005 7:09 pm, Bagus Nugroho wrote:
I have session code which written WindowsXP and It wotk properly as
expected, but when I'm used in Windows 2K, it got error as;
Notice: Undefined index: loginMessage in
C:\CentralData\forms\mainForm.php on line 65
I'am used Apache 2.0
I have session code which written WindowsXP and It wotk properly as expected,
but when I'm used in Windows 2K, it got error as;
Notice: Undefined index: loginMessage in C:\CentralData\forms\mainForm.php on
line 65
I'am used Apache 2.0 and PHP 5.0.4.
Is php.ini setting on W2K different with XP
There's no code. You need to put your code in the Email so we can see it...
poblem was solved by add
session_register function
before $_SESSION[blablabla];
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sat 12-Nov-2005 09:50
To: Bagus Nugroho; php-general@lists.php.net
Subject: Re: [PHP] Question about session
There's
Manish Marathe wrote:
On 11/2/05, Jochem Maas [EMAIL PROTECTED] wrote:
Manish Marathe wrote:
Sorry for spamming but I didn't mean to reply you privately :(
I did it myself by accident 2 minutes ago :-)
no probs.
Thanks
I am sorry if I have hurted anyone's feelings here but by
Sorry for spamming but I didn't mean to reply you privately :(
On 11/1/05, Jochem Maas [EMAIL PROTECTED] wrote:
Manish Marathe wrote:
Hello All,
I am developing a unit test generator for PHP. The generated tests would
be
PHPUnit2 compatible and I will be using the Reflection API to
Manish Marathe wrote:
Sorry for spamming but I didn't mean to reply you privately :(
I did it myself by accident 2 minutes ago :-)
no probs.
...
Well, its not me who is going to run the unit tests but it the user who
is going to. As I said I am developing an automatic unit test
On 11/2/05, Jochem Maas [EMAIL PROTECTED] wrote:
Manish Marathe wrote:
Sorry for spamming but I didn't mean to reply you privately :(
I did it myself by accident 2 minutes ago :-)
no probs.
Thanks
I am sorry if I have hurted anyone's feelings here but by foolish simply
au contraire. I
Hello All,
I am developing a unit test generator for PHP. The generated tests would be
PHPUnit2 compatible and I will be using the Reflection API to generate the
tests. The tests would be generated only for classes and written on PHP
5.0.3 compatible.
My question is to use the Reflection API, I
I am developing a unit test generator for PHP. The generated tests would be
PHPUnit2 compatible and I will be using the Reflection API to generate the
tests. The tests would be generated only for classes and written on PHP
5.0.3 compatible.
My question is to use the Reflection API, I need to
Manish Marathe wrote:
Hello All,
I am developing a unit test generator for PHP. The generated tests would be
PHPUnit2 compatible and I will be using the Reflection API to generate the
tests. The tests would be generated only for classes and written on PHP
5.0.3 compatible.
My question is to
I just started working with a new company and they handed me some of their
php code for me to look over. I noticed that they have a TON of include
files being called into their scripts. For example, instead of having one
file called functions.php and then having all their functions in that one
Hi Jay,
Friday, October 14, 2005, 2:21:57 PM, you wrote:
I was wondering isn't this putting a bigger load on a server by
including so many files for each function? Also, I was wondering
what everyone's opinion was on this approach in terms of
maintenance. Do you think it's better practice to
Richard Davey wrote:
Hi Jay,
Friday, October 14, 2005, 2:21:57 PM, you wrote:
I was wondering isn't this putting a bigger load on a server by
including so many files for each function? Also, I was wondering
what everyone's opinion was on this approach in terms of
maintenance. Do you think
I've installed PHP using the windows installer
I try to open then php pages containing the following script :
?php
echo Current IP Address: ;
$ipx = getenv(HTTP_CLIENT_IP) ? getenv(HTTP_CLIENT_IP) : 0;
$ipx = !$ipx getenv(HTTP_X_FORWARDED_FOR) ?
getenv(HTTP_X_FORWARDED_FOR) : 0 ;
$ipx =
On 10/7/05, Sven Simons [EMAIL PROTECTED] wrote:
I've installed PHP using the windows installer
I try to open then php pages containing the following script :
?php
echo Current IP Address: ;
$ipx = getenv(HTTP_CLIENT_IP) ? getenv(HTTP_CLIENT_IP) : 0;
$ipx = !$ipx
On Fri, October 7, 2005 6:54 am, Sven Simons wrote:
When manually installing PHP it always gives me the status UNKNOWN.
Definitely check $_SERVER instead of GetEnv to see if it gives you
what you want.
The only strange thing is that the phpinfo says that the ini file is
located
in C:\Winnt
xfedex wrote:
I did the Rasmus' 30 second AJAX Tutorial just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single input and for every keystroke (calling the
javascript function with onkeyup) the value of the input is parsed
xfedex wrote:
Hi,
I did the Rasmus' 30 second AJAX Tutorial just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single input and for every keystroke (calling the
javascript function with onkeyup) the value of the input is
On 9/30/05, Jochem Maas [EMAIL PROTECTED] wrote:
I'm guessing that trhe onclick and onsumbit handlers you set are hanging
on a 'submit' type input? .. if so the form is submitting - in whcih case
the
AJAX request will arrive back at your page - and the page won't be there
(so
to speak). try
Hi,
I did the Rasmus' 30 second AJAX Tutorial just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single input and for every keystroke (calling the
javascript function with onkeyup) the value of the input is parsed by
another
On Thu, 2005-09-29 at 22:46, xfedex wrote:
Hi,
I did the Rasmus' 30 second AJAX Tutorial just for testing and everything
works fine, by the way... thanks Rasmus, for this and for all !!.
My little script have a single input and for every keystroke (calling the
javascript function with
On 9/29/05, Robert Cummings [EMAIL PROTECTED] wrote:
Aside from using ajax to clean the toilet once in a while I'm not really
into it. But I do wrangle out some javascript from time to time :) Why
are you using onsubmit? Wouldn't onclick work better?
Cheers,
Rob.
Hi Robert,
I also try
Hey all! I sat down and started learning PHP today and ran into a bit of a
spot. Hoped someone here could lead me in the right direction. I created a
simple test form called form.php. I thought I had this strait in my mind
when I created it, but obviously it didn't work. All I want to do
On Wed, Sep 07, 2005 at 06:47:28PM -0400, Iggep wrote:
Hey all! I sat down and started learning PHP today and ran into a bit of a
spot. Hoped someone here could lead me in the right direction. I created a
simple test form called form.php. I thought I had this strait in my mind
when I
@lists.php.net
Subject: [PHP] Learning PHP - question about hidden form fields
Hey all! I sat down and started learning PHP today and ran into a bit of a
spot. Hoped someone here could lead me in the right direction. I created a
simple test form called form.php. I thought I had this strait in my mind
Wanted to thank the handful of you who wrote me with some hints. I really
appreciate the guidance. :) The test form is working like a champ.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm writing a error handler for my scripts, so I went to : http://
us3.php.net/manual/en/function.set-error-handler.php
I noticed something in the example 1 given there.
?php
myErrorHandler($errno, $errstr, $errfile, $errline)
{
switch ($errno) {
case E_USER_ERROR:
.
}
?
and then:
Vidyut Luther wrote:
?php
myErrorHandler($errno, $errstr, $errfile, $errline)
{
switch ($errno) {
case E_USER_ERROR:
.
}
?
and then:
?php
trigger_error(log(x) for x = 0 is undefined, you used: scale =
$scale, E_USER_ERROR);
?
So, wouldn't this make $errno in the myErrorHandler be
after you make changes restart iis. btw apache works fine in this
scenario too. if the extensions still dont work then look for the
dll's make sure they are even installed for php/webserver to use
On 8/19/05, JM [EMAIL PROTECTED] wrote:
You are talking about a few issues.
1. turn on /
I call red.php through apache http request, and red.php make exec('./s.php')
call, then I got bunch of s.php processes, and system locked me out any task
due to no more processes available. Why this would happen?
marvin:~/liang.ns2user.info/php less red.php
?php
ignore_user_abort(true);
I forgot to mention that calling from shell directly s.php runs correctly.
~
marvin:~/liang.ns2user.info/php ./s.php
This is a PHP-CLI Script!!0123456789
~
The php configuration of this site is:
http://liang.ns2user.info/php/info.php
Thank you
If my php is configured as ( http://liang.ns2user.info/php/info-train06.htm)
an apache 2.0 filter module. The php is invoked by apache on request of http
client. Can I do an exec() to call another php script to run in the
background? If yes, how?
Highly appreciate if somebody helps. Thank
Hi guys.
I'm having some trouble here regarding a project. I have a table with
projects, wich can be recursive (ie. sub-projects) and it is related to
itself.
By making the following query
-8--
SELECT * FROM projects LEFT JOIN projects proj_parent ON
want to find out its parent (2), or do
you want to find out all its parents including grandparents (2) and (1)?
What do you need to know?
C.
-Original Message-
From: André Medeiros [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 12:18
To: php-general@lists.php.net
Subject: [PHP] MySQL + PHP
sollution (wich neither will make me very happy, but that's life).
Thanks for your prompt reply :)
C.
-Original Message-
From: André Medeiros [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 12:18
To: php-general@lists.php.net
Subject: [PHP] MySQL + PHP question
-
From: André Medeiros [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 12:18
To: php-general@lists.php.net
Subject: [PHP] MySQL + PHP question
Hi guys.
I'm having some trouble here regarding a project. I have a table with
projects, wich can be recursive (ie. sub-projects) and it is related to
itself
, but this query should work on MSSQL and Oracle.
HTH.
C.
-Original Message-
From: André Medeiros [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 12:53
To: Shaw, Chris - Accenture
Cc: php-general@lists.php.net
Subject: RE: [PHP] MySQL + PHP question
One thing I didn't quite explain myself well... I'm building this to
register objects on a permission system.
The SQL weight is heavy as it is, and I want to save queries as much as
possible. Making two queries to extract information about a project and
it's parent is not something I'd want to
You're missing the point here. I know how to get the parent project's
info. I know recursiveness. I _JUST_ don't know how to get the current
and parent project's info in just ONE QUERY (since I'm trying to save
them because the sql weight is getting pretty heavy).
--
PHP General Mailing List
André Medeiros [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
One thing I didn't quite explain myself well... I'm building this to
register objects on a permission system.
The SQL weight is heavy as it is, and I want to save queries as much as
possible. Making two queries to
On Tue, 2005-07-26 at 13:39 +0100, Mark Rees wrote:
André Medeiros [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
One thing I didn't quite explain myself well... I'm building this to
register objects on a permission system.
The SQL weight is heavy as it is, and I want to save
.
-Original Message-
From: Mark Rees [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 13:39
To: php-general@lists.php.net
Subject: Re: [PHP] MySQL + PHP question
*
This e-mail has been received by the Revenue Internet e-mail service
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
701 - 800 of 1773 matches
Mail list logo