-1

I am getting an undefined index error on this line of code:

switch ($_REQUEST["___p"])

I think I would need to declare the variable. What would I change the above line to?

u_mulder
  • 54,101
  • 5
  • 48
  • 64

1 Answers1

-1

Either make sure exists beforehand with isset() or just ignore it:

switch (@$_REQUEST["___p"])
Dellowar
  • 3,160
  • 1
  • 18
  • 37