Coder Profile - Show off your skills, get a coder profile.  
 
 
 
otoom  ( Ant )
United Kingdom, West Midlands
Offline

Profile Views
9,222
Send A Message
Send A Friend Invite
Add To My Contacts
Master Feed (All Of Below) master feed - compiles all the feeds below in to one feed
Overview Overview  
About Me About Me  
Articles Articles (10) articles
Source Codes Source Codes (22) source codes
Code Pin Board Code Pin Board (2) code pin board
Profile Comments Profile Comments (17) profile comments
Discussion Forum Discussion Forum (198) discussion forum
Custom Emoticons Custom Emoticons (4) custom emoticons
Announcements Announcements (1) announcements
Referrals Referrals (1) referrals
Friends Friends (95) friends
Interview Interview  
Profile Overview
User Name otoom
Real Name Ant
Location United Kingdom
West Midlands
Occupation Hobby Coder...
Gender Male
Age 14 Years Old
WebSite doxcoding.com
Post A Profile Comment
Content Distribution
  
Articles
10 Articles

 
Source Codes
22 Source Codes

 
Code Pin Board
2 Pinned Codes

 
Portfolio
0 Entries

 
Friends
95 Friends

 
Custom Emoticons
4 Emoticons

 
Profile Comments
17 Comments

 
Discussion Forum
55 Topics

 
Announcements
1 Announcements

 
Referrals
1 Referrals

 
Recently Added Friends
  view more
perito
SpamBurger
Kurtis Dinelle
joeb0b
James Stahl
Recent Forum Topics
  view more
Whats up with my damn irc bot.
Web Development :: Perl / CGI
Hey all.
Im working on a simple irc bot but it will not connect.

Anyone know why?
Code DownloadOpen In New Window
  1. #!/usr/bin/perl
  2.  
  3. use strict;
  4. use IO::Socket;
  5. use Socket;
  6.  
  7. my $server = "theseraphim.mine.nu";
  8. my $port = '6667';
  9. my $chanel = "#cybershade";
  10. my $name = "oToom";
  11.  
  12. my $con = new IO::Socket::INET(PeerAddr => $server, PeerPort => $port, Proto => "tcp") or die "Couldn't connect xD";
  13.  
  14. print $con "NICK Jessica\r\n";
  15. print $con "USER Jessica : Jessica\r\n";
  16. print $con "JOIN $chanel\r\n";
  17.  
  18. while (my $body = <$con>){
  19. chop $body;
  20.  
  21.           if($body =~ /^PING(.*)$/i) {
  22.                     print $con "PONG $1\r\n";
  23.           }
  24.  
  25.           if($body = /^¬version(.*)$/i) {
  26.                     print $con "PRIVMSG $chanel I am no bot! Version 0.1\r\n";
  27.           }
  28.  
  29.           if($body = /^¬owner(.*)$/i) {
  30.                     print $con "PRIVMSG $chanel I belong to oToom!\r\n";
  31.           }
  32.  
  33. }
Cheers all.

Ant
View Topic (2 Replies)
Pulling users online
Web Development :: PHP
Hey,
I was just wondering how to pull the users online out of a forum.
As on DoxCoding, i have an IPB board.

And one the index page, i would like to add something into the right hand column that tells them how many users are online.

I know, it may be hard as you dont have access to the board,
But could you give atleast and idea.


Cheers.

Ant
View Topic (2 Replies)
Upload Script.
Web Development :: PHP
Hello again people.
I am having some trouble with my upload script.
Code DownloadOpen In New Window
  1. <?php include('header.php'); ?>
  2. <?php
  3.           if(isset($_POST['upload']))
  4.           {
  5.                     if($_FILES['file']['name'] != " ")
  6.                     {
  7.                               copy($_FILES['file']['tmp_name'], '/'.$_FILES['file']['name'])
  8.                               or die ($error = 'Could Not Copy');
  9.                     }
  10.                     else { die($error = 'No file!');
  11.           }
  12.  
  13. ?>
  14.  
  15. <h4> TUTOTIAL UPLOAD'S... </h4>
  16.  
  17.           <form action='<?php $_SERVER['PHP_SELF']; ?>' method='post' enctype='multipart/form-data'>
  18.                     <table id='file_upload' colspan='2' cellpadding='2' cellspacing='0' align='left'>
  19.                               <p>
  20.                                         <tr>
  21.                                                   <td id='header' align='left' valign='top' colspan='2'>
  22.                                                             Tutorial Upload... <?php echo $error; ?>
  23.                                                   </td>
  24.                                         </tr>
  25.  
  26.                                         <tr>
  27.                                                   <td id='file' align='left' valign='top' colspan='2'>
  28.                                                             <input type='file' name='file' size='45'>
  29.                                                   </td>
  30.                                         </tr>
  31.  
  32.                                         <tr>
  33.                                                   <td id='upload' align='left' valign='top' colspan='2'>
  34.                                                             <input type='submit' name='upload' value='Upload File'>
  35.                                                   </td>
  36.                                         </tr>
  37.  
  38.                               </table>
  39.                     </form>
  40.  
  41. <?php include('footer.php'); ?>
I just need the file to upload into the main directory.
Quote DownloadOpen In New Window
Parse error: syntax error, unexpected $end in C:\wamp\www\DoxCoding\upload.php on line 41
Thanks...

Ant
View Topic (3 Replies)
Profile Comments
  view more
Please login to post comments.
 
SpamBurger     Posted 9 Hours Ago
 
Your welcome :)
 
Cinjection     Posted 2 Days Ago
 
I really like the language. It don't think that it beats out C++ as my #1, but I
do think that it steals the #2 spot for me :)
 
Cinjection     Posted 2 Days Ago
 
Off the Ruby website, I downloaded the interpreter and editor. That's all you
need to run your code.

As for learning Ruby, the site has several links to tutorials. I used those and
they were pretty good.

I looked at sockets, but I haven't had time to fully learn them. That'll
come later.
Page  of 6  :: Next Page  >>
 
 
Part of the MyPingle Network
Make A Donation :: Our Affiliates :: Affiliation Request :: Contact Me
Development Blog :: Terms & Conditions :: Privacy Policy :: Documents
Version 1.40.00
Copyright � 2007 - 2008, Scott Thompson, All Rights Reserved