Jump to content

Search the Community

Showing results for tags 'php'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • Forum FAQ
  • AutoIt


  • Community Calendar

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 17 results

  1. I make plugins for WordPress and am dissatisfied with the built-in editor. I'm now looking for a way to format the PHP code like TIDY does in AU3-Editor. I've already tried some online tools but they are buggy or have too few formatting options. Buggy: http://www.phpformatter.com/ Missing options: https://homepage-kosten.de/php_beautifier.php Here is the code to check if the beautifier is buggy: <?php /* Version: 2021.08.08#1 */ exit ( ' Version is: ' . chop ( substr ( file ( __FILE__ ) [ 2 ] , 9 , 13 ) ) ) ; /* Output from PHP Formatter: Format Error on li
  2. 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://
  3. here's some PHP code to access AutoIt functions from php: https://github.com/divinity76/autoit_php - as of writing, only 5 functions are added: MouseMove and MouseClick and _ScreenCapture_Capture and WinWaitActive and Send, it also has support for running in Cygwin (which is where i've developed it, but it *should*, in theory, run on normal php-cli for windows as well.), is there any community interest for this? example usage <?php require_once("autoit.class.php"); $au = new AutoIt();
  4. Here is a complete example of combining Autoit with PHP and MySQL was written by me. Include: Sign in, sign out.Create, read, update and delete data between client (AutoIt) and server (PHP/MySQL).Only allow user to log into a client at the same time. Video demo: https://www.youtube.com/watch?v=gQyfXLO0pls Screenshot (Main GUI) Usage If you want to test on your computer, you will need to create a localhost. I recommend to use WAMP or XAMPP. First, create a new database by importing from SETUP.sql file (see video for more info). Then, edit your path to SERVER in AutoIt-PHP-MySQL.au3: Global
  5. Hello guys! 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?
  6. Hey all, 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 Cheers, James
  7. MrTheDzam

    PHP Helps!

    Hey guys! I have a register page. when i click register, it's will insert information to database. But if i refresh the page, the script just continues and insert the information to database again How can i fix it?
  8. Hi everyone 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
  9. Just came across this library on GitHub and just thought how awesome it was that I had to tell the community. PHPJS: https://github.com/kvz/phpjs
  10. You're going to need Beege's Base64 UDF and Ward's AES UDF. Beege's Base64 UDF - Base64.au3 Original Thread: https://goo.gl/H1QqEG Ward's AES UDF - AES.au3 Original Thread: https://goo.gl/zQdASR Ward's UDF is amazing, but I felt the need to make a few "Helper" functions to make things easier. _Encrypt() and _Decrypt(), accepting 1 parameter and using a randomly generated IV for encryption, making the end encryption string dynamic and never the same. It pulls the IV from the first 16 characters of an encrypted string for the _Decrypt() routine. EncryptionExample.au3 Now for the PHP goodi
  11. Hello! I am currently facing a problem which I can't seem to be able to solve. What do I want to do with the script ? Extract all the links of the hotels on this website: http://www.yelp.de/search?cflt=hotels&find_loc=Berlin%2C+Germany For example the first link to the first hotel would be: http://www.yelp.de/biz/novum-hotel-city-b-berlin-zentrum-berlin - changes sometimes, so the link will be different. To start off, I tried to export only one hotel at first. I am using this code to read the content from the source and then get the content between two "functions" or whatever these a
  12. So I'm trying to build a function into my script which will verify someone's copy of the program online somehow. I first looked up a MySQL UDF however I see this requires a driver to be installed, and I assume that the user themself would also have to install this driver on their own computer? That's way too much of a hassle, so i'm wondering if there is a way to have an autoit script connect to a php script in any way and use the PHP to do the MySQL verification process, then read the result back into the autoit script? I don't need a complete answer just wondering if this is possible and if
  13. Hello, I've created a script for a Bingo / Lottery kind of game in PHP. Now I want to make this a standalone application in AutoIT. I really dont know how to do that as i´m just a Autoit-beginner. Can you help me with it? In general I have the following files: data.csv - the "database" where the bingo-numbers are stored, together with the name of the candidate index.htm - to show the 'program' in a browser input.php - to take care of input results.php - to show the winners numbers.txt - the winning numbers to compare with I have the following files: Input.php: <!DOCTYPE HT
  14. Hi guys found this on a blog today and i was just wondering how this works as ive tried the example but i cant get it to work for myself ? Here is the blog entry http://www.sadeghi85.info/articles/using-php-functions-inside-autoit/#more-189 If anyone has any ideas or pointer id appreciate it.
  15. Hello, For sharing screenshots with my friends I'm using uploadscreenshot.com. I noticed they have a useable API, so I thought I could create a neat little program which will upload screenshot with a single button click. After reading their documentation I started to play some with WinHTTP, but unfortunately I have zero experience with WinHTTP. API documentation: www.uploadscreenshot.com/api-documentation What I've tried: #include "WinHTTP/WinHttp.au3" Global Const $sAPIKey = "*snip*" Global Const $sAPIURL = "http://img1.uploadscreenshot.com/api-upload.php" Global Const $sIP = "209.105.2
  16. I don't know where to post this... I'm trying to get autoit to be able to uploade files larger than 20 mb, if I use my sites default upload script~ if (isset($_POST['_submit'])) { for ($i = 0; $i < $num_files; $i++) { if ($_FILES['_file']['name'][$i] == '') continue; $File = strtr(stripslashes($_FILES['_file']['name'][$i]), ''" |/?!*#', '__________'); $dotpos = strrpos($File, '.'); $length = strlen($File); $ext = strtolower(substr($File, -($length - $dotpos - 1))); $noext = substr($File, 0, -($length - $dotpos - 1)); if (!in_array($ext, $flat_allowed)) {
  17. I've been working on this php script based off of tinyib to work just like 4chan, yeah.. you heard right. I came to a problem when I noticed how 4chan interprets page requests as so~ <a href="1">1</a> Now the above is obviously a request for the second page on almost any board at the place and when you click it, the url changes from ~ http://boards.4chan.org/g/ to the url http://boards.4chan.org/g/1 And if you add a trailing backslash to the url as so~ http://boards.4chan.org/g/1/ you will get an error which should mean the request is not a direc
  • Create New...