Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95065 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4464 invoked from network); 12 Aug 2016 09:01:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2016 09:01:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.68 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.68 mail-wm0-f68.google.com Received: from [74.125.82.68] ([74.125.82.68:35322] helo=mail-wm0-f68.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/E6-56950-1609DA75 for ; Fri, 12 Aug 2016 05:01:22 -0400 Received: by mail-wm0-f68.google.com with SMTP id i5so1687224wmg.2 for ; Fri, 12 Aug 2016 02:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=EEKqLcV4EJsiEvDDzjIaoHFqorJOqTbIHoEZhLTCZg4=; b=uuwMFXLb+G9g2bcLciIDF7W+y0QdtshUK9c0/zTEeui6apZasSZKBOFB+3vqJwm3C5 FCTMDhsVhZFU2LJt+utW6MthyWJ2j9U8eNoCd+V2fDjpwyUqdbMmt91xqNZfvB6vShMw mFrEqtFlwKewncXtT4Z+Je6SaHpskdYdS4l9w3Q5zt9uMJFytSdNvsG0N7C2vwarc/TJ R3num72l9vH8xWvp+NF8zaP3cIhm+4432+UJtK9i93+QtEEcTlS3+zXrRNur+nNdVzFD zEBGpjJkCnLM9jn1GTPTbvn4+FdUyKN9g88hAHe8BYoXwHwlqkQBfA25IcMQ15VqtySu keWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=EEKqLcV4EJsiEvDDzjIaoHFqorJOqTbIHoEZhLTCZg4=; b=kFcZy7wVaUtU0X3tKdSqjUr/xeim80bccccVtHAWU9Qvb7G4EC3hickWyt2Vjn+h8B mCG+Tc/RVlTInTTBnfv90LPFujAGi/8PtPS1RHHkOrsO/2g9efpSGbx3FMzuEtFAO1sI 4Mn5LCbz1IJzIpCRBT6A8ms5j1QZlRIlQgnOpMPTLhVarLzB/KCZchghiNMrhiefmmlm 0CqZ97EQZDVMtOI9IctpT3QjMVgBSGSsQJAfiWNKAK1LhOPTG1VlkXkyelnOJWcdGDTL Ik7quB6dEHQ6dwefLlinCz9H8GSg/KmM2oLzsSVhe7svaWCBbBhG8kbThBVsfnsiJ+eZ 6kGg== X-Gm-Message-State: AEkoouufRSrftwLlAo8+H5/FaWmTqImz6pjWwD6lrdmnUOxe7SbcwfUCpxEgh0Z5T9NSIw== X-Received: by 10.28.196.136 with SMTP id u130mr1714279wmf.83.1470992478969; Fri, 12 Aug 2016 02:01:18 -0700 (PDT) Received: from [192.168.0.98] ([93.188.182.58]) by smtp.gmail.com with ESMTPSA id bj8sm6501938wjc.49.2016.08.12.02.01.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Aug 2016 02:01:18 -0700 (PDT) To: internals@lists.php.net References: <10fbcb03-5de8-4d9a-da1c-7e2bf77937cb@lsces.co.uk> Message-ID: <9f76a201-7423-51d3-96df-d14a1f38b843@gmail.com> Date: Fri, 12 Aug 2016 09:58:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Simple variable handling. From: rowan.collins@gmail.com (Rowan Collins) On 12/08/2016 08:51, Lester Caine wrote: > From a practical point of view of cause, the validation of inputs may > well be done in the browser so that the constraints get passed TO some > html5 check, or javascript function. So having uploaded the form one > COULD simply tag a variable as valid? Just a reminder to you and anyone else reading: NEVER TRUST USER INPUT. You can add all the JS in the world to your forms, but a user can always ignore that and craft their own input with whatever data they like in it.