[PHP] Re: wrapping text

2005-08-13 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? Ye

Re: [PHP] PHP without php.ini

2005-08-13 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 varia

Re: [PHP] one more mysql question

2005-08-13 Thread Sebastian
they are just grumpy old men i guess.. it is not like you asked a windows question on a linux list.. i've seen stupid html questions here.. yet they get answered. i always try to help when i can and if i cant offer help i dont say anything because that wasnt the way i was raised. it is rude.

Re: [PHP] one more mysql question

2005-08-13 Thread [EMAIL PROTECTED]
Hey! Stop it! I put a question on wrong place. I was "nailed" for it by John. I accepted I was wrong. I apologized. What do you want now? Sebastian wanted to help – in difference to you and John. Even it’s “wrong place”. I guess you would never stop and help to car in trouble on highway becau

Re: [PHP] array varible problems

2005-08-13 Thread Jasper Bryant-Greene
Dan Lowe wrote: for($i=1;$i<5;$i++) This means: * Start with $i = 1 * End loop if $i is less than 5 * Increment $i each time around So your loop is ending at the first check because $i is less than 5. You want $i > 4 instead, I think. Umm, no, I don't think so... Your second point is wron

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

2005-08-13 Thread Sebastian
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 to PHP4 from PHP3 than have so f

Re: [PHP] array varible problems

2005-08-13 Thread Dan Lowe
On Aug 13, 2005, at 8:35 AM, [EMAIL PROTECTED] wrote: for($i=1;$i<5;$i++) This means: * Start with $i = 1 * End loop if $i is less than 5 * Increment $i each time around So your loop is ending at the first check because $i is less than 5. You want $i > 4 instead, I think. -dan {

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

2005-08-13 Thread Marco Tabini
On 8/13/05 5:31 PM, "Jochem Maas" <[EMAIL PROTECTED]> 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 > that starts with the message: > > http://www.manucorp.com/archives/internals/200508/msg00398.php > M

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

2005-08-13 Thread Robert Cummings
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 > > > that starts with the message: > >

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

2005-08-13 Thread Matthew Weier O'Phinney
* 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 > > that starts with the message: > > > > http://www.manucorp.com/archives/internals/200508/msg00398.php > >

[PHP] Re: wrapping text

2005-08-13 Thread Matthew Weier O'Phinney
* John Taylor-Johnston <[EMAIL PROTECTED]>: > Folks are complaining mail arrives and text will not wrap. $message > comes directly from a textarea. Old mail readers, I guess? Not necessarily old. Many of us use text-based mail readers, where tradition and usability dictate line lengths of 72-80 c

Re: [PHP] wrapping text

2005-08-13 Thread Jasper Bryant-Greene
John Taylor-Johnston wrote: Folks are complaining mail arrives and text will not wrap. $message comes directly from a textarea. Old mail readers, I guess? How can I make their life better and make the text wrap? http://www.php.net/wordwrap -- PHP General Mailing List (http://www.php.net/) To

[PHP] Large forms to Mysql table...

2005-08-13 Thread Andras Kende
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 50 fields of the form fields into a single text mysql field? Somehow process it with php before, put inside of some kind of xml structure? J

[PHP] wrapping text

2005-08-13 Thread John Taylor-Johnston
Folks are complaining mail arrives and text will not wrap. $message comes directly from a textarea. Old mail readers, I guess? How can I make their life better and make the text wrap? mail("[EMAIL PROTECTED]", stripslashes($subject), stripslashes($message), "Return-Path: <[EMAIL PROTECTED]>\r\n

[PHP] PHP User Group in San Francisco

2005-08-13 Thread Catenare LLC
Are there any PHP user groups currently meeting in San Francisco? Johan Martin Catenare LLC 534 Pacific Ave San Francisco, CA. 94133 Phone: (415) 834-9802 Fax: (415) 294-4495 http://www.catenare.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP] PHP, MS Access & Transactions

2005-08-13 Thread Pablo Gosse
Hi, folks. 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 work correctly, even though it says it does. If I int

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

2005-08-13 Thread Sebastian
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 that starts with the message: http://www.manucorp.com/archives/internals/200508/msg00398.php IMHO every halfbaked php coder should read it ;-) to

Re: [PHP] one more mysql question

2005-08-13 Thread Jochem Maas
John Nichel wrote: Sebastian wrote: while were not on the subject John I have a question about your wife ... oh shit wrong list ;-) no no I meant to ask about sand - how do I make a CPU using the stuff? take what other say with a grain of salt.. im sure you're using php to pull info

Re: [PHP] making checkbox's and radio buttons sticky

2005-08-13 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Sorry, I will be out of the office until Monday 15th August. phil is risking being out of the office permanently ;-) Kind regards, Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] making checkbox's and radio buttons sticky

2005-08-13 Thread Jochem Maas
Support wrote: okI got it!! not wanting to go down the path of the darkside...I inserted the superglobals.. if (isset($_POST['gmev']) && in_array('September 9th', $_POST['gmev'])) so did I get it right? there are many roads to Rome. using isset() and in_array() is a very good start indee

RE: [PHP] header redirect not working

2005-08-13 Thread Pablo Gosse
[snip] I can think of a few, and my first instinct is to check to see whether your script produces any errors in one environment that it doesn't in the other. If you're displaying errors, they can affect the behavior of your scripts when you're also using header(). Replace header() with echo and co

Re: [PHP] Re: frame help!

