Re: PHP Nightmare.....Integration into ebaY listings

From: Senator Jay Billington Bulworth (f_at_fung.arg)
Date: 02/13/05


Date: Sun, 13 Feb 2005 18:49:46 GMT

lessani@gmail.com (ben lessani) wrote in
news:536703d4.0502131045.6f206d80@posting.google.com:

> Hi guys,
>
> I've been searching all day for a method on how to integrate the
> listings off ebaY onto my website, but I have had no joy whatsoever.
>
> I want to be able to open a listing based on the the item number,
> which I can do simply by using,
>
> $ITEMNUMER = ("blah");
> http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=$ITEMNUMER
>
> [...]
>
> What I really want to do is have a script check a listing for some
> text. But, as I cannot get PHP to open the file, I'm stuck !

<?php

$data = file_get_contents("http://cgi.ebay.co.uk/ws/eBayISAPI.dll?
ViewItem&item=4356967161");

if(preg_match("/potty/i", $data, $match)){
  echo "This eBay listing says '$match[0]'";
}

?>

(Don't ask me, I searched eBay for "PHP" and that came up...)

hth

-- 
Bulworth : PHP/MySQL/Unix | Email : str_rot13('f@fung.arg');
--------------------------|---------------------------------
<http://www.phplabs.com/> | PHP scripts, webmaster resources


Relevant Pages

  • Re: A badly-worded warning?
    ... listed on eBay or anywhere on the web for quite a long time. ... You grossly misunderestimate how much people hate spam, ... Kris:>> What makes you think they won't see your listing? ... give up searching every day. ...
    (alt.marketing.online.ebay)
  • PHP Nightmare.....Integration into ebaY listings
    ... listings off ebaY onto my website, but I have had no joy whatsoever. ... I want to be able to open a listing based on the the item number, ... it is having trouble including external webpages ... But, as I cannot get PHP to open the file, I'm stuck! ...
    (comp.lang.php)
  • Re: A badly-worded warning?
    ... listed on eBay or anywhere on the web for quite a long time. ... would have assumed the losing bidders would have been only too happy to ... Someone searching for an item fruitlessly for a long time would tend to ... certainly there was every chance they would easily miss my listing. ...
    (alt.marketing.online.ebay)
  • Re: A badly-worded warning?
    ... listed on eBay or anywhere on the web for quite a long time. ... would have assumed the losing bidders would have been only too happy to ... Someone searching for an item fruitlessly for a long time would tend to ... certainly there was every chance they would easily miss my listing. ...
    (alt.marketing.online.ebay)
  • Re: FA: SILTRONIX SLM-100 RF RADIO LINEAR AMPLIFIER HF AMP.,
    ... If the listing was removed by eBay, ... Try searching for another item now. ... BWAHAHHAAHHAAHAHAHAH! ...
    (rec.radio.cb)