Re: Re: [PHP] is_numeric questions - followup

2004-07-28 Thread holmes072000
From: Jeff Oien [EMAIL PROTECTED] Does is_numeric include commas decimals and dollar signs? How do I use this to error check form data? I'm having a hard time figuring out what the correct syntax is for that application. Thanks. Jeff I think what I should have asked is how to

Re: Re: [PHP] php5 and object

2004-07-28 Thread holmes072000
From: Stephen Sadowski [EMAIL PROTECTED] Subject: Re: [PHP] php5 and object http://us4.php.net/manual/en/language.oop5.abstract.php The short is that you can't do anything more than define a function in an abstract class. IIRC, change abstract to interface, and you'll probably be okay.

Re: [PHP] Problem with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

2004-07-28 Thread holmes072000
From: Mark Collin [EMAIL PROTECTED] Does anybody have any ideas on how I can prevent caching of $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'], or clear them? You can't clear them; they're sent by the browser. It'll keep resending the same values and you're script will authenticate.

Re: [PHP] Urgent..my MYSQL dies..

2004-07-27 Thread holmes072000
please give me a command line to startup MySQL using safe_mysqld C:\ ---John Holmes... --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004 -- PHP General Mailing List

Re: [PHP] Alternative to stripslashes(htmlentities($textstring))

2004-04-06 Thread holmes072000
From: gohaku [EMAIL PROTECTED] I was just curious if there is another function that does the same job as stripslashes(htmlentities($textstring)). Nope. Do it that way. Or you can turn off magic_quotes_gpc, which is probably the reason you have to run stripslashes(). ---John Holmes... --

Re: RE: [PHP] Validating form field text input to be a specific variable type

2004-04-06 Thread holmes072000
From: Merritt, Dave [EMAIL PROTECTED] Okay seems to makes sense, but when I do the following it doesn't appear to be working correctly, or I'm viewing my logic incorrectly one: if ( (int)$PageOptions['Default'] == $PageOptions['Default'] ) { This works:

Re: [PHP] For your reference, how to validate dynamic form fields.

2004-04-06 Thread holmes072000
From: Hawkes, Richard [EMAIL PROTECTED] Just spent far too long trying to figure out how to do this, so I thought I'd pass it on to you great guys, in case you need it for the future. I used PHP to create multiple form rows, each one numbered: ? for ($i =1; $i = 20; $i++) {