Jump to content

Little Goat

Members
  • Posts

    733
  • Joined

  • Last visited

Posts posted by Little Goat

  1. so this is only PHP? how do you get the crawler to crawl? how do you decide which pages to crawl?(and no, I'm not trying to copy your idea. I definatley don't have enough knowledge. :) )

  2. well, you would have to do this everywhere you wanted a link, and it wouldn't work if javascript was turned off, but here:

    <form name="whereveryouwanttolinkto" action="whereveryouwanttolinkto.php"><input type="hidden" value="<?php echo $_POST['var1']; ?>"  name="var1" />(repeat for each variable)<a href="javascript:document.whereveryouwanttolinkto.submit()">next page</a></form>

    but you really shouldn't use it. :)

  3. hi, I just got opera, because I couldn't stand how slow FF is.but then when I log into this forum, and then leave the page, then come back again, I am logged out. I believe this is a cookie problem and it's getting on my nerves. How do I fix this?????thanksLG

  4. you can use SQLite, it's a combination of SQL and flat files. it stores it in flat files, but you can use it like SQL. I haven't tried it, I just read about it.

  5. Here is something in javascript to load a file and store it in a variable, after which you can do whatever you want with it. I don't know about the writing though. (this was revised from dynamicdrive.com's ajax include)

    <script type="text/javascript">/************************************************ Ajax Includes script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit Dynamic Drive at [url="http://www.dynamicdrive.com/"]http://www.dynamicdrive.com/[/url] for full source code***********************************************///To include a page, invoke ajaxinclude("afile.htm") in the BODY of page//Included file MUST be from the same domain as the page displaying it.var rootdomain="http://"+window.location.hostnamefunction ajaxinclude(url) {var page_request = falseif (window.XMLHttpRequest) // if Mozilla, Safari etcpage_request = new XMLHttpRequest()else if (window.ActiveXObject){ // if IEtry {page_request = new ActiveXObject("Msxml2.XMLHTTP")} catch (e){try{page_request = new ActiveXObject("Microsoft.XMLHTTP")}catch (e){}}}elsereturn falsepage_request.open('GET', url, false) //get page synchronously page_request.send(null)content=writecontent(page_request)return content;}function writecontent(page_request){if (window.location.href.indexOf("http")==-1 || page_request.status==200)return(page_request.responseText);}</script>

  6. actually, you can make a search application with Javascript (if you're talking about JAVA, I think you could use that too), but I wouldn't use that language. usually shopping carts are made with PHP or some other sever-side scripting language. you will have to learn one of those really well before you can do something like that, though.LG

  7. well show him the description tag. it probably has that text in it.here's sort of proof: the google people couldn't do that; it would take every minute of thier lives! :)

  8. you really shouldn't use Iframes either. all frames take your rating WAY down in google and other Search engines. the short answer to refreshing only one section without frames: You can't.the long answer: you have to use javascript to open a page and load it in. you could use PHP or ASP and include, but it would still refresh the whole thing.

×
×
  • Create New...