mentaljason
Members-
Posts
135 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by mentaljason
-
Re: Hi | TheMafia Hey ishyy!
-
Re: ADVANCE SQL EXPLOITS Not to say anything bad but for one of nyna's comments: I have to say That SQL injection may be the "kiddiest" methods of hacking it has showed some impressive results: * On October 26, 2005, Unknown Heise readers replaced a page owned by the German TV station ARD which advertised a pro-RIAA sitcom with Goatse using SQL injection * On November 01, 2005, A high school student used a SQL injection to break into the site of a Taiwanese information security magazine from the Tech Target group and steal customer's information. * On January 13, 2006, Russian hackers broke into a Rhode Island government web site and allegedly stole credit card data from individuals who have done business online with state agencies. * On March 29, 2006, Susam Pal discovered a SQL injection flaw in an official Indian government tourism site. * On March 2, 2007, Sebastian Bauer discovered a SQL injection flaw in the knorr.de login page. * On June 29, 2007, Hacker Defaces Microsoft U.K. Web Page using SQL injection. . U.K. website The Register quoted a Microsoft spokesperson acknowledging the problem. * On August 12, 2007, The United Nations web site was defaced using SQL injection. * On January 2008, tens of thousands of PCs were infected by an automated SQL injection attack that exploited a vulnerability in Microsoft SQL Server. * On April 13, 2008, Sexual and Violent Offender Registry of Oklahoma shuts down site for 'routine maintenance' after being informed that 10,597 social security numbers from sex offenders had been downloaded by SQL injection * In May 2008, a server farm inside China used automated queries to Google's search engine to identify SQL server websites which were vulnerable to the attack of an automated SQL injection tool. * In May 2008, discussion groups covering identity theft problems faced by Lifelock's president exploited a SQL Injection vulnerability in Lifelock's server that would result in yearly membership for $0.00. * In July 2008, Kaspersky's Malaysian site was hacked by Turkish hacker going by the handle of "m0sted", who claimed to have used SQL injection. * In 2008, at least April through August, a sweep of attacks began exploiting the SQL injection vulnerabilities of Microsoft's IIS web server and SQL Server database server. The attack doesn't require guessing the name of a table or column, and corrupts all text columns in all tables in a single request. *An HTML string is appended to each value that references a malware JavaScript file. When that database value is later displayed to a website visitor, the script attempts several approaches at gaining control over a visitor's system. The number of exploited web pages is estimated at 500,000 * In August 2008, Subeta, a virtual pet site, had to rollback their database to a backup version, due to an attack using a SQL Injection. On February 2007 another SQL injection attack was used to steal the passwords of all users. So as you can see SQL injections arnt all that "kidie".....
-
Re: user profile sigs (BBcode) There isnt anything wrong wth it...... lol Also the current bbcode engine does need changeing lol it would make a good mod
-
[mccode v2] UPGRADED upload pics add pics everywhere [RECODED]
mentaljason replied to Uridium's topic in Free Modifications
Re: {MOD} Upload Item Pics Via admin panel + Create Description.. Still the image doesnt show -
[mccode v2] UPGRADED upload pics add pics everywhere [RECODED]
mentaljason replied to Uridium's topic in Free Modifications
Re: {MOD} Upload Item Pics Via admin panel + Create Description.. Yea that works so the working one is <?php /*----------------------------------------------------- -- Isomerizer -- Copyright held 2007-2008 © Isomerizer.com -- uploadpic.php -----------------------------------------------------*/ require("sglobals.php"); if(empty($_FILES['imagefile']) or empty($_POST['itmid'])) { echo ' Upload an Item Image: <form name="imageuploader" method="post" action="'.$_SERVER['PHP_SELF'].'" enctype="multipart/form-data"> [i]Path of Image:[/i] <input type="file" name="imagefile" /> [i]Item ID:[/i] <input type="text" name="itmid" /> <input type="submit" name="Submit" value="Upload Image" /> </form> (Max 10000 file bytes , Must be file extention gif, jpg, jpeg, png, bmp....) (Images are resized to 150 x 150) '; } else { //Edit below for max fb size of the pic $maxsize = 1000000; /*Basic security procedures*/ if(!$_SERVER['REQUEST_METHOD'] == "POST" || !isset($_SERVER['HTTP_USER_AGENT'])){ echo 'Hack Attempt!'; $h->endpage(); exit; } $headerinject = array("Content-Type:", "MIME-Version:", "Content-Transfer-Encoding:", "bcc:", "cc:"); foreach($_POST as $k => $v){ foreach($headerinject as $v2){ if(strpos($v, $v2) !== false){ logBadRequest(); header("HTTP/1.0 403 Forbidden"); exit; } } } /*What extensions can be used?*/ $valid = array('image/gif', 'image/png', 'image/pjpeg','image/jpeg', 'image/jpg'); /*If the extension isnt allowed...*/ if(!in_array($_FILES['imagefile']['type'], $valid)) { $type = strrchr($_FILES['imagefile']['name'], '.'); echo 'This file type '.$type.' is not allowed. [url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; $h->endpage(); exit; } /*Check image size*/ if ($_FILES['imagefile']['size'] > $maxsize) { echo 'Image to large [url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; $h->endpage(); exit; } $check = ''.$_FILES['imagefile']['tmp_name'].''; /*Check for .exe files*/ if (is_executable($check) || !is_file($check)) { echo 'The file '.$_FILES['imagefile']['name'].' seems to be harmful to the server [url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; @unlink($check); $h->endpage(); exit; } /*Now to create the correct image using php*/ if ($_FILES['imagefile']['type']=="image/jpeg") { $create = @ImageCreateFromJPEG(''.$_FILES['imagefile']['tmp_name'].''); $image = @Imagejpeg($create, 'itmpics/'.$_FILES['imagefile']['name'].''); } if ($_FILES['imagefile']['type']=="image/png") { $create = @ImageCreateFromPNG(''.$_FILES['imagefile']['tmp_name'].''); $image = @Imagepng($create, 'itmpics/'.$_FILES['imagefile']['name'].''); } if ($_FILES['imagefile']['type']=="image/jpg") { $create = @ImageCreateFromJPEG(''.$_FILES['imagefile']['tmp_name'].''); $image = @Imagejpeg($create, 'itmpics/'.$_FILES['imagefile']['name'].''); } if ($_FILES['imagefile']['type']=="image/gif") { $create = @ImageCreateFromGIF(''.$_FILES['imagefile']['tmp_name'].''); $image = @Imagegif($create, 'itmpics/'.$_FILES['imagefile']['name'].''); } if ($_FILES['imagefile']['type']=="image/pjpeg") { $create = @ImageCreateFromJPEG(''.$_FILES['imagefile']['tmp_name'].''); $image = @Imagejpeg($create, 'itmpics/'.$_FILES['imagefile']['name'].''); } /*Destroy the php image*/ @unlink(''.$_FILES['imagefile']['tmp_name'].''); @ImageDestroy($create); /*If php could not create the image*/ if (!$create) { echo 'The image you are trying to upload seems to be corrupt please try again! [url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; $h->endpage(); exit; } $path = 'itmpics/'; $pic = $_FILES['imagefile']['name']; $picture = $path.$pic; $oldpic = $ir['display_pic']; /*Check to see if its already uploaded*/ if ($picture == $oldpic) { echo ' Image already uploaded![url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; $h->endpage(); exit; } /*Delete previous image to save space*/ $delete = @unlink($oldpic); if ($delete) { echo 'Previous image deleted from system... '; } if (!$delete) { echo 'No Previous image to be deleted... '; } $dataa = $_FILES['imagefile']['size']; $datab = $_FILES['imagefile']['type']; $datad = $_FILES['imagefile']['name']; /*Information for user*/ echo 'Old Image Location: '.$oldpic.' New Image Location: '.$picture.' Image Uploaded <u>Info:</u> Image Name: '.$datad.' Image Size: '.$dataa.' bytes Type: '.$datab.' [url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; /*Check DB*/ $check = mysql_query( sprintf("SELECT COUNT(*) as cnt FROM `items` WHERE `itmpic` = '%s'", mysql_real_escape_string($picture))); $checks = mysql_fetch_array($check); if ($checks['cnt'] > 0) { echo 'Please use another image name [url="'.$_SERVER['PHP_SELF'].'"]Back[/url]'; $h->endpage(); exit; } /*Update DB*/ mysql_query( sprintf("UPDATE `items` SET `itmpic` = '%s' WHERE `itmpicname` = %u", mysql_real_escape_string($picture), $userid)); } $h->endpage(); exit; ?> -
[mccode v2] UPGRADED upload pics add pics everywhere [RECODED]
mentaljason replied to Uridium's topic in Free Modifications
Re: {MOD} Upload Item Pics Via admin panel + Create Description.. Whitch function -
[mccode v2] UPGRADED upload pics add pics everywhere [RECODED]
mentaljason replied to Uridium's topic in Free Modifications
Re: {MOD} Upload Item Pics Via admin panel + Create Description.. The error is mysql_real_escape_string($_POST['itmid'])); ; shouldnt be on the end...... -
[mccode v2] UPGRADED upload pics add pics everywhere [RECODED]
mentaljason replied to Uridium's topic in Free Modifications
Re: {MOD} Upload Item Pics Via admin panel + Create Description.. The error seems to be with: /*Check DB*/ $check = mysql_query( sprintf("SELECT COUNT(*) as cnt FROM `items` WHERE `itmpic` = '%s'", mysql_real_escape_string($picture))), I think it is You have , instead of ;???? i didnt have a proper look so im proby wrong. -
[mccode v2] UPGRADED upload pics add pics everywhere [RECODED]
mentaljason replied to Uridium's topic in Free Modifications
Re: {MOD} Upload Item Pics Via admin panel + Create Description.. Parse error: syntax error, unexpected ';' in /HOTEL/*******/DIR_NAME/uploaditmpic.php on line 150 As far as my counting goes... Line 150: mysql_real_escape_string($picture), -
Re: [mccode] item images You can post updated vertions. BUT FOR GOD SAKE REMEMBER TO RAP IT WITH THE CODE THING!!!! lol Nothing more anoying then reeding it as text.
-
Re: [mccode] item images I cant see how this works. It is incomplete.
-
Re: Owner Panel V.2 I just added it and made a few changes for the better. hope you don't mind me adding it, I have made it so only ID 1 Can access it and changed a few grammar errors <?php if($_GET['ID'] < 0) { print "Hack Attempted"; $h->endpage(); exit; } /*----------------------------------------------------- -- Scarface -- A product of Scarface -- Copyright held 2008 by scarface -- INDEX.php -- Edited by iamwicked :D -----------------------------------------------------*/ include "sglobals.php"; if($ir['ID'] > 1) { print "Haha , you'll never be a owner"; $h->endpage(); exit; } if($ir['ID'] > 1) { print "404 You are not allowed here"; $h->endpage(); exit; } if($_POST['submit']) $tresder=(int) rand(100,999); print "<table width=85% cellspacing=1 class='table' border=2> [b]<th>Welcome to the owner panel.</th>[/b] <table width=85% cellspacing=1 class='table' border=2><tr height=100><td valign=top> <u>Quick links</u> [url='staff.php']Staff panel[/url] <a href='secpanel.php'>Secretary Panel<a/> [url='asspanel.php']Assistant Panel[/url]</td> <td valign=top> <u>General</u> [url='staff.php?action=basicset']Basic Settings[/url] [url='staff.php?action=appview']Staff Apps[/url] [url='staff.php?action=announce']Add a Announcement[/url]"; print "</td> <td valign=top> <u>Users</u> [url='staff_users.php?action=newuser']Create New User[/url] [url='staff_users.php?action=edituser']Edit User[/url] [url='staff_users.php?action=resetform']Reset User[/url] [url='reset.php']Reset All Users[/url] [url='staff_users.php?action=deluser']Delete User[/url] [url='staff_users.php?action=invbeg']View User Inventory[/url] [url='staff_users.php?action=creditform']Credit User[/url] [url='staff_users.php?action=masscredit']Mass Payment[/url] [url='staff_users.php?action=forcelogout']Force User Logout[/url] [url='staff_users.php?action=reportsview']Player Reports[/url] "; print "</td> <td valign=top> <u>Items</u> [url='staff_items.php?action=newitem']Create New Item[/url] [url='staff_items.php?action=giveitem']Give User a Item[/url] [url='staff_items.php?action=edititem']Edit Item[/url] [url='Delete An Item']Delete An Item[/url] [url='staff_items.php?action=newitemtype']Add Item Type[/url] "; print "</td></tr><tr height=100> <td valign=top> <u>Logs</u> [url='staff_logs.php?action=atklogs']Attack Logs[/url] [url='staff_logs.php?action=cashlogs']Cash Xfer Logs[/url] [url='staff_logs.php?action=cryslogs']Crystals Xfer Logs[/url] [url='staff_logs.php?action=banklogs']Bank Xfer Logs[/url] [url='staff_logs.php?action=itmlogs']Item Xfer Logs[/url] [url='staff_logs.php?action=maillogs']Mail Logs[/url] [url='staff_logs.php?action=stafflogs']Staff Logs[/url] [url='clearlogs.php']Clear Logs[/url] "; print "</td> <td valign=top> <u>Gangs</u> [url='staff_gangs.php?action=grecord']Gang Record[/url] [url='staff_gangs.php?action=gcredit']Credit Gang[/url] [url='staff_gangs.php?action=gwar']Manage Gang Wars[/url] [url='staff_gangs.php?action=createoc']Create Organised Crime[/url] [url='staff_gangs.php?action=gedit']Edit Gang[/url] [url='staff_gangs.php?action=gedel']Delete Gang[/url] "; print "</td> <td valign=top> <u>Shops</u> [url='staff_shops.php?action=newshop']Create a New Shop[/url] [url='staff_shops.php?action=newstock']Add Item To Shop[/url] [url='staff_shops.php?action=delshopl']Delete shop[/url] "; print "</td> <td valign=top> <u>Jobs</u> [url='staff_jobs.php?action=newjob']Make a new Job[/url] [url='staff_jobs.php?action=jobedit']Edit a Job[/url] [url='staff_jobs.php?action=jobdele']Delete a Job[/url] [url='staff_jobs.php?action=newjobrank']Make a new Job Rank[/url] [url='staff_jobs.php?action=jobrankedit']Edit a Job Rank[/url] [url='staff_jobs.php?action=jobrankdele']Delete a Job Rank[/url] "; print "</td></tr><tr height=100> <td valign=top> <u>Houses</u> [url='staff_houses.php?action=addhouse']Make A new House[/url] [url='staff_houses.php?action=edithouse']Edit House[/url] [url='staff_houses.php?action=delhouse']Remove House[/url] "; print "</td> <td valign=top> <u>Cities</u> [url='staff_cities.php?action=addcity']Add A New City[/url] [url='staff_cities.php?action=editcity']Edit City[/url] [url='staff_cities.php?action=delcity']Remove City[/url] "; print "</td> <td valign=top> <u>Courses</u> [url='staff_courses.php?action=addcourse']Create a New Course[/url] [url='staff_courses.php?action=editcourse']Edit Course[/url] [url='staff_courses.php?action=delcourse']Delete Course[/url] "; print "</td> <td valign=top> <u>Crimes</u> [url='staff_crimes.php?action=newcrime']Make a New Crime[/url] [url='staff_crimes.php?action=editcrime']Edit a Crime[/url] [url='staff_crimes.php?action=delcrime']Delete a Crime[/url] [url='staff_crimes.php?action=newcrimegroup']Make a new Crime Group[/url] [url='staff_crimes.php?action=editcrimegroup']Edit a Crime Group[/url] [url='staff_crimes.php?action=delcrimegroup']Delete a Crime Group[/url] [url='staff_crimes.php?action=reorder']Reorder Crime Groups[/url] "; print "</td></tr><tr height=100> <td valign=top> <u>Battle Tent</u> [url='staff_battletent.php?action=addbot']Add Challenge Bot[/url] [url='staff_battletent.php?action=editbot']Edit Challenge Bot[/url] [url='staff_battletent.php?action=delbot']Remove Challenge Bot[/url] "; print "</td> <td valign=top> <u>Punishments</u> [url='staff_punit.php?action=mailform']Mail Ban User[/url] [url='staff_punit.php?action=unmailform']Un-Mailban User[/url] [url='staff_punit.php?action=fedform']Jail User[/url] [url='staff_punit.php?action=fedeform']Edit Fedjail Sentence[/url] [url='staff_punit.php?action=unfedform']Unjail User[/url] [url='staff_punit.php?action=ipform']Ip Search[/url] "; print "</td> <td valign=top> <u>Special</u> [url='staff_special.php?action=editnews']Edit Newspaper[/url] [url='staff_special.php?action=massmailer']Mass mailer[/url] [url='staff_special.php?action=stafflist']Staff List[/url] [url='staff_special.php?action=userlevelform']Adjust User Level[/url] [url='staff_special.php?action=givedpform']Give User Donator Pack[/url] [url='nuclearbomb.php?action=givedpform']Nuclear Bomb every one[/url] "; print "</td> <td valign=top> <u>Cpanel</u> [url='http://{$domain}:2082']Cpanel Mainmenu[/url] [url='http://{$domain}:2082/frontend/x3/backup/index.html']Backup Game[/url] [url='http://{$domain}:2082/3rdparty/phpMyAdmin/index.php']phpMyAdmin[/url] [url='http://{$domain}:2082/frontend/x3/stats/errlog.html']Error Logs[/url] [url='http://{$domain}:2082/frontend/x3/cron/index.html']Edit crons[/url] </td></tr> </table>"; $h->endpage(); ?>
-
Re: [V2][MCCODES]Updated Help tutorial Thanks, and also can someone help me. i have never sone cron jobs before and dont know what to put, mail me thnx.
-
Re: Full user details You get pos_arrar (1,2,3,4,5) and then nam_array (admin etc......... You just cange the nam to pos. or pos to name they both need to be the same. im guessing. correct me if im wrong.
-
Re: Full user details echo 'IP: ' . $ir['lastip'] . ' '; echo 'Current Job: '; if ($ir['job'] == 0) { echo 'No job'; } else { $get_job = mysql_query("SELECT `jNAME` FROM `jobs` WHERE `jID` = " . $ir['job']); $gJ = mysql_fetch_object($get_job); echo $gJ->jNAME; } echo ' '; echo 'Position: '; $pos_array(1, 2, 3, 4, 5); $nam_array('Member', 'Admin', 'Secretary', '', 'Assistant'); echo str_replace($pos_array, $nam_array, $ir['user_level']) . ' '; Your error is with the pink bit.
-
Re: Free chat mod This isn't a mod this is just advertising.
-
[mccode v2] BBCode Gradient Text Generator
mentaljason replied to shrek1609's topic in Free Modifications
Re: BBCode Gradient Text Generator --- FREE Mod XD nice mod. i used it to make a html text converter. -
Re: [ANY]Flash game for website. It's quite a good game i think. Short and sweet. Im trying to get a link sorted. Just i can't upload zip files as my host just unzip's them....
-
Re: [v2]Html text converter[v2] Becouse i didn't make/edit the bbcode one, Thier for i am not allowed to post it. it's agains the rules to post other peoples mods.
-
Re: [ANY]Flash game for website. Download link NOT WORKING. if you want you'l have to ask. you can view it on www.gundown.net78.net
-
I have made a flash game for a website. i don't know how to put in a download link, so if you want it either tell me how to put a download link or, w/e I will try and get one. Named: http://gundown.net78.net/flash_games.zip Containing, 1xhangman game made by me. 1xspaceinvaidermk2 make by me.
-
[mccode] My Newist Discovery
mentaljason replied to Note i didn't make this mo's topic in Free Modifications
Re: My Newist Discovery [Deleted, too late to meen anything.] -
Re: [v2]Html text converter[v2] Yea I typed the file name up wrong, Thanks! Corrected!
-
made this mod for two reasons, it would help me and the next guy, I am not claiming to have made this. i am claiming to have edited to convert html instead of BB it is very similar to the bb one alough it converts the text to html. well here it is. sorry i got no screen shot's but if you want to see it go to, www.gundown.net78.net/htmltext.php You must be logged in. you may need to register first. Step 1: Create a file called htmlfont.php Then add in that: <?php include "globals.php"; print"<h3>HTML Text Generator</h3>"; function prepareGradien($hexstart, $hexend, $sentence) { $steps = strlen($sentence); $start['r'] = hexdec(substr($hexstart, 0, 2)); $start['g'] = hexdec(substr($hexstart, 2, 2)); $start['b'] = hexdec(substr($hexstart, 4, 2)); $end['r'] = hexdec(substr($hexend, 0, 2)); $end['g'] = hexdec(substr($hexend, 2, 2)); $end['b'] = hexdec(substr($hexend, 4, 2)); $step['r'] = ($start['r'] - $end['r']) / ($steps); $step['g'] = ($start['g'] - $end['g']) / ($steps); $step['b'] = ($start['b'] - $end['b']) / ($steps); $gradien = array(); for($i = 0; $i < $steps; $i++) { $rgb['r'] = floor($start['r'] - ($step['r'] * $i)); $rgb['g'] = floor($start['g'] - ($step['g'] * $i)); $rgb['b'] = floor($start['b'] - ($step['b'] * $i)); $hex['r'] = sprintf('%02x', ($rgb['r'])); $hex['g'] = sprintf('%02x', ($rgb['g'])); $hex['b'] = sprintf('%02x', ($rgb['b'])); $gradien[] = implode(NULL, $hex); } $letters = array(); for($i = 0; $i < $steps; $i++) { $letters[] = $sentence{$i}; } $grad = array(); for($j = 0; $j < $steps; $j++) { $grad[$gradien[$j]] = $letters[$j]; } return $grad; } function gradien($hexstart, $hexend, $sentence) { $gradien = prepareGradien($hexstart, $hexend, $sentence); foreach($gradien as $key => $value) { $value = str_replace('&','&',$value); $value = str_replace('<','<',$value); $value = str_replace('>','>',$value); print"<font color=#".$key.">".$value."</font>"; } } function prepareGradie($hexstart, $hexend, $sentence) { $steps = strlen($sentence); $start['r'] = hexdec(substr($hexstart, 0, 2)); $start['g'] = hexdec(substr($hexstart, 2, 2)); $start['b'] = hexdec(substr($hexstart, 4, 2)); $end['r'] = hexdec(substr($hexend, 0, 2)); $end['g'] = hexdec(substr($hexend, 2, 2)); $end['b'] = hexdec(substr($hexend, 4, 2)); $step['r'] = ($start['r'] - $end['r']) / ($steps); $step['g'] = ($start['g'] - $end['g']) / ($steps); $step['b'] = ($start['b'] - $end['b']) / ($steps); $gradie = array(); for($i = 0; $i < $steps; $i++) { $rgb['r'] = floor($start['r'] - ($step['r'] * $i)); $rgb['g'] = floor($start['g'] - ($step['g'] * $i)); $rgb['b'] = floor($start['b'] - ($step['b'] * $i)); $hex['r'] = sprintf('%02x', ($rgb['r'])); $hex['g'] = sprintf('%02x', ($rgb['g'])); $hex['b'] = sprintf('%02x', ($rgb['b'])); $gradie[] = implode(NULL, $hex); } $letters = array(); for($i = 0; $i < $steps; $i++) { $letters[] = $sentence{$i}; } $grad = array(); for($j = 0; $j < $steps; $j++) { $grad[$gradie[$j]] = $letters[$j]; } return $grad; } function gradie($hexstart, $hexend, $sentence) { $gradie = prepareGradie($hexstart, $hexend, $sentence); foreach($gradie as $key => $value) { $value = str_replace('&','&',$value); $value = str_replace('<','<',$value); $value = str_replace('>','>',$value); print"[b]<font color='#".$key."'>".$value."</font>[/b]"; } } print "<form action='htmlfont.php' method='post'> <input type=hidden name=submit value=1> <select class=textbox name='start'> <option value='0'>Select Start Color</option> <option value='ff0000'>Red</option> <option value='ffffff'>White</option> <option value='ffff00'>Yellow</option> <option value='0000ff'>Blue</option> <option value='FF1493'>Pink</option> <option value='696969'>Grey</option> <option value='00ff00'>Lime</option> <option value='E9967A'>Salmon</option> <option value='9932CC'>Purple</option> <option value='FFA500'>Orange</option> <option value='40E0D0'>Turquoise</option> </select> <select class=textbox name='stop'> <option value='0'>Select End Color</option> <option value='ff0000'>Red</option> <option value='ffffff'>White</option> <option value='ffff00'>Yellow</option> <option value='0000ff'>Blue</option> <option value='FF1493'>Pink</option> <option value='696969'>Grey</option> <option value='00ff00'>Lime</option> <option value='E9967A'>Salmon</option> <option value='9932CC'>Purple</option> <option value='FFA500'>Orange</option> <option value='40E0D0'>Turquoise</option> </select> <font color='red'>[b]Enter the Text you wish to Convert[/b]</font> <input type='text' name='text' maxlength='40' length='40' /> <font color='red'>Maximum of 40 Characters</font> <input type='submit' value='Convert to HTML' /> </form> "; if($_POST['submit']) { if ($_POST['start'] == $_POST['stop']) { print "The Start color and End color cannot be the same"; $h->endpage(); exit; } if (strlen($_POST['text']) > 40) { print "Stop trying to abuse the game!!!"; $h->endpage(); exit; } if($_POST['text'] == "") { print "You must enter text to convert first."; } else { print"<textarea rows=5 cols=100>"; gradien($_POST['start'], $_POST['stop'], $_POST['text']); print"</textarea> "; print" <table class='table' width='75%'><tr><th>Your Text will look like this</th></tr><tr><td>"; gradie($_POST['start'], $_POST['stop'], $_POST['text']); print"</td></tr></table>"; } } $h->endpage(); ?> Thats all. two things, I made this vertion. I did not make the original BB converter vertion that i made this one from. I am not claiming full ownership!
-
Re: [V2][MCCODES]Updated Help tutorial Did i even put that?