Okay, so this whole discussion all started in the block library when MathWizz posted this block:
MathWizz wrote:
I made a panther block JD1 may like... A POST BLOCK! Now you can post to PHP scripts with squeak!
Name:Code:
post key $String$ and value $String$ to $String$Type:
Code:
rCode:
Code:
| args | args _ Dictionary new. args at: t1 put: (Array with: t2). ^ (HTTPSocket httpPost: t3 args: args accept: 'application/octet-stream') contentsA test script in PHP:
Code:
<?php foreach ($_POST as $key => $value) { echo $key . ": " . $value . "\n"; } ?>
![]()
And so I said that would be cool if you could use that to post to the forums. But when we thought about it we got some problems.
Like Usernames and Passwords. You'd have to have cookies for that.
But there is one thing. We are pretty confident that we can make it. It is possible.
Its just the how that we need to figure out.
And thats why I made this thread.
Offline
Someone made a Python program that posted to the forums, I bet he might have integrated it so Scratch connected to the program and you could login and post through Scratch. I can't seem to find the topic, but it's been done.
Offline
Well, I found the topic, apparently it was done in Perl. http://scratch.mit.edu/forums/viewtopic.php?id=52639
Offline