Re: [PHP] PHP post data

2006-04-11 Thread Richard Lynch
On Wed, April 5, 2006 10:33 pm, John Taylor-Johnston wrote:
 Scrolling back and forward through my PHP generated search engine,
 my browser (FF) alerts to remind me that I have post data.
 What kind of header can I add to avoid it doing that?
 Else what is the problem?

Use GET?

The basic paradigm involved is that GET should be safe for search
engines and bots to read and POST is used to alter data on the
server, so engines and bots should not, in general, crawl through
POST.

That's a generalization, and probably should be amended to blindly
crawl as there are obviously a zillion cases where an automated
process to do POST operations is the right answer

Anyway, the browser is assuming that POST data *DID* something on the
server, and re-doing that action could be harmful.  So it's giving the
user the option of re-doing it, or not.

If you use GET, the browser knows that you expect them to re-visit
and it's okay to re-load the page.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP post data

2006-04-06 Thread SLaVKa

John Taylor-Johnston wrote:

Scrolling back and forward through my PHP generated search engine,
my browser (FF) alerts to remind me that I have post data.
What kind of header can I add to avoid it doing that?
Else what is the problem?
John

Try using GET

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP post data

2006-04-06 Thread Chris Shiflett

John Taylor-Johnston wrote:

Scrolling back and forward through my PHP generated search
engine, my browser (FF) alerts to remind me that I have post
data. What kind of header can I add to avoid it doing that?


I have a pretty detailed article about this on my web site:

http://shiflett.org/articles/guru-speak-nov2004

In your case, you want to use what some people call the PRG pattern 
(POST, Redirect, GET). The redirect you want is a 3xx response, because 
those are excluded from the history mechanism, and PHP handles this for 
you when you add a Location header to a response.


Chris

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP post data

2006-04-05 Thread John Taylor-Johnston

Scrolling back and forward through my PHP generated search engine,
my browser (FF) alerts to remind me that I have post data.
What kind of header can I add to avoid it doing that?
Else what is the problem?
John

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP post data

2006-04-05 Thread Chris

John Taylor-Johnston wrote:

Scrolling back and forward through my PHP generated search engine,
my browser (FF) alerts to remind me that I have post data.
What kind of header can I add to avoid it doing that?


This has been discussed a few times in the past. Here's a couple of 
threads which might give you some ideas on how to tackle the issue.


http://marc.theaimsgroup.com/?l=php-generalm=110985128027075w=2

http://marc.theaimsgroup.com/?l=php-generalm=113657072623457w=2

http://marc.theaimsgroup.com/?l=php-generalm=100938508922704w=2


--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] POST data corrupted

2004-09-29 Thread Ilja Polivanovas
Hello guys,
I don't know if this question is PHP related or not, but, maybe someone  
remember, have the PHP script be processed if POST request is broken in  
the middle?

For example: User POSTs 60 KB of text, and then his browser or internet  
connection crashes, when only 30 of 60 KB was sent to server. Server  
recieves 30 KB, and think that it is complete POST, then updates some data  
in Database, and the text is corrupted at the result of this action.

I was surprised that such thing happens. Is this real feature ? or some  
kind of bug in http/apache/php chain? ://

--
Ilja Polivanovas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] post data

2004-06-15 Thread eoghan
hi,
im posting a form to itself... and im wondering if there is any
way to clear the post data from the page after if have dealt with it?
to stop page refreshes posting the data again?
thanks
eoghan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] post data

2004-06-15 Thread John Nichel
eoghan wrote:
hi,
im posting a form to itself... and im wondering if there is any
way to clear the post data from the page after if have dealt with it?
to stop page refreshes posting the data again?
thanks
eoghan
unset ( $_POST );
--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] post data

2004-06-15 Thread Larry E . Ullman
im posting a form to itself... and im wondering if there is any
way to clear the post data from the page after if have dealt with it?
$_POST = array();
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] post data?

2003-06-09 Thread HPS
Dear all,

