PHP & Search engines

Do search engines recognize text that is retrieved from a
MySQL database with PHP?

> I think a robot (spider)
> can get to any page on your site if its on your sever?
Nonsense. If there's no link to it, then it can only be found
by a lucky
guess.
> But the CAPTCHA is no longer secure
If done right it is.
> How do the mail spam bots get in they have to login
first, right?
Impossible.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote in
message
news:[email protected]...
>I don't know? But the CAPTCHA is no longer secure, I
think a robot
>(spider)
> can get to any page on your site if its on your sever?
How do the mail
> spam
> bots get in they have to login first, right?
> Thanks for your info on this,
> Dave
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> Such pages are secure. How would the spider login?
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>> ==================
>>
>>
>> "Baxter" <baxter(RemoveThe :-)@gtlakes.com>
wrote in message
>> news:[email protected]...
>> > Yes that's what I mean, If you have to login to
get to the page with
>> > the
>> > database info or there is no link to the page
they will not index it?
>> > Thanks
>> > I think that is what I was looking for.
>> > Dave
>> > "Murray *ACE*"
<[email protected]> wrote in message
>> > news:[email protected]...
>> >> If you can see it in your browser, they can
read it. But - they
>> >> cannot
>> >> enter information in forms or use logins
and passwords, if that's what
>> >> you
>> >> mean.
>> >>
>> >> --
>> >> Murray --- ICQ 71997575
>> >> Adobe Community Expert
>> >> (If you *MUST* email me, don't LAUGH when
you do so!)
>> >> ==================
>> >>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>> >>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>> >> ==================
>> >>
>> >>
>> >> "bregent"
<[email protected]> wrote in message
>> >> news:[email protected]...
>> >> > >Then they must have some way to
not index pages with sensitive data
> on
>> >> > >them
>> >> > >is that what your saying. I know
they can index the php, asp pages
> but
>> >> > >what
>> >> > >about the data that the page
produces?
>> >> >
>> >> > Not sure what you are asking about
sensitive data. They read pages
> the
>> >> > same
>> >> > way they are rendered to browsers and
follow the links on the pages.
>> > They
>> >> > don't
>> >> > know if the text is coming from a
database or is static. They don't
>> >> > care
>> >> > if the
>> >> > data is sensitive or not. Look at the
source view of a dynamic web
>> >> > page.
>> >> > That
>> >> > is what the SE sees.
>> >> >
>> >>
>> >
>> >
>>
>
>

