#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    1
    Rep Power
    0
    hi!

    I have been trying to read a variable from a php3 file with flash, but can not get it to do this. I can send variables to php3 from flash great, but no luck with getting them from a php3 file. I have looked for but can't find information on whether php3 can output a Content-Type header. I know that this is required for flash to read from a text file but do not know if php3 includes this or if not if there is a way to include this. Can anyone help me here? This seems like something that would be included in php3, but my search at the php3 sites have not found anything on this.

    Comments on this post

    • Gran Roguismo agrees
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 1999
    Location
    London UK
    Posts
    7
    Rep Power
    0
    a good place for tricky q's is the _annotated_ php manual on the PHP site. i found this in somebody's comment for the 'header' function...

    header( "Content-type: application/x-gzip" );
    header( "Content-Disposition: attachment; filename=some-file.tar.gz" );
    header( "Content-Description: PHP3 Generated Data" );

    Comments on this post

    • Gran Roguismo agrees

Similar Threads

  1. PHP to Flash
    By absolutemonkey in forum Flash Help
    Replies: 8
    Last Post: February 6th, 2004, 09:33 PM
  2. php code to use variables from the url
    By Nullified in forum PHP Development
    Replies: 2
    Last Post: January 30th, 2004, 03:19 PM
  3. Php + Flash Question
    By ORANGE900 in forum PHP Development
    Replies: 0
    Last Post: January 23rd, 2004, 02:23 AM
  4. load vars from flash to php then back to flash
    By markhegz in forum PHP Development
    Replies: 1
    Last Post: January 22nd, 2004, 08:13 PM
  5. passing variables from a txt file to flash
    By matto in forum Flash Help
    Replies: 1
    Last Post: January 20th, 2004, 12:25 PM

IMN logo majestic logo threadwatch logo seochat tools logo