Re: include asp in php
From: Savut (webki_at_hotmail.com)
Date: 02/06/04
- Previous message: David Mackenzie: "Re: include asp in php"
- In reply to: Recoura Tim: "Re: include asp in php"
- Next in thread: Savut: "Re: include asp in php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 6 Feb 2004 08:42:47 -0500
to insert image, you dont use include() use html even for asp generated image, dont forget the concept of http.
Savut
"Recoura Tim" <tim@e-port.be> wrote in message news:40239630$0$13256$ba620e4c@news.skynet.be...
> >
> > >Hello,
> > >
> > >I'm writing a shoppingcart program in PHP. The website of our suplliers
> > >webpage i written in ASP. He has very detailed info about his products,
> that
> > >I want to include in my PHP page, I used include, require, readfile, even
> > >something called Snoopy, but with everything that I try, I can't seem to
> get
> > >the image inculed in the file. I just get the square with the cross in
> it,
> > >like when you insert an image that doesn't exist.
> >
> > If your supplier's ASP script is outputting an image, you should just
> > be able to use plain HTML:
> >
> > <img src='http://www.example.com/script.asp' alt='Widget XYZ'>
>
> That won't work either, if i usethe url in a webbrowser and everything is
> fine, but when i use it in my script it won't work
>
> >
> > If your supplier's ASP outputs other data that you want to process,
> > you should be able to make a HTTP request to your supplier's server
> > and parse the output.
> >
>
> if I'm correct include ('url.asp'); does an HTTP request to this page,
> but it won't output the image
>
> I read something about using header(); but I didn't found out how exactly to
> use it, or more specific, how i should parse the html that is sent back.
>
> > If you need access to the ASP source code, you'll need to ask your
> > supplier for it.
> >
> > --
> > David ( @priz.co.uk )
>
>
- Previous message: David Mackenzie: "Re: include asp in php"
- In reply to: Recoura Tim: "Re: include asp in php"
- Next in thread: Savut: "Re: include asp in php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|