[SOLVED] Sounds in PHP

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Stelios
Forum Commoner
Posts: 71
Joined: Fri Feb 06, 2004 6:25 am
Location: Surrey/UK

Sounds in PHP

Post by Stelios »

Hi all,

Is there any way I can insert sounds using php? What I mean is that I would like the sounds to play after the user is clicking on the link.

Thanks!!! :D
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

javascript

Post by phpScott »

try javascript as php is server side and doesn't know when you have clicked a link
User avatar
Stelios
Forum Commoner
Posts: 71
Joined: Fri Feb 06, 2004 6:25 am
Location: Surrey/UK

Post by Stelios »

Ok, let me reset my question then,
Is there any way I could make this link as a download link and instead of playing real time, the user can download it?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Moved to client-side.

Use the forum-search for this and read viewtopic.php?t=7736&highlight=download+passthru
User avatar
Stelios
Forum Commoner
Posts: 71
Joined: Fri Feb 06, 2004 6:25 am
Location: Surrey/UK

Post by Stelios »

thnx a lot!!!
:)
Post Reply