SharkBait Posted January 4, 2007 Share Posted January 4, 2007 What would I look at when I need to send POST information to a CGI script?I currently have a script that requires 2 logins. One log in allows sessions to be set for the account management section of website. The 2nd login is to login to a hotspot controller that uses CGI scripts to authenticate to a RADIUS server.I would like to make it so that when the user Logins the first time, they get authenicated to the account management section of the website and also pass their username and email address to the CGI script so they can be authenticated and allowed internet access.I saw something recently that I could use CURL to send information to a CGI script? Is this correct? Thanks Link to comment https://forums.phpfreaks.com/topic/32796-post-to-a-cgi-script/ Share on other sites More sharing options...
ki Posted January 4, 2007 Share Posted January 4, 2007 You could try an AJAX script? Or possibly a cookie, but i doubt that would do the trick. Link to comment https://forums.phpfreaks.com/topic/32796-post-to-a-cgi-script/#findComment-152694 Share on other sites More sharing options...
fert Posted January 4, 2007 Share Posted January 4, 2007 yes you can use CURL to post to a script Link to comment https://forums.phpfreaks.com/topic/32796-post-to-a-cgi-script/#findComment-152696 Share on other sites More sharing options...
SharkBait Posted January 4, 2007 Author Share Posted January 4, 2007 Alright so now I just have to figure out CURL and search for examples. Thanks Link to comment https://forums.phpfreaks.com/topic/32796-post-to-a-cgi-script/#findComment-152712 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.