WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : phpHoo2 (Xhoo using php3/MySQL) is a Yahoo-like link directory. Much like the Open Directory Project (dmoz.org).
Categories : PHP, Complete Programs, Directories, MySQL, URLs Update Picture
Rolf Ostergaard
Date : Oct 22nd 1999
Grade : 3 of 5 (graded 3 times)
Viewed : 11407
File : phphoo2.zip
Images : No Images for this code example.
Search : More code by Rolf Ostergaard
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

Introduction


I needed a database for my link collection at Cable-Modems.Org that would display a "Yahoo-like" directory. First
thought was to sign up as a volunteer editor for the Open Directory Project and then just refer to "my" sub-category
there. Unfortunately the other editors would not let me structure the categories the way I think is right.

Enter phpHoo, a php3 script using MySQL, written by CDI and described in great detail at
www.webreference.com/perl/xhoo/php1/ as a complete php3 tutorial. Unfortunately no management interface was available.
Be sure to read the tutorial, as this is really all the explanation you need in order to use and modify this code.


See http://www.cable-modems.org/phpHoo for full story.



bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager
Categories : MySQL, PHP, MySQL, Complete Programs, Databases
free, search engine, indexing, system, information, web, ftp, http, free, software, cgi, php, MySQL, database, php3, FreeBSD, Linux, Unix, UdmSearch
Categories : MySQL, Complete Programs, PHP, Databases, Search
Free For All Links Page using PHP3 and Mysql
Categories : PHP, MySQL, Complete Programs
Tropicalm Genetree Family (MySQL based family tree)
Categories : PHP, Interfaces, Databases, MySQL, Complete Programs
Shopping Basket On-Line Ordering System.
Categories : Complete Programs, MySQL, PHP, Ecommerce, Databases
phpCards - PHP/mySQL postcard script with web based admin to add, edit, and delete cards and categories. Very easy to install.
Categories : PHP, Complete Programs, HTML and PHP, MySQL
a file explorer for the web, filesystem php php3 files dirs directories pictures files windows linux system list ls scripts
Categories : PHP, URLs, Directories, Filesystem
fforum fumanchi forum MySQL treestructure
Categories : Complete Programs, PHP, MySQL
complete, simple, working example of a login screen/system using php functions, cookies, and a mysql database for begginers.
Categories : Authentication, Complete Programs, PHP, MySQL, Databases
BBS system for easy customization. Utilizes mySQL.
Categories : Complete Programs, MySQL, PHP, Databases
Education Center is a set of PHP-scripts to administer a corporate education and examination system via Internet/intranet written in PHP for MySQL.
Categories : PHP, Databases, MySQL, Complete Programs
myCSV-dump converts a simple CSV-flatfile-database into an MySQL-dump.
Categories : PHP, MySQL, Databases, Complete Programs
AITSH Download
Categories : PHP, Complete Programs, MySQL, Databases
This is a very simple BBS that uses MySQL
Categories : MySQL, Databases, Complete Programs, PHP
phpAds, a complete banner and ad management system with detailled tracking and stats.
Categories : MySQL, Complete Programs, Ecommerce, PHP, Databases
 Ed Earle wrote : 103
Added phphoo2.php3 to original phpHoo directory.
Change mysql.php3 to point to your modified mysql.php3.
Created the new Tables in MySQL: MyCategories and MyLinks.

Is there anythig else that needs to be done because I 
couldn`t get it to work.

Thanks.
 
 Rolf Ostergaard wrote : 104
I do not really intend to use this as a support feature - or spend a lot of time supporting phpHoo2 at all - 
but rather prefer you guys to find your problems yourself and then tell the world how you fixed them! But 
yes, you need to fill in the name of your database, password etc. to make it work. Run though the original 
phpHoo tutorial and make sure you understand everything - then proceed to phpHoo2.

- Rolf
 
 Mike wrote : 163
I couldn`t get either the original or second version to 
write to the database.  It might work but neither  
developers responded to emails.  Also, when using the 
phphoo2 script and the password section,  if you get a 
cookie error, open both files up and delete any extra 
charater spaces below the last line in the file. The 
source code I got had them in there and prevented the 
cookies from working.   But it really doesn`t matter since 
I never got the rest of the script to work.... If anyone 
knows a solution, I`d like to hear it.
 
 Rolf wrote : 164
Well, I got the original phphoo to work pretty fast. Then I 
went on and added the phphoo2 things. And I heard from 
quite a few happy phphoo2 users - so trust me: you can 
do it!
 
 Philippe Batreau wrote : 241
I have problems with line 68 : print " > <a href=\"$PHP_SELF\">phpHoo2</a>";
It repeat the url and I have something like that : http://my.site/my.site/directory/phpHoo2.php3
Do you know if there is a forum for phpHoo2 users ?
Thanks for this useful tool.

Philippe
 
 Gerry Dignam wrote : 277
What I`d really want from PhpHoo is that submissions to 
the Top Level of the link direcorty is not allowed. 
 
 Lane Howerton wrote : 393
I was having the same problem as Philippe, along with 
the script not accepting any form input. I discovered a 
neat little trick from my "PHP Essentials" book. My 
hosting company has php loaded as a cgi instead of a 
module. This in and of its self wasn`t a problem...but 
when they loaded it they had "track vars" turned off. I 
putt <?php_track_vars?> at the top of my script in the 
phpHoo2.php3 file right before the <?php line, and 
pretty much everything started working.

I`m still having problems with the disapprove and edit 
links showing up on all of my listings when I`m not in 
admin mode. Any ideas???
 
 Jim Mills wrote : 435
Has anyone incorperated banners into this project?
Answers:
If you see the listings to approve, that is because of cookies, don`t worry users won`t see it.
I tried some things to stop peole form adding to the top, but I created a bug and had to take it out.  
You would have to add some code to give a message if they try to add.
 
 Jim Mills wrote : 458
Has anyone made a fix for the big security problem????
 
 John wrote :499
I was just wondering if anyone has, or knows of an existing spider to work with this.  So you can spider sites automatically.  It would help reduce the amount of work you have to do personally i think.  I amvery new to PHP and like everything I know about it so far.  I haven`t even incorporated this script into a site yet.  I full intend to, but i think maybe I should get a book on MySQL since I have no experience at all with it.