Re: [PHP] Input field array ends up as "Array" string

2003-01-21 Thread Leon Mergen
"Rick Emery" <[EMAIL PROTECTED]> wrote in message 024801c2c15b$1a770e70$0500a8c0@honeybee">news:024801c2c15b$1a770e70$0500a8c0@honeybee... > show us code Learn how to quote. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How know how many sessions are active?

2003-01-19 Thread Leon Mergen
To help even more, if you're on a dedicated, this shell command will provide you the amount of sessions active: "ls -l /tmp/sess* | wc -l" HTH "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If you're on a dedicated server (no other sites on the

[PHP] Re: Ever complained about lousy PHP programmers?

2003-01-16 Thread Leon Mergen
that, I couldn't find anything very wrong about it... only that I personally prefer to call a print() statement for everything, and don't use PHP as an embedded language but just as a normal programming language... But that's just me :P Hope this helps you a little bit... Regar

[PHP] Re: All Request to the same script

2003-01-15 Thread Leon Mergen
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . > Is it possible to send all incoming requests to the same script within > PHP? > In other words: How can I get http://mysite/script.php to point to the > same script as http://mysite/anotherscript.php ? And is it p

[PHP] Re: difference between shared and /usr/bin/mysql

2003-01-15 Thread Leon Mergen
"Gamin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ./configure --with-mysql=shared > ./configure --with-mysql=/usr/bin/mysql > What are the advantages/disadvatages of using either. Somebody correct me if I'm wrong, but from what I know is that when using s

[PHP] Re: Text editors

2003-01-07 Thread Leon Mergen
www.editplus.com "Karl James" <[EMAIL PROTECTED]> wrote in message 007f01c2b633$7b746c50$cc6c2f04@karle8hnwwmn0f">news:007f01c2b633$7b746c50$cc6c2f04@karle8hnwwmn0f... Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew of any good free text editors that has line counts

[PHP] Re: PHP vs. ASP

2003-01-04 Thread Leon Mergen
"Anthony Rodriguez" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How does PHP differs from ASP? search google on "php vs asp" ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: include/require vs performance

2003-01-03 Thread Leon Mergen
"Stephan Seidt" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I guess that PHP will close file 1 before it opens > file 2 and so on.. For example : > > include 'foo'; > include 'bar'; > > When bar is being opened foo is already closed. Hmmm, i think the par

[PHP] Re: include/require vs performance

2003-01-03 Thread Leon Mergen
"Radek Zajkowski" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED]... > Is there, was there ever issue around including a lot files via > include(). I am running things on a local server so it's hard to gauge. I think that the only source that could cause any problems with too many f

[PHP] Re: ImageCreateFromPNG

2003-01-03 Thread Leon Mergen
You haven't compiled PHP with png support. "Roy Van Arem" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ImageCreateFromPNG does not work ... > I use php4.3 on win2000 and ImageCreateFromPNG give an error... > undefined function... how is that possible... can

Re: [PHP] How To Get Last Item Of An Array?

2002-12-25 Thread Leon Mergen
"John W. Holmes" <[EMAIL PROTECTED]> schreef in bericht 000401c2ac54$142032c0$7c02a8c0@coconut">news:000401c2ac54$142032c0$7c02a8c0@coconut... > Kind of begs the question of why can't you just select what you need > with the proper query, instead of loading everything into an array... Yeah, just

Re: [PHP] Creating my own External Module for PHP

2002-12-24 Thread Leon Mergen
Hey! That worked! Thanks Rasmus! Grtz, Leon Mergen "Rasmus Lerdorf" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Just run phpize in your directory and then do a ./configure && make > If your config.m4 was correct y

[PHP] Creating my own External Module for PHP

2002-12-24 Thread Leon Mergen
make your own dynamically loadable module in PHP? Thanks in advance. Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: $_SESSION[] and register_globals=on

2002-09-27 Thread Leon Mergen
"Andre Dubuc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > A short question: > > My IP informed me that they have register_globals=on in their php.ini. Is > this going to cause problems with my scripts that were written using $_POST, > $_SESSION, etc? No,

[PHP] Re: question about taking post to session

