![]() |
![]() |
|
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List | / Moderators ListSearch | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Registered User
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! |
|
|
|
|
|
|
|
Advertisement:
|
|
|
#2 |
|
Registered User
Join Date: May 2004
Location: Canberra, Australia
Age: 35
Posts: 1,418
|
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. |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2003
Location: a zombi filled shopping mall
Posts: 103
|
Thanks a lot Galaxy, I'll have a go at it!
|
|
|
|
|
|
#4 |
|
Reticulator of Splines
|
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. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AWeb PHP ??? | Dj Dishcloth | support.Apps | 4 | 14 April 2005 23:49 |
| Technical question on 3.5" HD and Amiga 1200 | Bloodwych | support.Hardware | 17 | 16 April 2002 12:57 |
| http://amiga.classic-trash.com/gamelist.php | matthew | Amiga websites reviews | 2 | 08 April 2002 16:53 |
| Technical question about C64 | Shatterhand | Retrogaming General Discussion | 19 | 13 October 2001 14:06 |