Jump to content

Web-based AutoIt! - New with AuCGI!


theguy0000
 Share

Recommended Posts

well there are certain users who cant use it, or may not want the whole thing downloaded. perhaps there is a way to allow them to download a small executable that allows it to run on their pc, so as its voluntary, not just happening.? also i have another idea if someone cold help me with it. is there a way to make the page accept tcp data (like look for it in a loop) and when received display it onto the web page some how? this might be a start to an alternative method.

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

also maybe not trustworthy, but consider my ideas, like allowing them to do so, giving them the option, or build one inside the page as i mentioned in my above post.

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

also maybe not trustworthy, but consider my ideas, like allowing them to do so, giving them the option, or build one inside the page as i mentioned in my above post.

It doesn't matter what your intentions are. It's simply not possible to implement.

Link to comment
Share on other sites

or build one inside the page as i mentioned in my above post.

also i have another idea if someone cold help me with it. is there a way to make the page accept tcp data (like look for it in a loop) and when received display it onto the web page some how?

^^^^^^^^^^^^^^^
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

so then, this whole development is pointless, considering that it adds no functionality to the website what so ever, considering it cant even run on the host machine and display reveiced data in the web page, so whats the big hype?

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

so then, this whole development is pointless, considering that it adds no functionality to the website what so ever, considering it cant even run on the host machine and display reveiced data in the web page, so whats the big hype?

Have you even taken 5 seconds to look at the file?

I've written a guestbook in this. Albeit it was lost a long time ago. You can only run things on the SERVER computer, and display output from it. If you could execute files on the client computer, it would be no less that a virus downloading tool for malacious users.

Link to comment
Share on other sites

okay so i have this

##WebApp title="MES"
<table border="1">
<tr>
<td>
<?au3 
;SERVER!! Start Me First !!!!!!!!!!!!!!!


; Set Some reusable info
; Set your Public IP address (@IPAddress1) here.
Dim $szIPADDRESS = @IPAddress1
Dim $nPORT = 33891
TCPStartUp()
$MainSocket = TCPListen($szIPADDRESS, $nPORT)
If $MainSocket = -1 Then Exit
Dim $ConnectedSocket = -1
Do
    $ConnectedSocket = TCPAccept($MainSocket)
Until $ConnectedSocket <> -1


; Get IP of client connecting
Dim $szIP_Accepted = SocketToIP($ConnectedSocket)

Dim $msg, $recv

While 1
   $msg = GUIGetMsg()


    If $msg = $GUI_EVENT_CLOSE Then ExitLoop


    $recv = TCPRecv( $ConnectedSocket, 2048 )
    

    If @error Then ExitLoop


    If $recv <> "" Then echo('<table border="1"><tr><td>' &"recv" & " > " & $recv & "</td></tr></table>" & "<br>" )
WEnd


If $ConnectedSocket <> -1 Then TCPCloseSocket( $ConnectedSocket )

TCPShutDown()



Func SocketToIP($SHOCKET)
    Local $sockaddr = DLLStructCreate("short;ushort;uint;char[8]")

    Local $aRet = DLLCall("Ws2_32.dll","int","getpeername","int",$SHOCKET, _
            "ptr",DLLStructGetPtr($sockaddr),"int",DLLStructGetSize($sockaddr))
    If Not @error And $aRet[0] = 0 Then
        $aRet = DLLCall("Ws2_32.dll","str","inet_ntoa","int",DLLStructGetData($sockaddr,3))
        If Not @error Then $aRet = $aRet[0]
    Else
        $aRet = 0
    EndIf

    $sockaddr = 0

    Return $aRet
EndFunc

 ?> CHAT ENDED

now i want to know how to make a login page where the user enters their user name and password and they are saved to a variable, so the user can log in, so that way they can at lease receive messages (also icant get it to return the ip to the web page, when i try it just sends an endless loop of 0> to the web page

Edited by emoyasha
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

also while this is sureley working, on an external pc, the response time is about 60 seconds, any way to speed it up?

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

dude the way for your messenger is not installing stuff on the ppl pc... thats just not a web messenger anymore what you should do is... add your messeges to a mysql database and poll the database for each user's messages...(i think that is the best way (maybe not the best but the easyest))

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

okay but i would need some help doing that... im clueless to mysql, all i know about it is it stores info, and i have a server on my pc.

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

  • 1 month later...

Hello,

i've read until page 6 but can't understand how use. Sorry

I've created C:\Abyss_Web_Server\htdocs\test.auw

CODE: AutoIt

##WebApp

_StartWebApp ("I am a cool web page...")

echo ("Hello world and all who inhabit it!<br />")

_WebCounter ("Yay! you are visitor number % to this web page!")

Then iexplorer here http://127.0.0.1/test.auw

edit: and be sure to follow the instructions in the first post to get your server up and running. after you have your server installed, scripts go in C:\Program Files\Abyss\htdocs\filename.au3 and then can be accessed from http://127.0.0.1/filename.au3

This post has been edited by theguy0000: Sep 10 2006, 05:19 AM

Link to comment
Share on other sites

Hello,

i've read until page 6 but can't understand how use. Sorry

I've created C:\Abyss_Web_Server\htdocs\test.auw

CODE: AutoIt

##WebApp

_StartWebApp ("I am a cool web page...")

echo ("Hello world and all who inhabit it!<br />")

_WebCounter ("Yay! you are visitor number % to this web page!")

Then iexplorer here http://127.0.0.1/test.auw

iexplorer return web page with a black messagebox and

_StartWebApp ("I am a cool web page...")echo ("Hello world and all who inhabit it!

")_WebCounter ("Yay! you are visitor number % to this web page!")

I do some mistake but don't understand...

Thank for any help

M.

And sorry for english

Link to comment
Share on other sites

  • 1 month later...

hi

i am really fascinted of this.

I Want to Use it So much, but i have still 2 Questions:

1. Is IT Possible to delete the popup of AutoCGI.

Its not nice, when everytime a script is executed i see this non sense Pup Up.

2. Is it Possible to use Ajax in this context?

Sure?

Link to comment
Share on other sites

hi

i am really fascinted of this.

I Want to Use it So much, but i have still 2 Questions:

1. Is IT Possible to delete the popup of AutoCGI.

Its not nice, when everytime a script is executed i see this non sense Pup Up.

2. Is it Possible to use Ajax in this context?

Sure?

What does the pop-up say? There shouldn't be any popup whatsoever (Unless you write it in your code)

Link to comment
Share on other sites

there shouldnt be some Pop Ups?

well, its a small, pop up with no text and no title

only with an OK BUtton

I have Abyys Installed.

Heres my Code

It already contains the Pop Up OK Click

##WebApp
<?au3 
WinActivate("", "Media Player Classic")
Send("{SPACE}")
Send("!{Tab }")
Send("{ENTER}")
Send("!{Tab }")
?>
<html>
<body >
</body>
</html>
Link to comment
Share on other sites

  • 5 weeks later...

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...