PHP SimpleXML cannot store file - Raspberry Pi Forums


hello,

trying read xml file , store same file (after editing).
after store file has 0 bytes.

code:

code: select all

<?php $xml = simplexml_load_file("test.xml"); //editing print_r($xml); $xml->asxml('test.xml'); ?>
using lighttpd webserver.

know do?

cheers

check ownership , permissions on file.


raspberrypi



Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO