How do i create php links ?

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Post Reply
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Instead of just having the link

http://www.link.se on the board...

How do i make so i can add this link instead
(That still goes to http://www.link.se)

This link dosen't exist!
http://www.volunteerforum.se/link?=2123358
(when clicking on that link you should come to link.se)

Well i have no idé if it should be
?=11
or
&?=12
etc..

If i only know what this kind of method's name is im sure i can find
it in google, been searching for half an hour whit no luck so far.

Like this (on this page)
http://www.blawg.org/index.php
All links is pointing to a module.php that creates the link somehow

UPDATE:
Well i have found some now when searching for
"Link Maneger" But 98% of those script is so users can add link
to some kind of link directory. And the rest 2% is heck i have no idé.

I only want me (the admin) to be able to add and see the add link panel.
For internal use only
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Not sure about http://www.volunteerforum.se/link?=2123358

But if you are okay with http://www.volunteerforum.se/link.php?i=2123358

Code: Select all

<?php
if( $_GET['i'] == 2123358 )
{
header("Location: http://www.link.se/");
}
?>
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Yep, thats perfect. Thanks :D
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

You're welcome :)
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Post Reply