Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 951179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:41:29+00:00 2026-05-15T23:41:29+00:00

I load Flash file using PHP. test.php : $widget = WidgetFactory::getInstanceByHash($_GET[‘hash’]); $file = $widget->getUrl();

  • 0

I load Flash file using PHP.
test.php :

$widget = WidgetFactory::getInstanceByHash($_GET['hash']);  
$file = $widget->getUrl();  
$_GET['param1'] = "97df5ea7342b7e55b7ef3d402b585d1a";  
header("Content-Type: application/x-shockwave-flash");  
readfile($file);

The url of $file is for example : “http://adresse/component1.swf?param1=XXX“
If I type “http://adresse/test.php?hash=XXXXXXXXXXXXX“ in my browser, I can see the flash file WITHOUT the parameter param1.
I tried to add : $_GET[‘param1’] = “97df5ea7342b7e55b7ef3d402b585d1a”;
But it doesn’t works.

So, I want to know if it is possible to add parameters by using header function…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:41:30+00:00Added an answer on May 15, 2026 at 11:41 pm

    A GET parameter is a parameter set by the HTTP_REQUEST but the header() function sets parameters of the HTTP_RESPONSE so there are never GET parameters in the response.

    What is the actual problem with your code? How should the result look like?

    EDIT: You might try to get the file using file_get_contents() or curl() appending the parameter:

    echo file_get_contents($file.'?param1=97df5ea7342b7e55b7ef3d402b585d1a');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the following code to load my flash file, contact a php
If I load a txt file into my flash movie using the following... var
I'm trying to load a flash file using 'AC_FL_RunContent' like below. But the file
I'm trying to load Gravatars into Flash. Luckily, they provided a crossdomain.xml file at
I am completely new to flash. We need to load a binary file from
I am loading JPEGs into a Flash presentation using load with a flash.display.Loader and
How do I load library objects by string list using Flash and AS3? I
I have a piece of jQuery that requests a file (using .load() method) with
Using PHPMyAdmin, I am trying to import a file via the following syntax... LOAD
I am using SWFLoader to load a swf file. The code is below: <?xml

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.