php-general Digest 14 Aug 2005 11:24:44 -0000 Issue 3624

2005-08-14 Thread php-general-digest-help
php-general Digest 14 Aug 2005 11:24:44 - Issue 3624 Topics (messages 220569 through 220597): Re: making checkbox's and radio buttons sticky 220569 by: Jochem Maas 220570 by: Jochem Maas Re: one more mysql question 220571 by: Jochem Maas 220585 by:

Re: [PHP] PHP without php.ini

2005-08-14 Thread Burhan Khalid
Bagus Nugroho wrote: I was uncomment php_mysql.dll and added php_mysqli.dll, put edited php.ini as recommended, also added libmysql.dll on c:\winnt\system32. But it still doesn't work, it still generate cannot load mysql extension, Previously, I was edit system variables(edit Path

[PHP] Re: wrapping text

2005-08-14 Thread John Taylor-Johnston
wordwrap(stripslashes($message), 72). Thanks! Another reason why I gave up on Perl :) A fucntion made already since 4.0.2.! :) Matthew Weier O'Phinney wrote: Folks are complaining mail arrives and text will not wrap. $message comes directly from a textarea. Old mail readers, I guess? Yep.

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Rasmus Lerdorf
Sebastian wrote: so i am 'afraid' of going with php5 in fear it will break my website. It's rather trivial to test it. Set up a second Apache server with php5 loaded that listens to port 81 or some other port and point it at the same document_root. Then you can switch back and forth by just

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Esteamedpw
In a message dated 8/14/2005 2:42:49 A.M. Central Standard Time, [EMAIL PROTECTED] writes: It's rather trivial to test it. Set up a second Apache server with php5 loaded that listens to port 81 or some other port and point it at the same document_root. Then you can switch back and forth

[PHP] Re: Large forms to Mysql table...

2005-08-14 Thread [EMAIL PROTECTED]
Just use some text as delimiter string. Merge all fields together with delimiter and than insert it into db table. Something like ?php $separator_string = '||__||';//or something else //u can use foreach($_POST..) here or merge all one by one

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Lester Caine
Rasmus Lerdorf wrote: I don't really do Windows, but most of this will work on Windows as well (I think). You can find APC builds for Windows on http://snaps.php.net. But save yourself some headaches and grab a spare PC and install Linux (I prefer Debian, but it is a hassle to install for

Re: [PHP] array varible problems

2005-08-14 Thread edwardspl
Sorry, I don't quit understanding the site http://www.php.net/for... So, would you mind to give me a example about it ? Thank for your help ! Jasper Bryant-Greene wrote: Dan Lowe wrote: for($i=1;$i5;$i++) This means: * Start with $i = 1 * End loop if $i is less than 5 * Increment

Re: [PHP] array varible problems

2005-08-14 Thread Jasper Bryant-Greene
[EMAIL PROTECTED] wrote: Sorry, I don't quit understanding the site http://www.php.net/for... So, would you mind to give me a example about it ? for($i=0; $i3; $i++) { print($i); } will print: 0 1 2 Basically in any expression like the following: for(expr1; expr2; expr3) {

[PHP] Re: 'God' has spoken... :-)

2005-08-14 Thread Michelle Konzack
Am 2005-08-14 00:48:23, schrieb Sebastian: i spent hundreds of hours building my site on php4, im not about to rewrite any of it to make it 'compatible' with php5. You are not alone... maybe my impressions of php5 are wrong, but last i heard apps built on php4 may or may not work right

Re: [PHP] array varible problems

2005-08-14 Thread edwardspl
Hello Jasper, Does your means : I need to rewite the source / result page as the following ? Result page: ? for($i=0;$i4;$i++) { $f.$i=$_GET['$f.$i']; } ? table tr td? echo $f0[0];?/td td? echo $f1[0];?/td td? echo $f2[0];?/td td? echo $f3[0];?/td /tr tr td? echo $f0[1];?/td td? echo

[PHP] Re: wrapping text

