SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php search script

    I would like to know how can i display an search result page on a same page where search form is.

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Location
    California
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you can insert the search scrip right under the html. So like "if submit clicked... then search".

  3. #3
    SitePoint Member
    Join Date
    Dec 2005
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah...just like ambig's words

    Code:
    <?php
    if(!$rearch_result)
    {
    ?>
    
    html contents
    
    <?php
    }
    else
    {
      the result content of your search.
    }
    I come from china
    Sorry, about my english, i'ts not my national language
    my page:http://webshoo.net come on soon

  4. #4
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    tracking the nomber of time the site is visited

    aHi,

    I wanna ur help in coding an an application:-

    Suppose I,m a small company who is selling things online now i wanna keep a track on websites wich gives me more business

    I have given my advertisement on few big companies website on wich users regularly visit, for every time when user enters the big websit and browse my add. i have to pay him for each clik made on my website whether he shops or not
    so suppose on first website 100 people visited an 50 did shopping in other website 100 people visited and 20 did shopping

    so for each click i pay $20 so for 200 clicks i pay $200*20
    but first website provide me 50 users who really did shopping using my link

    second website provide me 20 users who did shopping using my link

    so first provided me more business

    so i wana keep a track that on wich website more people visited n did shopping using my advertisement
    and on which more people visited n did nothing
    so that i can stop giving add on that site which are jst visited by user and not used by them for shopping

  5. #5
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Usefull class for site searching :

    Site Search is a class that can search for HTML documents and image files available within server side directories. It does not need a database, so it is very easy to implement it. This class will search in the content of each file within a given directory. You can restrict the search to files with given file name extensions. You can also exclude certain directories that should be skipped during the search. You can split the search process in different sections of files of your site to save time You can can either search for text documents (like .htm, .php, .asp, etc.) or images. If you download and install the PowerThumb class, the result pages can present thumbnails of the image files that are found.

    http://www.php45.com/class.php?id=720


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •