Welcome to WebmasterWorld Guest from 54.162.227.136

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Search Option on telephone listing

     
8:08 am on Mar 27, 2003 (gmt 0)

10+ Year Member



Ok this may be a stupid question.

I am in the process of designing a intranet site for our group of companies.

Now one of the pages is a telephone listing.
now i want to include a search option where you can type the person's name and it would jump to that user's name and telephone number. Now i played around with some VBScript but i cant seem to get it right. Anyone have some sample code for me on something similair?

Secondly

How does Hit counters work. And where can i find sample code for one?

:)
Your help would be greatly appreciated
Axxic

8:20 am on Mar 27, 2003 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



You could use a database to do this pretty easily. If you have a Windows server you could do this with ASP and an Access database. You could also do this with PHP and MySQL (free).
8:30 am on Mar 27, 2003 (gmt 0)

10+ Year Member



Do you have any sample code for me?
The problem is it is hosted on a Linux box but i only know ASP , html and some sql no php or mysql
8:45 am on Mar 27, 2003 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



On a Linux box you'd probably have better luck using PHP & MySQL. There are some ways to use ASP on *nix, but I'm not familiar with the software required. I think you'd need to decide on what tools you're going to use before you look for code.
4:04 pm on Mar 27, 2003 (gmt 0)

10+ Year Member



Hi Axxic,

I was in the same spot you are not too long ago. ASP and HTML background, but no real experience with PHP or MySQL. Fortunately, PHP and MySQL are pretty easy to get started with, and a lot of the stuff you've learned for ASP can be put to work in PHP. Here's tutorial that helped me a lot: [devshed.com...]

This tutorial deals with managing press releases, but it shouldn't take too much effort to convert this to manage names and coresponding phone numbers.

Also, even though PHP and MySQL typically run under linux, they both work like a champ in Windows as well. If you want a development/test environment for PHP and MySQL, you may want to look into a Windows installation kit for Apache/PHP/MySQL/Perl. Some popular ones are Firepages, FoxServ and PHPTriad. I've used all three. They are very easy to set up and don't seem to interfere with Windows. If you have IIS or Personal Web Server running on your system, you'll want to stop it when installing one of these packages. Also, since these install the Apache web server, you'll have to make sure you shut down IIS before using Apache, and vise versa.
I've become a big fan of PHP and MySQL. You'll find that there are tons of open source scripts available, including more hit counters that you could probably keep track of.

Goog luck and have fun!

6:24 am on Mar 28, 2003 (gmt 0)

10+ Year Member



Thanx guys for your replies.

Well what we are doing at the moment is finding cgi scripts that can do it until we get to know php.

I am a great fan of Php getting to know it is the tricky part.
We only started to implement Linux into our network a couple of months ago.

So we are learning as we go along.

Thanks again for you help.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month