Connecting Tech Pros Worldwide Forums | Help | Site Map

help to extract image from url

Newbie
 
Join Date: Jul 2008
Posts: 4
#1: Jul 8 '08
help to extract image from url

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,947
#2: Jul 8 '08

re: help to extract image from url


This is the second post where you've given the smallest piece of information.

In future you're going to have to give more details of your problem.

You cannot 'extract an image from url' but you can pass the image name in the url then use $_GET (i said all this in your last post) to get the name.

Example url:
Expand|Select|Wrap|Line Numbers
  1. http://example.com/some/dir/?image_name=img1.jpg
  2.  
Then use php's $_GET
[php]
$img = $_GET['image_name'];
echo $img;
[/php]
hsriat's Avatar
Expert
 
Join Date: Jan 2008
Location: Bath, UK
Posts: 1,609
#3: Jul 8 '08

re: help to extract image from url


Quote:

Originally Posted by lushna

help to extract image from url

I've no idea what you are talking about. Provide details, as Mark said.
Newbie
 
Join Date: Jul 2008
Posts: 4
#4: Jul 9 '08

re: help to extract image from url


to extract image--i mean like in face book -www.facebook.com--,in mail compose, there is share link,where the image is displayed with reference to the web link...
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,947
#5: Jul 9 '08

re: help to extract image from url


Quote:

Originally Posted by lushna

to extract image--i mean like in face book -www.facebook.com--,in mail compose, there is share link,where the image is displayed with reference to the web link...

The image is attached to the mail. It is not sent through the URL.
Reply