allow script access to replay files

Moderator: keyser

allow script access to replay files

Postby PattogoTehen » 13 Apr 2014, 10:38

add this line
Code: Select all
header("Access-Control-Allow-Origin: *");

to the source of this file (before the line of the header('Content-Disposition: attachment; )
Code: Select all
http://www.faforever.com/faf/vault/replay_vault/replay.php


this will allow javascripts to access replayfiles directly
(so my online replayparser will work without saving the replay file)
My FAF projects:
LiveStreamer Launcher, Online Replay Analyzer, Replay Syncer, Custom FAF client

Paypal: pattogotehen at outlook.com
PattogoTehen
Avatar-of-War
 
Posts: 70
Joined: 29 Aug 2013, 19:19
Has liked: 0 time
Been liked: 44 times
FAF User Name: PattogoTehen

Return to FAF Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest