Notices
924/931/944/951/968 Forum Porsche 924, 924S, 931, 944, 944S, 944S2, 951, and 968 discussion, how-to guides, and technical help. (1976-1995)
Sponsored by:
Sponsored by:

Okay...don't ask me how, but...

Thread Tools
 
Search this Thread
 
Old 07-23-2003, 09:26 PM
  #1  
ribs
Rennlist Member
Thread Starter
 
ribs's Avatar
 
Join Date: May 2001
Location: Crofton, MD
Posts: 1,363
Likes: 0
Received 0 Likes on 0 Posts
Default Okay...don't ask me how, but... (useless but entertaining thread)

I know who you are! Check it:




crazy, huh?

Last edited by ribs; 07-23-2003 at 09:53 PM.
Old 07-23-2003, 09:28 PM
  #2  
iloveporsches
Race Director
 
iloveporsches's Avatar
 
Join Date: May 2002
Posts: 13,634
Likes: 0
Received 1 Like on 1 Post
Default

Actually, I'm running IE6, so eat it
Old 07-23-2003, 09:34 PM
  #3  
89magic98
In the Sink
Rennlist Member

 
89magic98's Avatar
 
Join Date: May 2003
Posts: 10,981
Likes: 0
Received 97 Likes on 75 Posts
Default

How about this one?
Old 07-23-2003, 09:37 PM
  #4  
ribs
Rennlist Member
Thread Starter
 
ribs's Avatar
 
Join Date: May 2001
Location: Crofton, MD
Posts: 1,363
Likes: 0
Received 0 Likes on 0 Posts
Default













more a commin'...
Old 07-23-2003, 09:37 PM
  #5  
Jonas Goldsmith
Three Wheelin'
 
Jonas Goldsmith's Avatar
 
Join Date: Apr 2003
Location: San Diego
Posts: 1,251
Likes: 0
Received 0 Likes on 0 Posts
Default

thats crazy....
Old 07-23-2003, 09:38 PM
  #6  
ribs
Rennlist Member
Thread Starter
 
ribs's Avatar
 
Join Date: May 2001
Location: Crofton, MD
Posts: 1,363
Likes: 0
Received 0 Likes on 0 Posts
Default











Old 07-23-2003, 09:42 PM
  #7  
Variance
Racer
 
Variance's Avatar
 
Join Date: Jan 2003
Location: Burlington, KY, USA
Posts: 280
Likes: 0
Received 0 Likes on 0 Posts
Default

Ribs, pertaining to your first post, it really is just a simple PHP code. This is a smple of the general code, which some notes here and there.

code:
--------------------------------------------------------------------------------

?php//// get the information about the brower etc// this needs browsecap.ini to be up-to-date and// the browsecap entry in php.ini to be set to on//$tempthing = get_browser();$browser = $tempthing->parent;$os = $tempthing->platform;// // now make up the ip and domain details (read the php.net documentation and// notes on the gethostbyaddr() function and the $_SERVER[$REMOTE_HOST] variable// if you really want to see why I did it this way.//$ip = $_SERVER['REMOTE_ADDR'] ? $_SERVER['REMOTE_ADDR'] : "unknown address";$domain = $_SERVER['REMOTE_ADDR'] ? gethostbyaddr($ip) : "unknown host";//// set up the tsxt strings to be superimposed on the graphic//$line0="Rameses Niblik the Third Sees all knows all";$line1="Hello ".$ip." at ".$domain;$line2="are you happy with ".$browser." on ".$os."?";//// define the mime-type and get the starting picture//header("Content-type: image/jpeg");$im = imagecreatefromjpeg("./rn3.jpg");//// define a few colours for the text// linux handles colours pretty poorly so I use imagecolorclosest()// for a solaris box you can use imagecolorallocate() and get a precise match// the black is to give me a chiselled look - use a 1+1 px diagonal offset//$black = imagecolorclosest($im, 0, 0, 0);$orange = imagecolorclosest($im, 255, 80, 0);//// font size 1 is 5 px wide, size 2 is 6, size 3 is 7.5// you have 5 font sizes to choose from and you can import// and define more fonts if you want to (see imageloadfont())// The first line calculates the centred starting position for a line// the next 2 put it on the pikkie forst in black then in colour//$px = (imagesx($im) - 5 * strlen($line0)) / 2;imagestring($im, 1, $px, 3, $line0, $black);imagestring($im, 1, $px+1, 4, $line0, $orange);//// repeat for the number of lines you have//$px = (imagesx($im) - 5 * strlen($line1)) / 2;imagestring($im, 1, $px, 16, $line1, $black);imagestring($im, 1, $px+1, 17, $line1, $orange);//// we have two of them//$px = (imagesx($im) - 5 * strlen($line2)) / 2;imagestring($im, 1, $px, 28, $line2, $black);imagestring($im, 1, $px+1, 29, $line2, $orange);//// output the new picture and clean up//imagejpeg($im);imagedestroy($im);//// bingo ... simple eh ??//?>

