![]() Topic awaiting preservation: Missing data in $_REQUEST (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() (also at the GN) |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Some quick thoughts: |
Maniac (V) Inmate From: Florida |
![]() DmS, experienced a similar problem awhile back and found a plausible solution. code: <?php
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() that's one awesomely large security hole you got their, kriek. |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() Thanx. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() This is taken from PHP manual: |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() Thanx mr.Max, I got that from the GN as well. quote:
|
Paranoid (IV) Inmate From: Den Haag, Netherlands |
![]() if (isset($variableName)) { |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() 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 |
![]() 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 |
![]() yeah, isset() && is_numeric() for numbers, isset() && is_numeric() && intval() for integers, |