-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
  • 13,713
  • 3
  • 27
  • 50

1 Answers1

0

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

ghostprgmr
  • 468
  • 2
  • 11