Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[New Year 2019] VPS Hosting

To celebrate the new year of 2019, we will do a giveaway at 01/01/2019 20:00 UTC.

Board Rules

Read the board rules in the link bellow.

Lunmea Partnership

20% off on HMedium plan or higher in Shared Web Hosting
20% off on Double Micro VPS or higher in VPS

Use TLTHINGS.NET coupon as discount.

Sign in to follow this  

Proteger Is

Recommended Posts

Olá !


Alguém sabe como posso proteger o ficheiro itemshop.php para prevenir o login bug no servidor?


Por exemplo, o meu servidor tem sido atacado recentemente e quem ataca faz o ataque para a itemshop.php e eu queria saber se tem alguma solução para isto pois faz com que o servidor fique com login bug :/


Ficheiro itemshop:



Please login or register to see this spoiler.



Obrigado desde já :)

Share this post

Link to post
Share on other sites

Só me lembrei agora :|


Podes colocar no inicio de tudo uma verificação, se existe sessão ativa (ou seja se o membro tem o login feito ou não), caso não haja sessão ele já não chama o resto do código, ou seja não apresenta a itemshop

  • Upvote 1

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
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.