Re: "Dynamic" script of some sort needed for mp3 linking



Hi Andrew,

This would be easily created with a dynamic server side language such
as PHP.

It would become more complicated if you needed to organise the files
into several folders and/or categories, but still quite manageable.

I am sure there is a free script out there that would do this for you,
tro to Google "php open source file directory" or similar and I am sure
you would find one

--------------------------------------------------

Soren Beck
Costa Tropical Internet
http://www.costatropicalinternet.com

AndrewTheArt wrote:
I have a couple of questions for the HTML/CSS/CGI/YouNameIt masters out
there...

(oh, and sorry fi this is in the wrong are of Groups - I'm not exactly
sure what scripting method this requires)

(1) If I have a mp3 file (let's call it Andrew.mp3), and I want to
host it on a website I own, how could I implement some script that, as
soon as I drag the mp3 file into a specific folder, would parse
"Andrew.mp3" as a string, tear off the ".mp3" part of the new
string, (thereby taking "Andrew" as a string) and put this string
up on my website? This new text "Andrew" would also need to be
hyperlinked to the Andrew.mp3 file mentioned earlier. Basically, this
would be a very dynamic process.

In addition, it'd be nice if the next time I drag *any* .mp3 file in
this scripted folder, it did the exact same thing, but it kept up the
older link (to Andrew.mp3) as well. Let's call this new file
"SecondFile.mp3".

So it'd look like this -

SecondFile (note: this would be hyperlinked to SecondFile.mp3)
Andrew (note: this would be hyperlinked to Andrew.mp3)


(2) Is there some cool script that recognizes if you have the Adobe
reader, and if you don't, it redirects/suggests you visit the Adobe
website?


Thanks!


~Andrew

.



Relevant Pages

  • Re: [PHP] PHP console script vs C/C++/C#
    ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... This is why I am thinking about rewriting my whole script in a C language. ... Perhaps there are different methods I could be using to speed up execution. ...
    (php.general)
  • Re: How to Add a Feeback Form
    ... I saw nothing in that script that indicates where the form is e-mailed to so ... Greg Maxey/Word MVP ... PHP or not. ... have the support available yet. ...
    (microsoft.public.frontpage.programming)
  • How best to show PHP source? (was: One page, multiple submit buttons)
    ... script to add to the top of a PHP script to enable showing its ... Maybe anybody submitting their own PHP code for critique here ... Anything posted to a newsgroup is a "snapshot" of what the ... there ought to be a FAQ for this ...
    (comp.lang.php)
  • Re: [PHP] PHP console script vs C/C++/C#
    ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... thinking about rewriting my whole script in a C language. ... execution of the code. ...
    (php.general)
  • Email form script
    ... I have a web form that posts to a .php ... who cannot run .php on their server. ... Or does anyone have a .asp script that will ... Thank you for choosing FormToEmail by FormToEmail.com ...
    (microsoft.public.scripting.jscript)