Connecting Tech Pros Worldwide Forums | Help | Site Map

Sound Files in webpages?

John
Guest
 
Posts: n/a
#1: Jul 17 '05
Hello.

If I wanted to make a website of sound files that are playable within
the actual webpage, but people visiting the site can't save, or see
the filenames so they can download from the site, is this possible?

What would be the best format to save the sound clips in? I would
need something that doesn't take up too much space but is good
quality.

Is it possible to somehow use a php include statement so that the
filename is not visible?

I am fairly new to the world of php and am just starting to learn it.

Thanks for any help

John



Agelmar
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Sound Files in webpages?


PHP is totally server side. All the PHP is processed and turned into some
(non-php) output. It is not a client-side thing. As for making things that
people can't download nor save, or see the filenames etc... if it's made
available to the browser (which you have to do in some form or other),
someone can save it.

John wrote:[color=blue]
> Hello.
>
> If I wanted to make a website of sound files that are playable within
> the actual webpage, but people visiting the site can't save, or see
> the filenames so they can download from the site, is this possible?
>
> What would be the best format to save the sound clips in? I would
> need something that doesn't take up too much space but is good
> quality.
>
> Is it possible to somehow use a php include statement so that the
> filename is not visible?
>
> I am fairly new to the world of php and am just starting to learn it.
>
> Thanks for any help
>
> John[/color]


Tim Van Wassenhove
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Sound Files in webpages?


On 2004-01-19, John <count@duckula.com> wrote:[color=blue]
> Hello.
>
> If I wanted to make a website of sound files that are playable within
> the actual webpage, but people visiting the site can't save, or see
> the filenames so they can download from the site, is this possible?[/color]

If they can't download it, how do you think they will be able to listen
to it?
[color=blue]
> What would be the best format to save the sound clips in? I would
> need something that doesn't take up too much space but is good
> quality.[/color]

I think mp3 isn't a bad idea.
[color=blue]
> Is it possible to somehow use a php include statement so that the
> filename is not visible?[/color]

Some companies sell the same stuff/shit to make sure that images aren't
copied on the surfer's pc. But they all fail.

You could embed it in a Java Applet or a Flash thing, but those are not
real solutions either.

--
http://home.mysth.be/~timvw
CountScubula
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Sound Files in webpages?


IMHO, You might consider using flash to play the source sounds.


--
Mike Bradley
http://www.gzentools.com -- free online php tools
"John" <count@duckula.com> wrote in message
news:ccho00l0iru41esj6kq91ee52ka20rikch@4ax.com...[color=blue]
> Hello.
>
> If I wanted to make a website of sound files that are playable within
> the actual webpage, but people visiting the site can't save, or see
> the filenames so they can download from the site, is this possible?
>
> What would be the best format to save the sound clips in? I would
> need something that doesn't take up too much space but is good
> quality.
>
> Is it possible to somehow use a php include statement so that the
> filename is not visible?
>
> I am fairly new to the world of php and am just starting to learn it.
>
> Thanks for any help
>
> John
>
>[/color]


Chung Leong
Guest
 
Posts: n/a
#5: Jul 17 '05

re: Sound Files in webpages?


Just the Real plugin to play the files within the browser itself. Here's the
URL to the Real API guide:

http://service.real.com/help/library...rowse/realscri
pt.htm

The links for playing the files would call a Javascript function, which in
turn calls a method of the plugin to set the URL and start the player. Put
this function, along with the list of file paths in a PHP-generated .js file
and link it in, to make it a little harder for people to find out where the
files are. If you want to be real sneaky, set the encoding of the .js file
to UTF-8 and stick a zero-width white-space at the end of each filename.
The oughta confuse the heck out of them :-)

Uzytkownik "John" <count@duckula.com> napisal w wiadomosci
news:ccho00l0iru41esj6kq91ee52ka20rikch@4ax.com...[color=blue]
> Hello.
>
> If I wanted to make a website of sound files that are playable within
> the actual webpage, but people visiting the site can't save, or see
> the filenames so they can download from the site, is this possible?
>
> What would be the best format to save the sound clips in? I would
> need something that doesn't take up too much space but is good
> quality.
>
> Is it possible to somehow use a php include statement so that the
> filename is not visible?
>
> I am fairly new to the world of php and am just starting to learn it.
>
> Thanks for any help
>
> John
>
>[/color]


Agelmar
Guest
 
Posts: n/a
#6: Jul 17 '05

re: Sound Files in webpages?


Other than the fact that most people don't have the Real player installed,
and I wouldn't touch the damned thing if my life depended on it... it's
still an incredibly easy matter of opening up the source code and looking
for the URL.

And by the way - there are a lot of people, myself included, who have
javascript disabled. Kill js and you get rid of all the bs popups,
popunders, onclose abuses, right click modifiers etc.

Chung Leong wrote:[color=blue]
> Just the Real plugin to play the files within the browser itself.
> Here's the URL to the Real API guide:
>
>[/color]
http://service.real.com/help/library...rowse/realscri[color=blue]
> pt.htm
>
> The links for playing the files would call a Javascript function,
> which in turn calls a method of the plugin to set the URL and start
> the player. Put this function, along with the list of file paths in a
> PHP-generated .js file and link it in, to make it a little harder for
> people to find out where the files are. If you want to be real
> sneaky, set the encoding of the .js file to UTF-8 and stick a
> zero-width white-space at the end of each filename. The oughta
> confuse the heck out of them :-)
>
> Uzytkownik "John" <count@duckula.com> napisal w wiadomosci
> news:ccho00l0iru41esj6kq91ee52ka20rikch@4ax.com...[color=green]
>> Hello.
>>
>> If I wanted to make a website of sound files that are playable within
>> the actual webpage, but people visiting the site can't save, or see
>> the filenames so they can download from the site, is this possible?
>>
>> What would be the best format to save the sound clips in? I would
>> need something that doesn't take up too much space but is good
>> quality.
>>
>> Is it possible to somehow use a php include statement so that the
>> filename is not visible?
>>
>> I am fairly new to the world of php and am just starting to learn it.
>>
>> Thanks for any help
>>
>> John[/color][/color]


Chung Leong
Guest
 
Posts: n/a
#7: Jul 17 '05

re: Sound Files in webpages?


I would like to see how you use a site built using ASP.NET.

Uzytkownik "Agelmar" <ifetteNOSPAM@comcast.net> napisal w wiadomosci
news:buj55l$i7fe4$1@ID-30799.news.uni-berlin.de...[color=blue]
> Other than the fact that most people don't have the Real player installed,
> and I wouldn't touch the damned thing if my life depended on it... it's
> still an incredibly easy matter of opening up the source code and looking
> for the URL.
>
> And by the way - there are a lot of people, myself included, who have
> javascript disabled. Kill js and you get rid of all the bs popups,
> popunders, onclose abuses, right click modifiers etc.
>
> Chung Leong wrote:[color=green]
> > Just the Real plugin to play the files within the browser itself.
> > Here's the URL to the Real API guide:
> >
> >[/color]
>[/color]
http://service.real.com/help/library...rowse/realscri[color=blue][color=green]
> > pt.htm
> >
> > The links for playing the files would call a Javascript function,
> > which in turn calls a method of the plugin to set the URL and start
> > the player. Put this function, along with the list of file paths in a
> > PHP-generated .js file and link it in, to make it a little harder for
> > people to find out where the files are. If you want to be real
> > sneaky, set the encoding of the .js file to UTF-8 and stick a
> > zero-width white-space at the end of each filename. The oughta
> > confuse the heck out of them :-)
> >
> > Uzytkownik "John" <count@duckula.com> napisal w wiadomosci
> > news:ccho00l0iru41esj6kq91ee52ka20rikch@4ax.com...[color=darkred]
> >> Hello.
> >>
> >> If I wanted to make a website of sound files that are playable within
> >> the actual webpage, but people visiting the site can't save, or see
> >> the filenames so they can download from the site, is this possible?
> >>
> >> What would be the best format to save the sound clips in? I would
> >> need something that doesn't take up too much space but is good
> >> quality.
> >>
> >> Is it possible to somehow use a php include statement so that the
> >> filename is not visible?
> >>
> >> I am fairly new to the world of php and am just starting to learn it.
> >>
> >> Thanks for any help
> >>
> >> John[/color][/color]
>
>[/color]


R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#8: Jul 17 '05

re: Sound Files in webpages?


[top-post fix]
[color=blue][color=green]
> > Uzytkownik "John" <count@duckula.com> napisal w wiadomosci
> > news:ccho00l0iru41esj6kq91ee52ka20rikch@4ax.com...[color=darkred]
> >> Hello.
> >>
> >> If I wanted to make a website of sound files that are playable within
> >> the actual webpage, but people visiting the site can't save, or see
> >> the filenames so they can download from the site, is this possible?
> >>
> >> What would be the best format to save the sound clips in? I would
> >> need something that doesn't take up too much space but is good
> >> quality.
> >>
> >> Is it possible to somehow use a php include statement so that the
> >> filename is not visible?
> >>
> >> I am fairly new to the world of php and am just starting to learn it.
> >>
> >> Thanks for any help
> >>
> >> John[/color][/color][/color]
[color=blue]
> Chung Leong wrote:[color=green]
> > Just the Real plugin to play the files within the browser itself.
> > Here's the URL to the Real API guide:
> >
> >[/color]
> http://service.real.com/help/library...rowse/realscri[color=green]
> > pt.htm
> >
> > The links for playing the files would call a Javascript function,
> > which in turn calls a method of the plugin to set the URL and start
> > the player. Put this function, along with the list of file paths in a
> > PHP-generated .js file and link it in, to make it a little harder for
> > people to find out where the files are. If you want to be real
> > sneaky, set the encoding of the .js file to UTF-8 and stick a
> > zero-width white-space at the end of each filename. The oughta
> > confuse the heck out of them :-)[/color][/color]

"Agelmar" <ifetteNOSPAM@comcast.net> wrote in message news:<buj55l$i7fe4$1@ID-30799.news.uni-berlin.de>...[color=blue]
> Other than the fact that most people don't have the Real player installed,
> and I wouldn't touch the damned thing if my life depended on it...[/color]

Yes, though anti-Real sentiment is bit common among developers, I
could see many site use it. Their compression is tremendous, for
example a MP3 file of about 6MB easily compressed to just 700KB in
their format, which is real benefit for online play stations.
[color=blue]
> it's
> still an incredibly easy matter of opening up the source code and looking
> for the URL.[/color]

Yes, anything over HTTP can easily be trapped. But, if you use RTSP
(Real) or MMS (Microsoft), you can __somewhat__ control the "file
saving". Probably using PHP to dynamically create ASF files (for MMS)
may help a bit.

--
"We live to die; We die to live"
Toooo busy... will actively join soon
Email: rrjanbiah-at-Y!com
Closed Thread


Similar PHP bytes