Jump to content

kendhal

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kendhal's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Folks, This is driving me crazy. I have PHP5.2.6 running on linux and have DOM enabled as shown below in my phpinfo call: DOM/XML enabled DOM/XML API Version 20031129 libxml Version 2.6.32 HTML Support enabled XPath Support enabled XPointer Support enabled Schema Support enabled RelaxNG Support enabled I have also checked ith "php -i | grep configure" and everything seems to be in place but The simple PHP code below gives me the following error: "Fatal error: Call to undefined method DOMNodeList::getElementsByTagName()" $dom = new DomDocument(); $dom->load("articles.xml"); $titles = $dom->getElementsByTagName("title"); foreach($titles as $node) { print $node->textContent . " "; } Can anyone shed some light on this? Thanks a ton. KD
  2. system info: [root]# uname -a Linux 2.6.9-023stab044.3-enterprise #1 SMP Fri May 11 10:27:07 MSD 2007 i686 i686 i386 GNU/Linux
  3. HI all, I am trying to enable SOAP on my linux box with php 5.1.6. I have loaded up phpinfo() and it does not mention Soap in there. All the modules (mysql, imap, ladap etc....) have their own .ini files under /etc/php.d so I went ahead and created one for soap (soap.ini) that contains "extension=php_soap.so". When I run "php -m" I get the following error: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/php_soap.so' - /usr/lib/php/modules/php_soap.so: cannot open shared object file: No such file or directory in Unknown on line 0 Below are the results of "# rpm -qa | grep -i php" php-common-5.1.6-15.el5 php-cli-5.1.6-15.el5 php-pdo-5.1.6-15.el5 php-odbc-5.1.6-15.el5 php-imap-5.1.6-15.el5 php-ncurses-5.1.6-15.el5 php-pear-1.4.9-4 php-xml-5.1.6-15.el5 php-xmlrpc-5.1.6-15.el5 php-mysql-5.1.6-15.el5 php-pgsql-5.1.6-15.el5 php-5.1.6-15.el5 php-ldap-5.1.6-15.el5 php-snmp-5.1.6-15.el5 php-devel-5.1.6-15.el5 php-mbstring-5.1.6-15.el5 php-gd-5.1.6-15.el5 phpMyAdmin-2.11.5-1.gdg phpPgAdmin-4.1.3-1.gdg Obviously I don't have Soap installed/configured but my question is that were do I go about getting the soap module and how/where do I install it on the server? Any help would be greatly appreciated. Thanks! KD
  4. I am writing a redirect script that redirects traffic to different URLs based on the user agent string. I am saving the different URLs as variables at the top of the script and the URLs have multiple parameters separated by "&". My problem is that everything after the first "&" is ignored in the variable. For example: $linkone = "http://www.somedomain.com/rd/r.php?id=400075&sid=16&c1=link1"; PHP saves this URL in the variable such that $linkone effectively becomes: "http://affiliate.admtracker.com/rd/r.php?affid=400075" All I am doing at the end is redirecting to the $linkone variable: header("Location: ".$linkone); What do I need to let the '&' not truncate the url string Thanks! KD
  5. Hi Folks, I just set up the LAMP framework and am starting to build a standard web app that has some static pages and one secure application form, where I need to display the form, verify some of the data entered and then submit it to an external API via HTTP POST. Is it standard practice to code this type of an app from scratch or is it recommended to use an existing UI toolkit? Any advice would be highly appreciated. Thanks! KD
  6. Hi Folks, I just set up the LAMP framework and am starting to build a standard web app that has some static pages and one secure application form, where I need to display the form, verify some of the data entered and then submit it to an external API via HTTP POST. Is it standard practice to code this type of an app from scratch or is it recommended to use an existing UI toolkit? Any advice would be highly appreciated. Thanks! KD
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.