Re: [PHP] recursive acronym - PHP

2003-11-02 Thread Lee Doolan
Joachim == Joachim Krebs [EMAIL PROTECTED] writes: Joachim Perhaps it is time to break the record. Joachim Evan Nemerson wrote: How can you forget the Hurd??? Xinu Is Not Unix also MT XINU is UNIX TM backwards -- no toll on the internet; there are paths of many kinds; whoever

[PHP] Re: [PHP-DB] $_POST in MySQL query issue...

2003-10-19 Thread Lee Doolan
Adam == Adam Reiswig [EMAIL PROTECTED] writes: Adam A couple of days ago I placed a post regarding using the Adam $_POST[] variable in an insert sql query. Both Adam $sql=insert into $table set Name = Adam '.$_POST['elementName'].'; and $sql=insert into $table Adam set Name

Re: [PHP] converting GET to POST

2003-10-16 Thread Lee Doolan
Marek == Marek Kilimajer [EMAIL PROTECTED] writes: Kris == Kris Yates writes: Marek You can do it this way: Marek form action=https://www.fake.com/fake.php; Marek input type=hidden name=item value=?= $item ? Marek input type=submit Marek /form Actually, I think that if you

[PHP] Re: preg_match

2003-08-02 Thread Lee Doolan
Michael == Michael Temeschinko [EMAIL PROTECTED] writes: Michael Hello, Michael I would like to split a String containing ingredience with additional Michael assigned footnotes... Michael my problem I only get the first ingredience ($zutat at line 32 has Michael only one

[PHP] Re: replacing everything between 2 strings

2003-07-21 Thread Lee Doolan
Matt == Matt Palermo [EMAIL PROTECTED] writes: Matt Is there a way to replace everything between 2 given strings Matt if it exists? Say I have: Matt $str = replace anything and everything in here.; Matt Now I want to replace everything between the word replace Matt and

[PHP] Re: XML Array

2003-07-16 Thread Lee Doolan
Michael == Michael Smith [EMAIL PROTECTED] writes: Michael Hey, I'm looking for a function to take an XML file and Michael turn it into a PHP array with the same structure. here's something that I found on the internet a few months back. I've used it a number of times: C U T

[PHP] Re: XML Array

2003-07-16 Thread Lee Doolan
Lee == Lee Doolan [EMAIL PROTECTED] writes: Michael == Michael Smith [EMAIL PROTECTED] writes: Michael Hey, I'm looking for a function to take an XML file and Michael turn it into a PHP array with the same structure. Lee here's something that I found on the internet a few months

[PHP] reserver variable names

2003-05-31 Thread Lee Doolan
I could swear that I once saw a statement to the effect that certain variable names were reserved in PHP. Something along the lines of ''variable names starting with two underscores (__) are reserved... '' Is anyone else aware of this or do I have a circuit crossed somewhere? thanx

[PHP] my i ramble for a while?

2002-09-20 Thread Lee Doolan
I am posting this message to the php.general newsgroup because I used php to construct the dynamic portion of our site and because I value the opinions of many people who frequently post here. I hope that this will not be viewed as off-topic --if it is, I will take it elsewhere. At affero we

[PHP] how to time an http request

2002-09-18 Thread Lee Doolan
is there a program which i can run in a unix environment (FreeBSD or redhat) which can run, say, 100 requests on a url and then report the total time spent on the requests? i know that i could run curl or wget in a loop, but i would have to account for the fork-exec time somehow. i hope that

[PHP] mod_php / apache config

2002-09-03 Thread Lee Doolan
I apologize beforehand in case this message is posted twice. If there is some way to do this, then it has eluded me for several hours. I would like to set a variable in the apache config file which I can then access in a php script. I'm running mod_php4 and apache 1 I have tried things like

[PHP] mod_php4 / apache config question

2002-09-03 Thread Lee Doolan
If there is some way to do this, then it has eluded me for several hours. I would like to set a variable in the apache config file which I can then access in a php script. I'm running mod_php4 and apache 1 I have tried things like this: php_value WSERVER red2.office.com and this:

[PHP] Re: Cookie array

2002-08-10 Thread Lee Doolan
Jan == Jan [EMAIL PROTECTED] writes: Jan Hi ! How can I stoor array in to a cookie ? Jan Do I just define an array and stoore it in a cookie ? How do Jan I access the data in the array then ? you can use serialize() / unserialize() but be careful because the amount of storage

Re: [PHP] How to become a good PHP coder?

2002-07-31 Thread Lee Doolan
Wee == Wee Keat [EMAIL PROTECTED] writes: [. . .] Wee might be new, but I deeply appreciate the generosity that all Wee of you have given us One way to show your appreciation sincerely would be to help others in the same way that people have helped you.

[PHP] Re: how to debug mail() problem?

2002-07-30 Thread Lee Doolan
Manuel == Manuel Lemos [EMAIL PROTECTED] writes: [. . .] Manuel Anyway, if all else fails, you may want to try to use this Manuel class: Manuel http://www.phpclasses.org/smtpclass Manuel maybe in conjunction with this Manuel

[PHP] Re: OO Programming - get practical

2002-07-23 Thread Lee Doolan
Paul == Paul Dionne [EMAIL PROTECTED] writes: [. . .] Paul So, I guess my point is that if people want to encourage use Paul of OO programming, they need to use more examples in their Paul books instead of what is easy.

Re: [PHP] Credit card checks?

2002-07-23 Thread Lee Doolan
Kristopher == Kristopher Yates [EMAIL PROTECTED] writes: [. . .] Kristopher I dont know about AuthorizeNet, but LinkPoint has an Kristopher API written in PHP that is supposed to be inexpensive, Kristopher and easilly integratable into any PHP apps. I

[PHP] Re: parsing

2002-07-23 Thread Lee Doolan
Dave == Dave At Sinewaves Net [EMAIL PROTECTED] writes: Dave Okay, I want to know if anybody has a clue which is more Dave efficient, processorwise/parsingwise: Dave this: -- echo Dave tabletrtdb.$somevar./bbr.$somevardesc./td/tr/table; Dave or this: -- echo

[PHP] Re: Comma question

2002-07-22 Thread Lee Doolan
B == B I G D O G [EMAIL PROTECTED] writes: B Tried to check the archive, but it is offline... What does the B , and {} do in this type of statement? B Example: echo trtd{$strName}/td/tr, htmlspecialchars( in this case, the {}s don't really do anything; but {}s allow variables

[PHP] Re: Submit code

2002-07-16 Thread Lee Doolan
here's an excerpt from a script in which I do something like that: $pdArgs= demo= . urlencode($argAry['demo']) . . first_name= . urlencode($argAry['first_name']) . . last_name= . urlencode($argAry['last_name']) . . [. . .]

[PHP] Re: another pair of eyes?

2002-07-12 Thread Lee Doolan
Jas == Jas [EMAIL PROTECTED] writes: Jas Hello all, Jas I have a parse error and I am not sure why, I think my eyes are giving up on Jas me, or its a friday. Any help is appreciated. Jas // just trying to compare the session var $date to timeout if older than 5 Jas minutes

[PHP] Re: Date Comparsion

2002-06-18 Thread Lee Doolan
Jack == Jack [EMAIL PROTECTED] writes: Jack Dear all I had a form which let user to input the leave_from Jack and leave_to date into, the format of the date that user Jack input is -mm-dd. Now i want to compare the leave_from Jack and leave_to date to find out the number

[PHP] question about ? :

2002-06-13 Thread Lee Doolan
the arrays below have dates like dateA= array( 0= 03, 1= 22, 2= 02) for 22march2002. why does this work: $retval= ($dateA[2] != $dateB[2]) ? strcmp($dateA[2], $dateB[2]) : (($dateA[0] != $dateB[0]) ? strcmp($dateA[0], $dateB[0]) :

Re: [PHP] question about ? :

2002-06-13 Thread Lee Doolan
Miguel == Miguel Cruz [EMAIL PROTECTED] writes: Miguel On 13 Jun 2002, Lee Doolan wrote: the arrays below have dates like dateA= array( 0= 03, 1= 22, 2= 02) for 22march2002. why does this work: $retval= ($dateA[2] != $dateB[2]) ? strcmp($dateA[2

[PHP] parsing HTML text

2002-05-07 Thread Lee Doolan
I have written form screen which has as one of it's elements a textarea box in which a user can input some text --like a simple bio-- which will appear on another screen. I'd like to edit check this text. It would be a good idea to make sure that it has, among other things, no form elements,

[PHP] Re: Can anyone improve on this?

2002-04-08 Thread Lee Doolan
George == George Pitcher [EMAIL PROTECTED] writes: George Hi all, I'm working on a small solution and want to do George some configuration during the initialising process. George The solution is aimed at non tecchies in universities and George the idea is that the system does

Re: [PHP] how to process URL parameers

2002-04-05 Thread Lee Doolan
Erik == Erik Price [EMAIL PROTECTED] writes: [. . .] Erik There is another way, it's a bit more involved. You open a Erik socket with the server and directly send the data as POST Erik data. This allows you to avoid having to bother with a Erik

[PHP] Re: request for comments

2002-04-04 Thread Lee Doolan
Lee == Lee Doolan [EMAIL PROTECTED] writes: Lee the dynamic portion of the recently launched www.affero.com Lee has been implemented with php / smarty / postgreSQL. [. . .] Lee i would be curious about any remarks, positive or negative Lee which

[PHP] request for comments

2002-04-03 Thread Lee Doolan
the dynamic portion of the recently launched www.affero.com has been implemented with php / smarty / postgreSQL. the source can be downloaded here: http://www.affero.org/source/latest.tar.gz i would not call this a 'distribution' by any stretch of the imagination. for one thing, it