Nope it still isnt working. Tried wamp and Xampp
Nope it still isnt working. Tried wamp and Xampp
well.. that code is so simple.. plus i actually use it.. so i think its safe to say it works.. and if it doesnt for you.. then only reason i can think of is you not enabling php in apaches config.. but as far as i know xamp and all that has it enabled.. so where do you paste this code?
i put it as it says in the html document
just paste this into your index
<?php phpinfo(); ?>
and if you dont get any site opened.. php isnt working and if you do get it.. search for mysql extension enabled.. if you have all this i guarantee you it will work.
anyway i wont be answering to it doesnt work posts anymore.. if you read all posts im sure you can be able to set up a proper web server..
is there a way to add the Players Online and Server Status to a php-fusion panel?
im assuming thats a php based panel lol.. so yeah why not.
need help please :S
Error: Column count doesn't match value count at row 1
i expect you get that in the acc creation page?
then see the INSERT query and match the column number.. in first post i set 5 thats:
login, password, lastactive, accessLevel, lastIP
but maybe you have a different count?
How do you retrieve the php code from an html doc (lets say index.html) without putting the php code in index.html but rather in a separate file like status.php?
it doesnt matter in which file you insert it.. as long as you start the code with <?php and end it with ?>
like..
<?php
php phpinfo();
?>
so if i have
<HTML>
<BODY>
(html content)
<?php
php include(status.php);
?>
</body>
</html>
It will display the data of the php file? in the html document?
The file must NOT be html but php for example instead of index.html must be index.PHP . If you have any prob reply.
look at dates... and it can be inserted in html files if you use good server config... which most of ready to use servers have..
k, im a noob here so i dont know what this means can you guys just upload it to somwhere anywhere thanks if you can