Sessions and php files

Feed 2 posts, 2 voices

Avatar
31 posts

I have a php files that inserts $_POST data to a DB. This is sensitive data and it comes from registered users only.

So I thought using the Frog’s session to avoid hackers to insert fake data, but how can I make an external PHP to recognize Frog’s sessions?

 
Avatar
343 posts

Make the script a plugin :P or include the config file, but this is not the best option.

 
Avatar
31 posts

Thanks for the reply, at the moment I’m using a hash, we’ll see how it goes. Adding it as a plugin it’s a nice workaround, but not very efficient, it would be good to have other ways to do this.