Hello!
I'm new to this forum and I need some help with the way my server executes this php script called stockquote.php which retrieves stock market data and parses it so it is displayed in a flash swf file. The PHP script works technically speaking - however on my server it runs about 60-300 times slower (2-5+ minutes to get and parse financial data) than on the server of the webdevelopers from whom I bought the script (2 seconds to update financial data). The scripts and swf are exactly the same, except for the fact that on one server, the script has fetched and parsed the data in 2 seconds vs. 2-5+ minutes or more on the other server - unfortunately being my justhost.com server.
Take a look:
the flash swf file I made as it appears on the developers server:
http://www.flashextension.net/support/marketoverview.html
And the same file using the same php script on my server:
http://bga-aeroweb.com/SWF_test.html
My phpinfo.php: (I have increased memory limits and caching levels as well as setting buffering in the "on" mode.) http://bga-aeroweb.com/phpinfo.php
Is there anything in my php settings that would cause this extreme slowness in the php execution on my server????
Why would my server 60-300 times slower at executing the script and feed data to the swf??????????? I just don't get it. I have been searching the web all day without being able to solve my problem.
As I see it, it is a server-side problem. The files are exactly the same - but execution is instant on one server and horribly slow on the other. Why is that?
Any help will be greatly appreciated. Thank you!
Best, Kasper