I am getting this error
Parse error: syntax error, unexpected T_STRING in
/ho…/ssd/recording-goodbye.php on line 1
I have found that this line is causing this:
<?xml version="1.0" encoding="UTF-8"?>
I think this is because short tags are enabled on this server, it’s a shared hosting account and I don’t have access to the php.ini file. Is there a way I can perhaps set the headers or escape this line?
This is the full content of recording-goodbye.php
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<Response>
<Say>Thanks for your recording. Here is what I heard</Say>
<Play><?php echo $_REQUEST['RecordingUrl']; ?></Play>
<Say>Goodbye</Say>
</Response>
This fixed it