| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
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 ??? |
|
|
|
|
|
#2 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
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.
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
|
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 |
|
|
|
|
|
#4 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
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.
|
|
|
|
|
|
#5 |
|
Registered User
|
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 |
|
|
|
|
|
#6 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
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.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|