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 kind

[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

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> https://www.fake.com/fake.php";> Marek> Marek> Marek> Actually, I think that if you do it this way, someone will have to click on the submit

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

[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

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

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

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

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

[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: Set

[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] 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 o

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 help

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

[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> "".$somevar."".$somevardesc.""; Dave> or this: -- echo Dave> "{$

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 PH

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

[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 "{$strName}", htmlspecialchars( in this case, the {}s don't really do anything; but {}s allow variab

[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

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

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

[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]) : (

[PHP] parsing HTML text

2002-05-07 Thread Lee Doolan
I have written form screen which has as one of it's elements a 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 elements, say, or to mak

[PHP] Re: Scoping functions in PHP

2002-04-11 Thread Lee Doolan
> "Eric" == Eric Starr <[EMAIL PROTECTED]> writes: Eric> I am a Java programmer learning PHP. In Java you can have a Eric> class that contains public and private functions. Only the Eric> public functions are accessible outside of the class. Does Eric> PHP have a way to hid

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

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

[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

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