Current location: Hot Scripts Forums » Programming Languages » PHP » How to make the index.html page for each categories ?


How to make the index.html page for each categories ?

Reply
  #1 (permalink)  
Old 07-01-03, 04:51 AM
vuzzan vuzzan is offline
New Member
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
How to make the index.html page for each categories ?

Dear all,

i don't know how to make the index.html like that:

http://www.hotscripts.com/PHP/Script...ams/index.html
http://www.hotscripts.com/PHP/Script...ent/index.html
http://www.hotscripts.com/PHP/Script...ols/index.html
http://www.hotscripts.com/PHP/Script...ing/index.html

For each cats, it have one index.html.

Could you please explain how to do
Thank you very much,
Reply With Quote
  #2 (permalink)  
Old 07-01-03, 04:58 AM
BdSBB BdSBB is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Georgetown, TX
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
You can use mod_rewrite. how to use mod rewrite

Let's say if you have your script in PHP and you want:

index.php?group=PHP&category=Script_And_Programs

BUT you want to display:

/PHP/Scripts_And_Programs/index.html

mod rewrite can change /PHP/Scripts_And_Programs/index.html and mimic the variables.

Now, I don't know if hotscripts.com does this with mod rewrite or not but it's an easy solution.
__________________
-- BdSBB
Reply With Quote
  #3 (permalink)  
Old 07-01-03, 05:35 AM
vuzzan vuzzan is offline
New Member
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thank you for your help,

as you talk, the mod_rewrite depend on the Apache HTTP Server.
(need to change in the http.conf file). And the server-side must re-build the output when the client-side request.
Could we build the html file like index.html, more1.html...when we create the new acticles ?


Need your ideal,
Thank you,

Last edited by vuzzan; 07-01-03 at 05:38 AM.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need to make a confirmation page codeguru21 PHP 1 10-02-03 04:18 PM
asp: validating checkboxes in groups by groupid seala ASP 0 09-08-03 01:36 PM


All times are GMT -5. The time now is 09:04 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.