i am using PHP 4.2.2 with Red Hat 8.0
i had a form in form.php, which has a form like this
input class=text type=text name=course_id size=10 maxlength=10
value=
say, i enter 6 in the text box.

After i click the submit button and i echo the value of course_id, it
returned 6course_id=6, NOT 6
do you have any idea?


thx a lot!
HPS



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] post data?

2003-06-09 Thread esctoday.com | Wouter van Vliet
What does your form tag look like?

-Oorspronkelijk bericht-
Van: HPS [mailto:[EMAIL PROTECTED]
Verzonden: maandag 9 juni 2003 9:32
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] post data?


Dear all,

i am using PHP 4.2.2 with Red Hat 8.0
i had a form in form.php, which has a form like this
input class=text type=text name=course_id size=10 maxlength=10
value=
say, i enter 6 in the text box.

After i click the submit button and i echo the value of course_id, it
returned 6course_id=6, NOT 6
do you have any idea?


thx a lot!
HPS



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] post data?

2003-06-09 Thread HPS
the form tag is
form action=syn2.php method=post onSubmit=return checkform(this);

Thx!
HPS



Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 What does your form tag look like?

 -Oorspronkelijk bericht-
 Van: HPS [mailto:[EMAIL PROTECTED]
 Verzonden: maandag 9 juni 2003 9:32
 Aan: [EMAIL PROTECTED]
 Onderwerp: [PHP] post data?


 Dear all,

 i am using PHP 4.2.2 with Red Hat 8.0
 i had a form in form.php, which has a form like this
 input class=text type=text name=course_id size=10 maxlength=10
 value=
 say, i enter 6 in the text box.

 After i click the submit button and i echo the value of course_id, it
 returned 6course_id=6, NOT 6
 do you have any idea?


 thx a lot!
 HPS



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] post data?

2003-06-09 Thread esctoday.com | Wouter van Vliet
in that case,.. I guess something is going wrong in your checkform
javascript function .. probably you attach the name and value (by mistake)
to eachother in there 

