开发者

passing a POST variable through the url

开发者 https://www.devze.com 2023-03-22 23:55 出处:网络
Right now I\'m passing a variable through the url and accessing it through _GET in another file. header(\'location: addtitle.php?title=\'.urlencode($id));

Right now I'm passing a variable through the url and accessing it through _GET in another file.

header('location: addtitle.php?title='.urlencode($id));

I was wondering how I could do this for _POST and also redirect to anoth开发者_开发技巧er php file....should I just add a hidden form ?


What about trying curl to post a variable to the url?

0

精彩评论

暂无评论...
验证码 换一张
取 消