The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Posting data back and forth php files on different servers
Hello,
I have recently made a rather large script for gamers to manage banned players they come across etc for easier future reference. Now due to the time and effort ive spent on this, I am asking those who want a copy for a small fee to help with my future support on the mod. To stop copyright infringement and distributing to others without purchasing a serial, ive managed to code a way of posting data from the script to my main database on my server using the php $_POST variables. However with that said, I can now check my database to ensure I keep track of those using my script. Now to the point, I can post data to my server, but I am having trouble posting it back or working out how to. I want to post back update notifications to the script as well as a few things that will alert the user if they are not using a purchased script. Any ideas what the best way is of posting data from my server to the script on the clients? I have been told CURL can be used etc but POST only works one way as you then cant post data back again as it causes a massive loop of non stop transfers. Any ideas would be appreciated. Matt |
#2
|
||||
|
||||
Basically, you can use cURL to access a certain PHP page on your server. This PHP file should output whatever you need. The script that requested this page will receive that output in return.
|
#3
|
||||
|
||||
Hi Dismounted, have you any examples as ive searched google to no avail.
A tutorial you may know of would help instead if not. |
#4
|
||||
|
||||
I just searched Google, and a relevant result came right up. Search "curl php" (without quotes).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|