Topic awaiting preservation: Missing data in $_REQUEST (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 08-07-2003 23:00
(also at the GN) |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 08-07-2003 23:10
Some quick thoughts: |
Maniac (V) Inmate From: Florida |
posted 08-10-2003 05:16
DmS, experienced a similar problem awhile back and found a plausible solution. code: <?php
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 08-10-2003 10:58
that's one awesomely large security hole you got their, kriek. |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 08-11-2003 09:45
Thanx. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 08-11-2003 13:04
This is taken from PHP manual: |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 08-12-2003 12:18
Thanx mr.Max, I got that from the GN as well. quote:
|
Paranoid (IV) Inmate From: Den Haag, Netherlands |
posted 08-20-2003 13:53
if (isset($variableName)) { |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 08-21-2003 22:30
Trib, Unfortunatley that wasn't enough for us, we had to validate/set the type of the value as well (lot's of different logic that uses it further "down") in order for every thing to work. |
Paranoid (IV) Inmate From: Den Haag, Netherlands |
posted 08-22-2003 09:04
Dan .. I guessed your problem was a little less trivial than my reply indicated, but isset() as a replacement for !empty() was what I was trying to indicate ... actually I can't ever remember using empty() to test a variable, and isset() always comes up with the goods for me ... |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 08-22-2003 09:15
yeah, isset() && is_numeric() for numbers, isset() && is_numeric() && intval() for integers, |