This relates to my previous posts about protecting mp3 files.
I have forgotten a lot of my
PHP knowledge. For istance, say I have a file called audio.php that contains
<?php
function ServeAudio($fil e) {
echo $file;
//header("Locatio n: " .$file);
}
?>
To test it, I have a file called audiotest.php that contains
<body>
<a href = "audio.php?op=S erveAudio&file =
<?php
echo "http://blah.mp3";
?>">file</a>
</body>
But I can not get it to successfully enter the ServeAudio function.
thanks,
brian
I have forgotten a lot of my
PHP knowledge. For istance, say I have a file called audio.php that contains
<?php
function ServeAudio($fil e) {
echo $file;
//header("Locatio n: " .$file);
}
?>
To test it, I have a file called audiotest.php that contains
<body>
<a href = "audio.php?op=S erveAudio&file =
<?php
echo "http://blah.mp3";
?>">file</a>
</body>
But I can not get it to successfully enter the ServeAudio function.
thanks,
brian
Comment