Jump to content

Security of the below scenario


mds1256

Recommended Posts

Hi

 

I am wanting to put my php/mysql queries into a functions file (using php include), I will include that php file at the top of the page which requires the sql query.

 

But.... i have added the query into a function and just wanting to know if it is secure to pass the username and password as arguments when calling the function?

 

e.g.

 

fuctionname($username, $password)

 

Link to comment
https://forums.phpfreaks.com/topic/213237-security-of-the-below-scenario/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.