EG Information
Training Missions
Knowledge Bank
Pimp Us Out!
Has Enigma Group Helped You? Then Help Us By Advertising For Us. Place One Of The Following Images On Your Site And Create A Link Back To Enigma Group.
|
| |
Affiliates
|
|
Enigma Group's Articles
Return to Category Selection
Making a dynamic Signature - Submitted By: ezekiel 2008-08-19 10:54:53
Orginally Posted at http://www.swish-db.com/tutorials/view.php/tid/383 By: scooter 1) Make a new folder and call it randomsig and make sure to put all your files that we are going to make in this folder. 2) Open up notepad or any PHP editor you have and paste this code into a new document. CODE <?php //visit http://www.iceteks.com/articles.php?act=view&article=textsig&p=2& for the code header("Content-type: image/png"); //change this to the number of random quotes you want (for example if you had 15 quotes it would be $number = rand(1,15); $number = rand(1,9); //change your random quotes here if($number==1)$string2 = "all your base r belong 2 us"; if($number==2)$string2 = "somebody set up us the bomb"; if($number==3)$string2 = "Resistance is futile"; if($number==4)$string2 = "R0D3NTS are cute"; if($number==5)$string2 = "H4X0R in thE yur PC1?!"; if($number==6)$string2 = "Dude w3re's my c4r?"; if($number==7)$string2 = "s0m3on3 st0l3 my mega hurtz!!"; if($number==8)$string2 = "move zig for great justice"; if($number==9)$string2 = "Rodents make the world cool"; //put your image name here (must be a png) $im = imagecreatefrompng("yourfile.png"); //change your text color here ( must be the hex value) ex. 255,255,255 would be white $color = imagecolorallocate($im, 255, 255, 255); //change your X & y coordinates here to place the text on your image where you want it //(these will center the text on a 400x100 image) $px=120; $py=30; //no need to touch this unless you know what your doing imagestring($im, 3, $px, $py, $string, $color); imagestring($im, 2, $px, $py+12, $string2, $color); imagepng($im); imagedestroy($im); ?> 3) Read the comments in the code that I have put in and change everything to the way you want. 4) Save your file as randomquote.php (or whatever you want to call it) in your randomsig folder. 5) Since Swish-db or alot of other forums do not allow PHP signatures (for security reasons) we need to force our PHP file to be a png file. 6) Open up notepad and paste this code into a new text document. CODE AddType application/x-httpd-php .png 7) Now save your file as .htaccess (you will need to save it with quotes around the file name ".htaccess" otherwise it wont let you save it) and save it in your randomsig folder.  Last we need to rename the PHP file we made to randomquote.png 9) Now to put your image in your signature you would just use php file that you renamed to a png. *Make sure you read the notes in his code. Click <a href=" http://ezekiel.dajoob.com/dynsig/dsig.png">here</a> to see one that i made following this tutorial. Return to Category Selection
Comment By: redd 2011-03-08 12:38:02
Dead link.
If you wish to submit a comment, you must be a registered member and logged in. Login or Register.
Return to Category Selection
|
| |
|
|
Who Visited EnigmaGroup Today?
1513 Guests, 297 Users (193 Spiders)
BlAd373, ant0601, nmobin27, myfabregas, spartanvedicrishi, DrOptix, g3nu1n3, saraf, VireekadiaFap, obencefoozy, memoryshot, mongrel88, drag0n, Kearstin29, litbk, alexelixir, r0z4, Abhinav2107, theanonymous21, greatg, CreedoFiegree, bivaEmilltite, posthuman01, Taireegaddita, Taicadine, c_a13, hizImmoli, scifics, slchill, KELATALFTUS, kynapse, Tonyui, Hackpad, Epilioptiop, Mamorite, IodindDog, brunoriversyhn, Effomeidonize, ReottphoffBom, arktek, burgeoningneophyte, TradaGreant, SlayingDragons, Waldlyeps, Arsenal, CJ_Omaha, Ryuske, thethird3y3, todayadvila, pwnpwnlolz, NeetaexomYgom, ookami-namikaze, dot_Cipher, Unotohumsmush, SaubymorRoyab, loltyg, Ausome1, Rik, hrangel, cyber-guard, Meonkzt, mori, 31415926, optioniLele, intorerse, FlifobbyFloks, Ios, Røgue, cossyDrybrich, IvanDimitriev, havisham, KIKNWING, fitz, fleeloCycle, hackboy302, strudels, CootoDorbeeft, gymnediny, hustleman9tv, comando300, Ysri13, thatoneguy, Paran0id, whoami, Pitanteerve, Reapon, cls777, Afrika, suetekh, somebody777, floontiny, Frudopvia, jasonbourne, zombiehack640, CloverCipher, spoosh, Fraubbova, rulebreaker, dncjor, Fintyoptots, viRuleNt, NipPaineHainy, TheHarrisonW, Jamesgo, TheGanjator, psychomarine, 1421carter, tingle65, claudius, Feld Grau, Partisan, Gunslinger, gydeqqzpn, yshiau, Zaccarato, chromoSone, priovasashCor, ellisp, GothicLogic, keetone, M0rdak, UsedDeteKef, nhorton, archestraty, HatriteBeft, JC06dc5, alpha1, spg, dark_void, wakazi, mtroscheck, TheCheeseDemon, ach.n30, sahariar, hervelegeraf, Psiber_Syn, hackaday, Mod777, neompenly, pollolololo, SnoopSky, Cigmimifs, ProloG-Shaman, unicornrainbow, cheapnikeshoxog, bobsters, foofthoorgo, polemarchos, avacraft, spencerwilliams23, lotato, ryanjcrook, dollerolf, robintenboden, rospark, WexEmbet, BeefSupreme, Hessesian, whydoyoulook, cdpirate, DnA-Ender, CaNcEr, zheincnoob, Vengeance987, justforfun363, RawTeefecycle, Squissesk, aVoid, SaMTHG, neodude, Marion1p, Ops, ddxc, Klosse, khamhou, samsatHD80, PauffPubadvic, AnnaNoult, SexyCreerve, newb1, robster1977, Blizer, Dudleypagrove, Mr_KaLiMaN, FirewallPenetrator, GMo, Seasharp, mrchicken1, Zaxem, N4g4c3N, MaxMeier, Ian, sander.ashwin, Predatorc, lonely.connection, ElEnfermado, wavyd, dirkdanblue, cve916, kalak55, a1los, jell0, Exclaw, veceattainc, Muselele, Mr Pacifist, stylish007, zach, closednetwork99, soroimmuror, PlaneReaction, Wamemanytex38, DieAble, d0seN_36b, jeremy.whitson, lol, nefeolnb, Noticon, statix, anandoump, RomeoG, advilapyday, snorapa, Gkjt, autotuneuser, beanulpinee, 2142, kiklopas, door51, Pizza, deepakkumar, makler2004, M4rcy, Xargos, bdkoenig, Blavatsky, m4f10, Huasca, itsme, xu_lain, Nikhil, ChewBigRed, samxoxo, incicaMaidits, toudioria, Chidokage, Jigoku, cesecyclelm, schn1ffl3r, sam20000, learning, kentora, San Marino, Nightraven, zanydouner, FrofErrodslot, FatalEror, wheaties, akki, AlexDiru, unclejos666, override101, blink_212, uncowstientee, lilkpoigogs, Innonaenupt607, Killshot, ZheIncKnight, ActictGlync, acarseflalk, ___, trashsporn, Memartent, Zoorsornaks, z3z3, heyhey123, Ghajnm, usaliaPels, Ordeptpen, pelly, quellense, Szuba, lamb, x1rt4m, ToutousaRulty, vipervince2002, mannavard1611, BinaryShinigami, Duchdund, afgnumgt, Anatissa, darkfire1515, bennyblanco5000, Mmmett50, ToryLogsEsoff, impalwinona, Kelsfednege |
| |
|
|
|
|
|