XML updated by php

i write everything in this zip archive and explaine more
detailed what i want to do
please help me.i whant to update xml list with php
http://rapidshare.com/files/75860277/MP3.zip
please help

i write everything in this zip archive and explaine more
detailed what i want to do
please help me.i whant to update xml list with php
http://rapidshare.com/files/75860277/MP3.zip
please help

Similar Messages

  • Does anyone know how to update/recompile PHP to include IMAP?

    I've just installed phplist (http://www.phplist.com/), which is a newsletter mailer based on php. Some of the features require that IMAP be installed with the php installation. Evidently Apple's OSX install does not include IMAP in PHP by default, but presumably IMAP can be added if PHP is recompiled. (See http://www.php.net/manual/en/ref.imap.php). I was planning on updating PHP using Alex's very helpful tutorial, available at http://osx.topicdesk.com/content/category/4/18/62/, and at the same time adding IMAP.
    Altho Alex does not touch on IMAP in his tutorial, I believe that to includ IMAP in the PHP installation, the configuration string must include "--with-imap-ssl=/sw --with-imap=/usr/share/c-client", or something similar. In any event, it seems that "c-client" does not live in /usr/share nor anywhere on my system, so I have not attempted an installation so far.
    Does anyone know how to update/recompile PHP to include IMAP? And if "c-client" is required, how do I intall that first?

    Disregard last post--that was a non-starter, but I think I have a successful installation, which I will post here as the documentation on this from php and from phplist is pretty bad:
    First get and compile the c-client library, which is necessary for those wanting to run phplist:
    sudo mkdir -p /SourceCache
    cd /SourceCache
    sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
    sudo tar xzf c-client.tar.Z
    cd imap-2006h
    sudo make oxp
    sudo mkdir lib
    sudo mkdir include
    Next open /SourceCache/c-client and drag all the */.h files (including the aliases) into “include.” Then drag all the */.c files (aliases too) into “lib”.
    Find “c-client.a” and change name to "libc-client.a" and place in the lib folder.
    Correct permissions on lib and include.
    Finally install php (cheers to Alex) as follows:
    cd /SourceCache
    sudo curl –O http://us.php.net/distributions/php-4.4.7.tar.gz
    sudo tar xzpf php-4.4.7.tar.gz
    cd /SourceCache/php-4.4.7
    sh
    CFLAGS=-DBIND8COMPAT
    export CFLAGS
    sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-mysql=/usr --with-mysql-sock=/var/mysql/mysql.sock --with-imap=/SouceCache/imap-2006h --without-pear
    sudo make
    sudo make install
    sudo apachectl graceful restart
    exit
    One last question, Alex: can I safely delete the SourceCache folder now that the installation is complete? My only concern is that the config string points to items in the folder, and I'm wondering whether I ought to have placed them inside /usr/share instead of SourceCache, or doesn't it make a difference?
    Lost count Mac OS X (10.4.9)

  • How to update the PHP Class Service back in Flash Builder 4

    I'm not sure if my post title makes any sense or not but let me explain.  I've been working on an application in Flash Builder 4 using the ZendFramework and PHP services and everything is work great. the problem I have is after I make changes to my services PHP class (edit php file that has my functions in it), how to I updated those functions in the Flash builder application?
    For example, I needed to pass a second object into one of my function in my PHP class and after I edited the file and saved it, I don't see the changes in the Flash builder 4 application. Is there a button I can run to update the PHP class back in Flash Builder?
    Thanks,
    John Baranowski

    How do you use Flash Builder to regenerate the code for the same PHP service I connected to prior? When I first connected to the PHP service Flash Builder automatically built a package with all kinds of actionscript functions in it. I added a function to my PHP Class file server side and I need help on how to update the package back in Flex to see my new function. Can anyone help me??
    -John

  • Re:XML update

    Hello Gurus ,
    i want to write a procedure for xml update ,
    consider,
    a table department consisting depart_no,depart_name,emp_Personal_info here emp_personal_info is a column of xmltype
    having data like (for a single department)(FOR DEPTNO 5801)
    <EMP>
      <EMPPERSONALINFO>
        <id>1</id>
        <name>x1</name>
        <join_date>12/2/2013</join_date>
        <work_station_no>LYH043897</work_station_no>
        <date_of_birth>2/2/1982</date_of_birth>
      </EMPPERSONALINFO>
      <EMPPERSONALINFO>
        <id>2</id>
        <name>x2</name>
        <join_date>2/5/2013</join_date>
        <work_station_no>LYH043898</work_station_no>
        <date_of_birth>30/5/1982</date_of_birth>
      </EMPPERSONALINFO>
    </EMP>a each department is holding information of over 100 employees(up to <id>100</id>)
    now i want to update emppersonal info with a new attribute <mainbranch>with a default data based on department number
    required output:
    <EMP>
      <EMPPERSONALINFO>
        <id>1</id>
        <name>x1</name>
        <join_date>12/2/2013</join_date>
        <work_station_no>LYH043897</work_station_no>
        <date_of_birth>2/2/1982'</date_of_birth>
        <mainbranch>CZDS</MAINBRANCH>
      </EMPPERSONALINFO>
      <EMPPERSONALINFO>
        <id>2</id>
        <name>x2</name>
        <join_date>2/5/2013</join_date>
        <work_station_no>LYH043898</work_station_no>
        <date_of_birth>30/5/1982</date_of_birth>
      <mainbranch>CZDS</MAINBRANCH>
      </EMPPERSONALINFO>
    </EMP>kindly guide me,
    regards,
    friend

    Hi,
    What's the database version?
    You've posted enough here to know how to properly ask a question.
    now i want to update emppersonal info with a new attribute <mainbranch>with a default data based on department numberYou wouldn't have such issue if the data model was correctly designed in the first place, using 3rd NF, i.e. with a separate child table to hold employee information.
    You can use insertchildXML or appendChildXML functions :
    SQL> update department t
      2  set t.emp_personal_info =
      3      insertchildxml(
      4        t.emp_personal_info
      5      , '/EMP/EMPPERSONALINFO'
      6      , 'mainbranch'
      7      , xmlelement("mainbranch", 'D' || t.dept_no)
      8      )
      9  where t.dept_no = 5801 ;
    1 row updated
    SQL> set long 5000
    SQL> select xmlserialize(document emp_personal_info indent) from department;
    XMLSERIALIZE(DOCUMENTEMP_PERSO
    <EMP>
      <EMPPERSONALINFO>
        <id>1</id>
        <name>x1</name>
        <join_date>12/2/2013</join_date>
        <work_station_no>LYH043897</work_station_no>
        <date_of_birth>2/2/1982</date_of_birth>
        <mainbranch>D5801</mainbranch>
      </EMPPERSONALINFO>
      <EMPPERSONALINFO>
        <id>2</id>
        <name>x2</name>
        <join_date>2/5/2013</join_date>
        <work_station_no>LYH043898</work_station_no>
        <date_of_birth>30/5/1982</date_of_birth>
        <mainbranch>D5801</mainbranch>
      </EMPPERSONALINFO>
    </EMP>
    These XML DML functions are deprecated as of 11.2.0.3 in favor of XQuery Update.

  • ITunes tantrum - xml update, lost songs, data1.cab errors

    Hi All,
    In the last couple of days my iTunes has thrown a real tantrum.
    When I switched on iTunes on the PC two days ago, it didn't come up straight away, instead it said it was updating the XML. This went on for ages, so thinking it was just one of those wonky start-ups, I hit cancel and loaded it again - the result half my songs were missing - about 3500 gone.
    I had a back-up of the xml & library so I brought those in and ran iTunes again - this time when it did its xml update I let it finish.
    The result was that all the songs added in the last month were gone - so I re-added them.
    The next day I opened it up and the new songs were gone. (It's a 40gb iPod photo, with about 30gb used).
    I decided to update iTunes from v6 to v7 to see if that helped.
    The upload kept failing (sulking about the iTunes & Quicktime .cab files), but after repeated tries it eventually went through.
    I was able to use it that night and re-loaded most of the songs.
    I tried to open iTunes this morning and it tells me that I haven't got Quicktime v7.1.3 installed only v7.1 - however I have checked and I do have v7.1.3 installed.
    I've tried to re-download the 34mb iTunes 7 setup exe from the Apple site and all it sends is an uncertified file of varying size between 70 & 700mb, which can't run anyway.
    I tried loading the original iTunes software from the disk, but it's kicked out straight away due to a later version being in place.
    Please help, I've tried all the options my tiny brain can offer.
    Thanks,
    Paul

    Paul,
    Whilst it's possible you may get help in this Forum, you have a much better chance if you re post in the iTunes/Windows forum which is here.
    http://discussions.apple.com/forum.jspa?forumID=792
    There are experts there who rarely visit the iPod forums.

  • ITunes tantrum - xml update, lost songs, not recognising new Quicktime

    Hi All,
    In the last couple of days my iTunes has thrown a real tantrum.
    When I switched on iTunes on the PC two days ago, it didn't come up straight away, instead it said it was updating the XML. This went on for ages, so thinking it was just one of those wonky start-ups, I hit cancel and loaded it again - the result half my songs were missing - about 3500 gone.
    I had a back-up of the xml & library so I brought those in and ran iTunes again - this time when it did its xml update I let it finish.
    The result was that all the songs added in the last month were gone - so I re-added them.
    The next day I opened it up and the new songs were gone. (It's a 40gb iPod photo, with about 30gb used).
    I decided to update iTunes from v6 to v7 to see if that helped.
    The upload kept failing (sulking about the iTunes & Quicktime .cab files), but after repeated tries it eventually went through.
    I was able to use it that night and re-loaded most of the songs.
    I tried to open iTunes this morning and it tells me that I haven't got Quicktime v7.1.3 installed only v7.1 - however I have checked and I do have v7.1.3 installed.
    I've tried to re-download the 34mb iTunes 7 setup exe from the Apple site and all it sends is an uncertified file of varying size between 70 & 700mb, which can't run anyway.
    I tried loading the original iTunes software from the disk, but it's kicked out straight away due to a later version being in place.
    Please help, I've tried all the options my tiny brain can offer.
    Thanks,
    Paul

    Paul,
    Whilst it's possible you may get help in this Forum, you have a much better chance if you re post in the iTunes/Windows forum which is here.
    http://discussions.apple.com/forum.jspa?forumID=792
    There are experts there who rarely visit the iPod forums.

  • How to update combobox that with xml source binding when xml updated in Powershell

    I'm just newbie to WPF & Powershell. Currently have a Powershell program with XAML UI. Herein a combobox control binding a xml file. The problem lays in how can I update the combobox once xml updated? Thanks in advance!

    Hello sihat,
    I've read some articles about using PowerShell and WPF:
    https://msdn.microsoft.com/en-us/magazine/hh288074.aspx
    http://blogs.technet.com/b/heyscriptingguy/archive/2014/04/06/weekend-scripter-build-a-clock-widget-by-using-powershell-and-wpf.aspx
    It seems the steps are all related to using PowerShell to create WPF UI. As the script comes from PowerShell I would think that PowerShell related forum may much better.
    I will introduce things in WPF, if you want to make UI update based on your source,  the source must implement a suitable property change notification mechanism such as
    INotifyPropertyChanged. See
    How to: Implement Property Change Notification for an example of an
    INotifyPropertyChanged implementation.
    For more details about this WPF scenario, please see WPF databinding:
    https://msdn.microsoft.com/en-us/library/ms752347(v=vs.110).aspx
    If you want to do the same in PowerShell, please consider to post on PowerShell related forum to ask how you can write the same script.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Editing a XML file with PHP and HTML or AS2

    Hi webmates...
    I have been looking for a good tutorial on managing an XML
    file through Flash (AS2) or HTML and PHP... but all of what I have
    found at the moment are very confusing and incomplete... the
    examples actually do not work ok...
    Would anyone mind on addressing me any good place where I can
    find nice tutorials for this ? perhaps any example ? I wil really
    appreciate it, My web is already reading the XML file to load
    data... but I also need to create an application for editing this
    XML... thanx in advance...

    I have no experience with any decompilers beyond possibly attempting to trial one once.  The only one I have seen recommended is made by Sothink.
    Here is a link to a page with a tool that has an interface you can use to determine various properties of an swf file, including the Actionscript version.
    http://blog.sitedaniel.com/2009/11/swf-info-width-height-swf-version-actionscript-version- framerate/

  • AS3 gallery with xml written from php/mysql

    I am creating an Image Gallery for products for a company.
    When you click on a product, it takes you to a page with
    description, images, etc.. I have all the data, including file
    names, on a MySQL server. I use php to load the data, and write a
    generic xml file.
    This xml file is re-written everytime someone clicks on a new
    product, so that the correct images from the data base are
    associated with the xml file. The file is then loaded into flash,
    parsed, and used to make up the gallery.
    The problem is, when I publish it on the website, the gallery
    works for the first product selected, but when I go back and choose
    a seperate product, that product gives me the following error when
    trying to display the gallery:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load
    Never Completed.

    Ok I solved the problem by myself. I changed the php like
    this:
    (added header() and change return $xml to echo $xml):
    subscribe.php
    <?php
    header("Content-Type: application/xhtml+xml");
    $sql = mysql_query("...");
    $xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
    $xml .= "<abmeldung>";
    while ($result = mysql_fetch_assoc($sql)) {
    $xml .= "<benutzer>";
    $xml .=
    "<name>".$result['name']."</name><grund>".$result['grund']."</grund>";
    $xml .= "</benutzer>";
    $xml .= "</abmeldung>";
    echo $xml;
    ?>

  • XML Tag in PHP Not Printing

    Hello Guys,
    I am using PHP 5 version and trying to print simple xml tag but its not wotking. The tag is echo '<markers/>'; . If i remove '>' i,e echo '<markers/'; its working fine. What could be the reason ?
    Thanks,

    Reason is quite simple. If your output does not start with <?xml ...?> (it probably does not) then browser undrstands and interprets it as HTML tag. So if you use "view page source" your tag will there.

  • Xml from a php file does not load

    hi
    i have a php file that output an xml ,in order to use it in
    flash.
    when i test the php file in the browser i get the xml i need
    but in flash i get this error message:
    TypeError: Error #1088: The markup in the document following
    the root element must be well-formed.
    at taakexml_fla::MainTimeline/seexml()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    i took the xml i get and made it a separate file (an xml one)
    and i can load it.
    what am i doing wrong?
    best regards
    ron

    Try this php file:
    $xml_output .= "<posts>";
    while($row=mysql_fetch_array($Result)){
    $xml_output .= "<post>";
    $xml_output .=
    "<title>".$row['title']."</title>";
    $xml_output .= "<date>".$row['date']."</date>";
    $xml_output .=
    "<shortdesc>".$row['short_desc']."</shortdesc>";
    $xml_output .=
    "<thepost>".$row['thepost']."</thepost>";
    $xml_output .= "</post>";
    $xml_output .= "</posts>";
    echo $xml_output;
    Flash should do the rest.

  • HTML Tags in XML Update

    I have a unique situation (may be not that unique). I want to update or add HTML tags in an XML element I am writing a PL/SQL Stored Procedure to insert, update or delete elements/attributes from an XML Type column based on the input XML (coming from Java application). SP is called from Java app. For example my XML may loook like
    <Description Name="Sales Message">
    <Text>This is a test</Text>
    </Description>
    I can update this in XML by creatinga SP which accepts a value (clob or text) and make a simple update call like
    UPDATE table_name
    SET hotel_xml = UPDATEXML (hotel_xml, Description[@Name=''Sales Message'']/Text/text()', 'This is a Test')
    WHERE id = 123;
    Hopwever when I have HTML tags in my parameter value, my update fails. For example java pp passes me a string
    This is a bold &lt;B&gt;Test&lt;/B&gt;
    (without encoding it is "This is a Bold <B>Test</B>"
    When I run this
    UPDATE table_name
    SET hotel_xml = UPDATEXML (hotel_xml, Description[@Name=''Sales Message'']/Text/text()', 'This is a bold &lt;B&gt;Test&lt;/B&gt;')
    WHERE id = 123;
    It thinks, I am passing a substitution variable (think &lt and &gt as sub variables) and the procedure fails.
    How do I handle HTML encoded charcters in Oarcle Pl/SQL? Many of my SPs has to accept XML as clob that may contain HTML encoding. Java always encodes HTML tags in an XML so I have to pass the CLOB(xml) to a SP as it is

    When this type of encoding is there in my XML or input variable, PL/SQL thinks
    its a substitution variable and tries to replace it by prompting replacement. I think »substitution variables« is the wrong phrase for this. Probably you mean »entity names«, and all that happens is that special characters are converted to »entity names« to ensure valid xml after the update:
    SQL> with table_name as (
    select xmltype('<Description Name="Sales Message">
                       <Text>This is a test</Text>
                     </Description>') hotel_xml from dual)
    select updatexml (hotel_xml,
                      'Description[@Name="Sales Message"]/Text/text()',
                      'This is a bold <B>Test</B>'
                     ) hotel_xml
      from table_name
    HOTEL_XML                                                                                             
    <Description Name="Sales Message"><Text>This is a bold &amp;lt;B&amp;gt;Test&amp;lt;/B&amp;gt;</Text></Description> Do you expect your result to look like
    <Description Name="Sales Message">
      <Text>This is a bold <B>Test</B></Text>
    </Description>??

  • XML update a query?

    Hey, I'm trying to get an xml query to work which when you click a button will load the next items on the xml structure.
    so like
    private var currentQueryNumber : uint = 0;
    private function updateQuery(no:uint){
         {currentQueryNumber + 1};}
    isn't right...
    Anyone able to help me in what I should be putting.

    I think we need more details, and simplified yet "complete" code.
    How is currentQueryNumber used to update the query?
    Need more details.

  • XML updating --Urgent!

    Hi,
    I'm able to extract the Document out of the XML stored in the DB. I'm doing some changes like inserting new elements and removing some elements from the Document. How do I save the new Document back to the database?
    The following is the code fragment:
    String queryStr = "select e.xmlcol from TEMP_XML_AP e where e.fname='pid_cn_cn_ap_all_big.series_u_1115.xml'";
    OraclePreparedStatement ostmt = (OraclePreparedStatement)con.prepareStatement(queryStr);
    ResultSet rs = ostmt.executeQuery();
    OracleResultSet orset = (OracleResultSet)rs;
    while(orset.next())
    {  OPAQUE op = orset.getOPAQUE(1);
    XMLType theXML = XMLType.createXML(op);//;
    Document doc = (Document)theXML.getDOM();
    //add new element
    doc.createTextNode("TEST");
    //remove child
    doc.removeChild("xyz");
    Please tell me how to store back the updated document.
    Thanks

    You'll have a lot more luck with this question on dot.net
    forum than here.
    I use dot.net to return xml, but I have never used
    XMLSerializer.
    Tracy

  • XML Update

    I have a question for updating an xml document.
    I will show it on an example. I have follow xml document as xml type in the db.
    <EMPLOYEES>
    <EMP>
    <EMPNO>112</EMPNO>
    <EMPNAME>Joe</EMPNAME>
    <SALARY>50000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>217</EMPNO>
    <EMPNAME>Jane</EMPNAME>
    <SALARY>60000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>412</EMPNO>
    <EMPNAME>Jack</EMPNAME>
    <SALARY>40000</SALARY>
    </EMP>
    </EMPLOYEES>
    I know how to update the existing elements(change the EMPNAME or SALSRY) but how can i add a new EMP. The result should like this:
    <EMP>
    <EMPNO>112</EMPNO>
    <EMPNAME>Joe</EMPNAME>
    <SALARY>50000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>217</EMPNO>
    <EMPNAME>Jane</EMPNAME>
    <SALARY>60000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>412</EMPNO>
    <EMPNAME>Jack</EMPNAME>
    <SALARY>40000</SALARY>
    </EMP>
    <--begin new element -->
    <EMP>
    <EMPNO>111</EMPNO>
    <EMPNAME>NEW</EMPNAME>
    <SALARY>1111</SALARY>
    </EMP>
    <-- end new element -->
    </EMPLOYEES>
    Is this possible with XMLupdate???

    Today in 9.2 and 10.1 you have to the DBMS_XMLDOM package. In 10.2 there will be new SQL functions insertChildXML(), appendChildXML() deleteXML() to do this

Maybe you are looking for

  • Saving out .tiff to .jpeg using "Save As"

    Hi peoples, I hope you can help me with this saving out issue i have, If i open a .tiff from lightroom into photoshop cs6 with LR adjustments, I click "save as" .JPEG in a new location, I am now editing the .jpeg and not the tiff. Yet if I open the s

  • HT2534 The none button is not exist? So what is the problem?

    Iv tried so many times to review my payment info in order for me to download free apps in the store... but seems like the 'none' button is not exist... what did i missd?

  • Excel 2013 RTD links / macro stopped working

    I have a new laptop with Windows 8.1 and Office 2013 that was pulling in data via an RTD link into excel without problems until a couple of days ago.  The same system works perfectly with XP and Excel 2010.  I reinstalled the application (Prophet X)

  • IPhone back up content with iCloud

    My iPhone 4s will not back up due to limited space.  I have gone through my emails, there were MANY MANY MANY!!! deleted all unnecessary sent, received, trash etc....the last time my phone back up was may 24th.  Apperently what's taking up so much sp

  • Real slow mo using HDV-SD50P codec?

    Hi, I need to incorporate material shot in HDV-SD50 into a DVCPro HD 1080i50 project for a smooth slow motion sequence. What I am wondering is, whether I can do this in Compressor, and what my best solution is for minimising quality loss when includi