AMIP Dynamic Signature, How to output the file extension? |
AMIP Dynamic Signature, How to output the file extension? |
eNforcer |
Jan 6 2009, 06:43 PM
Post
#1
|
Newbie Group: Members Posts: 3 Joined: 3-July 06 Member No.: 85 |
In the top left of the output file, how can I add the file extension such as MP3 or FLAC? (in uppercase also)
Edit: Well, I'm no programmer but I have got this far: I added this line to amipweb.conf -d "ext=&func_ue(%ext)" And this to Signature.php $SONG[ext] Just need to get it uppercase |
Serge |
Jan 6 2009, 07:29 PM
Post
#2
|
AMIP Developer Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 |
use
-d "ext=$ue($uc(%ext))" or in PHP: $SONG[ext] = strtoupper($SONG[ext]); |