Re: [PHP] how to get time cost for MySQL query

2005-07-12 Thread Richard Lynch
Try doing an explain $query query. I *think* MySQL might cache the query/results enough that you'd get an accurate estimate... You could also turn MySQL Logging on. Or, rather crudely, time it in PHP: $query_start_time = microtime(); $result = mysql_query($query); $query_end_time =

Re: [PHP] libssl.so.0.9.7

2005-07-12 Thread Richard Lynch
Check if you've got leftover 0.9.7 library sitting around. Perhaps you put 0.9.8 in /usr/local/lib, but 0.9.7 is still in /usr/lib If you have locate you can just do: locate libssl.so and see what turns up On Mon, July 11, 2005 10:09 am, [EMAIL PROTECTED] said: Hello, I've upgraded to

Re: [PHP] constructors in PHP

2005-07-12 Thread Richard Lynch
On Mon, July 11, 2005 10:04 am, Alessandro Rosa said: As far as I know, its not a security issue, but a structure/design issue. The issue is that in php you can't definitely say what type a variable is , whereas in c++ you can say this variable is a string, this one a int, …. But, right

Re: [PHP] still trying to cURL.

2005-07-12 Thread Richard Lynch
Try closing your cURL handle and making a new one before you get the page that's giving you trouble. Sometimes cURL maintains state that it shouldn't. You'll maybe need to get the Cookies by hand from the header and send them back as headers -- Not sure a Cookie Jar can survive a new handle. On

Re: [PHP] constructors in PHP

2005-07-12 Thread Richard Lynch
On Mon, July 11, 2005 9:53 am, Psystorm said: Burhan Khalid wrote: Alessandro Rosa wrote: Thanks to all for clear responses! So just a question now, why have not multiple constructors been implemented? Are there some security issues related to them ? As far as I know, its not a

Re: [PHP] Quidelines for Site visitor counter

2005-07-12 Thread Richard Lynch
On Mon, July 11, 2005 10:58 pm, William Stokes said: I would like to add a visitor counter to my site. I know that there are plenty of free and nice applications/scripts for this avalable but I would like to write my own. I'm at the moment thinking either to make graphical or text based user

[PHP] Plz, help

2005-07-12 Thread adolfas
Hi, I have a line: $sql=select u.*, p.name_lt as pareiga from nese_users u left join nese_pareigos p on p.id=u.pareiga order by data desc; As I understand there are 2 tables: nese_users and nese_pareigos I need to know what atributes belong to what table form that line. Thanks -- PHP

[PHP] Building on AMD64 centos 4.1

2005-07-12 Thread Mirek Novak
Hello everybody! I've problems to build php 4 on Centos 4.1 @AMD64. Problem seems to be in lib64 dir which is ignored by configure script. For example libjpeg is in /usr/lib64 and configure script is: for i in $PHP_JPEG_DIR /usr/local /usr; do test -f

[PHP] Number of users

2005-07-12 Thread YaronKh
Hello all, I have some questions and I hope someone could answer them 1. Is there a way to find out how many users currently browsing pages at my web site? 2. If I write down the IP of a user that log on my web site, can I check later if the IP still browsing pages at my web

Re: [PHP] CASE Tool For PHP OO Programming

2005-07-12 Thread david forums
DIA with the estension xml2php5 Le Mon, 11 Jul 2005 15:22:32 +0200, Pascual De Ruvo [EMAIL PROTECTED] a écrit: Hi, Can someone suggest a free CASE Tool for UML modelling that generates PHP 5 code? Thanks in advance, Pascual De Ruvo -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: Number of users

2005-07-12 Thread Mark Rees
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I have some questions and I hope someone could answer them 1. Is there a way to find out how many users currently browsing pages at my web site? 2. If I write down the IP of a user that log on my web site, can

Re: [PHP] Two websites need to share part of onedatabase,suggestions please

