Quote (derfana @ Wed, 28 Jan 2009, 12:49)
Alright, so I have another question.
This is how I calculate the level progress:
Codefunction calcExpPercent($input)
{
$temp1 = fmod($input,1000000);
$temp1 = ($temp1/1000000);
$temp1 = $temp1 * 100;
return (int)$temp1;
}
Well, I want to have both, the % to next level and the % to Master Quest. How would that code look like? Like this maybe?
Codefunction calcExpPercent($input)
{
$temp1 = fmod($input,1000000);
$temp1 = ($temp1/800000000);
$temp1 = $temp1 * 100;
return (int)$temp1;
}
Not sure if
1) I have to rename the variable since I use both, % till next level and % till MQ
2) the code is wrong.
Please lmk.
You have to make two seperate variables / methods calculating the %'s.
calcExpPercent($input) && calcMQPercent(input) for instance.
Quote (jNaz @ Mon, 16 Feb 2009, 02:12)
I got a question about your dynamic signature tutorial, I've done all fine but the .htaccess wont allow me to see it, and as far as I know it's the .htaccess that makes the file a .png file and I can't access anything when the .htaccess is on, how can I solve this?
Define "can't acces anything". What happens exactly?
Quote (MemoryOf @ Sun, 1 Feb 2009, 12:51)
Hi I have a question:
I put my two files info.php5 and GD.php5 and they don't show up with the information, but when i rename them to just .php it shows the same information as it should (including > version 5), and the GD under info.php is the same and the text at GD.php is the same as your GD.php5.
Does this affect much at all?
That is strange, .php should give you a version 4 page, while the .php5 should give you >5. Can you upload them both somewhere and hotlink?
This post was edited by flapmo on Feb 18 2009 12:36pm