|
| Index | Recent Threads | Unanswered Threads | Who's Online | User List | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 2
|
|
| Author |
|
|
Newbie th US Joined: Jun 5, 2008 Post Count: 22 Status: Offline |
Hello friends. I have an issue regarding one of the concepts of web design. Issue : Let?s say you have a website where you have your database of mp3 songs. I have a similar site that doesn?t have a database but I want my site to have the same songs. What I need are a few lines of PHP or Java script code which will allow me to link this site with the one that has database. In other words: I have a song called ABC.mp3, when the user clicks on that link, the song starts downloading into my webpage but the source will come from another site. That means I want to use another site?s resources. Is it called diverting or mirroring? I need the script for it. |
||
|
|
Advanced Member UK Joined: Dec 29, 2004 Post Count: 1662 Status: Offline |
Linking to files on another site is just like linking to files on the same server, you just need to use absolute URLs i.e. http:www.site.com/path/to/file.mp3 ---------------------------------------- Pavonis Mons | Listen of the week: "Residue of Desire" by Acumen |
||
|
|
|
|
|
Current timezone is GMT Mar 20, 2010 12:26:48 PM |