Similar Messages

  • A php search engine that only shows results that match entire serch string

    I have set up a dreamweaver search engine through php and a fulltext search (WHERE MATCH (....) AGAINST (...). However, when someone inputs more than one word into the search form, the search engine churns out results that only have one of those words. How do I get it to only show results that have all the search string words inside? (or, at least, how do I get those results to show up at the top?)
    I have seen some advice (here) that uses php code to process the search query, divide up the words, and place a BOOLEAN '+' between each of the words. By doing this, the search engine will only show results that fully match all the terms.
    My problem is that I do not know how to put this code into my Dreamweaver-created code.
    My dreamweaver created code:
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $form_rsSearch = "-1";
    if (isset($_get['search'])) {
      $form_rsSearch = $_get['search'];
    mysql_select_db($database_dataConnect, $dataConnect);
    $query_rsSearch = sprintf("SELECT title, content FROM encyclopedia WHERE MATCH (title, content) AGAINST (%s)", GetSQLValueString($form_rsSearch, "text"));
    $rsSearch = mysql_query($query_rsSearch, $dataConnect) or die(mysql_error());
    $row_rsSearch = mysql_fetch_assoc($rsSearch);
    $totalRows_rsSearch = mysql_num_rows($rsSearch);
    $input_rsSearchResults = "-1";
    if (isset($_GET['search'])) {
      $input_rsSearchResults = $_GET['search'];
    mysql_select_db($database_EMdataConnect, $dataConnect);
    $query_rsSearchResults = sprintf("SELECT title, content FROM encyclopedia WHERE MATCH(title, content) AGAINST(%s)", GetSQLValueString($input_rsSearchResults, "text"));
    $rsSearchResults = mysql_query($query_rsSearchResults, $dataConnect) or die(mysql_error());
    $row_rsSearchResults = mysql_fetch_assoc($rsSearchResults);
    ?>
    and the code the website (link above) gives is:
    function search(String $search_string) {
         //strip Boolean search characters out of search string
         $search_string = string_replace($search_string,"+","");
         $search_string = string_replace($search_string,"-","");
         $search_string = string_replace($search_string,"*","");
         //split the search string up into an array of words
         Array $tokenized_search = split($search_string, " ");
         //init an empty final search string
         String $processed_search = "";
         //for each word in the search, wrap it
         //with an + and * character and then append
         //it to the processed_search variable
         foreach($tokenized_search as $token) {
              $processed_search+="+"+$token+"* ";
         //build the sql for the query and query the DB
         String $db_query = "select id, description
              from product_descriptions
              where MATCH(description)
              AGAINST ('"+$processed_search+"' IN BOOLEAN MODE)";
         Array results = execute_database_query($db_query);
         return results;
    If anyone can instruct me on the correct way to go about this, I would be very much obliged.
    Thank you,
    YWSW

    Don't use the Search bar, type the address in the Location bar.

  • PHP Search Engine

    I made a search engine to search my database for particular things.
    I know this makes it search by name
    $query .= "name LIKE '%$each%' ";
    What would I need to do to make it search for more stuff? Like by  genre
    I already have everything complete, I just need the search engine to search for more than just name.

    These kinds of questions would ordinarily be best posted on the DW Application Development forum (http://forums.adobe.com/community/dreamweaver/dreamweaver_development), not here.  However, I'll give it a go -
    Your question is a bit vague, but how about this -
    $query .= "name LIKE '%$each%' AND title LIKE '%$title%' AND goober LIKE '%$whatever%' ";

  • Need some help with PHP search engine

    I am working on a search engine for my site that searches for
    terms in my Submissions database. On the results page, I want to
    categorize the results into different sections, depending on the
    submission type. For example, there would be sections for audio
    results, image results, and video results.
    Below is the code I am working with. I copied it from a
    tutorial and modified it a bit to work with my site, so I don't
    completely understand it. What I have here seems to work just fine,
    but this only shows audio results. I want to make queries for other
    submission types as well, but I don't know how. My methods keep
    failing, so I am hoping to get some help here.

    I am working on a search engine for my site that searches for
    terms in my Submissions database. On the results page, I want to
    categorize the results into different sections, depending on the
    submission type. For example, there would be sections for audio
    results, image results, and video results.
    Below is the code I am working with. I copied it from a
    tutorial and modified it a bit to work with my site, so I don't
    completely understand it. What I have here seems to work just fine,
    but this only shows audio results. I want to make queries for other
    submission types as well, but I don't know how. My methods keep
    failing, so I am hoping to get some help here.

  • When I use the google search engine in the toolbar it just says not found,this is after I updated to the latest version of firefox

    Only occurs with google all the other search engines ex. bing,yahoo work.Also on the google home page when I click on classic view it does the same thing

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    <br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]<br />
    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database.<br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Everytime I go to a search engine like Bing or Google and click on the link to a website, it sends me to the wrong page. I don't have this problem with Internet Explorer, so what can I do as far as fixing the problem on Firefox?

    Anytime I enter what I'm looking for in the search engine and click on a link, it goes through multiple web addresses until it takes me to an indirect page, and the first few webpages on the link that appear during the loading process are the same. I actually don't know what those websites are though.

    Sounds like you have some search redirect Malware or a Rootkit.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for Rootkit removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • Unable to open any websites from the search engines. the ones I have tried are google, yahoo and ask. They opened until recently. The popup says" Firefox can't establish connection to the server." Ask worked last night but is not working now.

    When I try to open a web site from one of the search engines a pop up shows stating that Firefox can't establish connection to the server. I can't open any websites through any of the search engines.

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • When i try to open a url from a search, it always goes to a random search engine, not the web page

    If I do a search for something, I get the Google search fine, when I click on a link it never goes to the site, it always goes to a random search engine and sometimes freezes my computer. I created a new, alternate profile, but it does it on that one too.

    If it's happening on more than one profile, it sounds like a malware redirectiing you. Try doing an antivirus scan first.
    Free antivirus:
    [http://www.avast.com/eng/programs.html]
    [http://www.avira.com/en/download/index.html]
    Malware program recommendations:
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php]
    SuperAntispyware - [http://www.superantispyware.com/]
    AdAware - [http://www.lavasoftusa.com/software/adaware/]
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html]
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help:
    [http://www.spywarewarrior.com/index.php]
    [http://forum.aumha.org/]
    [http://www.spywareinfoforum.com/]

  • When I go to google on firefox and search for a topic, I try to open a website and another website (morsearch, clickkick, etc) will open up instead into a new search engine with the same topic . What is this?

    I go to google. I type in "plants". A lot of sites will pop up in google. I click on a site (does not matter which usually). The site will then start to switch to a new url from (click kick, morsearch, etc) turning into a new search engine with the same topic and more options. I never get to the page I want unless I type the url directly into the address box. It always comes back with a search engine. So far I have found this only happens while starting in a search engine. When I get into the actual page, everything is fine. I am using McAfee for security and it hasn't caught a virus or anything yet. Help please! Thanks!

    Install, update, and run these programs in this order. They are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have. <br />'''''(Not all programs detect the same Malware.)'''''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • Whenever I use a search engine, I keep getting the error message "The connection was reset while the page was loading".

    I am able to access the internet, but none of the search engines like Google, Yahoo or Bing will work. the page will not load. I get the error message:
    The connection to the server was reset while the page was loading.
    * The site could be temporarily unavailable or too busy. Try again in a few moments.
    * If you are unable to load any pages, check your computer's network connection.
    * If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

    Your plugins list shows two Flash plugins and other outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.0 r45
    # Shockwave Flash 10.1 r53
    # Adobe Shockwave for Director Netscape plug-in, version 11.0
    # Next Generation Java Plug-in 1.6.0_19 for Mozilla browsers
    Flash Player uninstall: http://www.adobe.com/go/tn_14157 (this will remove the Firefox Flash plugin and the ActiveX control for IE)
    Update the [[Flash]] and [[Shockwave|Shockwave for Director]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    *http://www.adobe.com/shockwave/welcome/
    *http://www.adobe.com/downloads/
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database.
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • How do I change my default search engine in Safari?

    I would like to change my default search engine other than the options that's given in the Preferences. Does anyone know how to?

    This extension claims to be able to divert your search requests to any specified search engine:
    https://github.com/mcs07/AnySearch-safari-extension
    This page details a hack to change one of the defaults to an engine of your choice:
    http://hints.macworld.com/article.php?story=20120213221354176
    Disclaimer: I have not tried either of these and have no idea whether they work reliably or are safe. Use at your own discretion.

  • How do I get rid of a search engine that has taken over home page?

    Search.US.com has taken over my hone page and everything else it can. I have tried all the suggestions available to me by the help section. I have went so far as to delete cookies. This is very invasive. I looked at restoring the system but have few options for recovery points and they don't include the search engine download. I removed the add on it came with as well. I had removed the search engine in add/remove programs and was stupid when it asked if I wanted the default settings restored. I said no. I'm afraid I am j pretty stupid when it comes to software. I hope someone can help me. Thank you for your time in this matter. ps I put what I thought was relevant in the bottom box. I had not seen this before. I tried to modify it but couldn't.
    Soultender

    I finally got a hold of someone at that search us.com. They gave me this link to try and solve the problem. I have already reinstalled firefox but it might help someone else out. And it's much simpler. I haven't tried it but they said to get a hold of them if it didn't work. the link is:
    Running ResetBrowsers.exe from http://support.search.us.com/uninstall.php should restore your settings to their defaults
    Hope I'm not misusing this post. Thanks again for all your help. Your are all awesome.

  • How do I get rid of YAHOO taking over riding programs to ask if I want to use YAHOO as my search engine. IT is relentless and I want it gone.

    When I have opened up Firefox for internet use YAHOO will take over the screen in mid-use. I hit the return button and have to repeat this several times to get back to the site I was on. I have never used YAHOO and from their hostile takeover action never will. How do I get rid of this "virus"?

    1. Use  free  AdwareMedic by clicking “Download ” from here
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.
    4. Safari > Preferences > General > Homepage:
         Set your Homepage.

  • Navigation in Google search page is not working, this does not happen with other browsers or other search engines.

    When using Google search I cannot navigate to pages other than the first page of search results. It does not seem to matter whether I use the page number or the next hyperlink, I cannot navigate away from search page 1. This does not happen when I use other search engines nor does it happen if I conduct the same search using a different browser. This ha only recently started occurring.

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • A search engine called DynaSearch has taken over fire fox without my permission

    I think My brother has attacked my computer, he found my note book and i now have 160 spam when I had only about ten before, and even an xxx dating service used my daughters name to make me click to their site, saying," Sheila has a message for you". Since then fire fox started crashing every ten minutes, and now it's not crashing because a site called DynaSearch has taking over the usual Google trademark that used to apesr on my page, this is a search engine that has taken over Fire Fox without my permission correct. How do I get Fire Fox back, and get them off.

    Do a malware check with some malware scan programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

Maybe you are looking for

  • Circle Theorem Problem

    Hi everyone, Im new to java and would like some help in developing a certain circle theorem - THe circle Theorem states that - Angles at the circumference which are all in the same segment are all eequal- I need to demonstrate this by letting the use

  • Switching from FCP7 to CS6! Two BIG questions I can't figure out...

    Hello! So I'm running CS6.01 on my new 27" iMac running OS 10.6.8. I'm excited to be transitioning over to CS6 after the last 6 or 7 years using Final Cut Pro. But I don't have time to mess around as I'm in the middle of projects so here are my 2 mai

  • App store not working after upgrade

    Hi all! I can't seem to search for apps on my iphone 3gs after the latest update to ios6. Anyone knows any solution?

  • Simple question about domain names

    Correct me if I'm wrong please. Is it my understanding that the only way to get your iweb site to read www.domainname.com and not have http://web.mac.com/ in front of it, is to register a domain name through another site like go daddy, etc...?

  • Help! I have an error I have never seen before

    I have witten this rather long winded code, but I do not see any reason why it shouldn't work. the error report is as follows: Thx in advance for any help!! Error report: ORA-06550: line 232, column 8: PLS-00103: Encountered the symbol "LOOP" when ex