Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Remoting

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-09-2003, 09:04 PM   #1
jben.net
Registered User
 
Join Date: Apr 2003
Location: UK [England]
Posts: 4
Send a message via AIM to jben.net
Default X-amf mime-types

Hi All,

Just going through the amfphp flash remoting tutorial and when I went to test the simple_gateway.php file in my browser I get this error (see images attached)


http://www.jben.net/images/mime_type.jpg

I've been all through the httpd.conf file and I'm not really sure what I'm looking for. I can't find anything on php.net and can't quite decifer the info on the www.apache.org.

I'm using Mac OS 10.2.4

Any ideas ???
jben.net is offline   Reply With Quote
Old 04-09-2003, 09:08 PM   #2
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

That is how it should be, You cannot view the gateway file in a broswer, because it is sending back headers that the flash movie is expecting, so viewing through a browser will just prompt you to download since the browser knows not what to do with the mime type, however flash does.
freddycodes is offline   Reply With Quote
Old 04-09-2003, 09:19 PM   #3
jben.net
Registered User
 
Join Date: Apr 2003
Location: UK [England]
Posts: 4
Send a message via AIM to jben.net
Default

Thank freddy.

Feel a little stoopid though, as this line....

"If you get a blank screen then you're ready to go."

.. explains it all.

Thanks,

Jon
jben.net is offline   Reply With Quote
Old 04-09-2003, 09:24 PM   #4
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

Different browsers handle things differently, I think the main goal of that statement is to make sure the file is accessible via the web server, so whether you receive a blank page or a propmt for download, it's still accessible, so you should be good to go.
freddycodes is offline   Reply With Quote
Old 04-09-2003, 10:23 PM   #5
jben.net
Registered User
 
Join Date: Apr 2003
Location: UK [England]
Posts: 4
Send a message via AIM to jben.net
Default

Yep, got all the examples to work. Really want to get my head around this as I want to be able to code, from scratch, something like sephiroths image viewer... as it's exactly the kind of combination of flash / php / mysql I;ve been looking for, although the code seems pretty intense !

Thanks,

Jon
jben.net is offline   Reply With Quote
Old 04-09-2003, 10:26 PM   #6
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

Actually I found the PHP end of that one to be a bit bloated. The guy has amazing skills, but I think the PHP could be touched up.
freddycodes is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.