[PHP] Re: which operating system?

2005-08-14 Thread mikespook
debian is my choice~ but usually, we use freebsd in our corp. "high traffic" I think distribution system is best way~ only php not enough~ "Sebastian" <[EMAIL PROTECTED]> ??:[EMAIL PROTECTED] >I will be building a new server and wondering what would be a good choice >for php/mysql/apache ot

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

[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

[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 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 General Mailing List (http://www.ph

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 quanti

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

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 t

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 s

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] '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 Ma

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 muc

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 ha

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

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

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?

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

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

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

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

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

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.. >

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

[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

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] 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). http://search.cpa

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: Source page: for($i=0;$i<4;$i++) { } Thank for your help ! Edward. Jasper Bryant-Greene wrote: > [EMAIL PROTECTED] wrote: > > Sorry, I don't quit understan

[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 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; $i<3; $i++) { print($i); } will print: 0 1 2 Basically in any expression like the following: for(expr1; expr2; expr3) { /

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;$i<5;$i++) > > > > This means: > > > > * Start with $i = 1 > > * End loop if $i is less than 5

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 newc

[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 Hope this could help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 b

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 ch