Mr. Goodie2Shoes
Well-known member
okay, so I am creating a file repository kinda script for my forum Note: The thing I am asking is not related to XenForo, it's a totally stand-alone script...
and I'll be using AJAX to pull the directories and files from my remote server and will be shown to my visitors. There will be a PHP file in the remote server which will do everything and will send the info to the Javascript, I've set everything up and is working perfectly! but the problem is that the JavaScript and the PHP file have to be in the same server (the remote one)...
if there any way to keep the JavaScript in the main server and still get it to work... I think its possible via cURL, but this function really confuses me so any help is appreciated
and I'll be using AJAX to pull the directories and files from my remote server and will be shown to my visitors. There will be a PHP file in the remote server which will do everything and will send the info to the Javascript, I've set everything up and is working perfectly! but the problem is that the JavaScript and the PHP file have to be in the same server (the remote one)...
if there any way to keep the JavaScript in the main server and still get it to work... I think its possible via cURL, but this function really confuses me so any help is appreciated