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
ut other than 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... Regard

[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 shared

[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

[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 And

[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

[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

[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 files

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 parser is

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 add

[PHP] Creating my own External Module for PHP

2002-12-24 Thread Leon Mergen
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

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 you should now have a modules/foo.so

[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, if

[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: ? $var =

[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
(include_path='.:/php/includes:/usr/share/php') in /home/virtual/site6/fst/var/www/html/search/reply.php on line 64 This certainly makes me wonder, since that page loads perfectly in my browser, and http://www.google.com/ works perfectly... anyone knows what I'm doing wrong? Thanks in advance, Leon

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
tml head title?=$title;?/title body ? code(); ? /body /html 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
lates (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

Re: [PHP] Array into database

2002-06-12 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? -- PHP

[PHP] Array questions...

2002-06-12 Thread Leon Mergen
, 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
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] unset($array[value]) does not work?

2002-06-12 Thread Leon Mergen
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] 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

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] Regular expression question

2001-11-09 Thread Leon Mergen
-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.php.net/) To unsubscribe, e-mail

[PHP] MySQL4

2001-10-26 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
... 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
: default) in b./missiles.php/b on line b5/bbr [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 Technical O