Hello Ragezone
If you upload a badge in your folder you wont open external_flash_texts.txt to add badge description because you are to lazy i found an great idea from my lovely friend
Screen:
1:
2:
credits
Myself to make it simple
If you upload a badge in your folder you wont open external_flash_texts.txt to add badge description because you are to lazy i found an great idea from my lovely friend
Screen:
1:
You must be registered to see links
2:
You must be registered to see links
PHP:
<?php$badgename = htmlspecialchars($_POST['badgename']);$badgedesc = htmlspecialchars($_POST['badgedesc']);if(empty($badgename)) { $error_title = "<font color='red'>(Badge name not found)</font>";}elseif(empty($badgedesc)) { $error_desc = "<font color='red'>(Badge description not found)</font>";}else{$succes = "Badge name and description added";$myFile = "../r63/external_flash_texts.txt";$fh = fopen($myFile, 'a') or die("File not found.");$string = "badge_desc_".$badgename."=".$badgedesc."";fwrite($fh, nl2br($string). "\r\n");fclose($fh);}?><form method="post">
Badge name <?php if(isset($error_title)) { echo $error_title; }?></br><input id="name" name="badgename"></br>
Badge description <?php if(isset($error_desc)) { echo $error_desc; }?></br><input id="name" name="badgedesc"></br>
<input type="submit" name="submit" value="Submit">
credits
Myself to make it simple