Php :: Flex (with Zend) Running On A IIS-Server?

Feb 8, 2011

I have a Flex-Page which connects to a MySQL-DB through PHP (Zend). I run the Flex-Page on an IIS-Server (Windows Server 2008 R2) and it works. But the problem is, that i specified the web root to the C:inetpubwwwroot directory (there php is running). On the server i want it on another directory.(Now i have the main Flex Page in the directory für the webserver, and the php files are in the wwwroot directory).

When i specify the web root to an other directory, nothing works, not even on my local machine.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Setup FB4.5 For PHP Without Using Zend Server?

Oct 4, 2011

I've watched a really helpful tutorial on FB4.5 for PHP by Mihai Corlan and am hoping to use some of his techniques but would like to use a different PHP server because Zend Server costs money and I'd rather avoid polluting my workstation with still more daemon-type services. I've set up numerous Debian and CentOS servers from scratch and would like to configure FB4.5 for PHP so that I can debug both my Actionscript and PHP. Has anyone done this? I could certainly used advice from someone who's gone through all the trouble already. I'd very much like to capitalize on all of the ways that FB4.5 automatically generates code and creates links for you rather than writing all that stuff by hand.

View 1 Replies

Flex Client App Connect To BlazeDS Running On A Different Server?

Feb 9, 2010

As far as In understand the Flex technology, a Flex client connects to a Flex server to retrieve business information. Is this the only allowed connection for the client, back to the originating server? Or can a Flex client also open a secondary connection to a different server wich runs BlazeDS for message exchange?(This might offer an option for load balancing and cross-platform development).

Update: I have found this page which links to the Cross-domain policy file specification:[URL]..

View 2 Replies

Actionscript 3.0 :: Zend AMF Call Isn't Transferring To Client Server

May 7, 2010

I have a client that I am going live with so I am transferring their website from my web server to their web server. Using Zend AMF, I am calling a database that reads perfectly when I point to it from my server but it doesn't work when I call the database from the client's server. In both instances, I am pointing to the same absolute path to my boot strap (on my web server). I don't understand what the difference would be.

View 2 Replies

Java - Connecting Non-flex Client To Server Running BlazeDS?

Aug 27, 2010

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient.

Currently I have some blazeDS remote objects to handle login/logout with a few RPC calls. In turn, FlexSession objects are created and handled. Is there a way to use httpclient and javascript to call those blazeds RPCs so I dont have to recode and have 3 different means to handle logins and sessions?

View 1 Replies

Zend Framework :: Connect From Flash Media Server 3.5 To Zend_Amf?

Dec 31, 2009

i want to be able to connect from flash media server 3.5 to Zend_Amf (latest ZendFramework version). i tried doing the following:

