design & interaction
action script 3.0, php, xml
the following text and links are taken from http://www.smashingmagazine.com web site.
“Being a web designer is not easy. Not only do we need to have a good understanding about visual design, typography, information architecture, psychology and a plethora of other disciplines; in our work, we need to take care of so many details, so that our job becomes more and more time-consuming, requiring dozens of tools, attention span and an effective workflow for beautiful, timely and functional results.
And this is where small time-savers become handy. Be it a handy checklist, batch installer, dummy image generator or converter from Excel spreadsheet to HTML — all these things can save us a couple of minutes every day, making our work easier and more efficient. And this is why we keep collecting them for Smashing Magazine’s readers. Whether you like lists or not: this one will probably help you find those little nuggets out there that will help you avoid headaches and stress. Below we present useful time-savers for web designers.”
Last day, I were testing my CMS interaface on several web browsers. It was working as I expected, except on Internet Explorer. Somehow, although I got “folder is created-file is uploaded” message, I couldn’t find the files and folder on server. This weird problem only occured on Internet Explorer. First, I thought that it can be a Mac OSX problem. So, I tried uplaoding stuff with a PC with Windows XP and Vista. But nothing was change!
Secondly, I checked my PHP files. I am requesting PHP files from Flash interface, and PHP tells to server what to do…etc… My problem was related with PHP file. My php code’s related section is as follows;
I have no idea about that. When I changed it as follows, It started to work on Internet Explorer. Anyway. Hope it helps someone.
Above article saved huge amount of time for me. I have been using PHP and MYSQL in order to record data to server. I achieved to write data to database. However, a loading time problem occured. When Flash tries to connect database to harvest data from database, It takes to much. When I try to get data with an XML file, it gathers data faster PHP file. So, I wrote a new PHP file which connets to database and writes an XML file and saves it under my server. Although I haven’t gor enough information about PHP coding, I can handle it with some kind of good tutorial. Sorry, I don’t have name of the owner of this article. Thanks to him or her!!
After 10 hours of endless efforts, I have fixed this problem. I’ve tested some php files on my server with AMFPHP and Flex. Everything is working as I expected. However, when I moved all of these files to my clients server, I started to get error from AMFPHP browser as follows;
message = “faultCode:INVALID_AMF_MESSAGE faultString:’Invalid
AMF message’ faultDetail:’Warning: Cannot modify header
information – headers already sent by
(output started at /a/long/path/to/a/site/root/fileDirectory/
on line 38
name = “Error”
rootCause = (null)
What da hell? Everything was fine. What happend now? There is a guy
who got this type of error from AMFPHP and his solution for
the problem is here. It can work for you. But, it doesn’t work for me.
in order to get rid of this problem, I checked my .htaccess file
in my server. As you know .htaccess is a hidden file in your server.
So first of all, make activate ‘show invisible files’ option from
your ftp application. Then, make a back-up of .htaccess file and
open it in a text editor. When I opened my client’s .htaccess,
I realized that there is two lines of code that blocking the server
to use PHP 5. However, my PHP classes are optimized for PHP 5.
Here is the solution, just delete these codes which blocks your PHP
version. By the way, you may not have anything in your .htaccess.
In this case, probably the first link solves your problem.