2005-08-13 Thread Jochem Maas
George B wrote: George B wrote: I made a left frame, then made the three pages, and all the frames show fine. But this is not my problem! I made a "leftpane" which has code to check if user exists (its for a login script). In the code for the login FORM I set it to go directly to the "userpan

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

2005-08-13 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Sorry, I will be out of the office until Monday 15th August. trust phil to be on holiday. Kind regards, Phil Ewington. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] header redirect not working

2005-08-13 Thread Pablo Gosse
[snip]Can you place the following code just before the header() line, and post what it prints? die($this->CMS_base_path); In other words, tell us what the $this->CMS_base_path field contains when that line is executed.[/snip] It contains 'https://cms.mydomain.com', which is what it is supposed t

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

2005-08-13 Thread Jochem Maas
Torgny Bjers wrote: 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 that starts with the message: http://www.manucorp.com/archives/internals/200508/msg00398.php IMHO every halfbaked php coder s

RE: [PHP] PHP without php.ini

2005-08-13 Thread Bagus Nugroho
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 variable by add ;c:\php;c:\

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

2005-08-13 Thread Torgny Bjers
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 > that starts with the message: > > http://www.manucorp.com/archives/internals/200508/msg00398.php > > IMHO every halfbaked php coder should read i

Re: [PHP] PHP without php.ini

2005-08-13 Thread Lester Caine
Bagus Nugroho wrote: Actually, my problem is when used phpmyadmin it was generate error "cannot load mysql extension". Then I'm trying to resolve as refer php-manual(included edit system environment), googling but the result is none. I'm give up, and remove all php.ini to ensure is the probl

Re: [PHP] ALLOW FILE UPLOADS...?

2005-08-13 Thread Jochem Maas
<< z a p a n >> wrote: hello, sorry in advance if my question is naive.. i'm trying to allow file uploads. optimally i'd like to store these files (jpgs, mostly) directly to a folder in my httpdocs.. i've heard something about file uploads not being allowed if server is set to safemode.. not

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

2005-08-13 Thread Jochem Maas
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 that starts with the message: http://www.manucorp.com/archives/internals/200508/msg00398.php IMHO every halfbaked php coder should read it ;-) to cut it short for thos

Re: [PHP] making checkbox's and radio buttons sticky

2005-08-13 Thread Jochem Maas
Ted Passey wrote: thanks Jochem - I am learning alot about arrays. I think this may be what i am looking for if (in_array('September 9th', $gmev)) it seems to work great... is that $gmev being created automatically? if so you are using register_globals - which is one step in the dire

RE: [PHP] PHP without php.ini

2005-08-13 Thread Bagus Nugroho
Actually, my problem is when used phpmyadmin it was generate error "cannot load mysql extension". Then I'm trying to resolve as refer php-manual(included edit system environment), googling but the result is none. I'm give up, and remove all php.ini to ensure is the problem on php.ini or others

[PHP] PHP without php.ini

2005-08-13 Thread Bagus Nugroho
Hi All, As my previous mail about fail on PHP5-MySQL, then I removed all of php.ini (included -recomended and -dist). Then used phpinfo(), I found there is php still work and found and informed "Configuration File(php.ini) Path = C:\WINNT". How can this be happenned? (I believe, this will answ

Re: [PHP] Sort multi array.

2005-08-13 Thread Torgny Bjers
João Cândido de Souza Neto wrote: >I´ve in a array the coluns: date , weekday , hour , etc... > >I need to sort him by coluns 0 and 2 but not found the correctly function to >do it. > Take a look at this manual page: http://www.php.net/manual/en/function.array-multisort.php Regards, Torgny --

[PHP] Re: Mail-id validation script

2005-08-13 Thread Manuel Lemos
Hello, on 08/13/2005 01:49 AM Nahalingam Kanakavel said the following: This is naha, I am very new to PHP as well as this group, I am in need of your guidence all my way. Now I am doing a project using PHP, in that I created a form. That form has a field called e-mailid, to validate that I nee

[PHP] Sort multi array.

2005-08-13 Thread João Cândido de Souza Neto
I´ve in a array the coluns: date , weekday , hour , etc... I need to sort him by coluns 0 and 2 but not found the correctly function to do it. Please, anyone know how can i do? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help Building Dynamic Checkboxes

2005-08-13 Thread Aaron Greenspan
Hi, There are a couple of problems with your code. The first is that you have global variables enabled, which makes things easier, but also makes things less secure. You should definitely disable them in your php.ini file if possible. Also, when you put the square brackets after gmev (gmev[]

[PHP] array varible problems

2005-08-13 Thread edwardspl
Dear you, Now, I want to define a set of array varible with table structure as the following: Result page: Source page: for($i=1;$i<5;$i++) { } Only display the result of zero array, eg : f1[0] f2[0] f3[0] f4[0] So, how to write the source (Web page - when user clic

Re: [PHP] curl?

2005-08-13 Thread Torgny Bjers
Wong HoWang wrote: >Hi, Everybody! > >I got this when I execute the script: >Fatal error: Call to undefined function: curl_init() in msnp9.class.php on >line 259 > >is there anyway to solve it? > Yes, by installing the curl libraries. If you are using Windows and PHP 5.0, you can get the curl li

[PHP] curl?

2005-08-13 Thread Wong HoWang
Hi, Everybody! I got this when I execute the script: Fatal error: Call to undefined function: curl_init() in msnp9.class.php on line 259 is there anyway to solve it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php