On 12/20/2012 10:27 AM, David Mehler wrote:
Hello,
I just read the Php5 changelog. Legacy features specifically magic
quotes were removed, does that mean that any system running php 5.4 or
newer does not need to use either addslashes() or stripslashes() when
dealing with form input?
Thanks.
On Thu, Dec 20, 2012 at 10:34 AM, Jim Giner
jim.gi...@albanyhandball.com wrote:
If you are using
mysql for a db, then you should already be using mysql_real_escape_string in
place of addslashes.
Actually, you should start moving toward MySQLi, as mysql_*() is deprecated.
--
/Daniel P.
On Thu, Dec 20, 2012 at 9:34 AM, Jim Giner jim.gi...@albanyhandball.comwrote:
If you are using mysql for a db, then you should already be using
mysql_real_escape_string in place of addslashes.
You should not be using mysql_real_escape_string going forward as it will
be deprecated in php
On 12/20/2012 10:36 AM, Daniel Brown wrote:
On Thu, Dec 20, 2012 at 10:34 AM, Jim Giner
jim.gi...@albanyhandball.com wrote:
If you are using
mysql for a db, then you should already be using mysql_real_escape_string in
place of addslashes.
Actually, you should start moving toward MySQLi,
On Tue, 10 Nov 2009 09:34:52 -0800, Haig Davis wrote:
foreach($_POST as $keyTemp = $valueTemp){
$key = mysqlclean($keyTemp);
$value = mysqlclean($valueTemp);
Mysql and form validation are totally unrelated.
In my mind, this seems spectacularly misguided.
Haig Davis wrote:
Morning All,
I've been figthing with this little problem for two days now, so far no luck
with google and am beginning to question my own sanity.
I have a application that has over one hundred forms some quite lengthy so
what I'm trying to achieve rather than writing a
Hello,
on 11/10/2009 03:34 PM Haig Davis said the following:
I've been figthing with this little problem for two days now, so far no luck
with google and am beginning to question my own sanity.
I have a application that has over one hundred forms some quite lengthy so
what I'm trying to
Haig Davis wrote:
Morning All,
I've been figthing with this little problem for two days now, so far no luck
with google and am beginning to question my own sanity.
I have a application that has over one hundred forms some quite lengthy so
what I'm trying to achieve rather than writing a
Haig Davis wrote:
alone work fine as does the foreach loop the only issue I have is the IF
statement comparing $key to expected varieable names.
if($key != ($customerServiceEmail) || ($billingEmail) ||
multiple points here..
1: is the key name held in a php variable called
this is a PHP mailing list, may be u ask this on a js mailinglist
ralph_def...@yahoo.de
Micheleh Davis m...@micheleh.com wrote in message
news:002901ca1b68$fc6b0020$f54100...@com...
Please help. My form validation worked fine until I added the terms check
at the bottom. Any ideas?
Yep, I'm sorry, sent to the wrong one. Thanks all!
-Original Message-
From: Ralph Deffke [mailto:ralph_def...@yahoo.de]
Sent: Wednesday, August 12, 2009 12:29 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Form Validation
this is a PHP mailing list, may be u ask this on a js
12:29 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Form Validation
this is a PHP mailing list, may be u ask this on a js mailinglist
ralph_def...@yahoo.de
Micheleh Davis m...@micheleh.com wrote in message
news:002901ca1b68$fc6b0020$f54100...@com...
Please help. My form
On 5/23/07, Crayon Shin Chan [EMAIL PROTECTED] wrote:
On Thursday 24 May 2007 00:51, Greg Donald wrote:
As I watch PHP de-evolve into Java, I find myself wanting something
lighter weight and with a smaller syntax.
PHP has long since spawned into something uncontrollable. Compare the
number
Having a giant conditional statement such as the one you have posted is a
real problem for many different reasons. Below is a simple states class that
allows you to test for a state using a couple of different checks (such as
making both comparables lower or upper case). One major issue with the
On Wed, 2007-05-23 at 11:16 -0500, Jared Farrish wrote:
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
Robert Cummings:
if every problem can be described as a nail, then all you
need is a hammer.
Cheers,
Rob.
--
Also, Indiana and Connecticut were misspelled.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 5/23/07, Robert Cummings [EMAIL PROTECTED] wrote:
Robert Cummings:
if every problem can be described as a nail, then all you
need is a hammer.
Don't you ever get the urge to swing a different hammer? I sure do.
As I watch PHP de-evolve into Java, I find myself wanting something
On Thursday 24 May 2007 00:51, Greg Donald wrote:
As I watch PHP de-evolve into Java, I find myself wanting something
lighter weight and with a smaller syntax.
PHP has long since spawned into something uncontrollable. Compare the
number of functions (and its aliases) to eg Ruby. The string
Hello,
You can use javascript and Ajax together. If you use the ajax, you
can validate your data with PHP code. Please visit the web site below. You
will find information about PHP and Ajax::)
http://www.w3schools.com/php/default.asp
--
Republic Of Turkey - Ministry of National
Hello,
On 10/13/2004 03:03 PM, Ou Huang wrote:
I am currently working on a newsletter mailing list project and
developed a form in php. I would like to validate before it is
submitted. What would be the best way to validate a form? Write your own
routines or using a form validator. I just started
Hello,
On 01/09/2004 04:07 PM, Matt Grimm wrote:
Is there a distinct advantage to doing form validation / error checking on
the server side using PHP? That's how I've always done it because I know
PHP better than JavaScript, but wouldn't it make sense to validate as much
of your form as possible
Thanks for the great input guys. Sounds like I'm using a sound method now
with full server-side validation. Perhaps to make the most user- and
server-friendly forms, one could use JavaScript as a guide to the user,
alerting them to erroneous input and suggesting alternatives rather than
being
Hello,
Tarjei Huse wrote:
Hi,
I need a function or class to validate a form with a cuple of text areas
that are alloed to contain a few html tags (brp etc) but not all,
and I need a script to validate the input from the fields and stop the
html elements that are not allowed.
Does
Ive seen em on zend.com, I wrote my own. I would recommend you take a look
at the ones on zend.com and modify it to taste.
--
Chris Lee
[EMAIL PROTECTED]
Daniel Harik [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello guys,
at moment i'm reading Hack
Hello Chris,
Thursday, January 03, 2002, 10:41:34 AM, you wrote:
CL Ive seen em on zend.com, I wrote my own. I would recommend you take a look
CL at the ones on zend.com and modify it to taste.
CL --
CL Chris Lee
CL [EMAIL PROTECTED]
CL Daniel Harik [EMAIL PROTECTED] wrote in message
CL
Hello,
Daniel Harik wrote:
Hello guys,
at moment i'm reading Hack Proofing your web apps book, but it makes
me scared, i have seen a class from newbienetwork.net(can't find it
now), that validates
user input, things like telephone number, state, country , email, and
also can check if
26 matches
Mail list logo