Re: [PHP] Strong typing?

2001-07-13 Thread Adam
why can't you just use plan simple HTML to do it??? rather than make a larger hassle for your self ie strong howdy /strong ??? yes that is valid HTML :) Peter why do i get the idea that's not what they meant... -Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Strong typing?

2001-07-13 Thread scott [gts]
/cleanup and all those other nitpicky low-level things that BDSM ... errr C programmers seem to love :-) -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 8:15 PM To: Dr. Evil Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Strong typing

[PHP] Strong typing?

2001-07-12 Thread Dr. Evil
PHP is a great language. It makes it fast and easy to create web pages. However, one feature which is critical for doing rock-solid stable websites is strong typing. The reason for this is that you're dealing with untrusted user input. Strong typing helps because if you are expecting an INT,

RE: [PHP] Strong typing?

2001-07-12 Thread Chadwick, Russell
http://www.php.net/manual/en/function.settype.php is this what you are looking for? -Original Message- From: Dr. Evil [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Strong typing? PHP is a great language. It makes it fast

Re: [PHP] Strong typing?

2001-07-12 Thread Brian White
U... you could write a fuction like function CheckInputAgainstRE( $val, $re ) { if ( ! ereg( $re, $val ) ) { ( ... some kind of code that writes out an error message and dies ... ) } return $val; } and then a series of functions like function CheckInt( $val )

Re: [PHP] Strong typing?

2001-07-12 Thread Rasmus Lerdorf
PHP is a great language. It makes it fast and easy to create web pages. However, one feature which is critical for doing rock-solid stable websites is strong typing. The reason for this is that you're dealing with untrusted user input. Strong typing helps because if you are expecting an

Re: [PHP] Strong typing?

2001-07-12 Thread Dr. Evil
U... you could write a fuction like function CheckInputAgainstRE( $val, $re ) { if ( ! ereg( $re, $val ) ) { ( ... some kind of code that writes out an error message and dies ... ) } return $val; } That's what I've done. I have a huge file full of

Re: [PHP] Strong typing?

2001-07-12 Thread Phil Driscoll
On Friday 13 July 2001 01:27, Dr. Evil wrote: If you're doing financial stuff, or anything else that requires bullet-proof security and reliability, strong typing is essential, I would have said that good programming was essential rather than strong typing. If you insist on strong typing,

RE: [PHP] Strong typing?

2001-07-12 Thread Peter Houchin - SunRentals Australia
PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Strong typing? U... you could write a fuction like function CheckInputAgainstRE( $val, $re ) { if ( ! ereg( $re, $val ) ) { ( ... some kind of code that writes out an error message and dies