Women in Technology

Hear us Roar



Article:
  Building a Simple Search Engine with PHP
Subject:   help me for populate.php
Date:   2004-12-03 00:36:42
From:   setiawan77th
Hi all..

please help me with my problem, when I run
populate.php it always say "You need to define a
URL to process." but actually I alreade put
some url addres in $url = addslashes( $_GET['http://localhost/newweb/start/'] ); well some body can help me??
Full Threads Newest First

Showing messages 1 through 2 of 2.

  • help me for populate.php
    2005-01-21 14:35:57  Lykerus [View]

    If you haven't already been answered to this or figured this out yet, in order to process a URL, you need to add the url at the end of the populate.php file.

    e.g. ...populate.php?url=http://www.cnn.com/

    This basically tells the populate.php file which url to index.

    Hope this helps!
  • help me for populate.php
    2005-01-21 14:59:09  Lykerus [View]

    One other thing that I forgot to add to your question is that you shouldn't put you url address after the '$_GET' tag. The url will not be able to be processed if you keep that in there. If you change the 'http://localhost/newweb/start/' to 'url' like it was before, and then do as I stated in my last message, you should be up and running.

    Good luck.