Join us at IRC!
Capitalism is an Island of wealth in a sea of poverty
Wednesday, May 23, 2012
Navigation
Members Online
Total Online: 32
Web Spiders: 16
Guests Online: 28
Members Online: 4

Registered Members: 70162
Newest Member: Windows-2012
Latest Articles
View Thread

HellBound Hackers | General | Graphics

Author

Avatar script

HackingForce
Member



Posts: 328
Location: -ⁿººƁ.land-
Joined: 24.11.06
Rank:
Mad User
Posted on 11-07-07 21:50
This is the PHP scblockedript i use to change image size on my profile and in forums

use it if you want to, all you need is a 100x100 avatar for the forums, and a 120x120 avatar for your profile, tell me if you like it!

hbh.jpg:

<?php

$image120='120c.gif';
$image100='100c.gif';
$ref=$_SERVER['HTTP_REFERER'];

$profile = ($ref=='http://hellboundhackers.org/profile/HackingForce.html');
$profile2 = ($ref=='http://www.hellboundhackers.org/profile/HackingForce.html');

if($profile==true || $profile2==true){
header('Location: '.$image120);
} else {
header('Location: '.$image100);
}

?>


.htaccess:


ForceType application/x-httpd-php



place the 'hbh.jpg' and the '.htaccess' in a directory with the avatars (120.whatever and 100.whatever), and use the hbh.jpg as your avatar pic :D

why we have 'ForceType application/x-httpd-php' in the .htaccess file?
and why not 'AddType application/x-httpd-php .jpg' ?

1. hbh doesn't allowed .php as avatar extension, then we use a .jpg as the PHP scblockedript

2. we use 'ForceType application/x-httpd-php' so the PHP server force all extension to be PHP

if we use 'AddType application/x-httpd-php .jpg' Firefox willl cache either the 100 pic or the 120 pic, and show only one of them, since they both lead to the same url...

'ForceType application/x-httpd-php' makes the avatars invalid for cache..and blahblahblah


Enjoy, im'a watch a movie now..:right::p




Edited by HackingForce on 11-07-07 21:56
- ºººººººº - kr(i)s20045©hotmail.com - ºººººººº - ..Hacked..
Author

RE: Avatar script

DarkenedEdge
Member



Posts: 51
Location: Where you least expect me...
Joined: 08.07.07
Rank:
Newbie
Posted on 11-07-07 21:51
Nice, I like it,how's my Avatar? =) It's a bad one >=)


*~!~*Visit our site at www.Hackers-Eleet.org*~!~* **Comming Soon**

Those who live by the Sword, die by the sword.

You can always learn or do something...If you try!

*~!~*ÃÃR]{ÊÑÊÃ~ÊÃGÊ*~!~*
Sigs made by sakarin =) Thanks bro!

Apprentices: Now accepting ANY Apprentice!


http://www.freewebs.com/hacker-eleet/sessions.html[/center]
demon.raven0@hotmail.com darkened_edge@yahoo.com www.myspace.com/demonalex
Author

RE: Avatar script

Rand0m
Member



Posts: 35
Location: 4C 65 62 61 6E 6F 6E
Joined: 16.07.07
Rank:
Newbie
Posted on 19-07-07 23:46
Nice scblockedript man! Thanks for sharing it! :)



1000101 1101100 1101001 1110100 1100101 000000 100000 1110000 1110010 1101111 1100111 1110010 1100001 1101101 1101101 1100101 1110010
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.