1. ftp

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

    Hi everyone.

    Could anyone suggest some explanation to the following:

    
    ---- The code ----
    $conn_id = ftp_connect('ftp_server_here');
    $login_result = ftp_login($conn_id, 'username', 'password');
    ftp_pasv($conn_id, true);
    $handle = fopen('local_file', "w");
    ftp_size($conn_id, 'remote_file');
    ftp_fget($conn_id, $handle, 'remote_file', FTP_BINARY);
    fclose($handle);
    ftp_close($conn_id);
    ---- Code end ----
    

    I also created the test output of this script:

    ---- Output ----
    Connection ID returned by ftp_connect [line 2151]: Resource id #29
    Login result returned by ftp_login [line 2156]: 1
    Switching on ftp passive mode...
    Checking if it is possible to open file: "............" for writing   ... Success!
    File: ............" handler: Resource id #30
    Remote file size: 566.0 KB
    PHP Warning: ftp_fget(): php_connect_nonb() failed: Connection timed out (110) in ...... on line 2205
    ---- Output end ----


    Then I tried to connect this FTP using shell:

    ---- Output ----
    $ ftp xx.x.xxx.xx
    Connected to xx.x.xxx.xx.
    220 FTP server Ceske WWW.
    530 Please login with USER and PASS.
    530 Please login with USER and PASS.
    KERBEROS_V4 rejected as an authentication type
    Name (xx.x.xxx.xx:xxxxxx): name
    331 Please specify the password.
    Password:
    230 Login successful. Have fun.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> cd Estonia
    250 Directory successfully changed.
    ftp> pwd
    257 "/Estonia"
    ftp> get
    (remote-file) estonia.xml
    (local-file) estonia_downloaded.xml
    local: estonia_downloaded.xml remote: estonia.xml
    227 Entering Passive Mode (81,0,233,91,65,138)
    ftp: connect: Connection timed out
    ---- Output end ----


    Why could that happen? Any ideas? Something is wrong with FTP or what...
    Thanx

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

  2. Which Wiki

    Date: 02/18/05 (Web Development)    Keywords: php, mysql, rss, xml, sql, java

    I’m thinking about putting together a Wiki for some stuff I am doing. Does anyone have any packages that they like and would recommend? Things I would like:

    1) PHP (V5 would be a good thing)
    2) Data stored in MySQL
    3) User names to edit as an option.
    4) New/changed Pages RSS feed.
    5) Under active development
    6) There is no #6
    7) Page versioning.
    8) Good support for inserting code of various forms (PHP, javascript, xml etc) in pages.

    Thanks

    --Zach

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

  3. Deploying a simple servlet on Tomcat.

    Date: 12/14/04 (Apache)    Keywords: browser, html, xml, java, web

    Edit: Thanks, solved.

    Hi, I'm having problems deploying a very simple servlet on Tomcat 5.5. When I direct my browser to the expected URL, Tomcat just spits back a blank "Directory Listing for /" page, and I'm not seeing anything helpful in the logs.

    I'm wondering if the problem is that I have not included any .html files in my webapp ... but I don't understand why I would need to, or what I would have to put in it.


    Compiles fine.
    Servlet Code:
    public class HelloWorldExample extends HttpServlet {


    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException
    {
       response.setContentType("text/html");
       PrintWriter out = response.getWriter();
       out.println("");
       out.println("");
       out.println("");
       out.println("See my first demo work!");
       out.println("");
       out.println("
    ");
    }
    }

    The URL I type into my browser is
    http://localhost:8080/Hello. No dice :(

    Web.xml config:



     Hello v2
     Hello Demo
     
      Hello
      HelloWorldExamplelet-class>
     

     
      Hello
      /Hello



    As I understand it, this configuration should allow me to access my servlet by http://localhost:8080/Hello

    .war layout:
    demo/
    WEB-INF/web.xml
    WEB-INF/classes/HelloWorldExample.class
    WEB-INF/classes/HelloWorldExample.java


    I've read the tomcat docs and "Tomcat - The Definitive Guide" (O'Reilly). Many thanks if anyone could offer me some pointers.
    -Phil

    Source: http://www.livejournal.com/community/apache/14800.html

  4. Mambo on FreeBSD 5.3

    Date: 02/23/05 (PHP Community)    Keywords: php, mysql, xml, sql, java, linux, apache

    I'm having a few problems getting Mambo working on FreeBSD 5.3

    Whenever I try to log in to the administrators account, with a valid username\password, you get presented with the same screen with the username\password boxes still filled in. /var/log/messages states "Feb 23 17:42:42 linux kernel: pid 15803 (httpd), uid 1006: exited on signal 11"

    Nothing is written to the Apache access or error logs

    If I try to log in with an invalid combo, a JavaScript popup tells me I got either the username or password wrong. So, the authentication is sort-of happening

    The only useful thread I've found on the Mambo forums was this one. Which states "To all who have this issue, it is a problem with duplicate extension entries in your php.ini"

    All I have in my php.ini that contains references to extension are:

    extension_dir = "/usr/local/lib/php/20020429/"
    extension=session.so
    extension=mysql.so

    So there aren't any duplicates

    I really don't know much about setting PHP up. Does anyone have any pointers?

    I seem to remember having this problem in the past with Gallery, and the issue was resolved by installing php4-extensions

    Here's the version of all PHP stuff I have installed:

    # portversion -v | grep php
    mod_php4-4.3.10_2,1         =  up-to-date with port
    php4-bz2-4.3.10_2           =  up-to-date with port
    php4-ctype-4.3.10_2         =  up-to-date with port
    php4-extensions-1.0         =  up-to-date with port
    php4-gd-4.3.10_2            =  up-to-date with port
    php4-mysql-4.3.10_2         =  up-to-date with port
    php4-openssl-4.3.10_2       =  up-to-date with port
    php4-overload-4.3.10_2      =  up-to-date with port
    php4-pcre-4.3.10_2          =  up-to-date with port
    php4-posix-4.3.10_2         =  up-to-date with port
    php4-session-4.3.10_2       =  up-to-date with port
    php4-snmp-4.3.10_2          =  up-to-date with port
    php4-tokenizer-4.3.10_2     =  up-to-date with port
    php4-xml-4.3.10_2           =  up-to-date with port
    php4-zlib-4.3.10_2          =  up-to-date with port
    phpMyAdmin-2.6.1            =  up-to-date with port


    Any pointers would be most appreciated!

    Update: Sorted. It seems that I did have 2 entries for session.so. One was in /usr/local/etc/php.ini and the other was in /usr/local/etc/php/extension.ini

    I commented one out, and it started working

    Leaving this entry in-tact, just in case anyone else has the same problem

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

  5. XML > PHP > MySQL?

    Date: 02/27/05 (PHP Community)    Keywords: php, mysql, xml, sql

    Can anyone recommend a good script they know of that is used to get XML into MySQL, via PHP? I'm creating my own but would like to see some examples if you know of any, thanks!

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

  6. New to XML

    Date: 01/19/05 (Asp Dot Net)    Keywords: xml

    Ok, this is my first experience with xml documents really.
    I am calling a function that returns a string, which is my xml document.
    All I want to do is display the info in a datagrid. What is the best way to get
    this file into a dataset?

    Thanks!!

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

  7. Decimal Unicode or Hex Unicode?

    Date: 02/25/05 (Mozilla)    Keywords: php, mysql, html, xml, sql

    Do any of you bright minds know WHY some programmers decide to use Decimal Unicode notation (e.g., Firefox), whereas others decide to use Hex Unicode notation (e.g. the Gnome/libxml2/xmllint folks)?

    My wish is that:

    1.) They had all gotten together and decided on just one,
    2.) They had all chosen Hex, padded on the left with zeroes so that all characters are represented by a full four digits (e.g.  rather than  for Â), the latter of which is NOT conformant to the Unicode specification, which requires four to six digits, not bloody darn one, two or three).

    I know they are functionally equivalent, and I know it's a simple mathematical calculation to go from one to the other, and that Perl and PHP both probably have built-in functions that I could use to convert from one to the other, but GRRRR. I long for consistency, and god forbid, standards-compliance.

    Also, why if Firefox smart enough to take UTF-8 input in an HTML form and convert it automatically to Decimal Unicode (which mySQL 4.0 can actually understand), but Safari is not smart enough (and of course, neither is I.E., duh).

    --

    Don't get me wrong, I don't hate Safari. Safari is FAR better than Firefox at rendering certain difficult Unicode glyphs, like Devanagari (Sanskrit) that has internal HTML markup inside conjunct consonants (Opera 6.03 comes close on this). However, when it comes to Hebrew, Greek, and Romanian (the others I've had to deal with recently), Firefox is just hands-down better.

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

  8. XML and AsXP

    Date: 02/15/05 (Mozilla)    Keywords: xml

    Hi!

    Maybe it's just a stupid question, but a friend told me the Firefox won't support XML and AsXP (whatever that is) he needs for Online-Games like Horizons and World of Warcraft. Therefore he prefers IE 6.1.

    Well, I suppose that the Firefox does support XML. But what is AsXP?

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

  9. XML datatype in SQL 2005

    Date: 02/09/05 (SQL Server)    Keywords: xml, sql

    This is awesome! Do any of you know about/understand the new XML datatype in SQL Server? I'm at VSLIVE! in San Francisco at a session and I'm super excited about it. I didn't understand it before but this presenter is great and I now understand it. I'm going to post more once I have time but yeah..anyone else excited about this?

    Source: http://www.livejournal.com/community/sqlserver/17891.html

  10. C# and SOAP serialization

    Date: 12/27/04 (C Sharp)    Keywords: xml

    Hello, everyone.
    I have a question regarding SOAP serialization. As far as I know, SOAP specification allows arbitrary XML constructs to be appear in the body of SOAP message in a way similar to this:

    
    
    
    
    
    
    
    

    My program manages RDF/OWL (RDF and OWL are subsets of XML with defined schema) descriptions. It parses RDF/OWL files, creates some objects, transmits them using SOAP, and then creates RDF/OWL files again from the objects recieved on the endpoint, so newly created files could be used by any application that conforms RDF/OWL specification.

    The problem is that I want to define custom SOAP serialization using SoapFormatter. I need to set up serialization in a way it allows me to create arbitrary XML in messages. Working with basic attributes controlling SOAP serialization didn't help at all -- SoapFormatter ignores them.

    Using XmlSerializer is not the right way, I think. Moreover, creating complex SOAP messages with collections could be nontrivial task (we have to manage all the 'refs' in SOAP message and so on), so it won't help.

    So I need ANY advice on how to create arbitrary XML elements in SOAP messages. Thanks in advance.

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

  11. simple XML library

    Date: 12/21/04 (C Sharp)    Keywords: xml

    Does anybody know of a good, simple XML library? I'm looking for something that can parse an XML tree and return some kind of data structure that reflects the contents.

    Such functionality may be built-in, but I can't find it if so. Any help would be appreciated :)

    Update: I need to do it at runtime, as the tree I'm parsing is the return value from a network operation :/ It also needs to run under Mono, so anything that uses (for instance) XPath is out.

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

  12. The Nex Web Browser

    Date: 12/02/04 (C Sharp)    Keywords: browser, xml, technology, web

    Hello! I had release my Nex Web Browser version A1 at http://nex.sourceforge.net/ . Now I preparing the A2 version for releasing, and this will be very interest to read your opinions about this program, its Internal Protocol (NIP, provides LDP - Local Dynamic Page) technology, XML configuration format, LanguageSet implementation, sidebar, etc..

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

  13. ... System.Xml

    Date: 11/10/04 (C Sharp)    Keywords: xml, microsoft

    Ive been grinding my teeth on this one for the past hour. Even taking cuts from MS code and others i get the same results.

     using System;

    namespace
    TocGen

    {
        ///


        /// Summary description for Stringys.
        ///

        public class Stringys
        {
            public enum OOOXMLType
            {
                content,
                meta,
                settings,
                styles,
            }

            #region
    Helpers

            ///
            /// Writes a FULL attribute to a tag on an XML Text Writer
            ///

            /// Supplied Writer
            /// Attribute Prefix
            /// Attribute Name
            /// Attribute Namespace
            /// Attribute Value
            public static void WriteFullAttribute(System.Xml.XmlTextWriter oXw, string pre, string n, string ns, string val)
            {
                
                oXw.WriteStartAttribute(pre,n,ns);
                if (val!=null)
                    oXw.WriteString(val);
                oXw.WriteEndAttribute();
            }
            #endregion
            
                 public static void StartXMLDocument(OOOXMLType Dt, System.Xml.XmlTextWriter oXw)
            {    
                // Enable Dreamweaver Styled Formatting
                oXw.Indentation=2;
                oXw.IndentChar=Char.Parse(" ");
                oXw.Formatting=System.Xml.Formatting.Indented;
                
                //
                oXw.WriteStartDocument();
            
                switch (Dt)
                {
                    case OOOXMLType.content:
                        //
                        oXw.WriteDocType("office:document-content","-//OpenOffice.org//DTD OfficeDocument 1.0//EN","office.dtd",null);

                        //
                        // xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing"
                        // xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle"
                        // xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d"
                        // xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script"
                        // office:class="text" office:version="1.0">
                        oXw.WriteStartElement("office", "document-settings", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", null, "http://openoffice.org/2000/office", null);  //ERROR ALLWAYS HAPPENS HERE
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "style", "http://openoffice.org/2000/style", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "text", "http://openoffice.org/2000/text", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "table", "http://openoffice.org/2000/table", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "draw", "http://openoffice.org/2000/drawing", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "fo", "http://www.w3.org/1999/XSL/Format", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "xlink", "http://www.w3.org/1999/xlink", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "number", "http://openoffice.org/2000/datastyle", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "svg", "http://www.w3.org/2000/svg", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "chart", "http://openoffice.org/2000/chart", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "dr3d", "http://openoffice.org/2000/dr3d", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "math", "http://www.w3.org/1998/Math/MathML", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "form", "http://openoffice.org/2000/form", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "script", "http://openoffice.org/2000/script", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "office", "class", null, "text");
                        TocGen.Stringys.WriteFullAttribute(oXw, "office", "version", null, "1.0");
                        oXw.WriteEndElement();

                        
    break;


                    case OOOXMLType.meta:
                        //
                        oXw.WriteDocType("office:document-meta","-//OpenOffice.org//DTD OfficeDocument 1.0//EN","office.dtd",null);

                        //
                        // xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" office:version="1.0">
                        oXw.WriteStartElement("office", "document-settings", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "office", "http://openoffice.org/2000/office", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "xlink", "http://www.w3.org/1999/xlink", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "dc", "http://purl.org/dc/elements/1.1/", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "meta", "http://openoffice.org/2000/meta", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "office", "version", null, "1.0");
                        oXw.WriteEndElement();

                        break;

                    case OOOXMLType.settings:
                        //
                        oXw.WriteDocType("office:document-settings","-//OpenOffice.org//DTD OfficeDocument 1.0//EN","office.dtd",null);
                                
                        //
                        // xmlns:config="http://openoffice.org/2001/config" office:version="1.0">
                        oXw.WriteStartElement("office", "document-settings", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "office", "http://openoffice.org/2000/office", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "xlink", "http://www.w3.org/1999/xlink", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "config", "http://openoffice.org/2001/config", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "office", "version", null, "1.0");
                        oXw.WriteEndElement();

                        
    break;


                    case OOOXMLType.styles:
                        //
                        oXw.WriteDocType("office:document-styles","-//OpenOffice.org//DTD OfficeDocument 1.0//EN","office.dtd",null);

                        // 
                        // xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing"
                        // xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:number="http://openoffice.org/2000/datastyle"
                        // xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d"
                        // xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script"
                        // office:version="1.0">
                        oXw.WriteStartElement("office", "document-settings", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "office", "http://openoffice.org/2000/office", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "style", "http://openoffice.org/2000/style", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "text", "http://openoffice.org/2000/text", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "table", "http://openoffice.org/2000/table", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "draw", "http://openoffice.org/2000/drawing", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "fo", "http://www.w3.org/1999/XSL/Format", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "xlink", "http://www.w3.org/1999/xlink", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "number", "http://openoffice.org/2000/datastyle", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "svg", "http://www.w3.org/2000/svg", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "chart", "http://openoffice.org/2000/chart", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "dr3d", "http://openoffice.org/2000/dr3d", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "math", "http://www.w3.org/1998/Math/MathML", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "form", "http://openoffice.org/2000/form", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "xmlns", "script", "http://openoffice.org/2000/script", null);
                        TocGen.Stringys.WriteFullAttribute(oXw, "office", "version", null, "1.0");
                        oXw.WriteEndElement();

                        break;

                    default:
                        throw new System.NotSupportedException();
                }
                        
                oXw.Flush();
                        
                //oMs.Position = 0;
                //System.IO.StreamReader oSr = new System.IO.StreamReader(oMs);
                //#if (DEBUG)
                //System.Windows.Forms.MessageBox.Show(oSr.ReadToEnd());
                //#endif
            }
        }
    }

    I allways receive the following error:
    An unhandled exception of type 'System.ArgumentException' occurred in system.xml.dll
    Additional information: An undefined prefix is in use.'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
    'TocGen': Loaded 'C:\Documents and Settings\Glenn\My Documents\Visual Studio Projects\WhelenOOO\TocGen\bin\Debug\TocGen.exe', Symbols loaded.
    'TocGen.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
    'TocGen.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded.
    'TocGen.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
    'TocGen.exe': Loaded 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', No symbols loaded.
    An unhandled exception of type 'System.ArgumentException' occurred in system.xml.dll

    Additional information: An undefined prefix is in use.

    Any idea at all why? Ive searched MSDN and several other sites... No dice. Any help would be appreciated.

     

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

  14. Brixlogic: Next generation XML services

    Date: 03/07/05 (Application Development)    Keywords: software, xml, web

    Dan Farber: Startup Brixlogic claims that its software overcomes much of the complexity and unreliability in developing Web services derived from custom or industry standard XML schemas.

    Source: http://news.zdnet.com/Brixlogic%3A+Next+generation+XML+services/2100-9593_22-5601399.html?part=rss&tag=feed&subj=zdnn

  15. mysql help... anyone have any insight?

    Date: 03/18/05 (MySQL Communtiy)    Keywords: php, mysql, xml, sql

    i finally installed php5 as a cgi on my server because the server company has not upgraded to php5 yet. PHP5 runs only in 1 specific directory.(.htaccess file) Php appears to work fine as php5 but now i can't get it to read the mysql db.

    the mysql library is compiled and i don't get an error when the connection string is called. the results from the query just doesn't appear. I'm definite it's not the php code because I haven't altered the code.

    Anyone have any idea as to why? -Thank you all in advance!


    here is the php code: maybe something changed w/ php5?
    $sql="SELECT categoryid, category FROM t_category ORDER BY category ASC";
    $result=$this->f_selectquery($sql);
    foreach ($result as $key => $value) {
    echo " \n";
    }

    here is the configure command.
    './configure' '--prefix=/home/acctname/php' '--enable-force-cgi-redirect' '--with-xml' '--with-libxml-dir=/home/acctname/php/lib' '--enable-soap' '--with-xsl=/home/acctname/php/lib' '--with-mysql=/home/acctname/php/lib' '--with-curl=/home/acctname/php/lib' '--with-mhash-dir=/home/acctname/php/lib' '--with-mcrypt-dir=/home/acctname/php/lib' '--with-zlib-dir=/home/acctname/php/lib' '--with-jpeg-dir=/usr/' '--with-png-dir=/usr/' '--with-gd' '--enable-gd-native-ttf' '--enable-ftp' '--enable-sockets' '--enable-wddx' '--with-iconv' '--enable-soap'


    here are the mysql properties under php
    MySQL Support enabled
    Active Persistent Links 0
    Active Links 0
    Client API version 4.1.8
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient

    Directive Local Value Master Value
    mysql.allow_persistent On On
    mysql.connect_timeout 60 60
    mysql.default_host no value no value
    mysql.default_password no value no value
    mysql.default_port no value no value
    mysql.default_socket no value no value
    mysql.default_user no value no value
    mysql.max_links Unlimited Unlimited
    mysql.max_persistent Unlimited Unlimited
    mysql.trace_mode Off Off

    Source: http://www.livejournal.com/community/mysql/51286.html

  16. AJAX - xmlhttprequest.

    Date: 03/20/05 (Javascript Community)    Keywords: xml, web

     AJAX - xmlhttprequest.
    New community dedicated to the concept and practice of using ajax or xmlhttprequest for rich web applications.

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

  17. Missing Functions

    Date: 03/20/05 (PHP Community)    Keywords: php, xml, web, google

    I'm trying to use the DOM functions to play with some XML, but it seems as though my server PHP version doesn't include them.

    I do have access to the webhost manager type deal, but didn't see anything pertaining to PHP in it really. I've also looked through php.net, google, and the documentation, but saw nothing related to remote installation or additions. So either it's like I said, the server version being outdated, or I'm doing something else wrong.

    Would I be able to configure the remote server to include new PHP functionality, or is there some other way I don't know of to use the functions?

    Server is using PHP 4.3.10.

    Any help appreciated.

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

  18. Firefox extensions I use - and other info

    Date: 03/30/05 (Mozilla)    Keywords: browser, css, html, xml, java, web

    Since Mozilla Suite is no longer being developed, and Firefox is where everything is going, I decided it was time for me to make the jump. In the process I picked up a number of extensions and thought I'd document them in one place.

    AniDisable - control animated gifs
    Checky - links to validation services for XHTML, XML, CSS, etc.
    ChromEdit - profile editor
    ColorZilla - allows you to pick up a color from any element in the browser
    Disable Targets For Downloads - prevents empty windows/tabs when you click a binary link
    EditCSS - make realtime tweaks to a pages CSS
    FoxyTunes - control your media player (iTunes, WinAmp, etc) from the browser chrome
    Html Validator (based on Tidy) - validate HTML right in the browser, locally
    I must not fear! - OK, so this just adds the line from Dune to the Tools menu. I like it. ;-)
    ieview - open the current page in ie, useful for development testing
    Image Zoom - pretty much what it sounds like
    JavaScript Debugger - what it says
    Linkification - makes plaintext URLs links
    Linky - adds options for handling links
    Longdesc - let's you view the longdesc attribute on images
    miniT (drag+indicator) - drag tabs to reorder
    Preferential - advanced preferences editor
    Tabbrowser Preferences - provides a UI for editing hidden tab preferences
    TinyUrl Creator - easily create a TinyURL from the current page
    User Agent Switcher - lets you mimic other user agents
    View Cookies - adds a tab to Page Info showing the cookies set by the page
    Web Developer - adds a toolbar with web development tools

    Anyone want to suggest something I should check out that I missed?

    I also find this most useful - there are UIs in Firefox that aren't accessible. The chrome is there from the Suite, but the 'simplified' UI of FF has removed the links to the sub-elements: http://kb.mozillazine.org/Dev_:_FireFox_Chrome_URLs

    For example: chrome://pippki/content/pref-ssl.xul - which also brings you here: chrome://pippki/content/pref-ciphers.xul - I like to disable weak ciphers.

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

  19. Python: A recipe for cryptic code?

    Date: 04/13/05 (Java Web)    Keywords: programming, html, xml

    I have heard that Python is a great programming language which is so much superior to everything around etc. The following code in python is touted as the world's smallest p2p client & server. # tinyp2p.py 1.0 (documentation at http://freedom-to-tinker.com/tinyp2p.html) import sys, os, SimpleXMLRPCServer, xmlrpclib, re, hmac # (C) 2004, E.W. Felten ar,pw,res = (sys.argv,lambda u:hmac.new(sys.argv[1],u).hexdigest(),re.search) pxy,xs = (xmlrpclib.ServerProxy,SimpleXMLRPCServer.SimpleXMLRPCServer) def [...]

    Source: http://blog.taragana.com/index.php/archive/python-a-recipe-for-cryptic-code/

  20. Blogger help

    Date: 04/14/05 (WebDesign)    Keywords: xml, web

    Ok so Im trying to use blogger.com as a means to provide my client with an easily updatable NEWS section that will auto-post to the website I am designing for him.

    The blogger.com site is http://vmnews.blogspot.com/

    I read a little and found that I can link to this: http://vmnews.blogspot.com/atom.xml for use in my client's site. I would link that source into the news section or whatever,

    As you can see the top link looks fine, and is formatted as I want it. The bottom link looks totally different, and I can't find out how to edit the looks of it. Also, linking the bottom link to my site displays that big ugly yellow box at the top of the news sections. This is really ugly, and unexceptable.

    How do I do this? Im sure there are people out there that use blogger for these type of things.

    HELP!

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

  ||  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