PDA

View Full Version : how to make a search engine in html


shayonjeet
11-05-2007, 06:32 AM
please can anyone guide how to make a search engine in html, to search files from my computer because i have to submit project after 2 weeks. u can give any code except php or sql b'coz i dont know that language. u can give me codes of javascript or any other.i have an code but i dont know how to use it, example

<form method="drop" action="search">
<input type="text" name="xyz" size="20" />
<input type="submit" value="find" />
<input type="hidden" name="zoom_cat[]" value="-1">
</form>
i want to use this to search my computer. in the action command i have put the destination but appears in another window but i want that in the list form.

Yutxz
11-05-2007, 01:33 PM
I'm not exactly understanding what your asking.

You want to make a search engine (in html) that search's for files on your computer?

Stimulus
11-05-2007, 01:51 PM
HTML is soo weak alone, you can't do anything with it. You need PHP, because it has functions like read_dir() and stuff

Tanoro
11-05-2007, 02:09 PM
Right, HTML is not a scripting language, so you can't write a search engine script with it. HTML is a markup language for formatting text and displaying images. That's just about all it can do.

Search engine scripts must be written in some type of scripting language. PHP is probably the most suitable for this.

shayonjeet
11-05-2007, 11:41 PM
please can anyone guide how to make a search engine in html, to search files from my computer because i have to submit project after 2 weeks. u can give any code except php or sql b'coz i dont know that language. u can give me codes of javascript or any other.i have an code but i dont know how to use it, example

<form method="drop" action="search">
<input type="text" name="xyz" size="20" />
<input type="submit" value="find" />
<input type="hidden" name="zoom_cat[]" value="-1">
</form>
i want to use this to search my computer. in the action command i have put the destination but appears in another window but i want that in the list form.

Bash
11-08-2007, 09:57 PM
Maybe he means like, a file input? Cause, if a teacher assigned me to make a search engine in HTML, I would tell them to quit IT and go work at McDonald's.

Maybe you meant this:

<form enctype='multipart/form-data' action='http://domain.com' method='POST'><p>
<input type='hidden' name='MAX_FILE_SIZE' value='100000' />
Choose a file to upload: <input name='uploadedfile' type='file' /><br />
<input name='submit' type='submit' value='Upload File' />
</p></form>


That's all I can think of. :confused:

Stryker250
11-09-2007, 02:16 AM
Has anyone noticed that both those posts are exactly the same? Its probaby a spam bot. As for making a search engine in html, its probably pretty impossible.

BBarash
11-09-2007, 10:17 AM
Well if you look under the first post he must be a real member:

Last edited by shayonjeet : 11-06-2007 at 07:35 AM. Reason: it was incomplete

Stimulus
11-09-2007, 10:47 AM
True benji. . .

well. . . maybe these spam bots are getting smarter lol yeah right

I guess he just copied and pasted

BBarash
11-09-2007, 10:49 AM
Ye like stryker said making an html search engine is impossible.

Tanoro
11-09-2007, 12:07 PM
Right. If your teacher told you to use only HTML to make a search engine, tell him that it's not possible. HTML is not meant for that and does not have the capability to do things like that.

Search engine scripts require a scripting language. HTML is not a scripting a language!

Stimulus
11-09-2007, 12:11 PM
I remember the good ol' days when I kept on googling for stuff with html back when i didnt know about php lol

Tanoro
11-09-2007, 12:58 PM
I remember the good ol' days before Google was around. D*mn, I wish I'd bought some of their stock back then. :p I'd be one rich son of a b*tch by now.

Filius nullius
11-09-2007, 06:24 PM
You remember when Google wasn't around? isn't Google 12 years old; how old are you"?


I didn't see the "24" before I made my ridiculous statement of a question.

Stimulus
11-10-2007, 11:26 AM
*EDIT BUTTON, FILLIUS. . .*

If google is 12, that means i was born b4 it came about, but i was little :D

Tanoro
11-10-2007, 04:59 PM
You remember when Google wasn't around? isn't Google 12 years old; how old are you"?

Yeah, I need to update that. I'm 25 now.

Despite someone changing some of our usertitles to "student" and changing Stim to "teacher," (very funny, whoever did that) I've actually been around the Internet and web design industry for quite a while now. Got my first computer when I was 10, been doin it ever since. ;)