2005-08-14 Thread David Dorward
John Taylor-Johnston wrote: wordwrap(stripslashes($message), 72). Thanks! Another reason why I gave up on Perl :) A fucntion made already since 4.0.2.! :) Oh look, Perl has something almost as old (possibly older, that's just what I found in 30 seconds of searching).

Re: [PHP] array varible problems

2005-08-14 Thread Jasper Bryant-Greene
[EMAIL PROTECTED] wrote: Hello Jasper, Does your means : I need to rewite the source / result page as the following ? [snip] Yes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Gregory Machin
Hi The cms exponent story some data in a serialized array .. then column name id location_data and contains the following.. O:8:stdClass:3:{s:3:mod;s:10:textmodule;s:3:src;s:20:@random419404caefcef;s:3:int;s:0:;} i fugure there is an object stored in this serialized array. how do i figure out

[PHP] protecting a directory

2005-08-14 Thread jenny mathew
hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how to make user to enter passwod before giving the rights to view directory. is there any script like this.or can anybody

Re: [PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Scott Noyes
Unserialize it, and then use var_dump() to see what the object contains: var_dump(unserialize($location_data)); On 8/14/05, Gregory Machin [EMAIL PROTECTED] wrote: Hi The cms exponent story some data in a serialized array .. then column name id location_data and contains the following..

Re: [PHP] protecting a directory

2005-08-14 Thread André Medeiros
Apache already has that feature. It's a directive in .htaccess, IIRC. On 8/14/05, jenny mathew [EMAIL PROTECTED] wrote: hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Matthew Weier O'Phinney
* Sebastian [EMAIL PROTECTED] : Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : why php6 and not php5? look how long it took to get to php4 (with php5 just starting to rolling out) and people are already talking about php6? My observation was that more people jumped

[PHP] Re: 'God' has spoken... :-)

2005-08-14 Thread Matthew Weier O'Phinney
* Michelle Konzack [EMAIL PROTECTED] : --TnYVF1hk1c8rpHiF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 2005-08-14 00:48:23, schrieb Sebastian: i spent hundreds of hours building my site on php4, im not about to

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Matthew Weier O'Phinney
* Robert Cummings [EMAIL PROTECTED] : On Sat, 2005-08-13 at 23:51, Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : Jochem Maas wrote: if you haven't seen it yet and are interested in the future of php you might be interested in the _big_ thread on php-internals

Re: [PHP] protecting a directory

2005-08-14 Thread Esteamedpw
In a message dated 8/14/2005 10:54:57 A.M. Central Standard Time, [EMAIL PROTECTED] writes: hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how to make user to enter

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Robert Cummings
On Sun, 2005-08-14 at 13:52, Matthew Weier O'Phinney wrote: * Robert Cummings [EMAIL PROTECTED] : Please tell the list why -- what does PHP4 offer over PHP5 for you? I honestly want to know, and I'm sure there are others who would be interested to see why people are not making the

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Evert | Rooftop Solutions
Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : Matthew Weier O'Phinney wrote: * Sebastian [EMAIL PROTECTED] : why php6 and not php5? look how long it took to get to php4 (with php5 just starting to rolling out) and people are already talking about php6?

[PHP] Re: PHP, MS Access Transactions

2005-08-14 Thread Manuel Lemos
Hello, on 08/13/2005 09:16 PM Pablo Gosse said the following: I have the unfortunate task of writing a PHP front-end for a client-server application that is back-ended in MS Access. I've tried using the transaction functionality in ADOdb (PHP implementation of ADO) but it doesn't work seem to

[PHP] Re: PHP, MS Access Transactions

2005-08-14 Thread Manuel Lemos
Hello, on 08/13/2005 09:16 PM Pablo Gosse said the following: I have the unfortunate task of writing a PHP front-end for a client-server application that is back-ended in MS Access. I've tried using the transaction functionality in ADOdb (PHP implementation of ADO) but it doesn't work seem to

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Sebastian
Matthew Weier O'Phinney wrote: * Sebastian wrote: i spent hundreds of hours building my site on php4, im not about to rewrite any of it to make it 'compatible' with php5. Don't rewrite it to make it compatible with PHP5 -- rewrite it to take advantage of PHP5's better performance and

[PHP] Re: PHP User Group in San Francisco

2005-08-14 Thread Manuel Lemos
Hello, on 08/13/2005 09:54 PM Catenare LLC said the following: Are there any PHP user groups currently meeting in San Francisco? Maybe. I do not see here active PHP user groups of San Francisco, but if you find any let the responsible people know so they submit the group here and benefit of

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Jochem Maas
Sebastian wrote: Matthew Weier O'Phinney wrote: ... explain better performance. if i have a script written on php4 and i run it on php5 i doubt its going to be any faster.. even so, i don't think there is much if at all any speed gain from php4 to php5... speculating of course, but i

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Robert Cummings
On Sun, 2005-08-14 at 16:32, Jochem Maas wrote: Sebastian wrote: Matthew Weier O'Phinney wrote: ... explain better performance. if i have a script written on php4 and i run it on php5 i doubt its going to be any faster.. even so, i don't think there is much if at all any

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Greg Donald
On 8/14/05, Sebastian [EMAIL PROTECTED] wrote: now if they say php5 is 20% faster than php4 than i would upgrade overnight ;) Who is 'they' ? Go write a benchmark and see for yourself. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Sebastian
Greg Donald wrote: On 8/14/05, Sebastian [EMAIL PROTECTED] wrote: now if they say php5 is 20% faster than php4 than i would upgrade overnight ;) Who is 'they' ? Go write a benchmark and see for yourself. obviously coming from the developers.. i guess im more or less wanting to

