LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 Wait, I feel less stupid! It didn't work Changed it back for the moment Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336016 Share on other sites More sharing options...
ReDucTor Posted August 28, 2007 Share Posted August 28, 2007 Are you passing it through with the URL? Another possible method to cover both is to use You should also do urlencode on this before passing it to the runescape website. $username = $_REQUEST['username']; $username = urlencode(strtolower(str_replace(' ', '_', $username))); Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336019 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 http://boddingtonparish.co.uk/php/processout.php - at the moment, that's all it is. Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336022 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 That system worked, but I haven't got an individual output thread, it's still just output.php Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336024 Share on other sites More sharing options...
ReDucTor Posted August 28, 2007 Share Posted August 28, 2007 change <form action="output.php" method="post"> to <form action="output.php" method="get"> This will make it easier to copy the get variable. Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336026 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 *smacks forehead* sorry, my fault, I should have known that. OK, it works. Thanks for the help! Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336029 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 Now how do I make it output a .png so it'll work on forums? Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336032 Share on other sites More sharing options...
ReDucTor Posted August 28, 2007 Share Posted August 28, 2007 [img=http://boddingtonparish.co.uk/php/output.php?username=zezima] Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336035 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 that works here, but not on my other board. Invisionfree is fail :/ (I didn't pick it) Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336068 Share on other sites More sharing options...
Dragen Posted August 28, 2007 Share Posted August 28, 2007 can you use bbc code in your forum? or if you can is it slightly different to on this forum? Or try using html: <img src="http://boddingtonparish.co.uk/php/output.php?username=zezima" border="0" alt="runescape stats" /> Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336073 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 bbc works, but if I try to use that url, this appears: Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information. The error returned was: You are not allowed to use that image extension on this board. A valid format is: http://www.domain.com/picture.gif, an invalid format is: http://www.domain.com/picture.one.gif . HTML works, but only for admin, so lesser members wouldn't be able to use it :\ Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336076 Share on other sites More sharing options...
Dragen Posted August 28, 2007 Share Posted August 28, 2007 looks like the board doesn't let you use .php images... Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336077 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 yeah. but surely there's a way of outputting it as a .png and saving it somewhere on the site? Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336080 Share on other sites More sharing options...
Dragen Posted August 28, 2007 Share Posted August 28, 2007 in the admin control can you specify what html is allowed? or allow certain html for normal users? If you want to save it as a png it wouldn't update. Each time a users stats changed they would have to go back to the .php file a re-enter their username to get the image. It would then have to be saved on your server for people to use. Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336081 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 that's odd. because I've seen several sites that give a .png, and they update. Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336082 Share on other sites More sharing options...
Dragen Posted August 28, 2007 Share Posted August 28, 2007 Just found this.. The bbcode is this: [img=http://www.sloganizer.net/en/style2,mysql.png] I'm not quite sure how it works though. I'm sure it's parsing through a php page. It might be using htaccess to redirect incoming .png to a .php file to create the image. Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336083 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 things like rsbandb.com offer this kind of thing but in .png. I'm quite sure it is .htaccess, but I have no idea about how to use it. so meh :\ Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336084 Share on other sites More sharing options...
Dragen Posted August 28, 2007 Share Posted August 28, 2007 do you know how to create a .htaccess file? If you've got one just put this code in it: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^rune,([a-z0-9]+).png$ output.php?username=$1 [L] please note that I haven't tested this code!!! also place the .htaccess file in the php/ directory. then have your image as this: [img=http://boddingtonparish.co.uk/php/rune,zezima.png] I'km not sure if it'll work, but give it a try Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336087 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 I know how to make them, just not how to use them for anymore than viewing permissions that I used in databases and stuff * I'll try it out. *Note: my databases are flatter than a training bra. PHP FTW. Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336089 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 Nope, didn't work Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336090 Share on other sites More sharing options...
ReDucTor Posted August 28, 2007 Share Posted August 28, 2007 [img=http://boddingtonparish.co.uk/php/output.php?username=zezima&fakeparm=.gif] Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336093 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 IT WORKED! Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336094 Share on other sites More sharing options...
Dragen Posted August 28, 2007 Share Posted August 28, 2007 slight change in htaccess: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^rune,([a-z0-9]+).png$ php/output.php?username=$1 [L] if you get the htaccess working it'll be easier to remember the code and look slightly better... Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336095 Share on other sites More sharing options...
LemonInflux Posted August 28, 2007 Author Share Posted August 28, 2007 So what url would that be? Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336100 Share on other sites More sharing options...
Dragen Posted August 28, 2007 Share Posted August 28, 2007 should work with this: [img=http://boddingtonparish.co.uk/php/rune,zezima.png] Link to comment https://forums.phpfreaks.com/topic/66898-solved-runescape-stat-signature-maker/page/3/#findComment-336104 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.