I remember...
...back when eBay had actual bidders and not just a bunch of auction snipers.
...back when everyone was on dial-up and only your high-end industrial servers had broadband.
...when Flash was referred to as "shockwave."
...when people actually enjoyed having spam (when it was canned meat).
...when chat rooms were actually popular.
...when wav sounds were the top audio format before mp3s.
...when most websites consisted of HTML and PHP wasn't out yet (it's earliest incarnation was released in 1995).
...back before people could pay bills and do banking online.

Yup, I've been around for a while.

Stimulus
11-10-2007, 09:24 PM
Well, I'm sorry if my rank does not satisfy you. . .

Tanoro
11-10-2007, 09:52 PM
Well, it's not meant to satisfy me, but I was making a joke, Smiley.

BBarash
11-11-2007, 08:34 AM
It's not a joke or anything. They are default ranks <- hence my teacherhood aswell.

Stimulus
11-11-2007, 09:41 AM
Yes, but tanoro doesn't seem to be discouraged at you for being a teacher, only me. . .*sigh*

Tanoro
11-11-2007, 04:34 PM
Didn't notice. BB has now been acknowledged. ;)

Mursalat
03-27-2008, 09:46 AM
you know we're really out of the topic? the way an idiot of a teacher wanted a person to create an html searchengine?
Oh well

Fate93
03-29-2008, 11:48 AM
If you don't know any programming language, I suggest VB 2008 (http://www.microsoft.com/express/vb/) (Visual Basic 2008)

Mursalat
03-30-2008, 04:09 AM
I hate stupid vb, why f*ckin microsoft? I don't like anything related to microsoft! I advice you to learn PHP

Filius nullius
03-30-2008, 06:16 PM
you must realize Mursalat that VB and PHP aren't even rival languages.... people learn php over asp.... he should learn Java/C/C++/Perl/Python/anything_else/ instead of VB

Mursalat
03-30-2008, 10:52 PM
I know they aren't but i simply hate microsoft, so no offence Filius nullius.
I just hate them!

DragoNero
03-30-2008, 11:12 PM
mursalat... most of the world hates microsoft... the only reason it is used is because of the convenience of its compatiability with almost everything else!

Gr33n3gg
04-04-2008, 11:26 PM
You know, I wouldn't be suprised if Mursalat was using Windows....

Mursalat
04-05-2008, 01:39 AM
you're sort of right:rolleyes:
I got three computers, one linux, one Macintosh and (I rarely use) Microsoft, Linux and Macintosh is mostly used by me :D , i use the Microsoft (as dragonero says) for compatibility with games and softwares that aren't availabe for Linux or Macintosh.... So yeah i do use microsoft:D

But it's the last choice always for me!:cool:

Tanoro
04-05-2008, 11:33 PM
Microsoft made a decent operating system for home use when they made XP, but that's as far as their worth goes.

I wouldn't dream of seriously making a website in ASP or VB. They are both a load of crap. PHP is, by a very wide margin, my #1 choice.

Mursalat
04-06-2008, 01:47 AM
quite true!

DragoNero
04-06-2008, 10:03 AM
I agree with Tanoro.

They DID make a decent home os with XP that is largely compatible with other software... but Ubuntu is hard on their heals with a fully GUI'd version of Linux and emulators for windows/macs. (ubuntu kbuntu and the rest....). as for macs, the only reason people get them is because of their ability to handle high power programs (microsoft makes their os background functions too CPU/RAM dependant to run these programs) and because of ipods...

Fate93
04-15-2008, 01:29 PM
He said to search his computer, so i suggested a desktop programming language..

Mursalat
04-16-2008, 09:56 AM
why not c++ or python?

Fate93
04-18-2008, 11:07 PM
Because he obviously hasn't done _any_ programming before, start off with an easy one maybe?

Mursalat
04-19-2008, 01:45 AM
true but where the hell is the guy (who started this thread) these days? i can't see a single new post by him? How are we supposed to know how he is going about with his 'html programmed' search engine?

Tohou
04-23-2008, 08:27 PM
What about using html / javascript or ajax to call the explorer search engine with a query and echo it back, but wouldn't that require dll's and nonsense?

SirRedTooth
01-14-2010, 06:30 AM
If you are asking this question don't bother because you are not even nearly experianced enough.

thomas278
08-04-2010, 11:58 PM
these days you use adobe air. waaaaaaaay better