2005-07-12 Thread Burhan Khalid
Chris W. Parker wrote: Robert Cummings mailto:[EMAIL PROTECTED] on Friday, July 08, 2005 5:25 PM said: Thus siteMask should have one of the following values: (1 1) == 2 // only site1 can use the product. (1 2) == 4 // only site2 can use the

RE: [PHP] how to delete lines in a txt file using php.

2005-07-12 Thread babu
Thanks george, But i want to read for multiple such files and i have many other keywords match which should be deleted.The array of keywords are ([,TYP,P_MPP,I_MPP,V_MPP,T=,FIT,INTENSITAET); and i aslo want to write back the reamaining lines after deleting into the same file but not in a

[PHP] Re: how to delete lines in a txt file using php.

2005-07-12 Thread M. Sokolewicz
babu wrote: Hi i have a txt file like [SUBSTRAT] TYP=25x25_10 SUBSTRATNAME=S112 PIXEL=5 OPERATOR=Zi KOMMENTAR=dunkel INTENSITAET=1000.00 [MESSUNG] DATUM=03.01.2005 UHRZEIT=11:22 MESSUNG=SWEEP_UI i want to delete lines which start with '[' and 'TYP'. i have multiple such files.i have used

Re: [PHP] zlib.output_compression

2005-07-12 Thread Jasper Bryant-Greene
LacaK wrote: I see contents using Network Monitor, so I se response header and contents andthey are uncompressed, so somresion does not uccured. It's likely the browser is uncomressing it before you ever see it. I would telnet to port 80 and make an HTTP request to see for sure. To turn

[PHP] Re: Plz, help

2005-07-12 Thread Mark Rees
adolfas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have a line: $sql=select u.*, p.name_lt as pareiga from nese_users u left join nese_pareigos p on p.id=u.pareiga order by data desc; As I understand there are 2 tables: nese_users and nese_pareigos I need to know what

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
Thank you, I know this technique : ob_start('ob_gzhandler'); but I am interesting on : ini_set('zlib.output_compression', true); /this is preffered method as stated in manual : Also note that using ini.zlib.output_compression is preferred over ob_gzhandler(). / And I do not understand, why it

[PHP] Re: how to delete lines in a txt file using php.

2005-07-12 Thread M. Sokolewicz
M. Sokolewicz wrote: babu wrote: Hi i have a txt file like [SUBSTRAT] TYP=25x25_10 SUBSTRATNAME=S112 PIXEL=5 OPERATOR=Zi KOMMENTAR=dunkel INTENSITAET=1000.00 [MESSUNG] DATUM=03.01.2005 UHRZEIT=11:22 MESSUNG=SWEEP_UI i want to delete lines which start with '[' and 'TYP'. i have multiple

Re: [PHP] zlib.output_compression

2005-07-12 Thread M. Sokolewicz
Is your browser sending an accept-encoding header containing gzip? (eg. Accept-Encoding: gzip,deflate). If not, then PHP will reason it should not send gzip-encoded content because the browser won't understand. - tul LacaK wrote: Thank you, I know this technique : ob_start('ob_gzhandler');

RE: [PHP] Oracle Interface

2005-07-12 Thread Ford, Mike
Hi guys!! I'm just getting back into harness after 4 months off work following major surgery, so I'm well behind on all the PHP groups. It's nice to be back! Forgive me for responding to this one over a month later, but I haven't seen anybody else pointing this out: On 13 June 2005 13:30,

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
Yes, my browser send Accept-Encoding: gzip,deflate When I alter : zlib.output_compression=on in php.ini it works fine ! Only runtime alter : ini_set('zlib.output_compression', true); does not work !? LacaK. M. Sokolewicz wrote: Is your browser sending an accept-encoding header containing

[PHP] Arrays

2005-07-12 Thread virtualsoftware
Hi, How can i destroy an array? I mean i have a loop and for each new value in the loop i want to destroy the array. Something like that: while($row = mysql_fetch_array($result)) { $product[] = $product_id; // some code here } I've tried this but doesn't

[PHP] PHP and undelivered mail

2005-07-12 Thread Angelo Zanetti
HI all. Is it possible to determine if a mail was sent successfully or not delivered using PHP? Obviously using PHP to send the emails. thanks in advance ANgelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arrays

2005-07-12 Thread olivier
Hello, You may try unset($product) in your loop if you want to delete this var. Your code $product=array(); must work too... Another way, must be to use something like this $product[id]=$product_id; But i dont think it's your real goal?! Could you give some more information about that? Olivier

Re: [PHP] zlib.output_compression

2005-07-12 Thread david forums
do not forget to remove ob_start, also you'll make double compression regards Le Tue, 12 Jul 2005 12:29:02 +0200, LacaK [EMAIL PROTECTED] a écrit: Thank you, I know this technique : ob_start('ob_gzhandler'); but I am interesting on : ini_set('zlib.output_compression', true); /this is

RE: [PHP] Re: Strange notation to create object

2005-07-12 Thread Ford, Mike
On 24 June 2005 15:03, Jason Barnett wrote: Robert Cummings wrote: ... There's a difference between a reference to a reference and a copy of a reference *hehehe*. Cheers, Rob. Dear diary: jackpot! Now that makes sense. And am I correctly filling in the blanks when I

Re: [PHP] Arrays

2005-07-12 Thread Justin Gruenberg
On 12/07/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, How can i destroy an array? I mean i have a loop and for each new value in the loop i want to destroy the array. Something like that: while($row = mysql_fetch_array($result)) { $product[] = $product_id;

[PHP] How to read PHP variables.

2005-07-12 Thread Bruno B B Magalhães
Hi you all! That's my problem: I have a configuration files with the following structure... $vars['varname'] = 'varvalue'; And I would like to have a module to change those parameters, but I don't know how to write a pattern to match it... Thanks in advance... Best Regards, Bruno B B

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
of course I have removed ob_start(...) david forums wrote: do not forget to remove ob_start, also you'll make double compression regards Le Tue, 12 Jul 2005 12:29:02 +0200, LacaK [EMAIL PROTECTED] a écrit: Thank you, I know this technique : ob_start('ob_gzhandler'); but I am interesting

Re: [PHP] PHP and undelivered mail

2005-07-12 Thread Cafer Simsek
hi, This looks like imposible. Because generaly, SMTP is running asyncron mode. Maybe you can do it mail's return-path's mailbox checking. But this will not be syncron too. Best Regards. -Cafer Angelo Zanetti [EMAIL PROTECTED] writes: HI all. Is it possible to determine if a mail was

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-12 Thread Chris Shiflett
Richard Davey wrote: I gave several valid good usability reasons, that I've yet to see anyone provide a coherent reason not to use. The usability arguments in favor of BBCode are fine. I'm not interested in that debate. I just don't want more people thinking that allowing BBCode somehow

[PHP] Session problems

2005-07-12 Thread Jason
I am having a problem with sessions. For some reason it keeps creating a new session for every page link you click and not using the original session created when session_start() gets called. Below is the code I am testing with. [one.php] ?php $SessionID = md5( uniqid( rand () ) );

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-12 Thread Chris Shiflett
Evert|Rooftop wrote: If you for example only allow iu and b doing this with bbcode would require extra cpu-cycles to convert [i] to i I don't really agree with this, because I think escaping the html + replacing bbcode would require less cpu cycles then scanning the string for invalid html and

[PHP] Using SAML in PHP

2005-07-12 Thread Joseph Lee
Hi, I believe SOAP can be used inside of PHP. Can I use SAML in SOAP, which is in PHP? If yes, where can I find docs/info for that? If no, is there a SAML mailing list that I can join to get help on SAML? Thanks, Joe

[PHP] Re: how to delete lines in a txt file using php.

2005-07-12 Thread babu
hi sokolewicz, i get this error, wehn i try to run the file Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in C:\apachefriends\xampp\htdocs\fmf\IV-test-files\200501t\dirread2.php on line 21 M. Sokolewicz [EMAIL PROTECTED] wrote: babu wrote: Hi i have a txt file

RE: [PHP] Problem installing in Win2003 Server SP1

2005-07-12 Thread Grosz, Steve (IPG IT)
I can see the .htm/.html file just fine. So, what settings should I be looking at for the problems with PHP? Steve -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 12:12 AM To: Grosz, Steve (IPG IT) Subject: Re: [PHP] Problem installing in

Re: [PHP] sockets

2005-07-12 Thread Greg Donald
On 7/12/05, daro [EMAIL PROTECTED] wrote: I don't know where should I put this script to be able to receive all datas and respond with proper strings. You would run the script as a shell script from the command line. On windows you can just save the code as a regular php script then start

Re: [PHP] sockets

2005-07-12 Thread André Medeiros
On Tue, 2005-07-12 at 16:49 +0200, daro wrote: Hi. I'm writing a TCP/IP server and client. On your website I found ready php script http://pl2.php.net/sockets but I have a question. For TCP/IP server the example script from your website has to be put on server as index.php file and the

Re: [PHP] sockets

2005-07-12 Thread Hidayet Dogan
You should use/run it via PHP-CLI. It is a shell script. Ex: /usr/local/bin/php socket.php (on linux) or C:\PHP\php.exe socket.php (on windooz/M$-dos) Good luck. Hidayet Dogan On Tue, 12 Jul 2005, daro wrote: Hi. I'm writing a TCP/IP server and client. On your website I found ready php

Re: [PHP] sockets

2005-07-12 Thread André Medeiros
On Tue, 2005-07-12 at 09:58 -0500, Greg Donald wrote: On 7/12/05, daro [EMAIL PROTECTED] wrote: I don't know where should I put this script to be able to receive all datas and respond with proper strings. You would run the script as a shell script from the command line. On windows

[PHP] max_file_size

2005-07-12 Thread Sebastian
Each time i try setting MAX_FILE_SIZE in a form and using the upload error code to check if the file is large it always uploads the entire file before showing the error that the file is too big.. either the manual is incorrect or this does not work as every method i've tried always waits for

[PHP] how to get time cost for MySQL query

2005-07-12 Thread Ahmed Saad
On 7/11/05, x [EMAIL PROTECTED] wrote: Since we can see the time cost each time we query MySQL through MySQL console (such as 75 rows in set (0.01 sec)), so I am wondering there is already an existing function which will return the value... I think you are confusing two things: mysql server

Re: [PHP] max_file_size

2005-07-12 Thread Mikey
Sebastian wrote: Each time i try setting MAX_FILE_SIZE in a form and using the upload error code to check if the file is large it always uploads the entire file before showing the error that the file is too big.. either the manual is incorrect or this does not work as every method i've tried

Re: [PHP] max_file_size

2005-07-12 Thread André Medeiros
On Tue, 2005-07-12 at 11:35 -0400, Sebastian wrote: Each time i try setting MAX_FILE_SIZE in a form and using the upload error code to check if the file is large it always uploads the entire file before showing the error that the file is too big.. either the manual is incorrect or this does

[PHP] parsing a text file into columns and rows

2005-07-12 Thread babu
Hi all, i have a text file as shown below, which contains records like varaiable, value pairs seperated by '=' .there are many such records, each record is starts with first variable 'SUBSTRATNAME'. SUBSTRATNAME=S112 -- PIXEL=5 OPERATOR=Zi KOMMENTAR=dunkel DATUM=03.01.2005 UHRZEIT=11:22

Re: [PHP] max_file_size

2005-07-12 Thread Sebastian
Ahmed Saad wrote: hi Sebastain, On 7/12/05, Sebastian [EMAIL PROTECTED] wrote: yet it waits for file to upload before error. I've been using php for serveral years and i cant remember ever getting this to work like the manual states. Quoting the *php manual* The MAX_FILE_SIZE

Re: [PHP] sockets

2005-07-12 Thread André Medeiros
Please, PLEASE Reply to All! Yes, you have to add something like --8- while(true) { // code here if( $someConditionThatWillMakeMeExit ) { break; } sleep(1); // to prevent excessive processor

Re: [PHP] max_file_size

2005-07-12 Thread John Nichel
Sebastian wrote: snip it doesnt seem to work on IE or Firefox.. two of the most popular browsers.. this shoudn't even be in the manual then because if it doesnt work for these two browsers then i would consider it pointless to use. /snip It may not be your browser that it's not working

Re: [PHP] max_file_size

2005-07-12 Thread André Medeiros
On Tue, 2005-07-12 at 12:38 -0400, John Nichel wrote: Sebastian wrote: snip it doesnt seem to work on IE or Firefox.. two of the most popular browsers.. this shoudn't even be in the manual then because if it doesnt work for these two browsers then i would consider it pointless to use.

RE: [PHP] Arrays

2005-07-12 Thread yanghshiqi
I guess your purpose is to just save the row data from the mysql to the array each unit. So may be the result that you expected is sth like: $product[0] = 1; $product[1] = 2; $product[2] = 3; .. If you just loop for each new value in the loop and to destroy the array, you second example is okey.

RE: [PHP] back slashes

2005-07-12 Thread yanghshiqi
Yeah, mysql_escape_string() will help you. Best regards, Shiqi Yang -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 9:42 AM To: Daniel Baughman Cc: php-general@lists.php.net Subject: RE: [PHP] back slashes On Fri, July 8, 2005 12:48

Re: [PHP] sockets

2005-07-12 Thread Ahmed Saad
hi all, On Tue, 2005-07-12 at 16:49 +0200, daro wrote: Also remember to set_time_limit(0) ;) PHP ENTER CONFUSION The *CLI* version of php has no max execution time by default (0) - Where's the php CLI version in php4? [PHP_HOME]/cli/php.exe and it reads a php.ini if it was in the SAME

RE: [PHP] how to get time cost for MySQL query

2005-07-12 Thread yanghshiqi
Yes, mysql will cache your same query every time. So what you need is to just test the microtime before and after your query script. If you just want to know how about the efficiency about your sql script, you can use the mysql_command line and explain it. Otherwise, I think trying to catch the

RE: [PHP] How to read PHP variables.

2005-07-12 Thread yanghshiqi
Firstly, I don't know why you want to change your configuration in real time? Then if you just keep your configuration in an array, then when you want to change and use it in your script, you can just $vars['varname'] = sth else. So pls give us more detail. Best regards, Shiqi Yang

Re: [PHP] sockets

2005-07-12 Thread André Medeiros
Since there was no reference to that on the PHP manual, I thought about mentioning it just to be safe. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Number of users

2005-07-12 Thread yanghshiqi
The current users' num is actually not exactly and it's just an estimated one. You can save your users' data in an array, and every time receive a request from a browser you should modify your array and then you can get how many users are online. And also there need another function to clean up

RE: [PHP] Plz, help

2005-07-12 Thread yanghshiqi
You can use select u.a as u.a, v.a as v.a .. Best regards, Shiqi Yang -Original Message- From: adolfas [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 2:42 PM To: php-general@lists.php.net Subject: [PHP] Plz, help Hi, I have a line: $sql=select u.*, p.name_lt as pareiga

Re: [PHP] Number of users

2005-07-12 Thread Ahmed Saad
On 7/12/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 2. If I write down the IP of a user that log on my web site, can I check later if the IP still browsing pages at my web site or if he had left my website? Don't assume that every IP maps to only ONE user. IPs are often masqueraded so

[PHP] explain select

2005-07-12 Thread Carl Furst
Explain select will only explain how mysql is going to use different keys and indexes to optimize query not actually give you a time estimate. The actual time it takes to handle indexes and such, especially if you are using joins, has to do with the Key_buffer and join_buffer values in

Re: [PHP] max_file_size

2005-07-12 Thread Chris
André Medeiros wrote: On Tue, 2005-07-12 at 12:38 -0400, John Nichel wrote: Sebastian wrote: snip it doesnt seem to work on IE or Firefox.. two of the most popular browsers.. this shoudn't even be in the manual then because if it doesnt work for these two browsers then i would

RE: [PHP] Two websites need to share part of onedatabase,suggestions please

2005-07-12 Thread Robert Cummings
On Mon, 2005-07-11 at 14:29, Chris W. Parker wrote: Robert Cummings mailto:[EMAIL PROTECTED] on Friday, July 08, 2005 5:25 PM said: Thus siteMask should have one of the following values: (1 1) == 2 // only site1 can use the product. (1 2) == 4

RE: [PHP] Two websites need to share part ofonedatabase,suggestions please

2005-07-12 Thread Chris W. Parker
Robert Cummings mailto:[EMAIL PROTECTED] on Tuesday, July 12, 2005 11:47 AM said: Sorry to respond so late, my free time these days is sporadic :) No problem. My example suggested one database to host all products for both sites. The bitmask is used as a filter to determine which sites

[PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Ahmed Saad
Hi all, I've been around this list for a month or something but i just discovered today that all my replies weren't sent to the list but instead to the individual who sent the message. I haven't administered any list systems before but at Apache for example it appends a reply-to header pointing

RE: [PHP] Two websites need to share part ofonedatabase,suggestions please

2005-07-12 Thread Robert Cummings
On Tue, 2005-07-12 at 14:50, Chris W. Parker wrote: Robert Cummings mailto:[EMAIL PROTECTED] on Tuesday, July 12, 2005 11:47 AM said: Sorry to respond so late, my free time these days is sporadic :) No problem. My example suggested one database to host all products for both sites.

Re: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread John Nichel
Ahmed Saad wrote: Hi all, I've been around this list for a month or something but i just discovered today that all my replies weren't sent to the list but instead to the individual who sent the message. I haven't administered any list systems before but at Apache for example it appends a

Re: [PHP] CASE Tool For PHP OO Programming

2005-07-12 Thread Linda
I have been using Sparx Systems Enterprise Architect. david forums [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] DIA with the estension xml2php5 Le Mon, 11 Jul 2005 15:22:32 +0200, Pascual De Ruvo [EMAIL PROTECTED] a écrit: Hi, Can someone suggest a free CASE Tool for UML

RE: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Chris W. Parker
Ahmed Saad mailto:[EMAIL PROTECTED] on Tuesday, July 12, 2005 11:24 AM said: Can the list administators can fix this? (appending the correct reply-to header) This has come up many times in the past and so far it has not changed. Just hit the Reply to All button and you'll be fine.

Re: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Ahmed Saad
Hi Chris On 7/12/05, Chris W. Parker [EMAIL PROTECTED] wrote: This has come up many times in the past and so far it has not changed. Just hit the Reply to All button and you'll be fine. thanks for pointing that out -ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Ahmed Saad
On 7/12/05, John Nichel [EMAIL PROTECTED] wrote: Can of Worms Status : Open oh yeah sure -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OT - Fonts

2005-07-12 Thread timothy johnson
I am trying to use a font on my webpage that I have on my system only after a friend sent it to me. But its a neat little font that I want to use in a couple place on my site, like some of the headers. So I have two options I think one is to find a way to have the font download and work on the

Re: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Alan Milnes
Chris W. Parker wrote: This has come up many times in the past and so far it has not changed. Just hit the Reply to All button and you'll be fine. The problem with that is that people then get a personal message *and *a list message. Why can't this group be set up properly so reply goes to

Re: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Rasmus Lerdorf
Alan Milnes wrote: Chris W. Parker wrote: This has come up many times in the past and so far it has not changed. Just hit the Reply to All button and you'll be fine. The problem with that is that people then get a personal message *and *a list message. Why can't this group be set up

Re: [PHP] How to read PHP variables.

2005-07-12 Thread Ahmed Saad
Hi Bruno, On 7/12/05, Bruno B B Magalhães [EMAIL PROTECTED] wrote: Hi you all! $vars['varname'] = 'varvalue'; And I would like to have a module to change those parameters, but I don't know how to write a pattern to match it... i think you mean an API to help you manage and persist your

Re: [PHP] zlib.output_compression

2005-07-12 Thread Jasper Bryant-Greene
LacaK wrote: Yes, my browser send Accept-Encoding: gzip,deflate When I alter : zlib.output_compression=on in php.ini it works fine ! Only runtime alter : ini_set('zlib.output_compression', true); does not work !? LacaK. I'm pretty sure this behaviour is by design -- it doesn't make sense to

Re: [PHP] sockets

2005-07-12 Thread Ahmed Saad
Hi André, On 7/12/05, André Medeiros [EMAIL PROTECTED] wrote: Since there was no reference to that on the PHP manual, I thought about mentioning it just to be safe. yeah the manual is completely drak when it comes to php CLI binary -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] sockets

2005-07-12 Thread Greg Donald
On 7/12/05, Ahmed Saad [EMAIL PROTECTED] wrote: yeah the manual is completely drak when it comes to php CLI binary `php -h` tells you all the command line options.. and all the basic fuctionality is covered in the manual online. Seems complete to me. -- Greg Donald Zend Certified Engineer

Re: [PHP] sockets

2005-07-12 Thread Ahmed Saad
On 7/13/05, Greg Donald [EMAIL PROTECTED] wrote: `php -h` tells you all the command line options.. and all the basic fuctionality is covered in the manual online. Seems complete to me. ehmm you weren't refering to the CLI version but anyways, I'd be grateful to anyone who points me to more

RE: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Chris W. Parker
Alan Milnes mailto:[EMAIL PROTECTED] on Tuesday, July 12, 2005 1:28 PM said: Chris W. Parker wrote: This has come up many times in the past and so far it has not changed. Just hit the Reply to All button and you'll be fine. The problem with that is that people then get a personal

Re: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Ahmed Saad
On 7/13/05, Chris W. Parker [EMAIL PROTECTED] wrote: I've been doing that forever and I've never had anyone complain? Did you get this message twice? i fell it my inbox though normally the filter would just skip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Missing or wrong reply-to headers in this mailing list

2005-07-12 Thread Ahmed Saad
On 7/13/05, Ahmed Saad [EMAIL PROTECTED] wrote: i fell it my inbox though normally the filter would just skip sorry i meant it fell in my inbox where my gmail filters would normally skip te inbox step and just apply the label -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] connecting to MySQL from a Mac

2005-07-12 Thread Bruce Gilbert
Hello, I am trying to add a PHP search to my site and the read me file says to: 2. In the server, create a database in MySQL to hold Sphider data. a) at command prompt type (to log into MySQL): mysql -u your username -p Enter your password when prompted. b) in MySQL, type: CREATE DATABASE

Re: [PHP] connecting to MySQL from a Mac

2005-07-12 Thread Evert | Rooftop
Bruce Gilbert wrote: Hello, I am trying to add a PHP search to my site and the read me file says to: 2. In the server, create a database in MySQL to hold Sphider data. a) at command prompt type (to log into MySQL): mysql -u your username -p Enter your password when prompted. b) in MySQL,

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
Thanks for reply, In documentation is stated, than zlib.output_compression is changeable at PHP_INI_ALL. If there is no possibility to change it in script, why it is not PHP_INI_SYSTEM|PHP_INI_PERDIR ? And at second : When I set zlib.output_compression=on in php.ini, then I CAN turn it off