Hey;
I'm trying to build a custom call API file so it makes it harder for hackers to attack my application. My question is do I have to put every custom variable like

$test = array();

through my API? How exactly should I go around to building a custom API?

are asking about passing each variable to the API by saying do I have to put every custom variable like ..

are asking about passing each variable to the API by saying do I have to put every custom variable like ..

I guess what I'm trying to ask is this, when creating a custom API that passes code through

escapeShellarg()

to make sure that the code is valid and not malicious do you have to include every single variable in your project?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.