Skip navigation
Currently Being Moderated

FMS, PHP and POST method forms...

Aug 30, 2010 5:46 PM



I've installed free FMS developper version on a vista OS, using the embeded Apache server.

I added PHP 5.13 and everything seems to work except that :

when I try to manage HTML forms, using the 'post' method, the result is a prompt windows, asking me for downloading the php file (corresponding to that pointed in the 'action' attribute. It acts as if Apache did not recognize the type php.

My httpd.conf includes everyting to make php works fine. The clue is, when I change the form 'method' to 'GET', the php script works well !

My FMS is configured to tunnel the HTTP request, listening to ports 80 and 1935 ant proxying HTTP to port 8134 (defaults)

When I override this tunneling, by requesting the php file from my web browser directly to port 8134, it works fine too !

Now, I know that the problem comes from FMS and HTTP tunneling, but I have no idea how to solve it...


So....any tip or/and solution are very welcome !



  • Currently Being Moderated
    Sep 1, 2010 11:13 AM   in reply to LeHardyDeGroslay

    HI LeHardy,


    Thanks for bringing this issue to light.  Would you mind capturing the HTTP requests and responses for the case that worked and the case that failed.  I'd like to take a look at the system with the request that you're making and see what might be up.  The proxy should be nearly a raw byte proxy, but of course that's not entirely possible here.  Anyway, perhaps it's a simple issue that can be fixed/worked around easily.


    Feel free to contact me offlist with the information in lieu of posting for all, at your discretion -



    Mark as:
  • Currently Being Moderated
    Oct 19, 2010 9:14 PM   in reply to LeHardyDeGroslay

    I'm experiencing the same problem, POST just refuses to work. Server is running on Win7HP.


    At first I've thought that it's script fault, but after making this small test I've found out that it is fault of FMS proxy.


    Test html, which sends POST request to itself:

    <form action='' method='post'> <input type='Submit' name='Submit' /> </form>


    Response (without the quotes):

    "HTTP/1.1 200 OK

    Cache-Control: no-cache

    Connection: Keep-Alive

    Content-Length: 1

    Server: FlashCom/4.0.0

    Content-Type:  multipart/form-data; boundary=----------------------------9cf149a7623d




    Is there any workaround for this? I find POST kinda useful, and I don't want to choose between POST and FMS.

    Mark as:
  • Currently Being Moderated
    Nov 2, 2010 11:38 PM   in reply to LeHardyDeGroslay

    I have the same problem.



    My webserver is running, and I want to use rtmpt(80 port) to player a video. So I did as same as:


    If you want Flash Media Server and your web server to   share a port, set up Flash Media Server as the proxy, put your web server on   an unused port, and change the  fms.ini HTTPPROXY_HOST setting to point   to that port.





    Listen *:8080






    ADAPTOR.HOSTPORT = :1935,80

    HTTPPROXY.HOST = :8080


    Everything is ok but when I sumit a form at web page.When I submit a form, the website send me a “application/x-fcs” type empty file let me download file.




    What can I do to resolve this problem? Or how can I use the 80 port both my webserver and FMS?





    My Configuration:



    CentOS Linux 5.4


    Apache/2.2.3,   PHP 5.1.6

    Meadia Server

    Fms 4.0 x64









    Mark as:
  • Currently Being Moderated
    Nov 8, 2010 9:25 PM   in reply to up2080

    Hi ViliusSutkus & up2080


    Adobe is aware of this issue and we are working on fixing this issue - thanks a lot for reporting the issue. We'll keep you updated.

    Mark as:
  • Currently Being Moderated
    Jun 15, 2011 9:05 AM   in reply to SE_0208

    Is there any update on this bug? I am currently trying to install some PHP web apps on the same server as FMS and am having the very same issue as described above (PHP/MySQL pages work fine until data is POSTed, which results in a blank page being produced by the server - this blank page is either displayed or a download prompt is shown, depending on the browser).


    Many thanks.

    Mark as:
  • Currently Being Moderated
    Jun 29, 2011 1:21 AM   in reply to SE_0208

    Is there any updates on this issue? I am experiencing the same issue here, with Flash Media Streaming Server 4.0 on Linux CentOS.

    In addition, also ajax calls, using post method, they all fail.

    I hope there is a quick solution. Thanks.

    Mark as:
  • Currently Being Moderated
    Aug 2, 2011 9:27 AM   in reply to LeHardyDeGroslay

    I ran into this problem today too. GET requests work fine but POST fail to return properly and show an error of "Bad network data; terminating connection". The action the POST is trying to accomplish actually happens which means the script is getting the data but the response isn't getting back out the browser.

    Mark as:
  • Currently Being Moderated
    Nov 13, 2011 4:41 PM   in reply to LeHardyDeGroslay

    does anyone know if this was fixed in FMS 4.5?

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points