PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 10-25-2004, 05:57 AM   #1
snipkes
Green Mole
 
Join Date: Oct 2004
Posts: 2
Unhappy Hi everyone

Hey everyone,

how's it going? I'm a new, inexperienced website guy who's trying to add a search function to my site. I've been poring through the forums the whole afternoon and decided that I should say "hi" first!

By the way, has anyone run across this problem? I've indexed a small web at (matt28.worshipworld.net).
When I run the search page at
http://www.worshipworld.com/Search/search.php

it does fine in the results. But when I try to run the identical file (changing only the $relative_script_path variable to match the correct path in
http://matt28.worshipworld.net/search.php

I get just a blank screen. I know the path's correct because when i left it unchanged I got a "cannot find" error... but in this case it's just a blank. Any ideas?? I'm completely lost.
Wes
snipkes is offline   Reply With Quote
Old 10-25-2004, 07:57 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Hi, snipkes, and welcome to the forum.

Making a search page outside of your phpdig directory can be a little tricky. Here is an older post with some guidelines on how to do that. I believe there have been some slight differences in phpdig since that thread, but hopefully you'll be able to get a sense of how to do this.

If you still need help though after reading that, please don't hesitate to ask.
vinyl-junkie is offline   Reply With Quote
Old 10-27-2004, 09:28 AM   #3
snipkes
Green Mole
 
Join Date: Oct 2004
Posts: 2
Talking

Thanks, vinyl-junkie!

The search box worked wonderfully! As for the custom template, I had to resort to hard-coding all the hyperlinks in full (instead of putting the relative links) so that the pictures appear. It's hardly elegant but we'll definitely find a way as my PHP knowledge improves in time. If you want to see my work-in-progress:

http://matt28.worshipworld.net/search.htm
http://www.worshipworld.com/Search/search.php

C'ya around!

snipkes
snipkes is offline   Reply With Quote
Old 10-27-2004, 04:32 PM   #4
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Impresssive! I hope you found the instructions easy to follow. If you need any more help, feel free to ask.
vinyl-junkie is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.