RE: New Spider

Adrenolin <[email protected]> 4 Aug 2003 23:10:52 -0000
Newsgroups gmane.comp.web.oscommerce.tips
Message-ID <0b26f86583eb1ea096be1bb5fad033b7@osCommerce-Forums>
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=207545#207545
----------------------------------------------------------------

Edit the html_output.php file and go down to where you see the line starting with "$spiders = array" in the middle of that array add the IP 203.199.124.111. Just look at the syntax of that line and add the IP in there somewhere the same as the other 30 or so entries. For example here is the first line in the array from your file above:

[code]    $spiders = array("almaden.ibm.com", "appie 1.1", "asterias2.0",[/code]

Simply add the IP in to look like this...

[code]    $spiders = array("almaden.ibm.com", "203.199.124.111", "appie 1.1", "asterias2.0",[/code]

Again this is untested as I dont use MS2 but I dont see why it wouldn't work. Also.. If this is your first time setting this up you want to learn. Make mistakes and errors. Go through and learn how all the files work and dont be afraid to mess things up. I'd suggest playing with the code and database to learn how it all works by setting up your shop in a trial mode. Then, once you have become more knowledgable, same it to your hard drive, drop your database and reinstall from scratch. Doing this will allow you to learn first so your shop will likely be much better setup. 
After saying all this.. Dont be worried about still asking questions here :-) I'm NOT putting you off but simply giving you a suggestion!

[quote="joekilo"]sorry t ask this but if you know exactly where i should put it as i am not code skilled and i dont want to cause any errors etc sorry.....


I know the sids are showing because after every file the spider locates it has the sid after it? and i ve seen others posting these without so i presume that i have it wrong[/quote]