BillLuvsU Posted February 23, 2007 Share Posted February 23, 2007 Ok, I'm sure this topic has been beaten to death somewhere but all the topics I found assume you know how this stuff works already. The most I've ever done with websites is make them in Dreamweaver or frontpage and post em on geaocities. My friend is letting me turn his comp into a server and I'm going to use abyss. Now I've used abyss for local servers and the like but never for a web server. My impression is that you just start the server and then you can get to it by going to the IP address in a browser over the internet. Is this correct? Also my goal is to create an online compiler so I can develop from school as my home comp is usually MIA. I'm going to make it similer to this one but with more functionality. Now, how would one create a website that interacts with the autoit program, such as sending what's in an input box as a parameter to it or somthing. Is the autoit program running continually while the server is going or is it called on like a function? I would really appreciate maybe a small example HTML code with a small example AutoIt code. Thankyou very much in advance and sorry if I don't reply immediatly as school is about to start and lunch is four periods away. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
James Posted February 23, 2007 Share Posted February 23, 2007 Some MySQL, PHP and some Web-AutoIt should do the trick. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 23, 2007 Author Share Posted February 23, 2007 Ummm, what are MySQL and PHP? I've heard of them but I am not sure exactly what they are. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
James Posted February 23, 2007 Share Posted February 23, 2007 Lol.. Your doomed to a fate of not getting this done. Why dont you google? Also ask how the original guy "SyproRocks" did it? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 23, 2007 Author Share Posted February 23, 2007 Lol, remember, I'm working off a school computer. They blocked google cause people were looking up porn on it and I didn't think to ask SpyroRocks. But I was think I get it now. Do you inbed the AutoIt Code in the website like you would with Java? Cause I was looking at some UDFs and thats kinda what it looks like. I think I could figure it out if thats all it is. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
James Posted February 23, 2007 Share Posted February 23, 2007 They blocked Google??? This world is seriously coming to an end. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 23, 2007 Author Share Posted February 23, 2007 Tell me about it >_> Makes it so hard to do research, but am I right about embedding the autoit into the html like with javascript? [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
James Posted February 23, 2007 Share Posted February 23, 2007 I'm not sure Javascript, but possibly for a layout etc. I would expect .asp/.phpI tried opening the page, but IE says the page is unable to displayIf you try looking at the source code from the page, you should be able to determine what language it was made in.Btw, when you start making it and have figured it out. Could you try to get most UDF's and a bigger area for code? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 23, 2007 Author Share Posted February 23, 2007 Hmm sure. But I cant look at the source for web pages either =[ [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
James Posted February 23, 2007 Share Posted February 23, 2007 That's strange. I could find out for you, from the source. Javascript & HTML were my first programming languages. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 23, 2007 Author Share Posted February 23, 2007 hmm I'd appreciate it. If you could just post the source here I'd be very thankful. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
NELyon Posted February 23, 2007 Share Posted February 23, 2007 (edited) That compiler was made with an HTML page running an Autoit Back-end. The HTML page sends POSTDATA to the Autoit script. The Autoit script silently runs the compiler in the background of the server computer and saves it to a temp file in the server directory. It then gives output to an HTML page which provides a Download link to the temporary file. Did i confuse you at all? EDIT: I could write up an example but i re-formatted and now abyss stopped working Edited February 23, 2007 by D-Generation X Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 23, 2007 Author Share Posted February 23, 2007 (edited) I knew thats how it had be done but the thing I don't know how to do Is send the POSTDATA to the AutoIt script just give me an example of that and I'll be able to figure out the rest. =] Edit: Imma be gone for the weekend but please post how to do the POSTDATA thingy anyways and I'll look it up on Monday. Thanks a TON in advance! Edited February 23, 2007 by fear1313 [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
NELyon Posted February 23, 2007 Share Posted February 23, 2007 (POSTDATA function by TheGuy0000) Autoit Script (process.au3) Global $Data = _Post("code") MsgBox(0, "Test", "POSTDATA returned is "& &data) Func _Post($sVar) Local $varstring, $num, $vars, $var_array $varstring = $_POST_raw If Not StringInStr($varstring, $sVar&"=") Then Return "" $num = __StringFindOccurances($varstring, "=") Local $vars[$num+1] $vars = StringSplit ($varstring, "&") For $i=1 To $vars[0] $var_array = StringSplit ($vars[$i], "=") If $var_array[0] < 2 Then Return "error" If $var_array[1] = $sVar Then Return $var_array[2] Next Return "" EndFunc and the HTML page: <HTML> <head> <title>Autoit and POSTDATA example</title> </head> <body> <form action=process.au3 METHOD=POST> <input type=input id=code /> <input type=submit /> </form> </body> </HTML> whatever you typed in the input would appear in a messagebox on the server computer. Also, you do have an Autoit interpreter on your web server? that will be required. Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 27, 2007 Author Share Posted February 27, 2007 Ok, where did the $_POST_raw come from? Don't see it anywhere else. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
James Posted February 27, 2007 Share Posted February 27, 2007 That makes sense to me.. I could see it working like that. Web AutoI is fun! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BillLuvsU Posted February 27, 2007 Author Share Posted February 27, 2007 T~T So confused. Imma just go ask my programming teacher. lol. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
Abaddon Posted February 28, 2007 Share Posted February 28, 2007 Quick question, does the person viewing my server have to have autoit too? Link to comment Share on other sites More sharing options...
jvanegmond Posted February 28, 2007 Share Posted February 28, 2007 Quick question, does the person viewing my server have to have autoit too?No, that's the whole point. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Abaddon Posted March 1, 2007 Share Posted March 1, 2007 That could be malicious couldn't it. 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