Hi everyone,
Thanks for all the great ideas and links.
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Am 16.02.12 22:37, schrieb Marc Guay:
> 2) The range of possibilities are broader than I indicated. They would
> like to be able to enter conditions of all sorts. i.e. ($x / $y) > 0.5
> (($a+$b+$c) / $d) < .75 etc. If you have any suggestions on how to
> increase the security while maintaning the f
On Thu, Feb 16, 2012 at 10:37 PM, Marc Guay wrote:
>> It shouldn't be that hard to parse this type of expressions.
>
> I appreciate your concern, and will do my best to validate the input,
> but there are two things:
>
> 1) The application will only be used by selected users.
> and
Even selected
On Thu, Feb 16, 2012 at 04:37:18PM -0500, Marc Guay wrote:
> > It shouldn't be that hard to parse this type of expressions.
>
> I appreciate your concern, and will do my best to validate the input,
> but there are two things:
>
> 1) The application will only be used by selected users.
> and
> 2)
> It shouldn't be that hard to parse this type of expressions.
I appreciate your concern, and will do my best to validate the input,
but there are two things:
1) The application will only be used by selected users.
and
2) The range of possibilities are broader than I indicated. They
would like
On Thu, Feb 16, 2012 at 9:49 PM, Marc Guay wrote:
>> I just added the return statement and the semicolon, because the error was
>> complaining about it not being a proper PHP statement basically.
>
> That's beautiful, thanks. I just stumbled across a forum post that
> said it wasn't possible and
> I just added the return statement and the semicolon, because the error was
> complaining about it not being a proper PHP statement basically.
That's beautiful, thanks. I just stumbled across a forum post that
said it wasn't possible and was about to give up for the day.
Marc
--
PHP General
On Thu, 2012-02-16 at 15:38 -0500, Marc Guay wrote:
> > It sounds like you have a string "$x < $y" in the database that you then
> > replace into a string "4 < 5" which you want to test a conditional on. If
> > this is the case, why are you storing conditionals in the database?
>
> The user will
> It sounds like you have a string "$x < $y" in the database that you then
> replace into a string "4 < 5" which you want to test a conditional on. If
> this is the case, why are you storing conditionals in the database?
The user will be able to construct their own query strings, it's
complicated
Can you explain a more clearly what it is you're trying to accomplish?
It sounds like you have a string "$x < $y" in the database that you then
replace into a string "4 < 5" which you want to test a conditional on. If this
is the case, why are you storing conditionals in the database?
Regards,
10 matches
Mail list logo