[PHP] Creating a text file

2007-07-17 Thread Ryan Lao
i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next is for my form to also create a text file whe

Re: [PHP] Re: Pirate PHP books online?

2007-07-17 Thread Larry Garfield
On Tuesday 17 July 2007, Richard Lynch wrote: > > Once I have written code or words, the time I have spent on that is > > gone. I > > will never get that time back, regardless of whether or not I get paid > > for it > > after the fact. > > Last time I checked, most day jobs have a significant lag

Re: [PHP] Sessions Lose Form Field Data When Back Button Used?

2007-07-17 Thread Instruct ICC
From: "Richard Lynch" <[EMAIL PROTECTED]> It's still browser-dependent, really, but now your browser isn't doing what YOU want for your form-filling-in-experience... I like this. I'll have to add it to my "operator error", "pass the buck" bag of tricks. There's still nothing you can do abo

Re: [PHP] Creating a text file

2007-07-17 Thread Chris
Ryan Lao wrote: i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next is for my form to also create

Re: [PHP] Re: Pirate PHP books online?

2007-07-17 Thread John Meyer
Richard Lynch wrote: On Mon, July 16, 2007 7:15 am, tedd wrote: I have to agree with Col on this one. Books are not shareware, freeware or open source. They are written for profit and anyone wanting to pirate the books are stealing, plain and simple. And if anyone thinks people will buy the b

Re: [PHP] PHP-5.2.3 and "Internal Server Error"

2007-07-17 Thread Paul Scott
On Tue, 2007-07-17 at 18:06 -0500, Richard Lynch wrote: > Run the same script with php CLI and see what it outputs. > Goes through without a problem. > Open the script in various editors to be sure there's no stray > un-printable character in the source. > Checked. This is from one of our re

Re: [PHP] Re: Pirate PHP books online?

2007-07-17 Thread Paul Novitski
At 7/17/2007 07:42 PM, you wrote: Really people. I find it hard to believe that the otherwise-intelligent people on this list have such a hard time with the concept that something should not be done for reasons that don't involve physical property, just as I find it hard to believe that making u

[PHP] regular expression and forbidden words

2007-07-17 Thread Nicolas Quirin
Hi, i'm french, i'm using regular expressions in php in order to rewrite hyperlink tags in a specific way before apache output is beeing sent to client. Purpose is to replace href attribute of any A html tag by a javascript function calling an ajax loader. Currently I have wrote that: $patt

Re: [PHP] Unlink file older then 7 days

2007-07-17 Thread chris
Ok thanks everyone... I need to throw in a wildcard, how would I do that.. I have this so far. which dont work. Thankyou - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Stut" <[EMAIL PROTECTED]> Cc: "Suhas Pharkute" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;

Re: [PHP] Selecting Rows Based on Row Values Being in Array

2007-07-17 Thread kvigor
This is working so far but I need to add an additional search. This is what I have so far: $in_list = "'".join("','",$cen_chiefs)."'"; $query_cen_chiefs = "SELECT * FROM central WHERE CONCAT(strName,' ',strCity,' ',strState) IN({$in_list}) ORDER BY conName"; I also need the query to return rec

Re: [PHP] Selecting Rows Based on Row Values Being in Array

2007-07-17 Thread kvigor
Hello Master Coders, This is working so far but I need to add an additional search. This is what I have so far: $in_list = "'".join("','",$cen_chiefs)."'"; $query_cen_chiefs = "SELECT * FROM central WHERE CONCAT(strName,' ',strCity,' ',strState) IN({$in_list}) ORDER BY conName"; I a

Re: [PHP] Unlink file older then 7 days

2007-07-17 Thread Paul Scott
On Wed, 2007-07-18 at 07:29 +0100, [EMAIL PROTECTED] wrote: > I need to throw in a wildcard, how would I do that.. I have this so far. > which dont work. foreach(glob("*.asc.txt") as $files) { unlink($files); } --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.

<    1   2