473,748 Members | 10,889 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2889
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.c om...
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.c om...
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.c om...
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**********@c omcast.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.c om...
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.c om...
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**********@c omcast.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
4347
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 this sound (file) on a Windows socket (not using FTP but TCP), can I read the file into a byte array? Because if it is possible then I can send it on the socket but the problems I foresee are: How will I repack it into the file. Will just reading...
4
3476
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. It's an application that works with a wireless barcode scanner, in a warehouse environment. The user could be potentially 20 or 30 ft. from the PC. If the user scans something improperly, the app should sound a 'horn' to notify the user. I'm trying...
5
3860
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 how asp.net find's it's compiled files when asking for the same webpage which was complied before. -- Bas Hendriks Technical Specialist PinkRoccade
12
2805
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 when menu items are clicked.Besides these i would like to put a custom status bar. Any error message encountered in any of the webpage will be displayed in the banner. The problem iam encountering is how to access the customer status bar in child...
16
14764
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 my Javascript Console: Error: self.document.guitar.IsReady is not a function Error: self.document.guitar.stop is not a function
6
1983
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 sound. Thanks for your help, - Dave ps - Searching Google turned up stuff for Netsacpe and IE 3, but I was hoping more for IE 7 and Firefox.
5
2159
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 play the sound. It works perfectly well in Windows XP, but when I move my application to a Vista machine, the sound does not play... I used a debug statement to confirm that the files are seen in the code but somehow it does not play... If I use...
7
4514
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 composed links e.g. with javascript do not matter here. Now I want to find out which of all these (many) files are un-reference orphans starting from the main page index.html (or index.shtml) In other words if e.g. a file aaa.log can not be...
26
3902
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 almost no posts from the last 3 years: http://groups.google.com/group/comp.lang.javascript/search?group=comp.lang.javascript&q=how+to+play+a+sound+with+Javascript&qt_g=Search+this+group Even after sorting by date, there don't appear any...
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9321
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8242
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4602
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2782
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.