View Full Version : xml scripting
benslayton
08-27-2006, 12:10 AM
i am installing vbulliten on my server. But There a 3 files(xml) files that are too big.(they exceed the upload file size limit) so is it possible to cut out half of the code in the xml file paste it in a second file. Then in the 1st file at the end at code saying to get the contents of the second file. Work that work how?
blm126
08-27-2006, 03:23 PM
For my method you need .htaccess. Put this in a .htaccess file.
<Files *.xml>
ForceType application/x-httpd-php
</Files>
Then in your XML files
<?php
header('Content-Type: text/xml');
include('chunk.xml');
include('chunk2.xml');
?>
This should work. However it WILL NOT work if vBulletin tries to write to the xml/php file.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.