  | |  | Loading XML from outside root folder | Loading XML from outside root folder
2004-02-17 - By Dominico Savio
Back I have a login.swf, tries to load an xml like this.
_root.varXML.load( "../lxv.xml ");
my login.swf is at the root of ther server now, and the lxv.xml if above
that folder (ie. /Inetpub/wwwroot/login.swf, and the xml file is at
/Inetpub/lxv.xml)
When I test this at my local machine, it works fine, but when I upload it to
the server, it fails to load the xml file. Instead of loading
/Inetpub/lxv.xml, it will load the /wwwroot/lxv.xml, (if there is one). Did
I miss something or it is just not possible.
I dont ' want user can just view the xml file from their browser if they know
there is one.
Dominic
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104546
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |