I've made this HTTP lib to simplify HTTP requests, mainly when dealing about POST data or file uploads.
Three functions are available:
string _HTTP_Get ( string $sURL ) string _HTTP_Post ( string $sURL , string $sPostData ) string _HTTP_Upload ( string $sURL , string $sFilePath , string $sFileField , string $sPostData = '' , string $sFilename = Default) Additionaly, two helper functions are also available:
URLEncode($sStr) URLDecode($sStr) Full documentation: https://github.com/jesobreira/HTTP.au3/blob/master/README.md
Fork me on Github: https://github.com/jesobreira/HTTP.au3
Download lib + docs: https://github.com/jesobreira/HTTP.au3/archive/master.zip
I changed my website's login page yesterday. In that file, i used header() function to redirect user from login page to error page.
But now my script (use WinHttpObj library) can't work. But if i change the login page to old page (without redirect) then my script works
How can i fix that?
I've been away for a while, working on one thing or another... Recently it's been StyleCI, The PHP Coding Style Service.
StyleCI connects to your GitHub repositories and watches for commits or pull requests, with the ability of automatically fixing the code standards if it hasn't matched your settings.
The likes of Laravel and Graze are using StyleCI now, among many other projects. Yesterday we hit a massive milestone, we analysed the 100,000 commit!
I'd love to hear your feedback
This is not a request for sample code.
I was looking at one of my AutoIt projects, and my browser was open on a WordPress site we use and a thought occurred: Has anyone tried to use AutoIt as a front end (GUI), with the data read to/from WordPress and the result displayed in the AutoIt GUI?
Simple example would be a kind of online calendar. Would require a WordPress plugin. Kind of thing Outlook has. Except, all the calendaring is done in the background by WordPress, and the result read/modified/written by AutoIt using PHP to the WordPress database (MySQL).
I suspect in addition to AutoIt, one needs substantial HTML, SQL and PHP skills.
Has anyone perhaps attempted this? Am I wasting my time? If I can get the calendar working, I have the simplicity and speed of AutoIt available immediately, with the online database/calendar capabilities of WordPress.
All thoughts and comments very welcome.
Just came across this library on GitHub and just thought how awesome it was that I had to tell the community.