--------------------------------------------------------------------------------

Well, gah, there are supposed to be line breaks, but I don't want togo through and put them all in. This is another sample of what this code can do.
Old 07-23-2003, 09:42 PM
  #8  
ribs
Rennlist Member
Thread Starter
 
ribs's Avatar
 
Join Date: May 2001
Location: Crofton, MD
Posts: 1,363
Likes: 0
Received 0 Likes on 0 Posts
Default











Old 07-23-2003, 09:43 PM
  #9  
SidViscous
Big thirst, Sore Thumbs
Rennlist Member
Napoleon

 
SidViscous's Avatar
 
Join Date: Sep 2002
Location: Valhalla, capital of Gretchslyvania.
Posts: 52,900
Received 585 Likes on 375 Posts
Default

Actually I'm not using IE at all (says I am) and it says my ISP is Attbi and it aint.

HAH!
Old 07-23-2003, 09:45 PM
  #10  
Variance
Racer
 
Variance's Avatar
 
Join Date: Jan 2003
Location: Burlington, KY, USA
Posts: 280
Likes: 0
Received 0 Likes on 0 Posts
Default

Well, if you're using a router and a firewall, etc, that would affect it. Also, the code only allows for a certain size database, so it might not have logged your ISP. It is just PHP, afterall.

-=Kenneth=-
Old 07-23-2003, 09:45 PM
  #11  
ribs
Rennlist Member
Thread Starter
 
ribs's Avatar
 
Join Date: May 2001
Location: Crofton, MD
Posts: 1,363
Likes: 0
Received 0 Likes on 0 Posts
Default

Last but not least...



I figured it was some PHP code since the company that hosts the program specialized in PHP programming...I think its still pretty trick, and I've never seen it before...it kind of scared me at first...cool stuff though.
Old 07-23-2003, 09:52 PM
  #12  
ribs
Rennlist Member
Thread Starter
 
ribs's Avatar
 
Join Date: May 2001
Location: Crofton, MD
Posts: 1,363
Likes: 0
Received 0 Likes on 0 Posts
Default

More optical illusions, if anybody is interested (I just had them sitting up on my website and never used them for anything really):







and finally...the biggest pimp ever:

Old 07-23-2003, 11:19 PM
  #13  
sweanders
Race Director
 
sweanders's Avatar
 
Join Date: Jun 2002
Location: Sweden
Posts: 11,252
Likes: 0
Received 2 Likes on 2 Posts
Default

Whos is the pimp? I find him more scary than all of the strange pics.. uhh..
Old 07-23-2003, 11:46 PM
  #14  
led
Three Wheelin'
 
led's Avatar
 
Join Date: Aug 2002
Location: San Juan, PR
Posts: 1,598
Likes: 0
Received 1 Like on 1 Post
Default

_
Old 07-24-2003, 05:28 AM
  #15  
Big E
Racer
 
Big E's Avatar
 
Join Date: Jun 2001
Location: MD
Posts: 377
Likes: 0
Received 0 Likes on 0 Posts
Default Re: Okay...don't ask me how, but... (useless but entertaining thread)

Originally posted by ribs
I know who you are! Check it:




crazy, huh?
Hey, wait a second, that's me. What am I missing?



Quick Reply: Okay...don't ask me how, but...



All times are GMT -3. The time now is 09:43 AM.