Re: PHP Nightmare.....Integration into ebaY listings
From: Senator Jay Billington Bulworth (f_at_fung.arg)
Date: 02/13/05
- Next message: Alvaro G. Vicario: "Re: Session maintenance"
- Previous message: ben lessani: "PHP Nightmare.....Integration into ebaY listings"
- In reply to: ben lessani: "PHP Nightmare.....Integration into ebaY listings"
- Next in thread: lessani_at_gmail.com: "Re: PHP Nightmare.....Integration into ebaY listings"
- Reply: lessani_at_gmail.com: "Re: PHP Nightmare.....Integration into ebaY listings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Alvaro G. Vicario: "Re: Session maintenance"
- Previous message: ben lessani: "PHP Nightmare.....Integration into ebaY listings"
- In reply to: ben lessani: "PHP Nightmare.....Integration into ebaY listings"
- Next in thread: lessani_at_gmail.com: "Re: PHP Nightmare.....Integration into ebaY listings"
- Reply: lessani_at_gmail.com: "Re: PHP Nightmare.....Integration into ebaY listings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|