Hey guys,
I'm using a php photo gallery script that generates URLs like:
mywebsite.com/gallery/browseimages.php?c=2
and:
mywebsite.com/gallery/showimage.php?i=2
and:
mywebsite.com/gallery/search.php?do=searchresults&string=SEARCHTERM&catid=0&quicksearch=1
I'd like to have the urls turn into either a static directory looking structure (/gallery/cat/2) or a page looking structure (/gallery/category2.html). Even better would be the category name (/gallery/catname-category.html)
/gallery/showimage/2 or /gallery/showimage2.html for the second URL and
/gallery/searchresults/SEARCHTERM/category/0/quicksearch/1
for the search terms URL.
Could anybody help me out with this?
----
Also, when trying to register for this forum, I got the following error:
DEBUG MODE
SQL Error : 1062 Duplicate entry '0' for key 1
INSERT INTO rewrite_groups (group_name, group_description, group_single_user, group_moderator) VALUES ('', 'Personal User', 1, 0)
Line : 607
File : /home/myforums/public_html/includes/usercp_register.php