spyrorocks Posted January 4, 2008 Share Posted January 4, 2008 Execution time is horrible for having to execute 2 autoit exes in order to return a page. Would be better if someone could make autoit somehow run in the background and take in code and execute it on the fly. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
Gif Posted January 4, 2008 Share Posted January 4, 2008 What webserver are you using? If you use abyss, just set the interpreter as Autoit3.exe and it works fine with the Web-Based Au3 UDF's.Ahhh yes i just tested this (again) and it works fine! But it didn't before.. probably i did a mistake..ps: yes i have abyss with AutoIt3.exe as interpreter. Link to comment Share on other sites More sharing options...
Apzo Posted January 4, 2008 Share Posted January 4, 2008 Hello !You may find http://shttpd.sourceforge.net/ very useful !I've tested shttpd successfully with au3 exes (CGI way), works perfectly.shttpd.exe can be executed "out of the box", the options can be given in command line or .ini file, or both.It doesn't require any installation or such.Currently I'm using it for file transfer between two distant au3 scripts, no more complicated tcpsend funcs Regards, Apzo. All the pop3 functions.Rsync your files on your USB key (or anywhere else) Link to comment Share on other sites More sharing options...
Gif Posted January 4, 2008 Share Posted January 4, 2008 have you tried the web UDFs and they work?? Link to comment Share on other sites More sharing options...
Apzo Posted January 4, 2008 Share Posted January 4, 2008 have you tried the web UDFs and they work??Just start you code with #include "Web.au3"_StartWebApp(".....")Compile your script, rename it to .cgi and place it where your shttpd.exe is (or wherever you told it its base root was) then call your script :http://localhost/yourscript.cgi and you're all done.the _Get and _Post funcs are working, I'll try RSS feeds later but I'm confident. Apzo. All the pop3 functions.Rsync your files on your USB key (or anywhere else) Link to comment Share on other sites More sharing options...
ptrex Posted January 4, 2008 Share Posted January 4, 2008 @ApzoThanks very much for the contribution !!Some time ago I have tried to get it running on TinyWeb which is as well a standalone EXE webserver. Which supports CGI.But it was not successful. So I will definitely start using this.regardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
AzKay Posted January 5, 2008 Share Posted January 5, 2008 Reupload Web.au3 kthx. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Dhilip89 Posted January 5, 2008 Share Posted January 5, 2008 A tip for AuCGI: Compile the script into exe allow server to execute the script without AutoIt installed on that machine, perhaps can allow faster execution. [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 More sharing options...
theguy0000 Posted January 7, 2008 Author Share Posted January 7, 2008 (edited) Reupload Web.au3 kthx.I'm sorry but Web.au3 (and AuCGI.exe) is on theguy0000 which (according to my signature) is down at the moment because I've been installing linux and having some problems...you're just going to have to be patient, or get it from another forum member. Sorry. Edited January 7, 2008 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 More sharing options...
AzKay Posted January 7, 2008 Share Posted January 7, 2008 I'm sorry but Web.au3 (and AuCGI.exe) is on theguy0000 which (according to my signature) is down at the moment because I've been installing linux and having some problems...you're just going to have to be patient, or get it from another forum member. Sorry.Thanks for the headsup :3Note to self, Backup scripts.Stupid XP had a failur, and I had to format.D partition survived. I really should install AutoIt onto D.. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AzKay Posted January 7, 2008 Share Posted January 7, 2008 (edited) K, Got it now. Found a copy. Now, Anyone got a solution to the problem where, The page is loading, (looping), For example. For $i = 1 to 100 ConsoleWrite($i) NextoÝ÷ ØÚ0!û(ê'yÉh±ë-ì"Ú0¢¹Ú¾(µëÁ¬®êZæÞ~Þ¶±Ú'y8^±Êâ¦Ü"Yzîx§ëÞ^Ø^¥¨Ç%¢Ç|¢u欢xhÂÚaÂâáÚ½ëazÇ+^ض©j¢±Éh±çh¯Z¶z-l@ÈOöÓ+"²Ø^rZ,zËb½è(¶×§~Úªê-~,jºZºÚ"µÍÚ[ÛYH ÕÙX]LÉÝÂÔÝÙX BYÔÔÕ ][ÝÔQ ][ÝÊH ÉÝÈ ][ÝÉ][ÝÈ[TØÙÜÐÛÜÙJÔÔÕ ][ÝÔQ ][ÝÊJBQ^][YÛÛÛÛUÜ]J ][ÝÉÙÜHY]ÙIÌÎNÔÔÕ ÌÎNÈXÝ[ÛIÌÎNÝÝ]LÉÌÎNÉ][ÝÈ [ÈÔBÛÛÛÛUÜ]J ][ÝÉÚ[]OIÌÎNÚY[ÌÎNÈ[YOIÌÎNÉ][ÝÈ [È]]Ò]Q [È ][ÝÉÌÎNÈ[YOIÌÎNÔQ ÌÎNÉÝÉ][ÝÈ [ÈÔBÛÛÛÛUÜ]J ][ÝÉÚ[]OIÌÎNÜÝXZ] ÌÎNÉÝÉ][ÝÈ [ÈÔBÛÛÛÛUÜ]J ][ÝÉËÙÜIÝÉ][ÝÈ [ÈÔBÜ ÌÍÚHHHÈLTÛY L BPÛÛÛÛUÜ]J ÌÍÚH [È ][ÝÈ ][ÝÊB^ Though, Its not very practical. The person would HAVE to press the button, To end it. I want it to automatically end, if they navigate away, or close the window. Edited January 7, 2008 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Apzo Posted January 8, 2008 Share Posted January 8, 2008 AzKay, you may use javascript : "onunload" in the body tag. Bind a javascript func to the onunload event that make a silent call to a cgi (au3 for course). This cgi will terminate the first script. Crappy, but may work Apzo. All the pop3 functions.Rsync your files on your USB key (or anywhere else) Link to comment Share on other sites More sharing options...
spyrorocks Posted January 8, 2008 Share Posted January 8, 2008 That is not a very practical/"solid" solution. why not this: Global const $TimeOut = 30 ;How many seconds to wait before exiting script adlibenable("_checktimeout", 100) func _checktimeout() ;Auto timeout by Spyrorocks if not isdeclared("__timeoutimer") then assign("__timeoutimer", timerinit(), 2) if timerdiff($__timeoutimer) > $timeout*1000 then exit ;Terminate the script if timeout is reached endfunc Untested, but it should work. If the script runs longer than 30 seconds, it terminates itself. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
AzKay Posted January 8, 2008 Share Posted January 8, 2008 That is not a very practical/"solid" solution. why not this: Global const $TimeOut = 30 ;How many seconds to wait before exiting script adlibenable("_checktimeout", 100) func _checktimeout() ;Auto timeout by Spyrorocks if not isdeclared("__timeoutimer") then assign("__timeoutimer", timerinit(), 2) if timerdiff($__timeoutimer) > $timeout*1000 then exit ;Terminate the script if timeout is reached endfunc Untested, but it should work. If the script runs longer than 30 seconds, it terminates itself.Yeah, Though that wont work for what I want to do. Cause, if its looping until they close the window, theres no set time for when it should exit. @Apzo || Thanks, Ill try that. Now, one other question. The script keeps exiting before the script is supposed to. For example, Its on line X, its doing a httprequest, And half way through, the script will just close. Nothing wrong with it, itll just close. Maybe if there was something like, php with set_time_limit(0) # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
charlin Posted January 13, 2008 Share Posted January 13, 2008 hello, another link for download ? good luke for your linux server best regards Link to comment Share on other sites More sharing options...
emoyasha Posted February 15, 2008 Share Posted February 15, 2008 okay is there any way to allow this to execute the file on the users computer, not the host, because i am running a web messenger and i want people to be able to use it via the website if they want Spoiler Admin Of:http://notmyspace.info [Under Development, looking for volunteers to help improve]http://PSNetCards.co.ukhttp://ZacnAndLindsey.com [Under development, not quite sure what to do with it yet]http://revelm.com------------------------------------Radio Streams:http://75.185.53.88:8000 [128kb/s 44kHz]http://75.185.53.88:8002 [22kb/s 22kHz](works on mobile phones)-----------------------------------My Server:Owned By: http://jumpline.comIP:66.84.19.220Bandwidth:200GBStorage Space:1TBNetwork Connection: 1GB/S[up and down]Operating System: Red Hat LinuxInstalled Apps:Webmail, phpBB, Majordomo, phpMyAdmin, MySQL, Active Server Pages, FrontPage Extensions 2002, GraphicsMagick, Mod Perl, Perl, PHP: Hypertext Preprocessor, Python(want cheap good webhosting, or need a place to park your domain? contact me)----------------------------------- Link to comment Share on other sites More sharing options...
BrettF Posted February 15, 2008 Share Posted February 15, 2008 okay is there any way to allow this to execute the file on the users computer, not the host, because i am running a web messenger and i want people to be able to use it via the website if they wantThat sounds way to malicious for me to even comment any further on. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
NELyon Posted February 15, 2008 Share Posted February 15, 2008 That sounds way to malicious for me to even comment any further on.Definitely.@Emoyasha:I'm sure you don't mean to be harmful, but this functionality is way to dangerous (and difficult, prolly impossible) to implement. Link to comment Share on other sites More sharing options...
James Posted February 15, 2008 Share Posted February 15, 2008 ... Why would you need to? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Xand3r Posted February 15, 2008 Share Posted February 15, 2008 for a web version of his messenger Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now