ConsultingJoe Posted February 7, 2006 Share Posted February 7, 2006 (edited) I think this is very cool. I plan to mess with my English teacher with this.Basicly it uses the same method of checking and clearing the info file but uses the GET method instead of post so you can write the phrase in the browser directly. For example:http://YOURSITE.t35.com/talk.php?talk=Is+this+cool+or+whatHere is the talk.php<? if($_GET['talk']==1){ echo ("FILE CLEAR"); $fp = fopen("com.con", "w"); fwrite($fp, ""); fclose($fp); }else{ $fp = fopen("com.con", "w"); $talk = $_GET['talk']; fwrite($fp, $talk); fclose($fp); } ?> <body bgcolor = "black"> <center> <font color="RED"> <b><H2> COMPLETE </font> </B></H2> </body>The best thing about it is: NO FTP It is very fast also.Thank You to El-Trucha for his _talk()Anyways without further delay I present talk.au3HotKeySet ( "{ESC}", "e") ;AutoItSetOption ( "TrayIconHide", 1 ) While 1 InetGet ( "http://YOURSITE.t35.com/com.con", "temp.html", 1) sleep(100) $read = FileRead ( "temp.html") if $read <> "" Then InetGet ( "http://YOURSITE.t35.com/talk.php?talk=1", "", 1) _Talk($read) endif sleep(100) Wend func e() exit endfunc Func _Talk($sText) $tempFile = @TempDir & '\talktemp.vbs' ; Set the temp file FileWriteLine($tempFile, 'Dim Talk' & @CRLF & _ 'Set Talk = WScript.CreateObject("SAPI.SpVoice")' & _ @CRLF & 'Talk.Speak "' & $sText & '"'); Add contents to the temp file RunWait('Wscript.exe talktemp.vbs', @TempDir); Run the VBScript FileDelete($tempFile) EndFuncRun this script and click hereWarning, if too many people are running it at the same time you will hear other peoples commands through my php it will not have any affect on you computer though.Let Me Know What You Think Edited February 8, 2006 by zerocool60544 Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
cdkid Posted February 7, 2006 Share Posted February 7, 2006 neat AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
ConsultingJoe Posted February 7, 2006 Author Share Posted February 7, 2006 neat Thanks, I have already had some fun conversations with people, LOL Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
cdkid Posted February 7, 2006 Share Posted February 7, 2006 haha, yeah i was just talkin to somone... not sure who it was AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
ConsultingJoe Posted February 7, 2006 Author Share Posted February 7, 2006 haha, yeah i was just talkin to somone... not sure who it was lol, it was probly me. anyways I just updated the php <? if($_GET['talk']==1){ echo ("FILE CLEAR"); $fp = fopen("com.con", "w"); fwrite($fp, ""); fclose($fp); }else{ $fp = fopen("com.con", "w"); $talk = $_GET['talk']; fwrite($fp, $talk); fclose($fp); } ?> <body bgcolor = "black"> <center> <form action="talk.php" method="get"> <font color="red"> Enter Text to Talk<BR> <input name="talk" type="text" size=14><BR> <input type="submit" value="Talk"><BR><BR> <blink>Writen by:<BR>jsammarco@gmail.com</font></blink> <BR><BR><BR> </center> </form> </html>nk>Writen by:<BR>jsammarco@gmail.com</font></blink> <BR><BR><BR> </center> </form> </html> Check out ConsultingJoe.com 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