Using php
Shari
gypsyware at earthlink.net
Tue Feb 17 22:16:13 EST 2004
>Shari,
>
>If you control the php script, you can always return simple HTML
>than will render using a field's htmlText property, and display that.
>You can also just search for the name in the HTML.
>
>HTH,
>Brian
>
>>The .php script can dynamically insert a person's name onto a web
>>page, to personally thank them or whatever. But for my Metacard
>>script to go to that web page and check to make sure the name is
>>there, fails. When you "get" an URL, what you are getting is the
>>raw HTML, not the finished page the surfer sees.
Brian,
I tried that last night, using a real web page on my site. The php
script replaces a dummy word with the desired one, and the page you
see has the newly inserted word. When I retrieved the page from
Metacard, it retrieved the raw HTML with the dummy word, not the web
page it produced with the newly inserted word. Same problem I had
with CGI.
Am I missing something?
I need to be able to "get" what is displayed, not the raw HTML behind
it. Barring that, the only solution would be to have a text file or
HTML page that is actually updated, not temporarily for one view, but
permanently.
Shari
--
--Shareware Games for the Mac--
http://www.gypsyware.com
More information about the metacard
mailing list