|
|
Please consider registering: registration is fast, easy and free! Benefits of registration:
- Free advertising for your website: Every post in our forums goes towards a "credit" of ads, which are displayed on most pages of our forums. Each post gives you 400 ad impressions. To submit your ad, edit your profile.
- Discount at TemplateMonster: All our members enjoy a 10% discount at TemplateMonster.com!
|
- Private Messages: Exchange private messages with other members of the forums.
- Message Tracking/Subscription: phpBB enables you to subscribe to threads which interest you, and will then email you when a reply is posted. phpBB also remembers which posts registered users have read during a session, which means you can keep track of which posts you have already looked at.
|
|
| Author |
Message |
pyro
Junior WebHelper

Joined: 21 Jan 2002
Posts: 6
|
Posted:
Mon Jan 21, 2002 7:56 am (11 years, 4 months ago) |
  |
well, i know a lil php, i use it when i wanna make life easier on the part of includes that always work, and multi page sites in 1 file, i can make pages like index.php?place=here easy, no problem, but i keep tryin and failing at gettin index.php?place=here&area=main
kinda like how the forums do it, posting.php?mode=newtopic&f=5 well, thats kinda what i am aiming for... any help |
|
|
     |
 |
WebEgo
Junior WebHelper

Joined: 10 Jan 2002
Posts: 24
Location: Newcastle, England
|
Posted:
Mon Jan 21, 2002 12:35 pm (11 years, 4 months ago) |
  |
What error message do you get, if any and can you give a code example of what you are trying to do  |
________________________________ I've seen things... seen things you little people wouldn't believe... Attack ships on fire off the shoulder of Orion bright as magnesium... |
|
     |
 |
pyro
Junior WebHelper

Joined: 21 Jan 2002
Posts: 6
|
Posted:
Mon Jan 21, 2002 1:15 pm (11 years, 4 months ago) |
  |
well, i havent tried in a while now, i been busy, i have no examples to give ya cuz in the past month or so i formatted like 3-5 times, lost count at 3. well, heres a idea of what im talkin about, u go to a site, a link goes to members.php?area=profile&member=1 sumthin in that sort... or like when u reply here with phpbb, posting.php?mode=reply&t=141 and u can change the ending and be at a different page... like i wanna do links.php?area=irc&linkid=15 and it would go to a irc releated site that uses the id 15, and i can change linkid to 4 and go to the site releated with the id 4. that was only a example, i have no real plans on a link database type thing, but it seems to fit a basic idea here |
|
|
     |
 |
pyro
Junior WebHelper

Joined: 21 Jan 2002
Posts: 6
|
Posted:
Mon Jan 21, 2002 10:52 pm (11 years, 4 months ago) |
  |
| Quote: | | If you want a really quick reply, try going on the #php IRC channel :) |
I didn't need a quick reply, just a reply... I just woke up, my sleep times are really screwed up, watch, Ima go to sleep at 8pm tomorrow and won't sleep from here till... |
|
|
     |
 |
szo2
Junior WebHelper

Joined: 10 Jan 2002
Posts: 18
Location: Hong Kong
|
Posted:
Sat Mar 02, 2002 5:47 pm (11 years, 2 months ago) |
  |
There will not be much problem if you already made the page.php?go=somewhere script, you just use something like:
| Code: | if ($HTTP_GET_VARS['category'] == 'software') {
if ($HTTP_GET_VARS['id'] == '1') {
// redirect to the software link 1
} elseif ($HTTP_GET_VARS['id'] == '2') {
// redirect to the software link 2
// and so on...
}
} else if ($HTTP_GET_VARS['category'] == 'hardware') {
// do something similar to the above
} |
|
|
|
     |
 |
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.061843 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |