You are here: Re: Simple data handler « PHP Programming Language « IT news, forums, messages
Re: Simple data handler

Posted by Rik on 02/08/07 15:41

psuwebmasters <psuwebmasters@gmail.com> wrote:

> I am doing some work developing a OneBox for a Google Mini. All I
> need to do is take a $_GET values from the Mini (in this case,
> specifically "query"), format it into a URI to pass off to another
> script, get the results from that script in XML, and hand that XML
> back off to the Mini. So basically it acts as a go-between, and
> simple translator for the initial request.
>
> So, the OneBox sends a request like:
> http://www.website.com/isbn.php?query=3D0123456789
>
> The script turns that into:
> http://isbndb.com/api/books.xml?access_key=3DXXXXXXXX&index1=3Disbn&va=
lue1=3D0123456789
>
> Then it gets the XML from that and just returns it to the OneBox as
> is.
>
> This is my first dive into some actual PHP development work, so I'm
> having a slow time getting any real traction to start out, but I
> figure if I can get this rolling, it won't be hard to flesh out.


I did not see a question?

<?php
readfile('http://isbndb.com/api/books.xml?access_key=3DXXXXXXXX&index1=3D=
isbn&value1=3D'.$_GET['query']);
?>
-- =

Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация