[PHP] Is php 5.0.4 using isapi unreliable?

2005-09-09 Thread Ben Duffy
Hi, We have a Windows 2003 server that seemed reliable using php as a cgi, then due to placing authentication on directories, we needed to switch to the isapi method about three months ago. The server reboots randomly maybe five times per week, but never outside office hours. I have read articles

Re: [PHP] Re: splitting CSV rows into multiple SQL inserts?

2005-06-22 Thread Ben Duffy
ad of using arrays. If doing line by line, have you considered sql "if not exists (select o_num from order_header where o_num = '$o_num') insert into" etc. to prevent duplicates? Ben > On Wed, 22 Jun 2005, Ben Duffy wrote: > > } I would read in the CSV file, a

Re: [PHP] Re: splitting CSV rows into multiple SQL inserts?

2005-06-22 Thread Ben Duffy
I would read in the CSV file, and populate two arrays, using the ordernumber as a key in the header array, loop through the header array containg $o_num, $date, $name, $addr, to do the db inserts. The details table would be an array of arrays, key would be ordernumber again, then the sub array wou

[PHP] Re: Offering files from below the webroot

2003-10-17 Thread Ben Duffy
"Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > this has been discussed before on the list but am unable to find it on > http://marc.theaimsgroup.com/?l=php-general > If anybody can point me to the correct URL or tell me how you did it I would > really appreciate i

[PHP] Re: displaying var in textarea

2003-10-10 Thread Ben Duffy
"Ben Duffy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I have a var: > > $test = 'echo \'test\';'; > > > >

[PHP] Re: displaying var in textarea

2003-10-10 Thread Ben Duffy
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a var: > $test = 'echo \'test\';'; > > If I display this in a textearea like so: > echo " name=\"action\">\n" > .$test > ."\n"; > > In the browser and in the HTML source I see (no slashes): > echo 'test'; > > Eve