# Php \> asp

**URL:** <https://forum.kirupa.com/t/php-asp/149803>\
**Category:** Uncategorized\
**Created:** [June 1, 2005, 2:05pm UTC](https://forum.kirupa.com/t/php-asp/149803 "2005-06-01T14:05:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Septunas](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Septunas](https://forum.kirupa.com/u/Septunas)\
**Post date:** [June 1, 2005, 2:05pm UTC](https://forum.kirupa.com/t/php-asp/149803/1 "2005-06-01T14:05:39Z")

</div>

Hi,  
I made a website for someone who has free Windows space without PHP support, so I have to convert the PHP script for the guestbook to ASP.

This is the code :

\<?php  
$file = fopen(“guestbook.xml”, “w+”) or die(“Can’t open XML file”);  
$xmlString = $HTTP\_RAW\_POST\_DATA;  
if(!fwrite($file, $xmlString)){  
print “Error writing to XML-file”;  
}  
print $xmlString."  
";  
fclose($file);  
?\>

Can anybody help me with this?

Regards,