-Oorspronkelijk bericht-
Van: HPS [mailto:[EMAIL PROTECTED]
Verzonden: maandag 9 juni 2003 12:16
Aan: [EMAIL PROTECTED]
Onderwerp: Re: [PHP] post data?


the form tag is
form action=syn2.php method=post onSubmit=return checkform(this);

Thx!
HPS



Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 What does your form tag look like?

 -Oorspronkelijk bericht-
 Van: HPS [mailto:[EMAIL PROTECTED]
 Verzonden: maandag 9 juni 2003 9:32
 Aan: [EMAIL PROTECTED]
 Onderwerp: [PHP] post data?


 Dear all,

 i am using PHP 4.2.2 with Red Hat 8.0
 i had a form in form.php, which has a form like this
 input class=text type=text name=course_id size=10 maxlength=10
 value=
 say, i enter 6 in the text box.

 After i click the submit button and i echo the value of course_id, it
 returned 6course_id=6, NOT 6
 do you have any idea?


 thx a lot!
 HPS



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] post data?

2003-06-09 Thread John W. Holmes
It's an Apache2 / PHP bug. Upgrade to the latest versions of each
(although Apache2 and PHP are still not recommended). 

---John W. Holmes...

Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/

 -Original Message-
 From: esctoday.com | Wouter van Vliet [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 09, 2003 7:21 AM
 To: HPS; [EMAIL PROTECTED]
 Subject: RE: [PHP] post data?
 
 in that case,.. I guess something is going wrong in your checkform
 javascript function .. probably you attach the name and value (by
mistake)
 to eachother in there 
 
 -Oorspronkelijk bericht-
 Van: HPS [mailto:[EMAIL PROTECTED]
 Verzonden: maandag 9 juni 2003 12:16
 Aan: [EMAIL PROTECTED]
 Onderwerp: Re: [PHP] post data?
 
 
 the form tag is
 form action=syn2.php method=post onSubmit=return
checkform(this);
 
 Thx!
 HPS
 
 
 
 Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in
message
 news:[EMAIL PROTECTED]
  What does your form tag look like?
 
  -Oorspronkelijk bericht-
  Van: HPS [mailto:[EMAIL PROTECTED]
  Verzonden: maandag 9 juni 2003 9:32
  Aan: [EMAIL PROTECTED]
  Onderwerp: [PHP] post data?
 
 
  Dear all,
 
  i am using PHP 4.2.2 with Red Hat 8.0
  i had a form in form.php, which has a form like this
  input class=text type=text name=course_id size=10 maxlength=10
  value=
  say, i enter 6 in the text box.
 
  After i click the submit button and i echo the value of course_id,
it
  returned 6course_id=6, NOT 6
  do you have any idea?
 
 
  thx a lot!
  HPS
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] post data?

2003-06-09 Thread Billy
wouter,

the checkform should be alright, coz i had been using Redhat 7.2+apache 1.3
+ php 4.1.2 for a year and the program is working very good

thx a lot!
HPS


Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] ???
news:[EMAIL PROTECTED] ???...
 in that case,.. I guess something is going wrong in your checkform
 javascript function .. probably you attach the name and value (by mistake)
 to eachother in there 

 -Oorspronkelijk bericht-
 Van: HPS [mailto:[EMAIL PROTECTED]
 Verzonden: maandag 9 juni 2003 12:16
 Aan: [EMAIL PROTECTED]
 Onderwerp: Re: [PHP] post data?


 the form tag is
 form action=syn2.php method=post onSubmit=return checkform(this);

 Thx!
 HPS



 Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  What does your form tag look like?
 
  -Oorspronkelijk bericht-
  Van: HPS [mailto:[EMAIL PROTECTED]
  Verzonden: maandag 9 juni 2003 9:32
  Aan: [EMAIL PROTECTED]
  Onderwerp: [PHP] post data?
 
 
  Dear all,
 
  i am using PHP 4.2.2 with Red Hat 8.0
  i had a form in form.php, which has a form like this
  input class=text type=text name=course_id size=10 maxlength=10
  value=
  say, i enter 6 in the text box.
 
  After i click the submit button and i echo the value of course_id, it
  returned 6course_id=6, NOT 6
  do you have any idea?
 
 
  thx a lot!
  HPS
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] post data?

2003-06-09 Thread Billy
Thx a lot John.

Red Hat 8.0 is bundled with Apache 2 + php 4.2
if i needed to use Red Hat 8.0, except upgrading both program to the latest
version  (which as u saidnot recommended) ,   any other combination of
apache + php do u recommend?

thx a lot!
HPS


John W. Holmes [EMAIL PROTECTED] ???
news:[EMAIL PROTECTED] ???...
 It's an Apache2 / PHP bug. Upgrade to the latest versions of each
 (although Apache2 and PHP are still not recommended).

 ---John W. Holmes...

 Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E

 PHP Architect - A monthly magazine for PHP Professionals. Get your copy
 today. http://www.phparch.com/

  -Original Message-
  From: esctoday.com | Wouter van Vliet [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 7:21 AM
  To: HPS; [EMAIL PROTECTED]
  Subject: RE: [PHP] post data?
 
  in that case,.. I guess something is going wrong in your checkform
  javascript function .. probably you attach the name and value (by
 mistake)
  to eachother in there 
 
  -Oorspronkelijk bericht-
  Van: HPS [mailto:[EMAIL PROTECTED]
  Verzonden: maandag 9 juni 2003 12:16
  Aan: [EMAIL PROTECTED]
  Onderwerp: Re: [PHP] post data?
 
 
  the form tag is
  form action=syn2.php method=post onSubmit=return
 checkform(this);
 
  Thx!
  HPS
 
 
 
  Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in
 message
  news:[EMAIL PROTECTED]
   What does your form tag look like?
  
   -Oorspronkelijk bericht-
   Van: HPS [mailto:[EMAIL PROTECTED]
   Verzonden: maandag 9 juni 2003 9:32
   Aan: [EMAIL PROTECTED]
   Onderwerp: [PHP] post data?
  
  
   Dear all,
  
   i am using PHP 4.2.2 with Red Hat 8.0
   i had a form in form.php, which has a form like this
   input class=text type=text name=course_id size=10 maxlength=10
   value=
   say, i enter 6 in the text box.
  
   After i click the submit button and i echo the value of course_id,
 it
   returned 6course_id=6, NOT 6
   do you have any idea?
  
  
   thx a lot!
   HPS
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] post data?

2003-06-09 Thread Rasmus Lerdorf
Apache-1.3.x with whatever version of PHP you want.

-Rasmus

On Tue, 10 Jun 2003, Billy wrote:

 Thx a lot John.

 Red Hat 8.0 is bundled with Apache 2 + php 4.2
 if i needed to use Red Hat 8.0, except upgrading both program to the latest
 version  (which as u saidnot recommended) ,   any other combination of
 apache + php do u recommend?

 thx a lot!
 HPS


 John W. Holmes [EMAIL PROTECTED] ???
 news:[EMAIL PROTECTED] ???...
  It's an Apache2 / PHP bug. Upgrade to the latest versions of each
  (although Apache2 and PHP are still not recommended).
 
  ---John W. Holmes...
 
  Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E
 
  PHP Architect - A monthly magazine for PHP Professionals. Get your copy
  today. http://www.phparch.com/
 
   -Original Message-
   From: esctoday.com | Wouter van Vliet [mailto:[EMAIL PROTECTED]
   Sent: Monday, June 09, 2003 7:21 AM
   To: HPS; [EMAIL PROTECTED]
   Subject: RE: [PHP] post data?
  
   in that case,.. I guess something is going wrong in your checkform
   javascript function .. probably you attach the name and value (by
  mistake)
   to eachother in there 
  
   -Oorspronkelijk bericht-
   Van: HPS [mailto:[EMAIL PROTECTED]
   Verzonden: maandag 9 juni 2003 12:16
   Aan: [EMAIL PROTECTED]
   Onderwerp: Re: [PHP] post data?
  
  
   the form tag is
   form action=syn2.php method=post onSubmit=return
  checkform(this);
  
   Thx!
   HPS
  
  
  
   Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in
  message
   news:[EMAIL PROTECTED]
What does your form tag look like?
   
-Oorspronkelijk bericht-
Van: HPS [mailto:[EMAIL PROTECTED]
Verzonden: maandag 9 juni 2003 9:32
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] post data?
   
   
Dear all,
   
i am using PHP 4.2.2 with Red Hat 8.0
i had a form in form.php, which has a form like this
input class=text type=text name=course_id size=10 maxlength=10
value=
say, i enter 6 in the text box.
   
After i click the submit button and i echo the value of course_id,
  it
returned 6course_id=6, NOT 6
do you have any idea?
   
   
thx a lot!
HPS
   
   
   
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
   
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] post data?

2003-06-09 Thread Rasmus Lerdorf
On Mon, 9 Jun 2003, Michael A Smith wrote:
 Get Apache 1.3.27 (I think). and PHP. Follow the instructions on the PHP
 site! I found that those are the only one's I could get to work. Any PHP
 version using --with-apxs=/usr/local/apache I couldn't get to work. Also
 take a look at what you'll need first and make sure you know what to
 compile with!

You have to specify the full path to the apxs script.  ie.
--with-apxs=/usr/local/apache/bin/apxs or wherever it is.

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] post data?

2003-06-09 Thread Rasmus Lerdorf
Well, this is how millions of people build PHP.  It works pretty well.

-Rasmus

On Mon, 9 Jun 2003, Michael A Smith wrote:

 Yes I know, but I've never been able to get it to work. I just followed
 the instructions on the PHP site.

 -Michael
 On Mon, 2003-06-09 at 10:34, Rasmus Lerdorf wrote:
  On Mon, 9 Jun 2003, Michael A Smith wrote:
   Get Apache 1.3.27 (I think). and PHP. Follow the instructions on the PHP
   site! I found that those are the only one's I could get to work. Any PHP
   version using --with-apxs=/usr/local/apache I couldn't get to work. Also
   take a look at what you'll need first and make sure you know what to
   compile with!
 
  You have to specify the full path to the apxs script.  ie.
  --with-apxs=/usr/local/apache/bin/apxs or wherever it is.
 
  -Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] POST data

2002-12-03 Thread Brian Duke
Can someone tell me how I can access data from a POST? I don't mean
the variables because the data I'm getting doesn't have any. I have a
client that is doing a simple HTTP Post to a server and appending xml
data right after the header. I need access to the xml blob.

Thanks,
Brian
- Brian

(Be sure to remove the # symbol before replying to my email address)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] POST data

2002-12-03 Thread Ernest E Vogelsinger
At 23:47 03.12.2002, Brian Duke said:
[snip]
Can someone tell me how I can access data from a POST? I don't mean
the variables because the data I'm getting doesn't have any. I have a
client that is doing a simple HTTP Post to a server and appending xml
data right after the header. I need access to the xml blob.
[snip] 

Not sure if this gives you the posted data, but you could try
$_SERVER['QUERY_STRING']. Or simply print_r the $_SERVER array to check if
it is available.


-- 
   O Ernest E. Vogelsinger
   (\)ICQ #13394035
^ http://www.vogelsinger.at/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] POST data

2002-12-03 Thread John W. Holmes
 Can someone tell me how I can access data from a POST? I don't mean
 the variables because the data I'm getting doesn't have any. I have a
 client that is doing a simple HTTP Post to a server and appending xml
 data right after the header. I need access to the xml blob.

In php.ini, there is this setting:


; Always populate the $HTTP_RAW_POST_DATA variable.
;always_populate_raw_post_data = On


It's off by default. You could turn it on and then use that variable to
get all of the data, possibly. I think it would be
$GLOBALS['HTTP_RAW_POST_DATA']  with register globals off?

Search the PHP site for more info on it.

---John Holmes...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] POST data is lost on PHP CGI after shmat() failed. [4.0.5, Linux]

2001-07-13 Thread Steven Haryanto

I have two CGI PHP installation on my Linux system. One of them is
a vanilla build (all defaults except --prefix and
--with-config-file-path, and the other is built with the .spec file
from rpms.arvin.dk).

POST method does not work with the arvin PHP CGI binary, while it
works ok with the vanilla one and with other non-PHP CGI scripts.
After spending a full day focusing on environment variables and
Apache configuration (which is a custom one), I run strace on a
simple script using the arvin PHP. Here's the partial output:

...
shmget(IPC_PRIVATE, 33554432, IPC_CREAT|0x180|0600) = 5079044
shmat(5079044, 0, 0)= -1 ENOMEM (Cannot allocate memory)
shmctl(5079044, IPC_RMID, 0)= 0
close(0)= 0
unlink(/tmp/session_mm.sem)   = -1 ENOENT (No such file or directory)
brk(0x8155000)  = 0x8155000
brk(0x8156000)  = 0x8156000
open(./php.ini, O_RDONLY) = -1 ENOENT (No such file or directory)
open(/etc/php.ini, O_RDONLY)  = 0
getcwd(/path/to/script, 4095) = 46
lstat(/etc, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat(/etc/php.ini, {st_mode=S_IFREG|0644, st_size=20430, ...}) = 0
brk(0x815b000)  = 0x815b000
ioctl(0, TCGETS, 0xb828)= -1 ENOTTY 
(Inappropriate ioctl for device)
read(0, [PHP]\n\n;;;\n; Abo..., 8192) = 8192
read(0, \t; C, E  S respectively, often ..., 8192) = 8192
brk(0x815c000)  = 0x815c000
read(0, t_password\t\t=\t\t; default passwor..., 8192) = 4046
read(0, , 4146)   = 0
...

I am not sure what line of code does the close(0) on the fourth line
shown above, though it has something to do with the MM library, since
after I rebuild PHP --without-mm, all is well.

Could someone shed a light on this?

Regards,
Steve


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]