English Amiga Board


Go Back   English Amiga Board > abime.net - Hall Of Light > HOL suggestions and feedback

 
 
Thread Tools
Old 08 June 2007, 14:24   #1
terryhan
Registered User
 
terryhan's Avatar
 
Join Date: Jan 2003
Location: a zombi filled shopping mall
Posts: 103
HOL / PHP technical question

Wotcha

This is really more a general PHP / MySQL question, but since HOL 'does' what I'm asking about, I figured I'd ask here.

I'm putting together a database driven site, and to query the database through the URL, I'm using the old "www.sitename.com?variable1=1" GET business.

HOL (and other sites) don't have any of that in the URL - just "hol.abime.net/1".

How do you set this up, or can you point me in the direction of somewhere I can find out? I've tried searching sites, but I don't know what to call it!

Cheers!
terryhan is offline  
Old 08 June 2007, 14:30   #2
Galaxy
Registered User
 
Galaxy's Avatar
 
Join Date: May 2004
Location: Canberra, Australia
Age: 46
Posts: 1,417
It's something the web server does - and it's damn awesome what you can do with it.

Have a read up on URL rewriting in the Apache URL rewriting guide.

http://httpd.apache.org/docs/2.2/misc/rewriteguide.html

IIS can also do URL rewriting but you have to pay for a plugin.
Galaxy is offline  
Old 08 June 2007, 23:46   #3
terryhan
Registered User
 
terryhan's Avatar
 
Join Date: Jan 2003
Location: a zombi filled shopping mall
Posts: 103
Thanks a lot Galaxy, I'll have a go at it!
terryhan is offline  
Old 06 July 2007, 12:08   #4
girv
Mostly Harmless
 
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 1,133
I can't speak for HOL, but aside from rewriting the URLs in the web server process many PHP "frameworks" will also include functionality for this, calling specific functions and constructing parameter lists for them from sections of the request URL.

My own site http://www.girv.net is built using one such framework: Code Igniter - check out the URLs in the games or WHDLoad sections for example.
girv is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WB technical question... nikvest support.Apps 6 16 April 2008 09:13
technical question about amigas gimbal Nostalgia & memories 1 09 November 2007 14:36
Technical question on 3.5" HD and Amiga 1200 Bloodwych support.Hardware 17 16 April 2002 12:57
Technical question about C64 Shatterhand Retrogaming General Discussion 19 13 October 2001 14:06

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:29.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06625 seconds with 13 queries