Sourav
Sourav

Reputation: 17530

Trasferring binary files through PHP

[if you can find a better title for this question, please fix]

I got an unlimited shared hosting plan [unlimited storage+bandwidth] where i wanna create a virtual online mp3 library. But the problem is the restriction from the hosting provider is

at most 40% of bandwidth can be mp3 or image files

So how to fool the provider so we can allow users to download the files.

I'll use PHP

Upvotes: 0

Views: 57

Answers (2)

frustratedtech
frustratedtech

Reputation: 433

You could rename them to another extension and then change the mimetype to make that extension work like an mp3 or image file.

However, I'd look for a new host. If you want to create an mp3 library, you should choose a provider that doesn't restrict this.

Upvotes: 0

djdy
djdy

Reputation: 6919

Archive them as ZIP or RAR files.

Upvotes: 1

Related Questions