Communication problem MYSQL PHP XML Flash.

I have driven myself into a corner with this so I hope someone here knows a solution.
I am building a photogallery with a simple html layout but with a flash slideshow.
The data for each album and photo are stored in a mysql database. Each photo-image is in one big folder on the server. With PHP I sort out which photo belongs to what album and display them accordingly. To start the slideshow people can click on a link near the album, this link will send a < href> with the album ID to an PHP file (xml.php) that will generated an XML output created from the MYSQL server. Here comes my problem:
Loading XML into flash is no problem BUT I only know how to do this with a static or self supporting XML output. (xml.php needs the input of the album ID else it will not get the correct data). For now I have a temporary solution where I write the XML output from xml.php to a txt file and let Flash read from there, but is there a way where I can read directly from xml.php?

Echo your formatted xml out as a string in xml.php, Flash will then read your dynamically generated XML.

Similar Messages

  • Can someone please help me on basic info of PHP&XML&Flash

    i want to go into displaying information from the MySQL
    database into Flash Grid.... How can I do that and what tutorials
    will guide me through to be able to that....?
    Ayo

    For starters, read the Help Docs in Flash on Data
    Integration. There's even a tutorial in Flash 8 called "Flash and
    PHP Integration." Then you might want to Google "flash php xml
    tutorial" which returns plenty of stuff to keep you reading for a
    while.
    Good luck!

  • Recordset problem mysql / php

    Hi
    Having a problem that I can't find a way out of. I am trying
    to create a recordset on a php / mysql setup not on my local
    machine though. I am getting an error of 500 internal server error
    when testing the connection. In the recordset builder I can see the
    db and the tables ok but when I click test I get the error. It is
    happening every time. Any ideas?

    www.DwFAQ.info wrote:
    Well when I first saw your screenshot of Recordset window I was wondering what parameter you were filtering about_id against. First now all I see is the characters *** in the drop-down option. You should pick something like URL parameter, Session Variable, Entered Value, etc. something to filter about_id against, ya know?
    That was the problem it wouldnt display session variable or or any of the other options it would only display *** no matter what I was trying to filter against....  Wasnt a huge deal since i could just hand code it but the wizard is faster
    I nuked the configuration folder and that seemed to have taken care of the problem..

  • MySQL PHP XML not sorted in the right order

    Hi, maybe someone can point out to me where I go wrong.
    I use an XML derived with PHP from a MySQL database to loop through a series of pictures.
    The XML I get from a database query gets sorted in the wrong order.
    I try to sort it by orde (is a columnname) but it keeps sorting by the ID.
    Any help is greatly appreciated.
    Thanks
    This is the PHP code to create the XML:
    $link = mysql_connect("localhost", "xxxx", "xxxxxxxxx");
    mysql_select_db("xxxxxxxxxxx");
    $query = 'SELECT * FROM gallery WHERE categorie = "dessin" ORDER BY "orde" ASC';
    $results = mysql_query($query);
    echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";
    echo "<dataLoaded>\n";
    while ($line = mysql_fetch_assoc($results)) {
    echo "<galerie>\n";
    echo "<id>" . $line["gallery_id"] . "</id>\n";
    echo "<orde>" . $line["orde"] . "</orde>\n";
    echo "<image><![CDATA[" . $line["starturl"] . $line["image"] . $line["endurl"] . "]]></image>\n";
    echo "</galerie>\n";
    echo "</dataLoaded>\n";
    mysql_close($link);

    Thanks Kglad. Didn't work though.
    I also looked it up in the PHP reference with mysql_fetch_row you need to specify a single row I understand.
    In this case it might be many and the number differs.
    But I found the solution. I removed the quotes around orde and now it works.
    $query = 'SELECT orde, starturl, image, endurl FROM gallery WHERE categorie ="dessin" ORDER BY orde ASC';
    Nevertheless thank you and others for the great help on these forums.
    Jos

  • XML, PHP and Flash forms

    After searching several tutorials and forum posts, I still am
    puzzled at how to get started on this.
    I want to enable my client to upload changes to the XML file
    used on his site without knowing anything about XML. He also wants
    to upload images which are referenced in the XML. So, I am assuming
    that I create a form that allows him to type in changes to sections
    and select an image on his local drive and submit it to a PHP
    script on the server which will, in turn generate/update the XML
    and upload the image(s).
    Is this correct or am I going about it the wrong way? Of
    course, I should just tell him he'll have to pay me to update the
    site. ;-) I'm really confused about how to start this whole thing
    in the planning stage. I just need a little direction then I can
    research the rest.
    thanks!

    aniebel wrote:
    > So, do I make fields (variables) for each node in the
    XML? And can I use any
    > PHP script that converts my loadvars to XML? I'm not
    sure what to search for,
    > specifically. I hope I'm not in over my head but it
    seems getting into these
    > predicaments is a great way to learn.
    >
    are you making this admin interface in flash then? personally
    I would
    steer clear of that as it will be harder to debug - doing it
    in HTML
    will be much more straightforward, and if you do it right you
    can change
    to using a flash front end in future.
    Handling file uploads in PHP is a little tricky but there are
    loads of
    good pages of advice on using PHP on the web. Here's a good
    place to
    start as there's lots of notes by other users:
    http://us2.php.net/manual/en/function.is-uploaded-file.php
    XML with PHP I have only done once - and I think that was
    just reading
    it and not writing it. Should be OK though, again, lots of
    help
    available online!
    MOLOKO
    Macromedia Certified Flash MX 2004 Developer
    Macromedia Certified Flash MX Developer
    ::remove _underwear_ to reply::
    'There ain't no devil - it's just God when he's drunk' Tom
    Waits
    GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+
    w+++$ !O M+
    VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e
    h-- r+ y++

  • Contact.php file for my XML, Flash based contact form

    I am trying to create a contact.php file for my XML, Flash based contact form.
    Anybody know some good tutorials Please introduce me !
    Amanda Nguyen

    I think that I should post the 2 .xml files here:
    structure.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <contactFormStructure>
    <formItems>
      <item id="1" label="Name" required="true" />
    <item id="2" label="E-mail" required="true">
      <validator>EmailValidator</validator>
    </item>
      <item id="3" label="Message" required="true" />
    </formItems>
      </contactFormStructure>
    configuration.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <contactFormConfiguration>
    <emailTo>[email protected]</emailTo>
    <serverProcessorType>php</serverProcessorType>
    <serverProcessorFileName>contact</serverProcessorFileName>
    <validateRequiredOnly>false</validateRequiredOnly>
    <submitFormOnEnter>true</submitFormOnEnter>
    <messageSentText>Thank you for your message.</messageSentText>
    <messageSentFailedText>The form is not submitted.</messageSentFailedText>
    <formProcessingText>processing...</formProcessingText> 
    <plainText>false</plainText>
    <emailFromSource>2</emailFromSource>
    <subjectSource>Contact Form from your site</subjectSource>
    <validationErrorMessages>
    <message type="fieldIsRequired">{LABEL} is required.</message>
    <message type="emailNotValid">{LABEL} - is not valid email address.</message>
    <message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less
    than a required minimum.</message>
    <message type="reqExpError">{LABEL} - The specified string does not match with the regular
    expression.</message>
    <message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable
    biggest number for this field.</message>
    <message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable
    lowest number for this field.</message>
    <message type="notANumberError">{LABEL} - The data is not a number.</message>
    <message type="negativeError">{LABEL} - The specified number must not be negative.</message>
    <message type="minRequirementError">{LABEL} - The minimum number of variants is not
    selected</message>
    <message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the
    maximum</message>
    <message type="shouldBeEqualError">{LABEL} - values do not match</message>
    <message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
    </validationErrorMessages>
    </contactFormConfiguration>
    I am working and learning and I would like to create the contact.php for my contact form.
    Please help !
    Amanda

  • Communication problem between NetBeans and Tomcat

    hi!
    i got a quite mysterious problem. here is what happens:
    - i start NetBeans 5.5.1 (the first time)
    - i want to debug my JSF-Project, the Debugger starts
    - After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
    - Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
    okay.
    when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
    In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
    And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
    so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
    But the story goes on:
    When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
    i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
    thanks,
    flo.
    some system-info:
    - windows vista business 32-bit
    - no firewall is running
    - AntiVir Personal Edition IS running
    - Yahoo Widgets Engine IS running
    - no other software is running
    and finally the tomcat-log:
    Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
    Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
    Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
    Listening for transport dt_shmem at address: tomcat_shared_memory_id
    21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
    21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1862 ms
    21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    21.09.2007 18:27:54 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3626 ms

    As i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
    I hope this help you

  • Problem displaying php page in dreamweaver

    I am having problems displaying php scripting on dreamweaver.
    Need your advice.
    Installed dreamweaver 8, Coldfusion 7, mysql, php5.2 (using
    windows installer).
    Created file test.php ror testing containing
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    date is:<b><?php echo Hello ?></b>
    </body>
    </html>

    ulises_arsi wrote:
    > I am having problems displaying php scripting on
    dreamweaver.
    Tell us what the problems are.
    > Installed dreamweaver 8, Coldfusion 7, mysql, php5.2
    (using windows installer).
    PHP needs to be configured with a web server, such as Apache
    or IIS.
    ColdFusion is also a webserver, but as far as I know, it
    cannot be
    configured to serve PHP pages.
    > date is:
    <?php echo Hello ?>
    The only thing that would display is an error message. Hello
    needs to be
    enclosed in quotes:
    <?php echo 'Hello'; ?>
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Bootstrap + mysql + php: robust solution for an educational dashboard?

    Hi. We are just beginning work on a dashboard for educational purposes. We need to show data tables of sts progress, notes etc...
    Kind of like the following tables:
    http://www.dreambox.com/district-reports
    We have downloaded a template based on bootstrap. It is all pretty easy except for the data integration. Before we were using flash datagrids and were also looking at flex components which were very easy to use. The questions are:
    1. Can we get the same "power" for our data tables/data grids with bootstrap "ready made" plugin ins.
    2. To replicate the datadrid in flash what do we use in bootstrap - ajax datatable or a j query plug in.
    3. How do we connect up the mysql + php + datagrid. Would it be very similar to an AS3 + php + mysql solution?
    Basically, is bootstrap html5 + CSS a viable robust solution to producing an educational dashboard.
    I use the term plugin because I don't think you call them components or widgets.
    You must also know that this will be on an enterprise level and there should be around 10,000 active users - not at the same time obviously. We will be hiring a freelancer or part tim staff to implement and maintain but we do need to know which way to go first.
    Pretty broad questions maybe, just trying to find my way and study up on what I am supposed to be studying up on. I am on Lynda.com which is OK but I need some guys creating these things to give me advice and point us in the right direction.
    Cheers in advance.

    Hi - thank you Nancy - I should get really specific now.
    I spent quite a few hours investigating and here's the run down.
    1. php + mysqli: Pretty easy as it is the same workflow as I use in flash - I was just a bit thrown by the html part and still have a few questions.
    I will post the link to the very clean and easy to follow mysql + php implementation on html tables just in case any newbies are following the post.
    http://www.sourcecodetuts.com/php/18/how-create-secure-registration-page-phpmysql-part-ii
        mysqli - they seem to use the "improved" mysqli now and this code seems to be very professional with encryption etc...
    My question is which is the best method for handling the recordset back from the database.
    1. In flash we used to use XML serialized which is easy for flash objects to pick up and then display in the datagrid tables.
    2. The example in the next link echos it out in the html table format which sounds very obvious but not sure if it is correct as I have never dome that before.
    http://www.sourcecodetuts.com/php/40/creating-and-populating-table-mysql-data-using-twitte r-bootstrap-framework
    while ($row = mysql_fetch_array($result)) {
        // Print out the contents of the entry
        echo '<tr>';
        echo '<td>' . $row['firstname'] . '</td>';
        echo '<td>' . $row['lastname'] . '</td>';
        echo '<td>' . $row['email'] . '</td>';
        echo '<td>' . $row['phone'] . '</td>';
    3. However I am more used to dealing with an object returned and then dealt with in flash BUT a simple html table couldn't deal with that so - I have just started reading re: ajax or javascript. Are they the best way to handle data returned from a database. As I say this dashboard wil have to be used my many thousands and we will be creating various tables with multiple parameters inputted via dropdown box lists.
    My workflow in flash - would it be javascript that would replicate that functionality or do I just echo out in tr and td tags as in above - seems to basic.
    Sorry about repeating mysel above and going on and on but I hace finally got there - just missing the last part in the puzzle.
    Cheers

  • Php - Data - Flash

    Hi all,
    this is my first post I'm a newbee teaching myself, so i hope
    I'm Clear
    I have No problems inserting data from flash to PHP into
    MySQL,
    it's sendind them back properlly.
    All I'd like to see happen is for one row of data to be
    inserted into a dynamic text field.
    here's what i've got
    if i access this php file, it prints out a vertical list from
    a single MySQL row,
    I was happy.
    $query = "select row from table";
    $result = mysql_query($query, $db);
    while($row = mysql_fetch_row($result))
    print "$row[0]<BR>\n";
    From flash :
    I created a dynamic text field w/ an instance, my_to.
    var lv:LoadVars = new LoadVars();
    lv.load ("data.php");
    lv.onLoad = function(){
    my_to.text = lv;
    and Instead of the vertical list (which i would love to see)
    i get an unparsed data array.
    I can't imagine i'm to far off,
    what am I missing?
    I hope not alot
    Alex

    You should use amfphp. It's flash remoting with php. It's
    much cleaner integration.
    http://www.amfphp.org
    Otherwise, to use loadvars, you have to export your data from
    php like this: "name1=$row[0]&name2=$row[1]..."
    then in flash use: lv.name1 will equal $row[0]

  • Communication problem from the vpn-anyconnect to easy-vpn-remote

    Hi Team,
    I have a communication problem from the vpn-anyconnect to easy-vpn-remote, I´ll explain better bellow and see the attached
    topology:
    1) VPN Tunnel between HQ to Branch Office - That´s OK
    2) VPN Tunnel between Client AnyConnect to HQ - That´s OK
    The idea is that the Client Anyconnect is to reach the LAN at Branch Office, but did not reach.
    The communication is stablished just when I start a session (icmp and/or rdp) from Branch Office to the Client AnyConnect,
    in this way, the communication is OK, but just during a few minutes.
    Could you help me?
    Bellow the IOS version and configurations
    ASA5505 Version 8.4(7)23 (headquarters)
    ASA5505 Version 8.4(7)23 (Branch)
    **************** Configuration Easy VPN Server (HQ) **************** 
    crypto dynamic-map DYNAMIC-MAP 5 set ikev1 transform-set ESP-AES-256-SHA
    crypto map outside-link-2_map 1 ipsec-isakmp dynamic DYNAMIC-MAP
    crypto map outside-link-2_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
    crypto map outside-link-2_map interface outside-link-2
    access-list ACL_EZVPN standard permit 10.0.0.0 255.255.255.0 
    access-list ACL_EZVPN standard permit 192.168.1.0 255.255.255.0 
    access-list ACL_EZVPN standard permit 192.168.50.0 255.255.255.0 
    access-list ACL_EZVPN standard permit 10.10.0.0 255.255.255.0 
    group-policy EZVPN_GP internal
    group-policy EZVPN_GP attributes
     split-tunnel-policy tunnelspecified
     split-tunnel-network-list value ACL_EZVPN
     nem enable 
    tunnel-group EZVPN_TG type remote-access
    tunnel-group EZVPN_TG general-attributes
     default-group-policy EZVPN_GP
    tunnel-group EZVPN_TG ipsec-attributes
     ikev1 pre-shared-key *****
    object-group network Obj_VPN_anyconnect-local
     network-object 192.168.1.0 255.255.255.0
     network-object 192.168.15.0 255.255.255.0
    object-group network Obj-VPN-anyconnect-remote
     network-object 192.168.50.0 255.255.255.0
    object-group network NAT_EZVPN_Source
     network-object 192.168.1.0 255.255.255.0
     network-object 10.10.0.0 255.255.255.0
    object-group network NAT_EZVPN_Destination
     network-object 10.0.0.0 255.255.255.0
    nat (inside,outside-link-2) source static Obj_VPN_anyconnect-local Obj_VPN_anyconnect-local destination static Obj-VPN-
    anyconnect-remote Obj-VPN-anyconnect-remote no-proxy-arp route-lookup
    nat (inside,outside-link-2) source static NAT_EZVPN_Source NAT_EZVPN_Source destination static NAT_EZVPN_Destination 
    NAT_EZVPN_Destination no-proxy-arp route-lookup
    nat (outside-link-2,outside-link-2) source static Obj-VPN-anyconnect-remote Obj-VPN-anyconnect-remote destination static 
    NAT_EZVPN_Destination NAT_EZVPN_Destination no-proxy-arp route-lookup
    **************** Configuration VPN AnyConnect (HQ) **************** 
    webvpn
     enable outside-link-2
     default-idle-timeout 60
     anyconnect-essentials
     anyconnect image disk0:/anyconnect-win-2.5.2014-k9.pkg 1
     anyconnect profiles Remote_Connection_for_TS_Users disk0:/remote_connection_for_ts_users.xml
     anyconnect enable
     tunnel-group-list enable
    access-list split-tunnel standard permit 192.168.1.0 255.255.255.0 
    access-list split-tunnel standard permit 192.168.15.0 255.255.255.0 
    access-list split-tunnel standard permit 10.0.0.0 255.255.255.0 
    group-policy clientgroup internal
    group-policy clientgroup attributes
     wins-server none
     dns-server value 192.168.1.41
     vpn-tunnel-protocol ssl-client 
     split-tunnel-policy tunnelspecified
     split-tunnel-network-list value split-tunnel
     default-domain value ipconnection.com.br
     webvpn       
      anyconnect keep-installer installed
      anyconnect ssl rekey time 30
      anyconnect ssl rekey method ssl
      anyconnect profiles value Remote_Connection_for_TS_Users type user
      anyconnect ask none default anyconnect
    tunnel-group sslgroup type remote-access
    tunnel-group sslgroup general-attributes
     address-pool vpnpool
     authentication-server-group DC03
     default-group-policy clientgroup
    tunnel-group sslgroup webvpn-attributes
     group-alias IPConnection-vpn-anyconnect enable
    object-group network Obj_VPN_anyconnect-local
     network-object 192.168.1.0 255.255.255.0
     network-object 192.168.15.0 255.255.255.0
    object-group network Obj-VPN-anyconnect-remote
     network-object 192.168.50.0 255.255.255.0
    object-group network NAT_EZVPN_Source
     network-object 192.168.1.0 255.255.255.0
     network-object 10.10.0.0 255.255.255.0
    object-group network NAT_EZVPN_Destination
     network-object 10.0.0.0 255.255.255.0
    nat (inside,outside-link-2) source static Obj_VPN_anyconnect-local Obj_VPN_anyconnect-local destination static Obj-VPN-
    anyconnect-remote Obj-VPN-anyconnect-remote no-proxy-arp route-lookup
    nat (inside,outside-link-2) source static NAT_EZVPN_Source NAT_EZVPN_Source destination static NAT_EZVPN_Destination 
    NAT_EZVPN_Destination no-proxy-arp route-lookup
    nat (outside-link-2,outside-link-2) source static Obj-VPN-anyconnect-remote Obj-VPN-anyconnect-remote destination static 
    NAT_EZVPN_Destination NAT_EZVPN_Destination no-proxy-arp route-lookup

    Hi,
    the communication works when you send traffic from easyvpn branch side because it froms the IPSEC SA for local subnet and anyconnect HQ pool. The SA will only form when branch initiates the connection as this is dynamic peer connection to HQ ASA.
    when there no SA between branch and HQ for this traffic, HQ ASA has no clue about where to send the traffic from anyconnect to branch network.
    I hope it explains the cause.
    Regards,
    Abaji.

  • Issue with parameter passing in ie7 to php xml

    Hi
    I wondered if anyone could offer a little advice what the issue is here.
    I have a page with xml generated from php in a separte file and presented by a dataset in spry.
    The xml is OK and in firefox it all works but ie seems to barf on it.
    The situation is this:
    I have a jump menu on a front page that provides a url with anumeric parameter passed like this
    platforms.php?platform_id=1
    This parameter is picked up by php on the platforms.php page using the $_GET Array and is passed into the code in my Spry dataset to the file that runs my query and returns my xml- so basically the page displays a dataset filtered on this parameter id.
    It works perfectly in FF.
    In IE if I link straight to the page without a parameter at all- so platforms.php the page loads OK using the default parameter I have set up in the top of this page to send the default id of 1 to the code page so the spry query says platform_sql.php?platform_id=1 and the xml generator is fine with thisiel. ie I do a
    if(isset($_GET['platform_id'])){
                                                                     $platform=$_GET['platform_id'];
    }else{
    $platform=1;
    The dataset loads Ok in IE but when I pass a parameter in the url from my jump menu IE gives a blank SPRY table i- it momentarily appears with just the placeholders for my dataset elements then vanishes. The source code of the page shows the correct id was set in the spry data going to my query file.
    There is an error in ie saying there is a javascript error but its not any help- in ie fashion- FF shown no such errors.
    I thought this might be a data type thing again in the dataset but its not - I have set the elements returned to simple strings but it still does not work.
    Is there a problem passing in a parameter like this to a spry dataset?

    After about half a day of mucking round I found the problem and a solution to this problem.
    What appeared to have happened was that some of the older content in my database used html originally encoded using a WYSWYG editor called ktml.
    Later data uses Tiny MCE. It looks like the character set of the two formats is slightly different and as a result some characters rendered incorrectly when passed through XML parsing where it specifies the character set as utf-8.
    Firefox on the whole seems to ignore the issue though looking at the raw xml output of my php-xml code- where "-" characters were (dashes) there was a question mark character shown. None the less in actual use on my page the xml was produced and the dataset worked out.
    In IE, it barfed at these same characters and failed to return the xml dataset.
    What confused the issue more was some of my smaller datasets if they by chance never had a "-" character in rendered OK in IE- hence my default dataset (platform_id=1) worked in IE. After much experimenting I noticed other ids worked too if there was never such a character.
    How I got round it was to wrap my server side data in the utf8_encode() function, and now all my xml is clean.
    The javascript error being thrown was a red herring though I could not tell until I managed to run my page in ie7 with Visual Studio Express error console running- I had this on a spare machine at work so could debug with it.
    All sorted now- now just need to find away to wrap all my datasets in collapsible panels that work.
    K

  • Looking to Download Leopard Patch File for XML Flash Slideshow Maker?

    Hi I was told that I have to download and install the Leopard
    patch for the extension XML Flash Slideshow to work properly with
    its style wizard (it isnt loading at the moment). I cant seem to
    find it. Is there a source where I can download it.

    atomic king wrote:
    > Hi I was told that I have to download and install the
    Leopard patch for the
    > extension XML Flash Slideshow to work properly with its
    style wizard (it isnt
    > loading at the moment). I cant seem to find it. Is there
    a source where I can
    > download it.
    Is the patch you're talking about for Leopard itself, or for
    the extension? If the patch is for Leopard, I'd assume that You'd
    have to get it from Apple, but I don't know where to look for that.
    If the patch is for the extension, then you probably need to go to
    the developer's site to see if the patch is posted there, or
    contact the developer directly to see where this patch may be if
    indeed it is necessary.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Communication problems BW-BPC

    Hi.
    We'va a communication problems in our BW-BPC system, it seems more a basis issue than a BPC configuration problem, but itu2019s the only component affected.
    Version details:
    SAP BPC 7.5 NW installed in:
       - SAP Netweaver 7.01
       - Windows Server 2003
    Since last week we've been getting an error when trying to open xml dynamic templates from the BPC clients. Seems that the communication between BPC .net server and bpc abap server is failing, but we don't realize what could be causing this.
    Everything worked before last Friday. We're running some archiving test in the system, and SNC configuration for a different project (BO) so we assume one of this two processes could have affected the communications, but still didn't found who and how.
    Here are the logs related:
    DEV_RFC:
    Trace file opened at 20120306 104437 MET SAP-REL 701,0,117 RFC-VER nU 3 1200935
    ======> CPIC-CALL: 'ThSAPCMRCV'
    no data received
    ABAP Programm: SAPMSSY1 (Transaction: )
    Called function module: RSDRP_EXECUTE_AT_QUERY_RFC
    User: BPC_SYSADMIN (Client: 222)
    Destination: NONE (handle: 1, 48680463, {4F549CF9-9F93-57D7-E100-0000AC1A5163})
    SERVER> RFC Server Session (handle: 1, 48680463, {4F549CF9-9F93-57D7-E100-0000AC1A5163})
    SERVER> Caller host:
    SERVER> Caller transaction code:  (Caller Program: SAPLRSDRP)
    SERVER> Called function module: RSDRP_EXECUTE_AT_QUERY_RFC
    Error RFCIO_ERROR_NO_DATA in abrfcpic.c : 3481
    CPIC-CALL: 'ThSAPCMRCV'
    no data received
    Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1829
    DEV_WP:
    A Tue Mar  6 10:44:37 2012
    A  RFC 3476  CONVID 48680463
    A   * CMRC=0 DATA=1 STATUS=2 SAPRC=0 ThSAPCMRCV no data received
    A  RFC> ABAP Programm: SAPMSSY1 (Transaction: )
    A  RFC> User: BPC_SYSADMIN (Client: 222)
    A  RFC> Destination: NONE (handle: 1, 48680463, {4F549CF9-9F93-57D7-E100-0000AC1A5163})
    A  RFC> Called function module: RSDRP_EXECUTE_AT_QUERY_RFC
    A  RFC SERVER> RFC Server Session (handle: 1, 48680463, {4F549CF9-9F93-57D7-E100-0000AC1A5163})
    A  RFC SERVER> Caller host:
    A  RFC SERVER> Caller transaction code:  (Caller Program: SAPLRSDRP)
    A  RFC SERVER> Called function module: RSDRP_EXECUTE_AT_QUERY_RFC
    A  *** ERROR => RFC ======> CPIC-CALL: 'ThSAPCMRCV'
    no data received
    [abrfcio.c    8175]
    A  *** ERROR => RFC Error RFCIO_ERROR_NO_DATA in abrfcpic.c : 3481
    CPIC-CALL: 'ThSAPCMRCV'
    no data received
    [abrfcio.c    8175]
    A  RFC 3180  CONVID 48680463
    A   * CMRC=0 DATA=1 STATUS=2 SAPRC=0 comread no data received
    A  *** ERROR => RFC Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1829
    [abrfcio.c    8175]
    Any help would be really appreciated.
    Thanks and regards!!

    Hi Armando
    Try to post your question in SAP Basis section. You might get more help from here.
    Regards
    Sunny

  • XML & Flash: ImageFader Component help

    Item 1
    Tutorial, with built-in (AS 2.0) Flash Component
    http://tutorialoutpost.com/count/7022
    Item 2
    Tutorial/Sample of XML thumbnail, photo, caption file:
    http://www.tutorio.com/tutorial/simple-flash-xml-photogallery/1
    (click 2nd page, go to bottom to download source code)
    Basically, I want to create a portfolio section with the
    components of the basic XML (item 2), but when you click on the
    thumbnails, you dont get that jumpy feeling, rather a smooth
    ImageFader (Item 1)
    Here are the files, or look at the code (Files are a bit more
    helpful)
    http://www.dominicdesign.com/mikegreener/Archive.zip

    For starters, read the Help Docs in Flash on Data
    Integration. There's even a tutorial in Flash 8 called "Flash and
    PHP Integration." Then you might want to Google "flash php xml
    tutorial" which returns plenty of stuff to keep you reading for a
    while.
    Good luck!

Maybe you are looking for

  • Table for Webtemplate and Query mapping

    Hi Experts, Is there any table which has the mapping for BW Web template and the Query on which this Web Template is built. Any help would be highly appreciated. Regards, Rk.

  • T61p does not suspend to sleep or hibernate when idle

    I am running a T61, Windows XP SP3 with all drivers updated and I am experiencing this strange power management problem. Regardless of the settings in the power management, my T61 won't go to sleep or hibernate on its own. But pressing the Fn + F4 or

  • ActiveX Browser Control - PostData?

    Hi, I'm struggling with the activex browser control. I want to be able to post data through it but I can't seem to get the PostData variable filled. E.g. sprite(1).Navigate(URL, "", "", "key=value", "Content-Type: application/x-www-form-urlencoded")

  • JCA and packaging

    I successfully deployed a JCA-compliant resource adapter but ran into trouble when trying to use it from an EJB app. It was throwing a ClassCastException when getting the connection factory class from JNDI, although the object coming from JNDI and th

  • Photoshop Elements 8.01 Patch did not fully install

    HI I checked and it said  8.01 patch  available.  I selected to install it. It ran, then stopped. I closed PS  and then reopened Photoshop and it still says 8.0 but now it does not  say any updates are avaialbe.  I think it do not install correctly.