Reputation: 37454
I'm trying to show my Dropbox Public Folder on my website, i've got the link and i'm trying to use PHP include to do it like this:
<?php
include("MY DROPBOX LINK");
?>
But nothing shows up. I'm trying to avoid iFrames and thought PHP might be cleaner
Upvotes: 2
Views: 4169
Reputation:
If you can install the php-curl module (or already have it), that seems the best option to me without iframes.
Upvotes: 0
Reputation: 71140
include
only works with local file references (same server)*- what are you specifically after? You could use an iframe?
<iframe src='MY DROPBOX LINK'></iframe>
OR
To include in your application, there are also native PHP scripting means such as here..and also here
*correction: as per the comments below, you can grab external content, though it is not recommended
Upvotes: 4