Simultaneous POSTing and URL Changing

Get help using Construct 2

Post » Wed Jul 17, 2013 6:53 pm

For a general example, here's an example php file to be called ".php":

$value = $_POST["extension"];
header("Location: http://scirra." . $value);

In my event editor:

Button Clicked => AJAX: Post "extension=com" to .php file
                      =>Browser: Change URL to .php file

How do I make it so that when I click the button, the extension "com" gets POSTed to the php page, and then have the button successfully bring me to 18:54:10
Posts: 1
Reputation: 206

Return to How do I....?

Who is online

Users browsing this forum: blackhornet, ChainBreak, leak123, Luvkraft, Metathronos, samueledev and 20 guests