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
==================
Navigation:
[Reply to this message]
|