Hi every body. I am trying to write a php script that once i call it like this"

http://www.localhost/cgi-bin/ram.php?sids=1,2,

It goes and writes the song URL to ram.ram file and open the file for me.
I only want to pass sids such as 1,2,...(song url inside the ram.php script)But i do not know how to do this. I be happy if some expert show me how to do this.Thanks


Inside ram.ram file

http://www.localhost/songs/song1.rm
http://www.localhost/songs/song1.rm