2002-09-21 Thread Leon Mergen
"Randy Johnson" <[EMAIL PROTECTED]> wrote in message 000901c2613d$e9223e30$c100a8c0@rjmarket">news:000901c2613d$e9223e30$c100a8c0@rjmarket... > how could i take all the variables in $_POST[""] and move them to > $_SESSION[""]? If I understand correct, you will want something like this: And no

[PHP] Compiling PHP

2002-07-06 Thread Leon Mergen
this is a bit too much ... I want to know if anyone else knows another less expensive option to do this. Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Strange url include problem

2002-07-01 Thread Leon Mergen
perfectly... anyone knows what I'm doing wrong? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
the most easy to explain... It's very easy for people having experience with Perl, since Perl works that way... I personally only use templates (I even wrote a caching template engine) , so that would be the last step in layout I think ;) Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
and having a layout like this: Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Querying for MAX

2002-06-12 Thread Leon Mergen
select max(id) as amount from table "César aracena" <[EMAIL PROTECTED]> wrote in message 003301c21240$0cdcf790$89c405c8@gateway">news:003301c21240$0cdcf790$89c405c8@gateway... I'm sorry if this mensaje is posted twice. I sent it yesterdays, but then my ISP had problems with e-mail and I lost doze

[PHP] unset($array[value]) does not work?

2002-06-12 Thread Leon Mergen
will see that $unserialized['foo'] still exists! Can anyone explain me what I'm doing wrong? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: sending 1000 emails to subscribed members via php?

2002-06-12 Thread Leon Mergen
minutes... I do that for my mailing list which is over 30,000 people large... If you don't have the time to build something like that, there's always the BCC option ;) Hope this helps you. Regards, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array questions...

2002-06-12 Thread Leon Mergen
the best (and quickest) way to add a key with a value to the end of this array? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array into database

2002-06-11 Thread Leon Mergen
"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > As far as I know, serialize will handle multi-dimensional arrays. If I were you > I would suck it and see. And how should I store a serialized variable in my database? As String or as Blob? --

Re: [PHP] Array into database

2002-06-11 Thread Leon Mergen
So this would handle 2-demensional arrays too? So, if I have $array = ( "foo" => "bar", "wom" => "bat" ); it would work? And darn, that I didn't come up with this (I'm familliar with Java, and they use Serializable) ... "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP] Array into database

2002-06-11 Thread Leon Mergen
Hello, I would like to know wether it's possible to put an array into a database? If not, what is the best way to archieve something like that? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regular expression question

2001-11-09 Thread Leon Mergen
("([^0-9]$num::)", $string); But that doesn't seem to work... The other option, the start of a line or a : also didn't work: eregi("([^|:]$sess_id::)", $string); Anyone can help me with this? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.ph

[PHP] MySQL4

2001-10-25 Thread Leon Mergen
Hello, Just curious, before I get into the heat, but did anyone who already has installed MySQL 4 had any problems compiling PHP? Thanks in advance, Leon Mergen

[PHP] Regex problem

2001-10-25 Thread Leon Mergen
he space part... The regex: ereg("^\*",$variable) does work, but that doesn't include spaces at the start... How can I extend this one so that it doesn't matter if there are a lot of spaces at the begin? Thanks in advance, Leon Mergen

[PHP] No character set?

2001-04-06 Thread Leon Mergen
itialize character set 7 (path: default) in ./missiles.php on line 5 [root@blazebox cron]# Anyone has any idea what is causing this problem, and if/how I can fix it? Thanks in advance, _________ Leon Mergen [EMAIL PROTECTED] President of Operations BlazeBox, Inc. ICQ: 55677353

[PHP] Safe mode?

2001-03-02 Thread Leon Mergen
How can I turn off safe_mode using php.ini with php4.0.3pl1? All this doesn't work: safe_mode="off" safe_mode=off safe_mode="0" safe_mode=0 safe_mode="Off" safe_mode=Off Anyone has an idea? Leon Mergen [EMAIL PROTECTED] President of Techni

[PHP] strange error

2001-01-12 Thread Leon Mergen, BlazeNetwork
Warning: REG_EPAREN in /home/coolguest/html/db/functions.php3 on line 13 What does this mean? The statement that is located there, is: $string = eregi_replace(">:(","