Jump to content

Web-based AutoIt! - New with AuCGI!


theguy0000
 Share

Recommended Posts

This is really great, but...

The Web-based au3-scripts can't display MSGBoxes and cant run external programs (I mean the server, not the client :))

Is there a way to bypass that?

um, yes they can? When a web-based autoit script is executed, it runs on the server computer, therefore it can pop up message boxes, run programs, whatever on the server computer.

Of course, this makes it completely irrational for hosting use, because any of the people who own websites can just hack the server.

I'm thinking of making a special handler that blocks out certain commands for protection of the server...Does anyone think that's a good idea?

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

um, yes they can? When a web-based autoit script is executed, it runs on the server computer, therefore it can pop up message boxes, run programs, whatever on the server computer.

No. MessageBoxes make a "beep"-sound but arent displayed, Processes are running, but any Gui's/graphical output they produce arent shown!
Link to comment
Share on other sites

No. MessageBoxes make a "beep"-sound but arent displayed, Processes are running, but any Gui's/graphical output they produce arent shown!

Hmm, that's just you, I can guarentee that it works. Not sure what the problem is on your side, but it definitely works here. In fact I Can't even think of the problem. Are you using Abyss? If so, what version?

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

I know why!!!

Abyss is running autoit as a service.

Kill abyss and run it again as a user process, not a system service.

I guarantee this will work.

ah, there we go. Thanks!

I would at that to the first post, but the stupid bug will mess up everything.

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

How about gzip compression output for web page ?

But I don't have any idea to write this.

Edited by Dhilip

[u]My Projects[/u]:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDF[u]My Website:[/u]http://dhilip89.hopto.org/[u]Closed Sources:[/u]YouTube Video Downloader (Version 1.3)[quote]If 1 + 1 = 10, then 1 + 1 ≠ 2[/quote]

Link to comment
Share on other sites

  • 1 month later...

Update 22 September 2007

ADDED AuCGI

Exciting update! AuCGI brings AutoIt to a whole new level in web app scripting. Puts us right up there with php :)

Now you can use <?au3 ?> tags! And other (smaller) differences, that just overall improve web-based AutoIt.

Oh, and it works with apache now! (untested, but, well, it should work with Apache)

New instructions and info in first post!

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

Link to comment
Share on other sites

@bert - if it doesn't work, try putting them inside <directory> or <location> directives to specify where exactly autoit can be used. Or of course you can just use .htaccess

edit: see http://httpd.apache.org/docs/2.2/mod/core.html#directory and http://httpd.apache.org/docs/2.2/mod/core.html#location for info on <directory> and <location> respectively.

Edited by theguy0000

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

in whatever directory you want it to affect. Probably just your root htdocs folder.

edit: obviously as you can tell I have used Apache before, so i can answer most questions...

edit: by the way, just looked in the apache docs and .htaccess also affects subdirectories of the directory it's in. So just putting it in your htdocs dir should do it :)

Edited by theguy0000

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

forgot to post an example page!

http://theguy0000.com/cool.auw

and the source:

##WebApp title="hmm"
Hello. Your IP is <?au3 echo ($_REMOTE_ADDR) ?>!

side note: the autoit syntax highlighting in scite messes everything up too, going to try to fix that...

Edited by theguy0000

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...