Now, I KNOW the answer is staring me in the face, but I just can't put my finger on it. SOMEBODY HELP!

Source: http://www.livejournal.com/community/javascript/80251.html

  • Hoo

    Date: 11/07/05 (Computer Help)    Keywords: xml

    Well, I'm trying to install my Comcast cable modem and IU need to set up an account, the installer cmplains I do not have a bropwser that supports XMLHTTP objects. How can I fix this?

    Source: http://www.livejournal.com/community/computer_help/527545.html

  • Linux Worm Exploits PHP XMLRPC Vulnerability

    Date: 11/09/05 (Java Web)    Keywords: php, xml, web, linux

    There are few reports of an attack by a new Linux worm called Lupper which exploits a well known PHP XMLRPC implementation vulnerability. PHP XMLRPC implementation is used in a large number of popular web applications such as PostNuke, Drupal, b2evolution, Xoops, PHPGroupWare, TikiWiki etc. Most of these packages have updated to provide a [...]

    Source: http://blog.taragana.com/index.php/archive/linux-worm-exploits-php-xmlrpc-vulnerability/

  • Asynchronous JavaScript

    Date: 11/11/05 (WebDesign)    Keywords: html, xml, java, microsoft

    I'm building a page and plan on using some Asynchronous JavaScript (AJAX without the XML basically). Anywho, the problem is, it just doesn't seem to work at all.

    I've slowly worked my way through the code and I can't figure out for the life of me why it's just not working. I've tried using alert() to show my progress through the script, but it won't even show the first alert() which I had put before the function even creates it's first variable. I remove the code and leave only the alert() and it pops up.



    function ajaxLauncher()
    {
      var args = ajaxLauncher.arguments;
      var httpRequest = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHTTPRequest();
    
      switch (args[0])
      {
        case "begin_exe"
        {
          alert("Working!");
          setContent();
          ajaxLauncher("show_content", "mainContent[0]", "content");
          break;
        }
        case "show_content"
        {
          if (httpRequest)
          {
            httpRequest.onreadystatechange = function()
            {
              if (httpRequest.readyState == 4 && httpRequest.Status == 200)
              {
                container = document.getElementByID(args[2]);
                container.innerHTML = httpRequest.responseText;
              }
            }
            httpRequest.open("GET", args[1], true);
            httpRequest.send(null);
          }
          break;
        }
      }
    }
    
    function setContent()
    {
      mainContent = new Array();
        mainContent[0] = "index2.html";
    }
    



    I'm calling it on my page's onload event.

    Any help would be very much appreciated.

    x-posted to Tek-Tips.

    Source: http://www.livejournal.com/community/webdesign/1014912.html

  • SimpleXML and its Not So Simple To Use Object Model: Problem & Solution

    Date: 11/17/05 (Java Web)    Keywords: xml

    SimpleXML is simple to use as its name suggests. However it is a pain when you need to check the value of an element which may or may not exist. In short using it on XML schema with optional elements is a royal pain. As SimpleXML only creates objects for which data exists, you will [...]

    Source: http://blog.taragana.com/index.php/archive/simplexml-and-its-not-so-simple-to-use-object-model-problem-solution/

  • SimpleXML doesn’t Work with PHP 5.x: Problem & Solution

    Date: 11/17/05 (Java Web)    Keywords: php, xml

    SimpleXML is PHP 5.x way to handle XML. It is simpler than DOMXML (which incidentally is very poorly documented in manual or elsewhere) which is available on PHP 4.x and much simpler than SAX solutions. However it doesn't work with certain installations of PHP 5.x. Let's see how we can solve it. Problem I first [...]

    Source: http://blog.taragana.com/index.php/archive/simplexml-doesnt-work-with-php-5x-problem-solution/

  • Counting Charcters follow up

    Date: 11/29/05 (Javascript Community)    Keywords: php, xml, java

    The reason for counting characters is to limit the number of characters... so when the count reaches 400, I put up an alert explaining the user has reached the limit.

    However, because I am using onkeypress to count the characters, it still "works" when the Javascript error is up. That then results in the is error in FireFox:

    Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDOMTreeWalker.nextNode]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://global/content/bindings/button.xml :: fireAccessKeyButton :: line 93" data: no]

    My first thought was to trim the message. Didn't work.

    My second thought was to kick the cursor out of the text box with blur.
    if(size > 400)
    {
    gID("MESSAGE").value = gID("MESSAGE").value.substring(0,399);
    gID("MESSAGE").blur();
    alert("During Beta Testing Messages are limited to 400 characters. Your message is "+size+" characters long.");
    }


    But that doesnt seem to work. Any ideas?

    BTW: the PHP does also trims the content - so the issue is just the UI and Javascript error, not the function.



    Solution: Apparently there is a bug in FireFox 1.0.7 Mac that allows onkeypress to continue to work while the alert dialog is displayed. Disabling the text box before the alert, and then re-enabling it after the alert works. It also looks pretty slick. I'll probably do this anytime I have an alert regarding a form.

    Source: http://www.livejournal.com/community/javascript/84773.html

  • XmlHttpRequest Across Sub-Domains

    Date: 11/30/05 (Java Web)    Keywords: xml, web

    As you probably know XmlHttpRequest only works if the request is made to the same web server from which the page was fetched (same origin). Here is a way to communicate across sub-domains using XmlHttpRequest without resorting to reverse proxying. Abe (@ fettig.net) found a solution using iframe and an exception to the "same origin" rule. [...]

    Source: http://blog.taragana.com/index.php/archive/xmlhttprequest-across-sub-domains/

  • Word xml

    Date: 12/01/05 (C Sharp)    Keywords: xml, microsoft

    I have an XSD schema that I used to create an XML document with Microsoft Word. Now, when I have the xml document created with my schema (by Word), how can I, with C# .net 2.0 pick out the nodes' data for elements defined in my xds file and read/update them?

    Source: http://www.livejournal.com/community/csharp/43389.html

  • ./config question...

    Date: 12/02/05 (PHP Community)    Keywords: php, xml, linux

    Still operating off of PHP 4.2.2. I decided tonight was the night for change (and losing hair).

    I am clueless when it comes to linux but that's the OS (Linux 9.0) I got up and running to create an intranet prototype of my site. I've never actually configured PHP before but am trying to get 5.1.1 up and going. From the previous version, apparently Linux enabled a LOT of PHP configurations (according to phpmyadmin). I'm running into a lot of walls errors with libxml and other --with configs. So my question is two part:

    1) what NEEDS to be configured?

    2) If I come back later to configure something else to PHP, do I have to include ALL ./config statements, INLCUDING ones I may have done upon previous configuring?

    (This is why I use windows and Dreamweaver for development :)

    Source: http://www.livejournal.com/community/php/373362.html

  • W3C looks at next-gen voice technologies

    Date: 12/07/05 (Security)    Keywords: xml, web

    The World Wide Web Consortium says next-gen VoiceXML will include specs for speaker verification.

    Source: http://news.zdnet.com/2100-1009_22-5984590.html

  • [SOLVED] Dynamic HTML issue

    Date: 01/02/06 (Javascript Community)    Keywords: php, css, html, xml, java, web

    Hey Guys,

    I have a website i am working on

    http://dev.jamesmandrews.com/

    It's one html file. index.php (not really php just html in a php ext file)
    http://dev.jamesmandrews.com/index.php

    Then one javascript file
    http://dev.jamesmandrews.com/includes/control.js

    And an XML data file
    http://dev.jamesmandrews.com/data/portfolio.xml

    Basically when in Safari and Firefox it does what it's suppose to. When you click on portfolio it builds a grid of album categories, when you click on a category it builds a grid of albums for that category, when you click on the album it builds a grid of images in that album. when you click on the image, it displays the full image alone.

    The problem in IE is that it doesn't listen to my divObj.style.cssFloat="left"; command and I don't understand why not. Looking for some insight.

    Thanks,

    Source: http://www.livejournal.com/community/javascript/89322.html

  • Firefox & RSS-Feeds

    Date: 01/04/06 (Mozilla)    Keywords: rss, xml

    I'm having troubles in adding RSS-Feeds into my bookmarks. Firefox won't show the RSS-Symbol on the sites, although they have RSS-Feeds. When I try to add the links manually they won't work. They are just... empty.

    Here is a screenshot to show what I mean: Screenshot

    The feed itself is a XML-File and I'm confused why it doesn't work, because the RSS from DeviantArt is XML too and that works fine. I have checked the settings of the other feeds and I can't see any difference between them (except the name and the URL).

    I got the links from here: C64.sk (the entry from 4. January, 04:06 am, "RSS feeds of C= Homestead, C64.sk & Slay Radio")

    What is wrong there?

    Source: http://www.livejournal.com/community/mozilla/345641.html

  • web services

    Date: 01/05/06 (PHP Community)    Keywords: php, xml

    I haven't really used php in a while and I seem to be a little rusty. Let's say the following request is sent to my php page. How to I access the xml in my php script?

    POST /myScript.php
    Content-Type: text/xml
    Content-Length: 557
    User-Agent: myClient
    Host: www.lalala.ca
    
    
    ... a bunch of xml here ...
    
    

    Source: http://www.livejournal.com/community/php/389821.html

  • Favorite VS .Net 2005 features

    Date: 01/09/06 (Asp Dot Net)    Keywords: xml, asp, web

    I recently installed the new visual studio and I am having a bit of a hard time remembering everything I heard at the 2003 PDC about the new features I can use when doing C# development.

    I do remeber the following few:
    Generics --> has anyone tried this ? Seemed better than having to write your own custom class, is it ?
    Parial classes -> omg I love this feature ! I love that the very boring generated code wont be in my file. I like my files nice and navigatable. YAY
    The Xml editor is slightly better but doesnt seem blazing fast as promised.
    Also I bet some people like not have to use a real web server to test asp pages.

    Had anyone tried the ream features ? How are they ? Should we get ris of Test Director ?

    Thanks !

    Source: http://www.livejournal.com/community/aspdotnet/53224.html

  • xml question

    Date: 01/09/06 (Web Development)    Keywords: xml

    so, I'm creating an .xml doc to be linked to through flash for work.... and I'm clueless. I figure I'm going to look up some tutorials etc. on xml.com and w3schools.com etc... and try and pick up something about .xml first... considering I'm clueless and this is pretty much my first .xml project, seems very sink or swim ... blarg...

    but alongside that, does anyone have any basic suggestions of any xml parsers? or just... anything? comments? etc?

    Source: http://www.livejournal.com/community/webdev/284358.html

  • InfoPath 2003 VS Asp.Net

    Date: 01/16/06 (Asp Dot Net)    Keywords: xml, asp, web

    My boss has given me the task of looking into developing a web form that apparently needs to be read by other programs using an XML feed. He suggested using InfoPath 2003, but I then said "Well, ASp.Net would probably be able to do it too." But looking into InfoPath it looks like it may be a good tool for the job. Has anyone had any experience with Infopath, especially vs Asp.Net? I mean I'm not looking to do the most work possible, but also I dont' want to build it in 1 only to have to rebuild it in another to make sure that it can do everything we need it to do. So if anyone has any experience using these tools it'd be greatly appreciated. Thanks.

    Source: http://www.livejournal.com/community/aspdotnet/54390.html

  • SQL Server Question

    Date: 01/18/06 (Asp Dot Net)    Keywords: xml, database, asp, web

    I'm working on an ASP.Net page that will need to take information from a database, but the information needs to be multi-line, like a numbered list. How would I either store that or display that properly on the web page? Basically part of the output needs to look like this:

    Performance Objectives
    Participant will be able to:
    1. Explain the value of standardizing and institutionalizing performance management across all of X
    2. Describe the characteristics of a strong performance management culture
    3. Explain how to use the tools and processes that will enable differentiation
    4. Explain pay for performance and base salary administration

    Any suggestions would be useful. I'm not sure how to integrate XML with this since this is so database driven. Thanks.

    Source: http://www.livejournal.com/community/aspdotnet/54950.html

  • SQL Server Question

    Date: 01/18/06 (Asp Dot Net)    Keywords: xml, database, asp, web

    I'm working on an ASP.Net page that will need to take information from a database, but the information needs to be multi-line, like a numbered list. How would I either store that or display that properly on the web page? Basically part of the output needs to look like this:

    Performance Objectives
    Participant will be able to:
    1. Explain the value of standardizing and institutionalizing performance management across all of X
    2. Describe the characteristics of a strong performance management culture
    3. Explain how to use the tools and processes that will enable differentiation
    4. Explain pay for performance and base salary administration

    Any suggestions would be useful. I'm not sure how to integrate XML with this since this is so database driven. Thanks.

    Source: http://community.livejournal.com/aspdotnet/54950.html

  • InfoPath 2003 VS Asp.Net

    Date: 01/16/06 (Asp Dot Net)    Keywords: xml, asp, web

    My boss has given me the task of looking into developing a web form that apparently needs to be read by other programs using an XML feed. He suggested using InfoPath 2003, but I then said "Well, ASp.Net would probably be able to do it too." But looking into InfoPath it looks like it may be a good tool for the job. Has anyone had any experience with Infopath, especially vs Asp.Net? I mean I'm not looking to do the most work possible, but also I dont' want to build it in 1 only to have to rebuild it in another to make sure that it can do everything we need it to do. So if anyone has any experience using these tools it'd be greatly appreciated. Thanks.

    Source: http://community.livejournal.com/aspdotnet/54390.html

    1. I need Javascript help....

      Date: 10/21/05 (Javascript Community)    Keywords: rss, html, xml, java, microsoft

      FELLOW NERDS! PLEASE HELP!

      This is what I have, a site loads. It has a news bar on the side (similar to an RSS feed). The news bar calls an XML file for it's info. Javascript loads the XML file on page load, and the span object is suppose to insert the XML data... SUPPOSE TO...

      Here's my XML file (not pretty, but effective):



        October 21, 2005
        Finally got around to uploading the index page and framesets to my new homepage
        October 20, 2005
        Today I worked out the spacing issues for the framesets for the new homepage. Stay tuned for a preview...
        October 20, 2005
        Not much work today other than a personal LiveJournal update...


      And here is the Java script in the head of the HTML page:



      And the HTML to call it:

    Previous page  ||  Next page


    antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home