SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with loading XML

    Hi guys, I upload my PHP on a certain free webhosting site and it suppports PHP 5. But why is it that I got an error like Call to undefined function: simplexml_load_file in /home/www/ocmms.&$.p!/index.php on line 163
    and then I edit it using simplexml_load_string() and the same thing happen

  2. #2
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How did you determine or come to know that that free hosting supports PHP 5? If it supports then there should not be the problem as far as i know with that particular function simplexml_load_file. So make sure once again that it supports PHP 5.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  3. #3
    @php.net Salathe's Avatar
    Join Date
    Dec 2004
    Location
    Edinburgh
    Posts
    1,396
    Mentioned
    61 Post(s)
    Tagged
    0 Thread(s)
    Are you sure that SimpleXML hasn't been disabled?
    Salathe
    Software Developer and PHP Manual Author.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •