473,408 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Sound Files in webpages?

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
Jul 17 '05 #1
7 2873
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:
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

Jul 17 '05 #2
On 2004-01-19, John <co***@duckula.com> wrote:
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?
If they can't download it, how do you think they will be able to listen
to it?
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.
I think mp3 isn't a bad idea.
Is it possible to somehow use a php include statement so that the
filename is not visible?


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
Jul 17 '05 #3
IMHO, You might consider using flash to play the source sounds.
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"John" <co***@duckula.com> wrote in message
news:cc********************************@4ax.com...
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

Jul 17 '05 #4
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" <co***@duckula.com> napisal w wiadomosci
news:cc********************************@4ax.com...
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

Jul 17 '05 #5
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:
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" <co***@duckula.com> napisal w wiadomosci
news:cc********************************@4ax.com...
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

Jul 17 '05 #6
I would like to see how you use a site built using ASP.NET.

Uzytkownik "Agelmar" <if**********@comcast.net> napisal w wiadomosci
news:bu************@ID-30799.news.uni-berlin.de...
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:
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" <co***@duckula.com> napisal w wiadomosci
news:cc********************************@4ax.com...
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


Jul 17 '05 #7
[top-post fix]
Uzytkownik "John" <co***@duckula.com> napisal w wiadomosci
news:cc********************************@4ax.com...
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
Chung Leong wrote:
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 :-)


"Agelmar" <if**********@comcast.net> wrote in message news:<bu************@ID-30799.news.uni-berlin.de>... 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...
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.
it's
still an incredibly easy matter of opening up the source code and looking
for the URL.


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
Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sathyaish | last post by:
I am using MCI (winmm.dll) to read, record and playback sound. For now, I am doing this with disk files instead of realtime doing it straight from the memory. If I want to stream/relay/transmit...
4
by: Robert Gravereaux | last post by:
I'm putting together a C# .Net forms project on win2k. The application requires some sort of horn sound. I've never implemented any audio in .Net, so I'm not sure how best to accomplish this. ...
5
by: Bas Hendriks | last post by:
Has anyone any idea how asp.net find it's files back after compiling them to the temporary asp.net directory? I found on numerous webpages that the directorynames are chosen random but cannot find...
12
by: scsharma | last post by:
Hi, I am working on creating a webapplication and my design calls for creating main webform which will have menu bar on left hand side and a IFrame which will contain all the forms that are shown...
16
by: Dobedani | last post by:
Dear All, I found the code added below at: http://simplythebest.net/sounds/sound_guide.html Unfortunately, the code doesn't seem to work in Firefox. These are the error messages I can see in...
6
by: laredotornado | last post by:
Hi, Is there a cross-browser way to play short (< 25K) sound files without spawning new windows or embedding any visual controls on the page? I would like to click a button and hear my short...
5
by: | last post by:
Hello, I am wrtting a program that does some sound effects... the files are stored in a subfolder in the application folder... and I check the existence of the files before calling the method to...
7
by: Patricia Mindanao | last post by:
I have a directory tree on my hard disc which represents all the web pages and linked stuff on my mirrored web hoster server. All web pages and files are statically linked. So dynamically...
26
by: Jake Barnes | last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.