Hi, I hope everyone is familiar of on how to get and post data in my mIRC
script in a secure way.
I tried this (mIRC script) one and I hope anyone can develop it in a nice way on how
to add the data into my MySQL db:
this is my mIRC script>>>>
alias postmessage {
set %pm.msg $$1-
sockopen post
www.yoursite.com 80
}
on *:sockopen:post: {
sockwrite -nt $sockname GET $+(/postpage.php?message=,%pm.msg) HTTP/1.1
sockwrite -n $sockname Host:
www.yoursite.com $+ $crlf $+ $crlf
unset %pm.msg
}
on *:sockread:post: {
sockclose $sockname
}
and this is my php page>>>
<?php
if (isset($_GET['message']) && $_GET['message'])
{
...
}
?>
I planned to have my co-admins to post there Nick and Rating in textbox or maybe the inputbox and then mIRC will send to my php script.
Anyone please help. Thanks!