Jump to content

bman3022

Member
  • Posts

    26
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About bman3022

  • Birthday 10/10/1986

Contact Methods

  • AIM
    bombman3022
  • Website URL
    http://bombermanspage.tk

bman3022's Achievements

0

Reputation

  1. Im looking for a review system for my site that will allow users to post reviews on games... I found one called oldreviews but its confusing to install. Does anybody know of such a script, preferable php and mysql
  2. Well i got it working I didnt realize that it wasnt a static ip so im going to have to set that up, other than that its done thanks for your help
  3. Im not really sure how to foward the ip, so ill try and see what i can do and see if it works when i get home.
  4. Well first im not sure where to post this i hope this is the right spot. Anyways My Bro just bought a Tritton network attached storage(T-NAS) which is basicly a storage thing that you can make in to a server. Anyways the problem im having is that it says to set up the ftp i need to setup my routers "virtual server" so that it can route to the ftp request or something like that. My question is how do i do that? I have a linksys router. Does any body now how to set it up? Any help would be appreciated.
  5. this script doesnt do anything more than a normal picture does. Im getting tired of so many people saying that its spyware and things like that. It is true that people can view your ip and store them but so does this forum and any other sites you go to.
  6. No you dont need to add your background image in the htaccess file. just the sig file
  7. chage this: imagepng($image); imagedestroy($image); to this: imagejpg($image); imagedestroy($image); Did you save it as a .jpg?
  8. I found this script : <?php /* Name your images 1.jpg, 2.jpg etc. Add this line to your page where you want the images to appear: <?php include "randomimage.php"; ?> */ // Change this to the total number of images in the folder $total = "11"; // Change to the type of files to use eg. .jpg or .gif $file_type = ".jpg"; // Change to the location of the folder containing the images $image_folder = "images/random"; // You do not need to edit below this line $start = "1"; $random = mt_rand($start, $total); $image_name = $random . $file_type; echo "<img src=\"$image_folder/$image_name\" alt=\"$image_name\" />"; ?> I got it from here: http://www.devscripts.com/visit.php?sId=3424 Try working with it in the script it might work.
  9. yes GD is enabled on there so the sig should work
  10. I dont think thats possible using this script Its easier just to make a gif out of the clip using an animator
  11. you need to replace the png things since your going to use a jpg file so try this: <?php Header ('Content-type: image/jpg'); Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT'); Header('Pragma: no-cache'); // create the image $image = imagecreatefrompng("bg.png"); // set the colours $cool = imagecolorallocate($image, 81, 86, 96); $black = imagecolorallocate($image, 0, 0, 0); $white = imagecolorallocate($image, 255, 255, 255); $red = imagecolorallocate($image, 255, 0, 0); $grey = imagecolorallocate($image, 204, 204, 204); $green = imagecolorallocate($image, 206, 129, 18); $blue = imagecolorallocate($image, 0, 0, 255); // set the font and print text $font = 'Arial.ttf' ImageTTFText ($image, 8, 0, 10, 17, $white, $font, "Your IP Address is... ".$REMOTE_ADDR); // output and destroy imagejpg($image); imagedestroy($image); ?> This should work. Report back if it doesnt
  12. nope it didnt work it still says windows 98 But if anybody is interested heres how to show the browser name Use $browser to call it //browser type $agent = $HTTP_USER_AGENT; if ( strstr($agent, "MSIE 5") ) $browser = "using IE 5"; elseif ( strstr($agent, "MSIE 6") ) $browser = "using IE 6"; elseif ( strstr($agent, "MSIE 4") ) $browser = "using IE 4"; elseif ( strstr($agent, "Firebird") ) $browser = "using Firebird"; elseif ( strstr($agent, "Safari") ) $browser = "using Safari"; elseif ( strstr($agent, "Mozilla/5") ) $browser = "using Mozilla/Netscape 5"; elseif ( strstr($agent, "Mozilla/6") ) $browser = "using Netscape 6"; elseif ( strstr($agent, "Mozilla/4") ) $browser = "using Netscape 4"; elseif ( strstr($agent, "Opera") ) $browser = "using Opera"; else $browser = "";
  13. **** i wish you had postted sonner i had to find out how to do it by asking the creator of the dansoft script One question tho is there any way to make it say windows me? CAuse i use winme and it says im using windows 98
  14. well the qoutes not wrapping to the next line Heres the code i used im i doing something wrong? <?php header ("Content-type: image/png"); Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT'); Header('Pragma: no-cache'); $image = imagecreatefromgif("bg.gif"); $back_color = ImageColorAllocate ($image, 0, 5, 5); $white = ImageColorAllocate($im, 255, 255, 255); $ip = ( !empty($_SERVER['REMOTE_ADDR']) ) ? $_SERVER['REMOTE_ADDR'] : ( ( !empty($_ENV['REMOTE_ADDR']) ) ? $_ENV['REMOTE_ADDR'] : $REMOTE_ADDR ); $quotes = file('quotes.txt'); $quote = array_rand($quotes); $joke = wordwrap($quotes[$quote], 40, "\n", 1); $joke = explode("\n", $joke); ImageString ($image, 2, 12, 50, "You are $ip", $white); ImageString ($image, 2, 12, 70, "Your Running:", $white); ImageString ($image, 2, 12, 90, "$HTTP_USER_AGENT", $white); for($i=0; $i<count($joke); $i++) { ImageString ($image, 2, 12, 110, $joke[$i], $white);} Imagepng($image); imagedestroy($image); ?>
×
×
  • Create New...