hi,
how can i make a link attache ment system with php, culr / ajax
one like in facebook..........!!
i.e by typing a link fetching meta, title and images from that link...!!

thanks in advance.........!!

hi,
how can i make a link attache ment system with php, culr / ajax
one like in facebook..........!!
i.e by typing a link fetching meta, title and images from that link...!!

thanks in advance.........!!

Since the links are external domains, you'll need to have PHP act as a proxy.

You'll have PHP make a HTTP request to the site, and fetch the meta, title and images by parsing the returned HTML.

In order to not refresh the page the user is on, you have JavaScript make a HTTP request to your server PHP page with XMLHttpRequest, or some other method.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.