[PHP] Remote image

2001-12-11 Thread Martin Kampherbeek
Hi, I have a problem with a remote image. I hope someone can help me. People can post their link of their webpage at my site. I check if the file excists, fopen(). After that I scan the page for links. And the links for images. Then I would like to see the sizes of all those images. The problem

Re: [PHP] remote image uploads.

2001-07-25 Thread Tyler Longren
er Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: "Tyler Longren" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 11:24 AM Subject: [PHP] remote image uploads. &

[PHP] remote image uploads.

2001-07-25 Thread Tyler Longren
Hello everyone, I've hunted on google, read the list archives. Here's what I've been fooling with to upload the file: $data = addslashes(fread(fopen($picture, "r"), filesize($picture))); $len = strlen($data); if ($fp = fopen("$image_path/$p