Re: copy, open, or manipulate an image hosted in a https server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i'm just going to guess. check your settings if it allows to open external
files, especifically allowed to fopen url.

http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen

hth,

john

On 9/13/06, R B <rbpphp@xxxxxxxxx> wrote:

I think it's a security https problem.

I was reading that with IIS, you can't use fopen in a https server... I
think i have this problem also with copy...

Some ideas?




On 9/12/06, R B <rbpphp@xxxxxxxxx> wrote:
>
> It's not a syntaxis problem.
>
>
> On 9/12/06, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
> >
> > On Tue, 2006-09-12 at 12:27 -0600, R B wrote:
> > > Hello,
> > >
> > > I need to copy, open or manipulate a gif images that is hosted in a
> > https
> > > server.
> > >
> > > But when i try to do this, i recive a warning like this:
> > >
> > > *Warning*: imagecreatefromgif(https://..../aaa.gif): failed to open
> > stream:
> > > Invalid argument in .....
> > >
> > > I recive a similar message if i use:
> > >
> > > copy(https://..../aaa.gif,' bla bla bla ');
> > >
> > > fopen (https://..../aaa.gif, ....);
> > >
> > > How can i resolve this problem and use this image?
> >
> > Ummm, you're missing quotes around the URL portion of the argument.
> >
> > Cheers,
> > Rob.
> > --
> > .------------------------------------------------------------.
> > | InterJinn Application Framework - http://www.interjinn.com |
> > :------------------------------------------------------------:
> > | An application and templating framework for PHP. Boasting  |
> > | a powerful, scalable system for accessing system services  |
> > | such as forms, properties, sessions, and caches. InterJinn |
> > | also provides an extremely flexible architecture for       |
> > | creating re-usable components quickly and easily.          |
> > `------------------------------------------------------------'
> >
> >
>




--
GMail Rocks!!!

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux