Hi
I have a question concerning the use of URLRequest
When I work on my local server, I have to put the absolute address of the file I am calling with URLRequest (the relative path doesn’t work)
For example
urlRequest:URLRequest = new URLRequest("http://127.0.0.1/www/site/test/call.php");
Then I have to modify this address each time I upload the flash file on the production server!
Whereas I would like to just have to put something like this:
urlRequest:URLRequest = new URLRequest("call.php");
but then it doesn’t work in local
Do you know if it is a flash or php problem? What should I change so that my relative path works?
thanks for your help