Question regarding catcher.php
Question regarding catcher.php
Hi - is it possible to get the new catcher.php to print an extra string to the includes.php??
Reason : I have built a flashplayer that parses the includes.php info, and the flashplayer needs the string
where the $current_song is the actual title that is playing right now.
I was able to do it on the old catcher.php, i know you have copyright protection on the .php but i am not screwing around with your tag : Copyright RadioToolBox.com another great application from Jay Krivanek
Is this possible by any means??
Thanks
Dj Cosmo
Admin @ www.megamixers.net
Reason : I have built a flashplayer that parses the includes.php info, and the flashplayer needs the string
Code: Select all
¤t_song=$current_song
where the $current_song is the actual title that is playing right now.
I was able to do it on the old catcher.php, i know you have copyright protection on the .php but i am not screwing around with your tag : Copyright RadioToolBox.com another great application from Jay Krivanek
Is this possible by any means??
Thanks
Dj Cosmo
Admin @ www.megamixers.net
Well jay, i cant do it.. i am not sure how to implement it in your code, i was hoping you could help me...
all i need is the string in, includes called
so the variable ¤t will be equal to the song playing now
and will be printed in the includes file when i open that for parsing.
Hope you can help me out, i seem to get the copyright message all the time, and my radio toolbox shuts down...
Thanks
Cosmo
all i need is the string in, includes called
Code: Select all
print "¤t_song=$current_song"
and will be printed in the includes file when i open that for parsing.
Hope you can help me out, i seem to get the copyright message all the time, and my radio toolbox shuts down...
Thanks
Cosmo
- Jay
- Will work for food (Administrator)
- Posts: 3025
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
well when you are modifying the script always check catcher in a browser to see if there are parse errors.
Anyhow my guess is you want to go to
Line 76 and change
to
Anyhow my guess is you want to go to
Line 76 and change
Code: Select all
$data.="?>";
$fp = fopen($includes_path."includes.php", "w");
fwrite($fp, $data);
fclose($fp);
Code: Select all
$data.="print \"¤t_song=".$current_song."\"\r\n?>";
$fp = fopen($includes_path."includes.php", "w");
fwrite($fp, $data);
fclose($fp);
- Jay