Thread: ISAPI question?

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    South Yorkshire
    Posts
    442
    Rep Power
    23

    Post ISAPI question?


    Been developing a web app which runs in PHP but gets it's data from a dll module e.g.

    Http://<server>/scripts/data.dll?command=GetNews

    However all this is fine and dandy but I am really unsure on how to pass the data back to the server.

    The data will hopefully be xml but would it be easier to pass it back through the url, or as a data/form post or what???
    regards,

    pgudge
  2. #2
  3. Mobbing Gangster
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Sep 2001
    Location
    "Best City" 2002 and 2003- Melbourne, Australia
    Posts
    4,912
    Rep Power
    32
    The best way would be to either use sockets yourself or curl, do a search on both here and php.net and you sure will come up with something.

    P.S. what is it doing in windows forum?
    And you know I mean that.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    South Yorkshire
    Posts
    442
    Rep Power
    23
    Didn't know where to put it, because the ISAPI filter was writen in DevStudio and IIS and all that I went for Windows.

    Where would you recommend I post this topic? For maxium results?
    regards,

    pgudge
  6. #4
  7. Mobbing Gangster
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Sep 2001
    Location
    "Best City" 2002 and 2003- Melbourne, Australia
    Posts
    4,912
    Rep Power
    32
    I am not familiar with all aspects of dlls so probably I am missing a point here. Would you go over problems you face while working with dlls? I haven't had any first hand experience with them.

    As for the topic, I would use something like 'exchanging data dll-php' or something of that matter.
    And you know I mean that.
  8. #5
  9. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,594
    Rep Power
    4207
    Maybe I'm not too clear about the question either, but are you asking how to make an ISAPI dll return data back to the webserver? If so, I can probably give you a hand with that.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    South Yorkshire
    Posts
    442
    Rep Power
    23
    sorry guys, i'll try again

    I got a dll that sends data (XML) to the client/browser, so in my php file where I process/parse the XML I can this:

    $xml_data_file = "http://SERVER/data.dll?command=<command>

    so when I pass a command like, GetNews, or GetUsers it's sends that data back to the php file to parse.

    When I change the data, client side, I want to pass the data back to the server, preferrably in XML too, but i'm unsure as to how to pass the data back, I dont want to have to pass it in the URL e.g.

    http://SERVER/data.dll?command=SaveD...omuch=data&etc etc etc

    So I was wanting to know the best way to give this dll some data back.

    Hope that was better.
    regards,

    pgudge

IMN logo majestic logo threadwatch logo seochat tools logo