function amfresponder ( ) {
this.onResult = function (result) {
trace("Success: " + String(result));

[code]....

View 2 Replies

Flex :: HTTPService.disconnect() - No Tcp Connection Drops And Script Keeps On Running On Server Side

Mar 20, 2012

I got a mxml file that launch a script on my http server through a HTTPService.send() call. Since the script on the server side takes a LOOOONG time (it could take even more than a hour) i would like to drop the connection between my air application and server when a button is clicked. Don't know why but calling HTTPService.disconnect() is totally useless... No tcp connection drops and script keeps on running on server side. No HTTPService.cancel() nor set HTTPService var to null worked.

View 1 Replies

Flex :: Example Flex Zend AMF Sharing Web Services Between Components In ViewStack

Aug 10, 2011

I've been searching for the last couple days but can't seem to find a basic example of what I'm looking for. I'm developing a Flex 4.5 app and in it I have a viewstack of 2 components that use some of the same services. Currently the only way I can get the app to correctly use the web services is by defining 2 different web services that use the same PHP web service file. For example: I have an app, and within it I have a viewstack with tab navigation of 2 components: #1) retrieve a list of all Salary Employees, and #2) retrieve a list of all Contractors. Currently to get it working I am defining a UsersTableEmployees webservice within component #1 and a UsersTableContractors webservice within component #2, but they both point to the same PHP class, and only differ in the arugment value I pass to them. Ie, getUsers("employee") and getUsers ("contractors"). Of course this is not best practice.

Searching StackOverflow and Google gives me many results about ColdFusion and MVC (example What's the best way to share data between components in Flex?), but I'm still confused. Can anyone here point me to a basic example (even sample MVC) and source code of an app that uses Zend AMF and allows different components to call common web services?

View 1 Replies

Media Server :: Cannot Connect To Admin Console FMS 3.5 Running Separate Apache Server

Jul 7, 2009

I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
 
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
 
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
 
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul  7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul  7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).

[Code]....

All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.

View 5 Replies

Media Server :: Deploy Video Using FMS / Apache / IIS Server Running On Win XP Pro?

Sep 28, 2009

Right now I do not have "server". Example: I do not have anything like windows sever 2000, 2003 etc. but I have and running IIS server on the same Windows XP Pro. On this very same machine I installed FMS server with the Apache that came with the FMS. I have read and followed the instructions time and time again in deferent ways to deploy my video on the server but no idea I used is working so my clients could view my videos. Looking forward to have site like "hulu" / "You Tube".

View 1 Replies

Media Server :: Have Multiple FMS Installation Running On 1 Linux Server?

Jan 19, 2011

Is it possible to have multiple FMS installation running on 1 linux server?This mean that each fmsadmin, fmsmaster, fmsedge, fmscore will run under a specific user. (not vhosts of a single FMS install)How will this impact the performance of the other FMS instances in case there are more of them running on the same server?

View 2 Replies

ActionScript 3.0 :: Passing Parameters From FLEX To PHP (zend Amf)?

Feb 5, 2010

I'm working on a school assignment in which I have to make a basic CRUD (create, read, update and delete) content management application using the Zend AMF framework in FLEX.Basically I create a mock database and have flex print the data from the database into a data-grid. I need to also have an add form, edit+update feature and delete feature. As of now I have FLEX printing all the database info into my data-grid and my add form works as well as my delete button. My problem is I cannot get the update function/query to work. You know:

(UPDATE myTable SET valueName='".$variable."')

What happens is I have it programmed so that when you click on any row in the data-grid, the information is printed back into the add form. Here you can change the values and hit the 'update button' (not the add button) to run the update query on the php file.So my mxml looks something like this:

PHP Code:

<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="{amfcall.getDatabase()}">
<mx:RemoteObject id="amfcall" destination="MyPHPclass" source="MyPHPclass" endpoint="http://localhost/FlexAMFCMSapplication/index.php" showBusyCursor="true" />

[code]....

So basically I can send the ID over to the PHP but not other values along with it, in this case the date time and name. How can I send over these edited values so the update function actually updates them?I'm assuming my update function is wrong in either the mxml or the php or both.

View 4 Replies

Flex :: Zend AMF Implementation And AMF Protocol Security?

Jan 15, 2010

I have a Flex frontend connecting via RemoteObject to Zend Framework's Zend Amf. This is my only means to transport data between client layer (Flex) and the application and persistence layers (LAMP with Zend Framework).Some ways I can address security are as follows:

I can address TLS by using mx.messaging.channels.SecureAMFChannel in my services-config.xml file and ensuring Flash player is loaded into a HTTPS wrapper and is in fact using HTTPS since the AMF protocol is layered on top of HTTP RemoteObject has a setCredentials method with which I can pass AMF authentication headers to protect user related data. Assuming TLS was actually secure I can expose methods on the endpoint after authenticating the User.I can protect against cross-site scripting and other FLASH vulnerabilities with a properly set up crossdomain.xml how to I protect my endpoint against another AMF consumer? For instance, if there were another AMF consumer (not Flash so not bound by crossdomain.xml and Flash sandbox security) other than my Flex client that knew my endpoint, what would stop it from using methods that the endpoint exposes?

As far as I know I essentially need a way to authenticate my Flex application against my Zend Amf endpoint. After AMF consumer authentication, I have some of the security mechanisms I mentioned above to protect certain pieces of data (like User authentication). I can not embed some sort of authentication mechanism into my Flex swf because the swf is vulnerable to decompilation (the swf can not be trusted). While sensitive data is protected via User authentication the unprotected data is hardly public but as far as I can tell is totally open for public consumption.

View 2 Replies

Flex :: Zend Framework Model With Service?

Feb 10, 2010

i have a question about Zend Framework and mainly the model part. I know there is no abstract model class and understand why. I red a lot of blog posts about it, but couldn't find any example that would clearly explain it to me. I'm building a very basic application. Lets imagine we have just three tables.company(ID, name, street, streetNo, Town), meta(ID, name, description), company2meta(ID, companyID, metaID, value, note). All types of realtionship are there (1n n1, nm). The a need also services (amf) with Value Objects. So, here is what I think:

[Code]...

View 1 Replies

Flex :: Zend Amf - Display Results In Different Labels

Apr 11, 2011

I've got a simple app that is currently getting information form a database and just displaying the content into a datagrid.

Instead of having this information displayed in a datagrid, I'd like to display it in a couple of labels (first name, last name, phone, etc.), but I'm not really sure how to.

Currently on creationComplete I call my php query function - which looks like this.

public function getPeople() {
return mysql_query("SELECT * FROM tbl_people ORDER BY pers_name ASC");
}

[Code].....

Eventually my query will be modified and will only ever return 1 row from the database. So how do I get the results to display in labels instead of the datagrid?

View 1 Replies

Flex :: Access Strings From Zend AMF Objects?

Dec 3, 2011

I'm using Flex 3.6 and ZEND AMF version 1.11

I have an array that shows in my trace using trace(ObjectUtil.toString(event.result))[code]...

View 1 Replies

Php :: Flex/Zend Channel Connect Failed Error?

Jul 6, 2010

I am using Flex and php to develop my project. Everything works great in my local machine.However, when I upload my files to my serverI got the error when loading my flex application.The pop-up error message is

send failed
channel.connect.failed.error
Netconnection.call.Badversion: url:

[code].....

View 4 Replies

ActionScript 3.0 :: Flex Services + Zend AMF + CakePHP = FlexibleCake?

May 11, 2009

I'm working on a new project in Flex with a CakePHP backend and since I'm using Mate, I wanted to use the RemoteObject stuff it does to call CakePHP.First I tried just doing one call at a time in CakePHP but I saw that that would mean a lot of endpoints, so I looked into some like amfphp for cakephp. I saw that Zend AMF is now the successor to AMFPHP so I wanted to try to integrate it.

I probably spent 8 hours on the final solution that is probably 10 lines of code.So without further ado I give you FlexibleCake: a CakePHP controller that acts as an AMF Endpoint and is able to instantiate and call any controller / method. I also built a "tester" or "explorer" app that allows you to send requests to the end point and visualize the result.

[URL]

PS there where some changes I had to make to the core CakePHP classes to make it work. It only involved modifying the comments in the model.php class I believe (since Zend AMF reads the comments to gather metadata for the functions called).

View 5 Replies

Flex :: Zend AMF - How To Convert To MongoDB Compatible Date And Back

Jul 26, 2011

In flex (flash builder 4) I have a Date() property that I am passing to Zend AMF (php) and I want to store that (as well as other data) in mongoDB. Mongodb is complaining about the date because it comes across as a Zend_Date object, which appears to be an object containing several properties and Mongodb is saying that it can not accept blank properties. So, I take that to mean it needs to be converted to something else before I can store it? If so, how do I do that?

At the moment I have taken the approach of converting the Zend_Date object in to a date string to store it (in php):
$object->readyDT=date("m/d/Y H:i", strtotime($object->readyDT)); //convert to string

That works fine, and I have a string in mongodb of that date. Now, when I load the date from MongoDB, I need to convert it back to a Zend_Date so it properly converts back in to a Date() object in flex (I have to check that it's not blank or it throws errors in php):
if (isset($object->readyDT) && $object->readyDT!=="") $object->readyDT = new Zend_Date($object->readyDT, 'MM/dd/yyyy hh:mm');

This all works, but it seems like there should be a much easier way to take a Date() from flex and get it stored in MongoDB via Zend AMF/PHP. ?

View 1 Replies

Flex :: Accessing Services Directory When Setting Up Zend AMF In Codeigniter?

Sep 1, 2011

I followed the instructions in this tutorial to set up Zend AMF as a way of passing data from my flash app to my PHP app:So I have the directory structure and everything as described there. This is my gateway controller:

class Gateway extends CI_Controller
{
function __construct()

[code]......

View 1 Replies

Prevent Swf Running Out Off Of Server

Dec 22, 2009

I searched everywhere for a peice of code to prevent a web page from loading when it is not on a server.Finally found this one and I swear it was working last night.Am I placing the function in the wrong place?I have everything in 2 framesif the flash swf is currently running on the propper server it should skip to frame 2 and if it is running on a computer or the wrong server it should stay at frame 1.[code]

View 5 Replies

Running Flash On A Web Server

Mar 5, 2011

I work on a lot of digital media projects; which often require dynamic graphics. I find flash to be a great tool for this purpose. It's very easily to dynamically change text inside a swf, compensate for text overflow and apply lots of nice filters and effects. Not to mention font embedding. This technique works great for web pages, however quite often we want to use flash generated artwork in a html email. How can we do this? Well, we can use as3corelib to generate a jpg from a swf, and then use the generated image in an email.This is fine, so long as we can pre-generate all of the images, before sending out the emails. But say we need to generate the dynamic jpeg on the fly from a webpage? If the user on the webpage has flash installed we could configure a swf to generate the image for us.But what if the user has flash disabled? Maybe they are using an ios device or simply don't like flash. What I would like to do is set up a server side fallback that could run a swf, replace text in the swf based on supplied variables, generate a jpg using as3corelib and save the jpeg somewhere. The trick here is running flash player on the server. It would also need to run in a multithreaded way in case the server needed to process multiple requests.

View 4 Replies

ActionScript 3.0 :: URLLoader Not Same Running On Server

Jun 12, 2010

I am sending byte array data to php through a urlloader. Everything works fine when I run it locally on my computer. If I try to run it off my server,nothing gets sent to php, my Event.COMPLETE listener never fires.I have tried both absolute urls and relative urls, that didn't make a difference[code]

View 1 Replies

Media Server :: Installing Key In Running Dev Setup

Jan 10, 2011

I have been testing a project with no license key(Dev) and last week I purchased a Flash Streaming license but I go into the fms.ini and insert the key and restart FMS but my streams no longer work and the only error I seem to be getting is: Found Connection Penalty (RTMFP) on core launch, penalty active since time 1294334608.351221 I remove the key and restart the service and everything works fine.

I even tried reinstalling FMS and provide it the key when it asked in the installer but same issue. Is this error related to an issue with the licensing key? There is no error when I remove the key but can't get support through contacting Adobe by phone. I asked what is the proper way to install the key and they said they would open a ticket and contact me back but its been 2 days not including the weekend, I thought it would be a very simple question for the FMS dept that I was speaking with.

View 5 Replies

ActionScript 3.0 :: Running Flash As A Server Application?

Feb 18, 2010

We're interested in putting one of our flash applications on the server back-end so that it can run as a module on the server machine (not on the client!). I know flash wasnt designed for this at all, so my question is:

1) Can I run Flash from the command prompt and pass parameters to it?

2) Can I detect when the Flash has finished running, or a way to communicate with the command prompt from Flash (to inform it once the operations has finished).

3) Can I close the flash application from the command prompt?

View 9 Replies

Php - Flex Is Deserializing Generic Objects From Zend AMF Instead Of Strictly Typed Objects

Mar 4, 2012

I'm using Zend AMF to send my remote objects to Flex. I've defined a Constant class and created getASClassName() method. Then I've created Action script class in flex.

Objects are send successfully, but they are deserialized to generic Objects in Flex instead of specific ones. EDIT: On network monitor in Flex I can see that AMF value is set to com.my.project.valueobjects.Constant. Although array from event.result contains Objects.

[Code]...

View 1 Replies

Media Server :: Detect If A Live Stream Is Running?

Jan 21, 2009

With the Flash Media Streaming Server (not the interactive version), is it possible to detect if a live stream is running? I want to show an overview of several live streams on one page. The ones that are not running should show as "offline". The others should show an online thumbnail. I don't want the visitors to have to go to all of the pages only to see that the stream is offline.

View 2 Replies

Media Server :: Running FMS 3.5.3 On Amazon EC2 (Windows 2008)

Feb 8, 2010

Does anyone know of any issues with running FMS on Amazon's EC2 Cloud environment? We're running some live streaming applications, but are hearing reports from users of random disconnects.

View 1 Replies

Media Server :: Running A Live Stream From An XML Playlist

Mar 25, 2010

I have just successfully installed Adobe FMS on my server. I would now like to know how to program a script to run a continuous live stream, of MP4 videos, from an XML playlist.

View 20 Replies

Media Server :: Running Multiple IP Multicast Sessions

Apr 5, 2011

am setting up multiple multicast sessions, i generated configurations for each session using a seperate stream name, IP address, port.

1) Is it possible to run multiple multicast session.From configuration, looks like we can, but need confirmation
2) How can i test these sessions using the default player ? or any sample player

View 1 Replies







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