Zip File Created With PHP Shows On Localhost But Not On Server

Mar 21, 2011

I am trying to add to my site a feature that allows users to select a set of images in Flash (AS3) click a button and have my server create a zip file of all the images for them to download.

I have already wrote my code in flash and crated my php script and tested it on my localhost and everything works great. But when I upload the same files to my sever no zip files are created. Below is the code for both my flash and for my php.

Localhost server is using 5.2.17 and so if my Server hosted on 1&1

Flash Code To Send Info to PHP

Code:

function MakeZip():void
{
var variables:URLVariables = new URLVariables();
//variables.Image1=img1;
variables.ImageList=OrderItems;

[Code]....

View 5 Replies


Similar Posts:


Flash :: Zip File Created With PHP Shows On Localhost But Not On Server

Mar 22, 2011

I am trying to add to my site a feature that allows users to select a set of images in Flash (AS3) click a button and have my server create a zip file of all the images for them to download.

I have already wrote my code in flash and crated my php script and tested it on my localhost and everything works great. But when I upload the same files to my sever no zip files are created. Below is the code for both my flash and for my php.

Localhost server is using 5.2.17 and so if my Server hosted on 1&1

Flash Code To Send Info to PHP

function MakeZip():void
{
var variables:URLVariables = new URLVariables();
//variables.Image1=img1;

[Code]....

View 3 Replies

Actionscript 3.0 :: File Upload Works On Localhost But Not On Server?

May 28, 2009

I want to build a flash application that upload images to the server. It seems to work fine on localhost but when I upload it to the server it just won't work. The file does not upload.

as3 code:

Code: Select allvar FR = new FileReference();
var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.gif;*.png");
function onUploadClick(e:MouseEvent):void{

[code]....

View 2 Replies

Move From Localhost To Web Server Environment?

Nov 12, 2009

Are there any Air + Zend Amf examples that use a real world web server and not localhost?

Basically I cannot get an Air or Flex application connected to a remote mysql db to work once deployed. How can I successfully move a finished application to a normal web server (website).

When testing everything works no problem but as soon as I deploy the gateway.php (regardless of where i put it on my web server) will not connect. I've even tried flash builder 4 auto generated code and still no luck

View 1 Replies

ActionScript 2.0 :: Website In The Server, Not In Localhost?

Apr 25, 2011

problem with a website that when I see in local mode everything is ok but when upload it to the server something is wrong , if you go toin the Menus section if press the photo and then try to expand it, not expand properly, so you have to press again to view it correctly. I know that the problem is in the actionscript but I don know how to fix it

View 3 Replies

Media Server :: Change 'localhost' To Webserver

Apr 19, 2010

I tried some applications like vod and live with localhost.Now I'm trying to use some applications on my site. It's the first thing you need to do, but apparently it's so basic that I can't find information about it.Can someone explain me how to change the "localhost" to a webserver? In other words, how do I set up an application like vod on my site?

View 10 Replies

Media Server :: How To Change Localhost To PublicIP In FMS

May 28, 2010

Initially I had local ip (say 192,168.1.XX). Now I connected to public ip. I opened flash media server administrative console, it ios not allowing to use 'public ip' but allows to login as 'local host'. Because of this i am unabvle to test my streams. I need to publish this on cdn.
Earlier URL - rtmp:.//MY_LOCVAL_IP/vod/sample - works
but - rtmp://MY_PUBLIC_IP/vod/sampe - does not work

View 10 Replies

ActionScript 2.0 :: Refresh Localhost Server On Flash Web App

Sep 1, 2009

I have a flash app which runs on my browser using Apache with PHP.This app displays items according to xml files which can be created anew
or added to.When the user changes these files via php, these changes are not reflected in the app. If I close the app and re-start the changes are there.Is there some way to refresh the localhost in the program?

View 4 Replies

Actionscript 2.0 :: Expanding A Photo In Server But Not In Localhost?

Apr 25, 2011

Iīve a problem with a website that when I see in local mode everything is ok but when upload it to the server something is wrong , if you go to [URL] in the Menus section if press the photo and then try to expand it, not expand properly, so you have to press again to view it correctly.

What I donīt understand is why I see the web correctly in local and not in when itīs in the server.

View 1 Replies

ActionScript 3.0 :: Filereference Work In Localhost But Not In Server?

Aug 5, 2011

My file reference function is not working when i upload my swf into my server. I tried in localhost it works. I tried publishing in HTML it works. I wonder what's wrong.Here is the screen shot of my code.The file reference is suppose to allow the user to save the "var ba" to their local hardisk.Edit : i found that my preloader is the main cause. Any code i should put in my preloader so the file reference will works?this is the preloader cod

Code:
import flash.net.FileReference;
var loader:Loader = new Loader();//declaring new loader variable

[code].....

View 5 Replies

Media Server :: Dynamic Streaming Only Can Work In Localhost?

Nov 4, 2010

I install the latest version of apache before the FMS4.  After the installation completed, I copied webroot, applications and other files to the web sites home directory.  I also updated the FMS.ini file in the config folder.  Because I am not familiar with FMS, I don't know whether the change is correct or not. 

View 1 Replies

Media Server :: .stream File Is Not Being Created In /livepkgr/events/_definst_/liveevent Folder.?

Mar 20, 2010

Problem1 The ***.stream file is not being created in the folder> :FMSHOMEapplicationslivepkgrevents\_definst_liveeventBUTI can see the F4F, F4X, control, meta, and bootstrap files being created in the folder>C:FMSHOMEapplicationslivepkgrstreams\_definst_livestreamAny ideas on what may be causing this and how to resolve it?Problem2Sometimes if I send multiple bitrates like livestream1, liverstream2, livestream3 I'll only see the livestream3 stream files created inthe folder C:FMSHOMEapplicationslivepkgrstreams\_definst_livestream3. No livestream1 orlivestream2 stream folder/files are created. And again the .stream file is not being

View 1 Replies

Flash :: Test Streaming Bandwidth On Localhost With Media Server?

Jan 13, 2011

I'm trying to debbug my code on Client side (Action Script 3) that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.Is there a simple way to simulate lower bandwith with FMS4 on localhost (by config, application.xml, programmation...) ?

View 2 Replies

Media Server :: Live Stream Through Localhost - Embed To Another Machine

Feb 20, 2012

I have install the Flash Media Server and Flash Media Live Encoder. Everything run perfectly when I test the Live Stream through localhost, but if I try to embed to another machine, it is failed.

View 1 Replies

Test Streaming Bandwidth On Localhost With Flash Media Server?

Jan 13, 2011

I'm trying to debbug my actionscript (AS3) code on Client side that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.

However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.

Is there a simple way to simulate lower bandwith with FMS4 on localhost ?

by config, application.xml, etc.?
by programmation (main.asc) ?
both ?

View 2 Replies

ActionScript 3.0 :: Cannot Access XML File On Localhost?

Dec 7, 2009

Typing either localhost or 127.0.0.1 in any browser on a Macintosh (os 10.5) does not give access to the host computer.The following Actionscript code generates the following error:

var XMLURL:URLRequest = new URLRequest("http://localhost/quoteRotator/quotes1.xml");
Error opening URL 'http://localhost/quoteRotator/quotes1.xml'
Error #2044: Unhandled io error . . .

[code].....

View 8 Replies

Professional :: .swf File Is Not Working With Localhost Address?

Sep 13, 2010

My .swf file is not working on localhost. But when we try to run it directly from the file location then it is running.

View 1 Replies

Flex :: Error : Unable To Contact The RDS Server "data Services On Tomcat (localhost) Connection Refused: Connect

Dec 5, 2011

I'm making a program in flash builder 4.5 using WebOrb 4 (which is fantastic, I might add). When I go to deploy, however, it gives me this error:

>There was an error during model deployment for xxxxProgram.
>
>The server returned the following message:
>
>Unable to contact the RDS Server "Data Services on Tomcat (localhost)."
>
>Connection refused: connect
>
>Do you want to continue launching your Flex application?

I've poked around online for a solution, but for the most part I either don't understand them (forum grammar can be somewhat obtuse) or the answer in the post doesn't apply.

View 1 Replies

Flash :: Data Integration - Localhost - URL Page With An Embedded SWF File?

Aug 8, 2006

I can't figure this out. When I test a URL page with an embedded SWF file (using [URL]) I cannot get the embedded SWF to play more than one or two frames. However, if I upload this same flash-embedded html page, and test it on the WWW, then it seesm to play without a glitch.

View 1 Replies

Actionscript 3 :: Testing Movie With Flash IDE Fails To Load File From Localhost

Feb 25, 2010

I have created an SWF that loads an XML file from [URL], but I get this error when running the movie using Test Movie in the Flash IDE.

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml
at Main/loadConfig()[D:wwwwebrootflashProjectsMELQuizQuizsrcMain.as:126]
at Main/configLoadError()[D:wwwwebrootflashProjectsMELQuizQuizsrcMain.as:143]

[Code].....

Trouble is running the SWF in a browser locally does work, it only throws these errors in the Flash IDE.

I have tried a adding wildcard crossdomain.xml file in my root web directory and setting the SWF publish properties for local playback security to Allow network only, but neither of these have solved my problem.

I know Windows 7 handles localhost name resolution differently compared to previous versions of Windows but I have even added 127.0.0.1 localhost to my hosts file to no avail.

View 2 Replies

Flex - Why Is Flash Demanding A Crossdomain.xml File When The .swf And Http Target Are Both On Localhost

Jun 3, 2011

I've got a small client/server test application where I have a Flex app that makes an HTTP request of a server app. The server app is a script running on my local machine, listening on port 8001. The client is a swf that I am running locally, and uses mx.rpc.http.HTTPService to make the page request.

The HTTPService is being set up as per below:

_HttpService = new HTTPService();
_HttpService.url = "http://localhost:8001";
_HttpService.contentType = "text/xml";

When I make a basic page request, my server app is first receiving a "GET /crossdomain.xml HTTP/1.1" request, which is failing since I don't have a crossdomain.xml file in place. The reason I don't have one in place is because this is all happening on my local machine (for now) and I shouldn't need one (I don't think).

I definitely had this code working before without a crossdomain.xml when I was using Flex 3.x. I thought I had it working with Flex 4 as well. Now I'm using Flex 4.5. Is there an issue here, possibly due to security policy changes?With all of this happening on localhost, why is the Flash player requesting a crossdomain.xml file?

[code]...

View 2 Replies

Professional :: XML Shows In Flash / But Doesn't Show On Server?

Oct 21, 2010

I have a Flash website with 5 sections (Featured Work, News, About Me, Services, Contact). All the sections works fine, both in Flash and on the server, if the content isn't loaded from XML. But in the News section i use XML for loading the news.If i test my movie in flash, the whole site works fine, and the XML News works perfect. But if i test the movie in a virtual server (like MAMP) or if i test it on my own server, the news section doesn't show.

View 35 Replies

ActionScript 3.0 :: XML Shows In Flash, But Doesn't Show On Server?

Oct 21, 2010

I have a Flash website with 5 sections (Featured Work, News, About Me, Services, Contact). All the sections works fine, both in Flash and on the server, if the content isn't loaded from XML. But in the News section i use XML for loading the news.

If i test my movie in flash, the whole site works fine, and the XML News works perfect. But if i test the movie in a virtual server (like MAMP) or if i test it on my own server, the news section doesn't show.

View 9 Replies

Flash :: Admin Console Shows No Applications On Media Server?

Jan 12, 2010

My employer has a Flash Media Server that I wrote a little streaming video app for a couple years ago.Well, the videos have stopped working and I've been asked to troubleshoot.  I fired up the fms_adminConsole.swf and connected to my server.  Now, it's been a long time since I've messed with the server, but if I remember right, there was a big list of apps on the list on the left hand side of the "View Applications" view of the console.  When I log in, there are no applications listed.  If I hit the "New Instance" button under the empty list, I'm presented with a list of all the apps I think I should be seeing in the Applications list.  If I select any of these, a new application instance appears in the applications list, and I'm prompted to give it a name, the default being "_definst_".  If I hit enter to create this instance, it remains on the list and instance data appears on the right panel until the console refreshes, and then all that vanishes and I'm back to an empty applications list again.

Going to "Manage Servers", I do see a list of applications under the applications tab that I expect to see.  The app that streams the video that's having problems is there on the list.

Is this typical behavior for the Flash Media Server Console?  Shouldn't I have a list of apps in the "View Applications" section of the console?  I've created about a dozen to date, and they're all listed under Manage Servers > Applications, but not under "View Applications".  Can anyone point out if I'm doing something wrong here or missing something?Or can someone confirm that I SHOULD be seeing something under "View Applications" and that there is indeed something weird going on with the server.

View 2 Replies

ActionScript 1/2 :: Create A Clock Which Shows The Time Returned By The Server?

Jan 19, 2011

I'm trying to create a clock which shows the time returned by the server. get this code working with the server time on..(E.g.: time.php returns 1295532770)
 
server = new LoadVars();
server.onData = function (src){
clock_txt.onEnterFrame = time;[code]....

View 25 Replies

ActionScript 3.0 :: Server Shows Error Message In Flex Side

Jan 4, 2011

I am using AIR with tomcat..(blaze ds as bridge) but i changed in service.config also in server side but i got the following error.. how to rectify this problem Result : [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url:

View 1 Replies

Flash :: Professional - The Page Into The Host Server It Shows The Skin And No Video

Apr 29, 2011

I can still create the video and the files and it all works in dreamweaver when I preview in iexplore. When I put the files and the page into the host server it shows the skin and no video. If my paths are wrong I do not know where to check them. I need help MY whole career is on hold until I know how to do this like clockwork/ I need step by step with creating and changing paths and uploading using cpanel or dreamweaver. getting the files made and uploaded is easy part. I have been here before and cheers to the help. I really need an in depth answer about how to do this from start to finish. I have looked at all tutorials and they all make it seem so easy but dont show anything on paths. If my video works in dreamweaver but not online live what is wrong? I am lost and on edge lost many weeks of sleep over this simple process.

View 12 Replies

Swf File Shows White Box

Aug 15, 2009

I loaded a page on the server and is not showing up the flash object. You can hover the screen and you know the object is there but is showing a white box. Locally in my computer I can see it. The test page is [URL]

View 2 Replies

Silverlight :: Flash Vs Silverlight On Localhost /local File Permission To Access Remote Webservice?

Mar 30, 2011

In Flash user can give permission to localhost and even local html file to access remote webservice.I fail to see the same thing for Silverlight which is a nightmare for testing on local pc.

View 1 Replies

Media Server :: Test My Movie - When I Press The Stop Button The Output Window Shows Me An Error Of "#1009 ?

Jul 17, 2011

I'm running FMS 4 Dev on my win XP SP3 machine, also running flash cs5 professional on same machine. I get the server admin screen to come up and it says it's running. I'm using a tut book on FMS and trying to run the first script in the book. It's long but I'll add the script at the bottom so you can see what i'm doing. In the server app folder I placed another folder called vid2 with nothing in it just like the book told me to do. I wrote the script line for line out of the book. When I test my movie it lays out my video window and buttons. It diplays my ugly mug on the screen. when I press the record button it does nothing. when i press the stop button the output window shows me an error of "#1009 can't access properties or methods of a null object". I assume that this is telling me I do not have a net connection.
 
when I types in the example it had an IP address in the code.How do I know the correct IP addy to my dev server? If I'm doing development and testing on the same machine do I even need to know this?  2) How will what I'm doing now differ from leasing space from an FMS provider?

the script:
 
package{        import fl.controls.Button;    import fl.controls.TextInput;    import flash.display.Sprite;    import flash.net.NetConnection;    import flash.net.NetStream;    import flash.events.NetStatusEvent;    import flash.events.MouseEvent; [code].....

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved