-1

How to send values through post method in php header() function?

Suppose:

header("Location:index.php?abc=".$abc);

Instead of this get method or query string I want to pass value through post method, don't use session.

Neil
  • 14,063
  • 3
  • 30
  • 51

1 Answers1

0

You cannot do this with headers only. For that you should use cURL (check Basic curl example).

ghostprgmr
  • 488
  • 2
  • 11