Jump to content
RF-Dev | RF Online Development
DeusEx

PHP Script - TopKill, Top CPT, Top PVP, Online Status by Map

Recommended Posts

You must be a registered member of RF-Dev and logged in to view this content.

 

Set display_errors = off if your php.ini file.

To explain further, here the coder appears to have defined constants for all of the various class names instead of using normal variables. By default PHP will throw a notice for constants that are declared but never used anywhere. This type of coding is typically bad practice for a variety of reasons. There are better ways to code this.

The notices are just notices and won't fatal error or affect your code. Hiding them is OK in this case.

Share this post


Link to post
Share on other sites
You must be a registered member of RF-Dev and logged in to view this content.

or for easy way is ,

put (choose one) :

You must be a registered member of RF-Dev and logged in to view this content.

on config.ini

for easy way

Share this post


Link to post
Share on other sites
Posted (edited)

This query

You must be a registered member of RF-Dev and logged in to view this content.

EDIT:
NVM, just need to change " to '

Edited by byou

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×