Hi,
Im not much of a php coder, mainly use VB. But i had a problem with one of my apps. To make it more secure i would need each php parameter to go through one site. Here is an example of what i mean:

- Application loads
- sends ip and location to 2 servers (a.php & b.php)
the problem so far is that the pc is making direct connections to these pages. What i was trying to do is make it so that it only sends one command to z.php and the page z.php would send the data to a.php and b.php.

My question is how would i set up z.php?

I hope i make sense, i have looked everywhere and couldnt find an answer.

Thanks

You might be able to do it with curl. See here: http://curl.haxx.se/
In php you prepare the curl command needed ($command = "curl ....."; and execute it with system($command);

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.