Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Homer

by strredwolf (Chaplain)
on Nov 04, 2001 at 12:38 UTC ( [id://123154]=note: print w/replies, xml ) Need Help??


in reply to Play media file locally when someone opens my web page ?

No, you need to use CGI instead. Otherwize, depending on your web server's config, you'll be sending your CGI script to the client.

--
$Stalag99{"URL"}="http://stalag99.keenspace.com";

Replies are listed 'Best First'.
Re: Re: Play media file locally when someone opens my web page ?
by rob_au (Abbot) on Nov 04, 2001 at 14:03 UTC
    Not true at all ... a server-side include can be configured to execute a CGI script with the output being incorporated into the web page (in the same way as if the CGI was executed directly itself - See the <!--#include virtual="" --> SSI directive).

    To perform this bit of functional magic though, there would need to be a network method by which the web server on which the web page is hosted can pass a message to the work-station computer. This could be implemented through any variety of network magic, but I would point Anonymous Monk to a similar piece of code from Lincoln Stein which sends an email to a set address when a web page is hit - This code can be found at here under the heading Send E-Mail When a Particular Page Gets Hit. Although this code example does rely on mod_perl for execution, it could easily be adapted for CGI/SSI execution by simply stripping out the apache handling component and the additional of content header output.

     

    Ooohhh, Rob no beer function well without!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://123154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-24 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found