Reply to Re: Just installed DOMXML and getting error when loading an XML file / string

Your name:

Reply:


Posted by Jerry Stuckle on 09/05/05 05:15

bissatch@yahoo.co.uk wrote:
> Ok, Ive found something out...
>
> It appears that I need to use the full path of the file. Ive had a
> similar problem before with relative paths but got round it using
> file_get_cotents() and domxml_open_mem() but this time it wont let me.
>
> Why is it that I have used DOMXML plenty of times before and havent had
> many instances with relative paths. Is this a configuration problem? Or
> maybe its a Windows thing?
>
> Is there a way to get the full path of a relative file and store it in
> a string prior to using domxml_open_file() as I transfer stuff from my
> own computer to a server.
>
> Burnsy
>

Check out $_SERVER['DOCUMENT_ROOT']


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация