Re: include asp in php

From: Savut (webki_at_hotmail.com)
Date: 02/06/04

  • Next message: Agelmar: "Re: include asp in php"
    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 )
    >
    >


  • Next message: Agelmar: "Re: include asp in php"

    Relevant Pages

    • Re: ASP web hackers
      ... URL/querystring, POST, cookie or certain HTTP headers, etc. Server-side ... expecting and don't use Collection shortcuts such as Requestbut ... authentication, authenticate on every page request not just the first. ... Front/middle tier ASP developer with WAI & web standards ...
      (microsoft.public.inetserver.asp.general)
    • Re: HTTP 500 Internal Server Error while running ASP page
      ... you need to turn off the "Show friendly HTTP error ... > I made a guest book with ASP page and MS access 2000. ... > can display data from the database via my asp page. ... > HTTP 500 Internal Server Error ...
      (microsoft.public.frontpage.programming)
    • Re: XML mit ASP auslesen und formatieren
      ... > und Daten mit ASP in eine bestimmte Form bringe? ... Stelle sicher, das MSXML 3 oder 4 auf deinem Server installiert ist, auf ... HTTP Anforderung an den anderen Server zu senden: ... For Each HeadLine in HeadLines ...
      (microsoft.public.de.inetserver.iis.asp)
    • Re: posting to server but staying on same page
      ... > I have a form written in asp. ... > would return no content to the client browser. ... How do I detect a HTTP status codes in asp? ... Honestly, you will be better off refreshing the page, if for no better ...
      (microsoft.public.inetserver.asp.general)
    • Re: Save formatting in Text area box
      ... If they dont put one ... I am using a input on a form and using the tag when displaying the text to a html page (embedded in a .asp page). ...
      (microsoft.public.inetserver.asp.general)