A subprofile is a feature of AOL Instant Messenger that allows you to make profiles of indefinite length. This is a step by step guide to making your own subprofile.

1. Get a web-hosting service that does not have banner ads or otherwise create a web page with your new subprofile in HTML.
2. Type the following into a text editor:
<a href="<address of your profile>" target="_self">Click here</a>
3. Copy and paste it into your profile (use the profile editor, accessible under Preferences in AIM.
4. You're done! Check your profile and click the cool new link to get a profile that appears in your own window!

Update: 2001/11/8

Perlify Your Subprofile!

Adding Perl to your subprofile is really cool -- if you can find someone to host your site that allows you to run CGI scripts. If you do find some way, make sure the directory your profile is in is a cgi-bin directory. So, let's assume your profile is at http://www.profiles.com/profile/. Create a file in your profile directory called 'profile'. Then, type 'chmod +x profile'. Then, open profile with your favourite text editor, and type the following:


sub read_input
local ($buffer, @pairs, $pair, $name, $value, %FORM);
# Read in text
$ENV{'REQUEST_METHOD'} =~ tr/a-z/A-Z/;
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
} else
$buffer = $ENV{'QUERY_STRING'};
# Split information into name/value pairs
@pairs = split(/&/, $buffer);
foreach $pair (@pairs)
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%(..)/pack("C", hex($1))/eg;
$FORM{$name} = $value;

%data = &read_input;

print "Content-type: text/html

Hello, $data{'sn'}, and welcome to my test page. This page has been hit this many times: ";

if ( open (HITS_RD, "hits") ) {
$hits = ;
close HITS_RD;

if ( open (HITS_WR, ">hits") ) {
print HITS_WR ++$hits;
close HITS_WR;
} else {<br> $hits = "UNKNOWN";

print " $hits";

print "<p>";
if ($ENV{HTTP_USER_AGENT} !=~ /aim/i) {<br> print "Sorry, you must use an AIM client to access this profile.";
else {<br>
print "<br>

Some random stuff:<br> ";
exec "/usr/games/fortune";
Good, now save it (after making any changes you want) and type 'touch hits', and then, after pressing enter, 'chmod 606 hits'. Now, modify the URL you had before in your profile. Make it look like this:

<a href="http://www.profiles.com/profile/profile?sn=%n" target="_self">Click here</a>

That's it! Try it out and /msg me if it doesn't work!

Log in or register to write something here or to contact authors.