$xml_file = file_get_contents(SITE_PATH . 'cms/data.php');
The problem is that a server has URL file-access disabled. I cannot enable it, its a hosting thing.
So the question is this. The data.php
file generates xml code.
How can I execute this and get the xml data without doing the above method?
Is it possible?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…