Jump to content

help with function file


hatred

Recommended Posts

Hi, I am currently developing [a href=\"http://mpogr.com/V2/\" target=\"_blank\"]Verson 2[/a] of [a href=\"http://mpogr.com\" target=\"_blank\"]MPOGR[/a] and well im not 100% sure if im doing this correctly, or if there is something insecure about a method i use on "incentives".

I guess i have 2 questions..

1. Sometimes players, "rarely.. game owners" are saying.. the incentive script isnt working correctly, the players are not recieving rewards when they vote for their favorite game. Is the function "file" good to use, if i want to post data to another websites reward script?

2. I just realized the function "file" and function "include" are similiar, and now its making me think.. If im including a game owners file into my scripts to run, is it possible he could do any kinda damage to my website, possible delete the database with a simple command?


Im sure you understand what im trying to do. Basicly.. a player comes to MPOGR from a vote link the game owner has provided with a unique id. The user votes, and then the site returns some data back to the games "reward script" to reward the player credits, etc. Not redirect the player its self, just secretly post to a hidden reward script the game owner has made.

Is this the best way to do this?
Link to comment
Share on other sites

I went ahead and tested out the function "file" with another website, and it seemed impossible to abuse my own code.

I guess the only question left is... is it be best to use the function "file" to post data to another website's reward script? or is there another function i should use instead?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.