I have a small javascript / php widget that I want other people to be able to put on their website.
I do a httpRequest to get the information from the php script.
My url variable is = to script.php which works. However when I place the script on another site it cannot make the request because the file is not found. Obviously.
So i changes the url variable to [url]http://www.myweb.com/script.php
Any ideas? I’m open for other ways to do this I just want other people to able to place my dynamic widget on their site.