Jump to content

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


phpallwinner

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

Edited by phpallwinner
Link to comment
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.

Edited by ignace
Link to comment
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? :)

Edited by phpallwinner
Link to comment
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.

Edited by Maq
Link to comment
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.