Jump to content

Archived

This topic is now archived and is closed to further replies.

phpallwinner

<?php print "Hello world, I need a good brain!"; ?>

Recommended Posts

Hi everybody, this is NOT me in the picture. :)Leese_Steve-Buscemi_09.jpg

 

I would like to tell you that I am so pleased that I can be a registered member of this site.

But all I registered for is to get help. As you could have found out from the title.

 

For what I do need your help? 

 

Yes, I'm not kidding, I really need a good brain, but I do not want to take your brain literally. No, I just need you to tell me how to create the following easy php script.

 

What should it do?

 

The php script should be able to find things I'm searching for. For example: 

- I type in: used apple iphone pink with hello kitty scrandguru  (I don't know what does scrandguru mean, don't ask me)

and it searches immediately on ebay, amazon.com, google etcetera, all the sites I just want it to search on. 

 

The Structure:

 

A simple html and css made page, with the script. 

I type in "something", hit enter, it submits the data and sends it to the php script, the php script connects to internet, no database used for this so far, it searches on ebay, amazon etc etc.. 

 

The Dilemma:

How..can.. I.. make.. THIS?! 

 

Thanks for good and smart replies in advance, I hope you can help me out. 

Best wishes,

Micky

Share this post


Link to post
Share on other sites

Obviously the introductions forum should not be used to ask for help. To answer your question.

 

How..can.. I.. make.. THIS?!

Learn HTML, PHP and XPath (or Regex) to query the DOM of the returned HTML from Google, Amazon, and e-bay.

 

Learn CSS optionally to make your website and the search results look nice.

Share this post


Link to post
Share on other sites

Obviously the introductions forum should not be used to ask for help. To answer your question.

 

 

Learn HTML, PHP and XPath (or Regex) to query the DOM of the returned HTML from Google, Amazon, and e-bay.

 

Learn CSS optionally to make your website and the search results look nice.

Thanks for quick reply! I already know by heart HTML, CSS3 and some PHP (only basic tags, but I can make out of them a working website, for example for a small company), but I don't know how to build the idea's structure I mentioned above. Guess what I mean? :)

Share this post


Link to post
Share on other sites

Instead of scraping, search to see if each of these sites have an API you can use, it's far more reliable.

 

Also, I would attempt to do this yourself then if you have specific questions post them in the appropriate forum section for more helpful replies.

Share this post


Link to post
Share on other sites

Instead of scraping, search to see if each of these sites have an API you can use, it's far more reliable.

 

If these sites don't have an API to allow you to perform a search such as you need, then it's a pretty good chance that trying to scrape their sites is against the TOS for those sites.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.