OK here is what i've got fixing the errors and stuff:

Code:
on *:text:!sabdetails*:* {
 %un = $2
 sockopen bot 192.168.1.2 6080
} 

on *:sockopen:bot: { 
  sockwrite -n $sockname GET $+(/s3h/getdetails.php?name=,%un)
  sockwrite -n $sockname Host: $+(192.168.1.2,$crlf,$crlf)
} 

on 1:sockread:bot: {
  if ($sockerr > 0) return
  :nextread
  sockread %bot
  if ($sockbr == 0) return
  if (%bot == $null) %bot = -
  if (Generated* iswm %bot) return
  if (: isin %bot) echo -a $gettok(%bot,2,58)
  goto nextread
}


Just a question, is that going to the url http://192.168.1.2:6080/s3h/getdetails.php?name=%un
Where $un is the second word after !sabdetails ? My web server only runs on port 6080 because port 80 is blocked by my ISP to stop hacking attempts.

Anyway, here is what i did in another IRC window:

Quote:
[11:19:54] *** Initial topic:
[11:19:54] *** #alien: r_alien- ~alien-
[11:19:58] alien-: r_alien- has just arrived! r_alien- is the Owner of this bot.
[11:19:58] *** Mode change "+v r_alien-" for channel #alien by alien-.
[11:20:00] *** #alien was created on Sun Sep 04 01:03:27 2005.
[11:20:39] r_alien-: !shutdown
[11:20:56] *** alien- has joined #alien.
[11:20:58] *** Mode change "+qo alien- alien-" for channel #alien by ChanServ.
[11:22:28] r_alien-: !sabdetails rshield
[11:30:06] r_alien-: !shutdown
[11:30:07] *** alien- has signed off IRC (Quit: Alien IRC Bot 1.0 based on YBBot> You cannot get this bot frown May i interest you in Hawk Works instead at http://220.237.150.18:6080/s3h/).
[11:30:19] *** alien- has joined #alien.
[11:30:21] *** Mode change "+qo alien- alien-" for channel #alien by ChanServ.
[11:31:02] r_alien-: !sabdetails rshield


When i typed the !shutdown commands the bot exits and i save the code and reload mIRC. Anway, i typed !sabdetails rshield and nothing comes up! Nothing in the window, and nothing in the mIRC connection window saying there is an error! >.< I programmed the PHP script to write to a log file just quickly to tell me when it ran, i typed the !sabdetails rshield command again, and nothing showed up in the log, which means that the PHP file wasn't executed! The log file would have recieved an extra line even if the name= parameter wasn't filled! frown