flex php configuration

I HAV mde an application form which a connects to a database of php using WAMP.

now the problem I m facing is that I want to deploy this application on my own server...

I dnt know wat to put in webroot =? and rooturl =?...

in wamp, I usually put webroot = Server (folder www) and rooturl = localhost...

do I HAV to make changes also in the http query that calls the php file...?

In my opinion, the development must be done locally.  After you're done bring, you can deploy everywhere where...

The c:\ and the http://localhost you enter at the beginning is for the development, the definition you do for HTTPService is important, you must use root-relative paths, or if you want, you can do a hard http://www.yourdomain.com/directoryname

Tags: Flex

Similar Questions

  • PHP configuration and stripped of libraries

    [Note for those it can help: If you have tried to do PHP yourself crypt_r is available here - this problem is before this one]

    As soon as PHP iconv it toggles asks me to reinstall iconv

    Some research later, I find that most (all?) shared libraries have been stripped so there are no symbols in these versions

    I wonder if it is shake AC_CHECK_LIB?

    libiconv.so - tT objdump shows everythings OK in house

    Rat = never use the last version... (of anything)

    The configuration is broken for the cross-cimpiling

  • Muse and PHP configuration

    Hello

    When I publish Muse, I always get the error:

    "An unexpected response to the PHP application. PHP cannot be configured correctly on your web server. Contact your Web host or Web site administrator on how to configure the PHP support.


    What does that mean? How can I solve this problem? I use Apollo to host my site.

    Thank you!

    Basically, the problem is what the message exactly says. PHP is not configured on the server and communicate with your host on how to put in place. There is a problem with your host not Muse. You need to communicate with them.

  • PHP configuration

    I installed the PHP on IIS7 application on my Vista SP1 correctly using section:

    http://learn.IIS.NET/page.aspx/246/using-FastCGI-to-host-PHP-applications-on-IIS7/

    But when I configure PHP and FastCGI recycling behavior and run the commands:
    C:\ > %windir%\system32\inetsrv\appcmd set config - section: system.webServer / fastCgi /[fullPath='c:\{php_folder}\php-cgi.exe'].instanceMaxRequests:10000
    C:\ > %windir%\system32\inetsrv\appcmd set config - section: system.webServer / fastCgi / + [fullPath='c:\{php_folder}\php-cgi.exe'].environmentVariables. [name = 'PHP_FCGI_MAX_REQUE m', value is "10000"]

    I encounter the error:
    ERROR < message: the requested collection item is not found. >

    Help, please
    Amanda

    Amanda,

    Skip this step.

    --
    Ken Ford
    Adobe Community Expert - Dreamweaver/ColdFusion
    Fordwebs, LLC
    http://www.fordwebs.com

    "gorgeous.com" wrote in message news:[email protected]...
    > I installed the PHP on IIS7 application on my Vista SP1 successfully with the help of the
    > article:
    >
    >
    > http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis
    > 7 /
    >
    > But when I configure PHP and FastCGI recycling behavior and run the commands:
    > C:\>%windir%\system32\inetsrv\appcmd set config
    > - section: system.webServer / fastCgi
    > /[fullPath='c:\{php_folder}\php-cgi.exe'].instanceMaxRequests:10000
    > C:\>%windir%\system32\inetsrv\appcmd set config
    > - section: system.webServer / fastCgi
    > / + [fullPath='c:\{php_folder}\php-cgi.exe'].environmentVariables. [name =? PHP_FCGI_
    [> MAX_REQUESTS?, value = "10000"]
    >
    >, I encounter the error:
    > ERROR< message:="" cannot="" find="" requested="" collection="" element.="">
    >
    > Please help
    > Amanda
    >

  • PHP configurations for forms

    I'm really struggling to get my head around the process of implementation for e-form applications General with php. Could someone ' a please point me in the right direction or the steps they took? Or does anyone know of any good tutorials?

    Thank you

    The best tutorial can be found at Alt-Web Design & Publishing: Contact form sensitive with 3.2 Bootstrap and PHP (part 1)

  • PHP configuration - for file locations

    How can I include the file locations so I can't copy my .php files in each subfolder and it then displays the content?

    one

    at present, it will only show my .php files if I have them in folders.  I know I'm missing something key here:

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    "< html xmlns ="http://www.w3.org/1999/xhtml"XML: lang ="FR"lang ="FR"dir ="ltr">"
    "< profile head ="http://gmpg.org/xfn/11">."
    < title > Kira America | Products < /title >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"
    < meta http-equiv = "imagetoolbar" content = "no" / >
    < link rel = "stylesheet" href = "" / ajxmenu_lathes.css "type =" text/css"/ >"
    "< link rel ="stylesheet"href="/styles/layout.css "type =" text/css"/ >
    <!--3 column added to the Page and not the Layout.css-> Stylesheet
    "< link rel ="stylesheet"href="/styles/3_column2.css "type =" text/css"/ >
    "< link rel ="stylesheet"href="/menus/ajxmenu.css "type =" text/css"/ >

    < div class = "headnav1" >
    < div align = "left" >
    <? PHP include ("' / headnav.php" ");? >
    < / div >
    < / div >
    < / div >
    < / div id = "topnav2" >
    < div align = "center" >
    <? PHP include ("' / topnav.php" ");? >
    < / div >
    < / div >

    It sounds as if you're confused by the terms "relative path" and "relative to the site root path.

    What you use initially is a path (or link) from the root of the site. They begin with a forward slash and start looking for the top-level of the site file. It is in your case, C:\wamp\www.

    Include PHP commands cannot use this type of path. Instead, you must use a path compared to the current document.

    Depending on your error message, the current document is located at C:\wamp\www\products\VTL\KTC9-12f_files\sheet001.php.

    To find C:\wamp\ www\headnav.php, the relative path must be three levels to find the file. Each level is represented by... /.

    So, to arrive at an appropriate level, the include command should look like this:

    include "... /.." /.. headnav.php';

    For files at different levels of your site, you need to adjust the relative path accordingly.

  • Flex php XML return connection

    Hello! IM new to flex and I have a question I hope someone can answer. I have a flex application I'm building that needs to display a list of dynamic images, preferably with icons. I built the list of titles, but I do not know how to connect the HTTPService data to the list. the HTTPService returns XML data, it must be easy. but, as I said, Im really new. Please help me!

    "arthurlockman" wrote in message
    News:g7kk4g$177$1@forums. Macromedia.com...
    > Hello! IM new to flex and I have a question which I hope someone can
    > response. I have a flex application I'm building that needs a list
    > of
    > dynamic images, preferably with icons. I built the list, but I have no
    > soaps
    > How to connect the HTTPService data to the list. the HTTPService is
    > return
    > The XML data, so it must be easy. but, as I said, Im really new. Help, please
    > Me!
    >

    Depending on what you are willing to do, you can either use a Repeater with
    a picture or a custom component that contains an Image or you can use a list
    component to display an Image or a custom with a base Image component (or
    SwfLoader, or Loader) inside. It is literally a ton of stuff on it
    in the help. Here are a few places that you can try:

    Help > Flex Start Page > creating a Simple RIA
    Help > Help contents > User Interfaces
    -With the help of data providers and Collections
    -Controls
    -Image
    -SwfLoader
    -With the help of data-driven controls
    -With the help of converters point and section editors
    -Dynamically repeating controls and containers

    Here is an example that might get you quickly * if * you are not the type
    to read the docs:

    http://examples.Adobe.com/flex2/inproduct/SDK/PhotoViewer/PhotoViewer.html

    HTH;

    Amy

  • Real-time communication between PHP and Flex application

    My client wants to replace the buttons 'Refresh' in their Flex/PHP app with updating in real time, so as to data changes, it is pushed to the client.

    I came across a few articles which cover this topic, but I'm hard-pressed to find the best approach. Can someone suggest possible solutions?

    Any help would be appreciated. Thanks in advance.

    If your server supports K 100 simultaneous connections with push (permanent connection)

    It can be used 100K users simultaneous apps. With polling stations, it can serve more

    100 k because it opens a connection and then it closes once the answer has

    been sent, so until this client polls again it can handle other requests of

    other customers...

    C

  • Newbie question: in what configuration file &lt; flex: access remote destination &gt; tags go?

    I seem to have read the document integration spring/Blaze about 10 times, but I don't know where to put all my < flex: access remote-Ref destination = "yaddayaddaService" / > tags.  I don't want annotation allows you to set these remote destinations.

    Should it go in the spring configuration file that I use for the servlet of AMF endpoint (as specified by the contextConfigLocation parameter).  Or they go to a high-level cross-servlet configuration file?

    What is the usual way to deal with these?

    Hello

    The convention is to declare:

    1 declare the Spring beans (for example yaddayaddaService) in the files specified by the parameter contextConfigLocation.

    2. Add the Spring - Flex specific configuration (configure message agent, declare destinations) in WEB-INF\flex- servlet.xml, assuming that you have configured the model of Message Broker URL as follows in the web.xml file:

       
            Flex
            org.springframework.web.servlet.DispatcherServlet
            1
       

       
            Flex
            messagebroker / *.
       

    The repository SVN BlazeDS/distribution contains the spring sample webapp (spring - samples.war) that you can watch as well.

    Hope that helps.

    Rohit

  • Muse PHP Diagnostic next steps

    Hi Adobe community.

    I'm relatively new to Adobe Muse and have questions about Muse PHP Diagnostics and next steps.

    I have a Muse configuration on a digital server of the ocean and who currently receive: /scripts/form_check.php

    • OK (GREEN) PHP version
    • misconfigured mail (RED)
    • Configuration of SQL (RED) problem

    Please could you give me the next steps in sorting these errors - thank you

    For forms Muse requires PHP 4.1 with sendMail PHP configured, which means a mailer running on the server.

    For synchronized text, Muse requires PHP 5.1.

  • Can not enable PHP support for project...

    Hi all

    I can create a Flex/PHP project, but when I go to the project Support Flex/PHP - properties - I get the following message "the currently displayed page contains invalid values" and the page never - who does not see these values.  OK, right click on the project, go to "add/change the project type" and to set up a flex project.  Return to "add/change the project type" and select "Add flex and php project type", pulling you towards Properties - Flex/PHP Support page.  Now I have available for editing fields, but no combination of values or the order in which I submit will validate them?  I'm running Flash Builder as root and I get this command-line output each time trying to validate or select a project via the "name of the PHP project:' drop-down list:

    ! ENTRY org.eclipse.ui 4 0 21:00:37.186 2011-06-30

    ! Unmanaged event loop exception MESSAGE

    ! BATTERY 0

    java.lang.NoSuchMethodError: java.lang.String.isEmpty (Z)

    to com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.f (PHPSupportPropertyPag e.java)

    to com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage$ 8.handleEvent (PHPSuppor tPropertyPage.java)

    to org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    to org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1371)

    to org.eclipse.swt.widgets.Text.setText(Text.java:1891)

    to com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.c (PHPSupportPropertyPag e.java)

    to com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.b (PHPSupportPropertyPag e.java)

    to com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.a (PHPSupportPropertyPag e.java)

    to com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage$ 6.widgetSelected (PHPSup portPropertyPage.java)

    to org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)

    to org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    to org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)

    to org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187)

    to org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622)

    to org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277)

    to org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

    to org.eclipse.jface.window.Window.open(Window.java:801)

    to com.zend.php.flashbuilder.ui.actions.PHPAttachAction.run (PHPAttachAction.java)

    to org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)

    to org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionI tem.java:584)

    to org.eclipse.jface.action.ActionContributionItem.access$ 2 (ActionContributionItem.java:501)

    to org.eclipse.jface.action.ActionContributionItem$ 5.handleEvent (ActionContributionItem.java:411)

    to org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    to org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)

    to org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)

    to org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187)

    to org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622)

    to org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277)

    to org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)

    to org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)

    to org.eclipse.ui.internal.Workbench.access$ 4 (Workbench.java:2438)

    to org.eclipse.ui.internal.Workbench$ 7.run(Workbench.java:671)

    to org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    to org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

    to org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

    to com.adobe.flexbuilder.standalone.FlashBuilderApplication.start (FlashBuilderApplication.ja goes: 108)

    to org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

    to org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLau ncher.java:110)

    to org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.jav one: 79)

    to org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

    to org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    to sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    to java.lang.reflect.Method.invoke(Method.java:585)

    to org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)

    to org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

    to org.eclipse.equinox.launcher.Main.run(Main.java:1407)

    Thanks for your help in advance!

    Hello

    You use FB in plugin mode? The stack trace, it seems that your eclipse uses an older version of JRE (a version earlier than the v1.6). If this is the case, try showing your eclipse version 1.6 JRE installation. This can be done at the option - vm in eclipse.ini file in your eclipse folder.

    -Sudhir

  • Flex + C/C++

    Hello

    I worked with Flex-php. Then worked with Flex - Java - BlazeDS

    I wanted to know if there is a way to integrate Java with C/C++ code in the backend.

    Thank you very much!

    C/C++ as in Yes .NET.

    WebORB to do this.

  • Inserting in a Table MYSQL Via Air/PHP unauthorized =?

    I have a problem inserting data in my mysql database tables through my air application. All the code is pretty much exactly the same as in some examples I've seen, but it will not simply do it. Is it because of some kind of restriction of security because the air application is on my computer and the server with my database mysql on elsehwhere? Or is it possible to insert data via an air application?

    Here is the example that I follow:-

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=data_access_2.html

    jimmyoneshot wrote:

    Thanks for the replies boys. I decided I'll change in a flex app rather then it would be any problems. It just means I'll have to add a login system.

    While were on the subject you guys happen to know of examples anywhere of how someone can DELETE data in a table sql via flex/php?

    I'm looking for is essentially when a user uses my application and between info in some text entries, if this specfic info exists in a table so that the data will be deleted from the table. The way this works is that they will choose an element in a tilelist populated by the data in this table mysql and this will insert the data from the selected item in the text entries and then they click a Remove button to remove this element. Cannot find anything similar anywhere well.

    You will need to use a common identifier, for example:

    give each line of your database of ID.

    then pass this value to ID the press of button to a PHP script, that something like:

    $deleteID = $_POST["delID"];
    
    mysql_query("DELETE FROM exampleTable WHERE ID='$deleteID
    '");
    

    maybe check if a line with this ID exists primarily for verification, then go back a value that indicates whether the deletion was successful or not.

    You can delete on other values, but remember they must be unique in the database, otherwise you run the risk of clear multiple values.

    Or you could delete on a compound key, based on the data that you store in the grid.

  • I get this error with my login form, I did, but I'm not sure if this is a problem with my php code or

    I get this error with my login form when I try to log in, but I'm not sure if this is a problem with my php code or my flex code!

    ReferenceError: Error #1069: loginsuccess property not found on string and there is no default value.
    CBC::main/checkLogin()
    CBC::main/__login_user_result()
    to flash. events::EventDispatcher / dispatchEv...
    to flash. events::EventDispatcher / dispatchEv...
    to HTTPOperation / http://www.Adobe.com/2006/Flex/MX/internal:dispatchRpcEvent ()
    to mx.rpc::AbstractInvoker / http://www.Adobe.com/2006/Flex/MX/internal:resultHandler ()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    to the DirectHTTPMessageResponder/completeHandl...
    to flash. events::EventDispatcher / dispatchEv...
    to flash. events::EventDispatcher / dispatchEv...
    at flash.net::URLLoader/onComplete()


    my php code is:


    [php] <? PHP

    define ("DATABASE_SERVER", "localhost");

    define ('DATABASE_USERNAME","f4r");

    define ('DATABASE_PASSWORD', 'cool23');

    define ('database_name', 'bignixs1');

    connect to the database

    $mysql = mysql_connect (DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD) or die (mysql_error ());

    Select the database

    @mysql_select_db (DATABASE_NAME);

    re-branded the data passed from Flex to variables

    $username = mysql_real_escape_string ($_POST ["usernam...)

    $password = mysql_real_escape_string ($_POST ["passwor...)

    Ask the database to see if the combination of username/password given name is valid.

    $query = "SELECT * from users WHERE username = 'username' AND password = 'password" ";

    $result = mysql_fetch_array (mysql_query ($query));

    start generating XML

    $output = "< loginsuccess > ';

    If the query returned true, exit < loginsuccess > Yes < / loginsuccess > other output < loginsuccess > not < / loginsuccess >

    if(!$result)

    {

    $output. = « no » ;

    } else {}

    $output. = "yes";

    }

    $output. = "< / loginsuccess > ';

    all the XML for output

    print ($output);

    ? > [/php]

    $query = "SELECT * from users WHERE username = 'username' AND password = 'password" ";

    should be

    $query = "SELECT * FROM users WHERE username = '$username' AND password =  '$password'";
    

    example of a system of working with the correct connection code flex & php to ensure:

    http://www.mattlefevre.com/viewExample.php?tut=flexPHP&proj=simple%20Login%20Application

  • Display of Images stored on a server in Flex

    My original idea for my application had to have live thumbnails of websites by screenshotting an html element in the application and registration of these screenshots as jpg which is applied as the source of the image. I realize it's a bit too unstable, as if the site load no images are not displayed. What I want to do is to use the same idea, but instead of the application to write to the application directory to write to a server where the pictures are stored so that it will overwrite these images.

    What I need to know is how display server images stored in flex into an image element or a collection of table so they can be applied to a tilelist component. The problem is that I have no experience in the use of data with flex server-side. Can someone point me in the direction to some examples/tutorials on how to display the Server stored data or more specifically images in a flex application or give me advice on this? See you soon.

    a quick and easy way to do it would be with PHP.

    Make a script, analyze a server folder and return the results in an XML format that can just be fed in a datagrid/tilelist/whatever. To give you some tips of what to look in.

    You will need an initial request of HTTPService pulled to the php script. The PHP script will then scan through the folder find all images, I would recommend the glob() function in PHP to do that. for example:

    Print "";

    foreach (glob("directory/*.jpg") as $filename) {}
    Print"".» $filename. " Directory /". $filename. " »"
    }

    Print ""; "

    then you will need handle the result event, just to feed each element in its respective place and your daa.

    There are plenty of examples around this same principle of methodology like this:

    http://www.vipercreations.com/tutorials.php?t=28&page=1&c=Adobe%20Flex

    and I don't know if you are looking around 'flex php Gallery' on google you might still find a very relevant example.

Maybe you are looking for

  • How to tell - allow a site using Flash Player, when I accidentally approved it?

    I hosted a site run Adobe Flash Player and then I clicked on do not forget instead of this time exclusively. How can I remove the site from Firefox remembering site. There must be a list somewhere in Firefox where I can remove the Web site. Thank you

  • Old problem with Spotlight and Word .docx files

    There is an old problem with Spotlight not finding the Word .docx files.  You can find old discussions about it since 2008.  But despite this problem being old has never been resolved. The essence of the issue is that Spotlight relies on a variety of

  • A7-30TC tablet on USB external disk connection

    Hi, a bit a rookie here! I copied about 70 GB of music from my PC to an external hard drive 500 GB, which I now want to connect to my tablet, so I can play the music. However, the Tablet does not recognize external storage at all (it does not appear

  • How does the historical Data.vi rename? I get the error-1967386622

    What format is required for entries to rename history Data.vi? No matter what I try, I can't make it work, I get the error-1967386622: HIST_RenameNodesCORE.VI, Citadel: (Hex 0x8ABC1002) the item specified, like computer, path or a folder cannot be fo

  • Can I reinstall Windows XP system safe fonts?

    Is it possible to reinstall some or all the fonts in the system without having to repair or reinstall the operating system? Recently, I did this and do not want to have to reinstall all my applications and drivers, if I can avoid it. Thank you.