Re: [PHP] Trying to figure out contents stored in db field

2005-08-14 Thread Gregory Machin
thanks will try it .. On 8/14/05, Scott Noyes [EMAIL PROTECTED] wrote: Unserialize it, and then use var_dump() to see what the object contains: var_dump(unserialize($location_data)); On 8/14/05, Gregory Machin [EMAIL PROTECTED] wrote: Hi The cms exponent story some data in a serialized

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Torgny Bjers
Sebastian wrote: Greg Donald wrote: On 8/14/05, Sebastian [EMAIL PROTECTED] wrote: now if they say php5 is 20% faster than php4 than i would upgrade overnight ;) Who is 'they' ? Go write a benchmark and see for yourself. obviously coming from the developers.. i guess im

[PHP] Re: Large forms to Mysql table...

2005-08-14 Thread mikespook
Like this: $str = print_r($_POST, true); then insert $str into db. It`s easy way~~right? Andras Kende [EMAIL PROTECTED] ??:[EMAIL PROTECTED] Hello, I have a html page with 70+ form fields some like 40 fields are only used for entering quantity numbersÂ… Is it a good idea to put this

Re: [PHP] Re: Large forms to Mysql table...

2005-08-14 Thread Miles Thompson
At 10:33 PM 8/14/2005, mikespook wrote: Like this: $str = print_r($_POST, true); then insert $str into db. It`s easy way~~right? Andras Kende [EMAIL PROTECTED] ??:[EMAIL PROTECTED] Hello, I have a html page with 70+ form fields some like 40 fields are only used for entering quantity

[PHP] ? PHP in XML document

2005-08-14 Thread Labunski
Hello, Is it possible to write some PHP code lines in the XML document? e.g. I want to add ?php require_once(read_database.php); ? to the xml document, but I don't know the right syntax to do this. Btw, I need this, cause I'm trying to make CMS system for Flash page. Thanks a lot! Roman --

[PHP] which operating system?

2005-08-14 Thread Sebastian
I will be building a new server and wondering what would be a good choice for php/mysql/apache other than redhat. I was thinking either Debian or CentOS. can anyone share their thoughts on them for php environment? does anyone use them on high traffic php sites? or is there not a difference

Re: [PHP] header redirect not working

2005-08-14 Thread Chris Shiflett
Pablo Gosse wrote: However, and this is even stranger to me, if I add the following after the call to header() die('foo'); the page redirects to the correct url. I remove die('foo'); and it redirects to itself again. That makes it sound like there is another call to header() somewhere that