[as2] problem on side server with flash

hello there,
I have a AS code that work with php that need to give me the view and click on my ad

I upload my flash advertisements, on customer server, and put the php code on my server,
When I run the flash and the php file on the same server it’s works great,
the problems came when i put my ad on the customer server and leave my php scripit on my server…

somone know how to solve the problem this?

I have to keep the PHP file on my server