Actually, i still having trouble getting the variables on the PHP side
When using object, i cant get the variables out, but if i put only 2 Add string fields, it return the values, but cant grab them with PHP
So i had to come up with a crappy solution when i link the url rigth with the test.php?u=bla&p=bla, i only wish i could decode the proberyl
I’m getting a similar error to Cashper’s: “<project name> could not be compiled. Try rebuilding from source manually.” after adding this plugin to the project. Am I running 4.7.2 from the launcher. Does I need to get UE source code in order to be able to run this?
Yes, sadly u do, but its not hard to get the source from the github fork After that it worked like a charm, just a little challange on the serverside tho
Ok, thanks, I’ll try it out. It’s strange through, the DLL for UE 4.7.2 is included and I run that version of UE.
Hi!
I’m keep trying with your plugin. But i need help.
Here is the BP:
And here is my small php script:
This only dumps the post to the request.log file, but after the request i get only an empty array. (“Array()”) Maybe can you help me, what can be the problem?
Thank you!
UPDATE:
Some of you asked, how i solved this problem:
($_POST can be named anything)
It seems like the source is already included in my UE installation. Is it possible? The directory really contains C++ header files.
Hi Stefander. Thank you for this Awesome Plugin! Elegant, Intuitive, and works out-of-box. Perfect for the Game Server Control Protocol. Others will find the illustration above useful as Example Use #2 in the Initial Post.
Thanks very much! I appreciate the feedback!
@Kaspi: Yes, it does have the complete source included in the zip, so if you have a different version you can still compile it I’ll try to look into the error when using the 4.7.2 build from the launcher, it must’ve been updated somehow I guess?
@Patrik: It’s plain text content, not actual post data, hope that helps
Ah, i got it working.
And i would like to give you a tip, check this thread:
This is why people can’t use the plugin with the launcher versions. I think it would be useful if there would be a version which is usable with the precompiled engine.
Ah, thanks very much for the headsup, I’ve been blissfully unaware of this… I’ve always assumed that plugins built against the release branch were usable, but apparently not! I’ll upload an actually decent version tomorrow
Sounds great, this plugin would really help me out. Thanks! (btw, it’s 4.7.3 now)
Query supports HTTPS. Yay!
Stefander
Before I give the plugin a try again I have some questions that I hope you can answer:
#1 - Does it work with 4.7.3?
#2 - Does it work with Blueprint only projects? (like the 3rd person blueprint only project)
@Kaspi: I’ve been really busy over the weekend, I’ll try to get it out tomorrow, once I figure out where to find the current API_VERSION I need to change it into
@TechLord: Yay! And yes it does!
@Killer:
#1: It doesn’t as of now yet, unless you compile the code yourself, because apparently I have to override the API_VERSION manually before it works with launcher builds
#2: And yes, it does
Please can i know how to post data on the server side with php ?
i tried
class User {
public $name = "";
public $message = "Print message";
}
$user = new User();
if(isset($_POST"message"]))
{
$user.name=$_POST"message"];
}
echo json_encode($user);
with this blueprint
But its not working, when i try to display the string of the key it stop at Bind Event OnGetResult, is there something wrong with what i’ve done ?
It probably fails because the response from the server is not in the expected format, does it work with my test page?
Any news on the updated version?
As a matter of fact - yes, I finally got the time to find out how the whole versioning thing works thanks to Patrik, I was completely unaware So now I have 2 builds on my computer, a GitHub build and a launcher build, and the Version.h info needs to be updated every release But at least I got it working now! You can fetch the 4.7.3 release right here: http://www.stefander.nl/files/JSONQuery_UE4.7.3.rar!
Yes! Thanks Stefander