Glad to hear that 🙂

One last thing:

If you add the module to the php.ini (extension=...) then you don't need the dl lines. After modifying php.ini you need to restart the apache.

test if the extension is enabled in php.ini create a little phpinfo() script and check if the output contains a DOM section.

However, since you don't get any dl warnings I think that it works 🙂

Thomas

    Hello Thomos..

    I have to learn PHP/PERl/CGI ....

    will u tell me the book name regarding this...
    or u will teach me..

    🙂

      did u know about challeng/response key?
      or Registration (HTTP authentication)?

      actually I know HTTP authentication.
      I done it by using External Parser Program(PHP acript) in C++.
      (Proxy Server).

      But registration is related to something challeng/resposnse key,
      SSID,MAC address...

        What exactly do you want to do ?

        Thomas

          Registration?
          🙁
          ok forget it...

          what is the difference between session and cookies?
          which one is better to use?

            Asking "what is the difference between sessions and cookies?" is like asking "what is the difference between beer and a pint glass?"

            Just as beer is normally served in a glass, but can be served in other ways, session IDs are normally recorded in cookies, but can be recorded elsewhere if need be.

            Basically, sessions are a shrink-wrapped approach to storing data that doesn't need to last longer than the current session. It uses cookies when it can. It inherently has the security advantage that no real data is stored on the client, only a session ID is stored in the cookie. (You can do this yourself with persistent cookies, but all you'd end up doing is replicating PHP's inbuilt mechanism, with added complications regarding cookie expiration.)

            Details about how PHP uses cookies for session management can be found in the obvious place.

              did yesterday's work of recompiling PHP-4.3.6 will create any problem for local apache server?
              bcoz,it is not getting started..
              🙁

                In which way doesn't it start ? Is that the same web server as the one above where you recompiled the PHP module ?

                Thomas

                  means when i opens some file on that local server it does not shows any page.

                  I started mysqld and apache but it shows no effect...
                  ya...on that same server(local web server) i recompiled PHP-4.3.6
                  but that folder was in another seperate folder ...(/home/sandhya/php-3.4.6/...)

                  from where i did the whole work.
                  then should it will affect?

                    Hmmm ... the only thing you did was to compile a module and to copy and activate just that module by hand. That shouldn't cause such problems.

                    Do you see just an empty page or do you see some code if you view the source of the page with your browser ? Did you check if the MySQL and apache threads are running at all ?

                    Thomas

                      Sorry Thomos,

                      bcoz of another reason there was problem..

                      thanks..

                      did u know perl?

                        kind of ... but if you have a bigger perl problem then posting to a perl forum might be the better way.

                        Thomas

                          it is ok if i includes in this way
                          <?
                          ("mysql.so");
                          ("domxml.so")

                          ?>

                          bcoz, with dl("domxml.so") it shows the same error..
                          and if removes 'dl' then it shows no any warning or error..

                            Fatal error: Call to undefined function: domxml_open_file() ?

                            how to restart apache thru command line after editting php.ini?

                              There's a init script in the apache bin directory:

                              /usr/local/apach2/bin/apachectrl stop
                              and then
                              /usr/local/apach2/bin/apachectrl start

                              But you might need to login as root.

                              Thomas

                                [root@ns1 root]# /usr/local/apache2/bin/apachectl stop

                                httpd: module "/usr/src/build/228709-i386/BUILD/php-4.2.2/sapi/apache2filter/sapi_apache2.c" is not compatible with this version of Apache (found 20020628, need 20020903).
                                Please contact the vendor for the correct version.

                                  Fatal error: Call to undefined function: domxml_open_file() ?

                                  why this error is coming?
                                  in php_info(),there is no DOM section.

                                    Ok,

                                    this error message contains "php-4.2.2". The phpinfo page you posted was php-4.3.6. So something has been mixed up (wrong PHP version).

                                    Check the apache init script in /etc/init.d. How does it look like (post the script).

                                    Thomas

                                      " Press ? for keyboard shortcuts
                                      " Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
                                      "= /etc/rc.d/init.d/
                                      ../
                                      rc.d/
                                      aep1000
                                      anacron
                                      apmd
                                      arpwatch
                                      atd
                                      autofs
                                      bcm5820
                                      canna
                                      cpqarrayd
                                      crond
                                      cups
                                      cxconfig
                                      cxupdate
                                      f-protd
                                      functions
                                      gpm
                                      halt
                                      httpd
                                      httpd.orig
                                      httpd.rpmorig
                                      identd
                                      ipchains
                                      iptables
                                      irqbalance
                                      isdn
                                      kdcrotate
                                      keytable
                                      killall
                                      kudzu
                                      lisa
                                      loadmodules
                                      lpd
                                      microcode_ctl
                                      mysqld
                                      named
                                      netdump
                                      netdump-server
                                      netfs
                                      network
                                      nfs
                                      nfslock
                                      nscd
                                      ntpd
                                      otrs
                                      p
                                      portmap
                                      postfix
                                      radvd
                                      random
                                      rawdevices
                                      rhnsd
                                      routed
                                      safesquid
                                      saslauthd
                                      scan-mail
                                      sendmail
                                      sendmail.old
                                      sendmail.rpmsave
                                      single
                                      smartd
                                      smb
                                      snmpd
                                      snmptrapd
                                      squid
                                      sshd
                                      syslog
                                      tux
                                      vncserver
                                      vncserver.lock
                                      vsftpd
                                      webmin
                                      winbind
                                      xfs
                                      xinetd
                                      ypbind
                                      yppasswdd
                                      ypserv
                                      ypxfrd

                                        I recompiled PHP-4.3.6 , even if why
                                        this is error is coming?
                                        Fatal error: Call to undefined function: domxml_open_file()

                                        does PHP-4.3.6 not support domxml_open_file() ?