View previous topic :: View next topic |
anm
Site Moderator
Joined: 24 Aug 2004
Posts: 65
|
|
Back to top |
|
|
Josh
Site Admin
Joined: 13 May 2004
Posts: 267
Location: Schuyler, VA
|
Posted: Fri Oct 29, 2004 6:41 pm Post subject: Re: age13
|
|
|
|
Thanks, I just noticed this today while at a friends house Its fixed now
Josh
_________________
Josh Powell - uber geek
Get Firefox! | Don't drop the torch - Spread Firefox
|
|
Back to top |
|
|
candrodor
Site Moderator
Joined: 19 Sep 2004
Posts: 68
|
Posted: Sat Oct 30, 2004 7:31 am Post subject: Re: age13
|
|
|
|
Why's it "/p?=age13" and not "/age13.php"?
I know very little about PHP (more and more each day mind ) so I'm probably going to start askign a fair few silly little questions in the future. usamedsonline.com
|
|
Back to top |
|
|
Josh
Site Admin
Joined: 13 May 2004
Posts: 267
Location: Schuyler, VA
|
Posted: Sat Oct 30, 2004 7:41 am Post subject: Re: age13
|
|
|
|
candrodor wrote: |
Why's it "/p?=age13" and not "/age13.php"?
I know very little about PHP (more and more each day mind ) so I'm probably going to start askign a fair few silly little questions in the future. |
Well, its ?p=age13, and the full URL is /index.php?p=page13, but you don't see the index.php..
Basicly its just a simple way for me to have a standard design, the ?p=whatever is a GET varible, just like if I submited a form. And my script looks for the GET varible, and includes /includes/thegetvarible.php. So when you are getting age13, the real file is stored in https://ki4bbo.org/includes/age13.php - but that URL is kinda long, so I did it this way to shorten the URL a bit
Josh
_________________
Josh Powell - uber geek
Get Firefox! | Don't drop the torch - Spread Firefox
|
|
Back to top |
|
|
candrodor
Site Moderator
Joined: 19 Sep 2004
Posts: 68
|
Posted: Sat Oct 30, 2004 9:41 am Post subject: Re: age13
|
|
|
|
I think I understand. Thanks.
|
|
Back to top |
|
|
Josh
Site Admin
Joined: 13 May 2004
Posts: 267
Location: Schuyler, VA
|
Posted: Sat Oct 30, 2004 9:56 am Post subject: Re: age13
|
|
|
|
candrodor wrote: |
I think I understand. Thanks. |
Yeah, its kinda hard to explain.. but basicly GET and POST are ways of passing varibles to a CGI, PHP, or other script. GET shows up in the URL, and POST is hidden..
What I am doing, is passing a varible to the script, and the script opens up /includes/(varible).php - thus shortening the URL a bit
Josh
_________________
Josh Powell - uber geek
Get Firefox! | Don't drop the torch - Spread Firefox
|
|
Back to top |
|
|
candrodor
Site Moderator
Joined: 19 Sep 2004
Posts: 68
|
Posted: Sat Oct 30, 2004 11:46 am Post subject: Re: age13
|
|
|
|
Well, I reckon I'll understand in a few more days. The tutorial anm suggested to me was good to start from, but I prefer this tutorial on PHP.net because it gives more codes "ready made" to look through, with helpful links all the way though.
EDIT: :O I've just noticed I'm a moderator now. Thanks. I'm like the rest of you now...
EDIT2: Just noticed the PM. Thanks again.
|
|
Back to top |
|
|
anm
Site Moderator
Joined: 24 Aug 2004
Posts: 65
|
Posted: Sun Oct 31, 2004 9:38 pm Post subject: Re: age13
|
|
|
|
Yeah, the PHP.net one is good. I'd forgotten they had a beginning tutorial and not just the manual -- did that one AGES ago. Don't even remember it. . .
I use the same stuff that Josh does (the ?p= thingy.) For example: http://anm.mycubix.com/?p=programming . I also use the same sort of thing, but a different implementation of it, for my phpdictionary script. In that one I use functions and the switch command. But it uses GET anyway -- no way out of that!
_________________
Aaron Morse
http://artlangs.com
|
|
Back to top |
|
|
anm
Site Moderator
Joined: 24 Aug 2004
Posts: 65
|
|
Back to top |
|
|
Josh
Site Admin
Joined: 13 May 2004
Posts: 267
Location: Schuyler, VA
|
Posted: Mon Nov 01, 2004 10:00 am Post subject: Re: age13
|
|
|
|
Hehe, I guess my 404 page was feeling neglected
Fixed now..
Josh
_________________
Josh Powell - uber geek
Get Firefox! | Don't drop the torch - Spread Firefox
|
|
Back to top |
|
|
AbErG
Site Moderator
Joined: 06 Jul 2004
Posts: 29
|
Posted: Tue Nov 02, 2004 2:48 pm Post subject: Re: age13
|
|
|
|
hehe, srry for making an "off-topic" statement, i will delete it now =)
EDITED FORUMS:
Deleted Off Topic Post, and josh's following it up =) i will delete this tomorrow, and there will be no memory of this event. It will be erased from your brains.... haha
_________________
This is Ryan, The PHP dude, And Your Mod!
Got Beliefs?
Posborne Forums
I would put ki4bbo here too... but for obvious reasons
|
|
Back to top |
|
|
Josh
Site Admin
Joined: 13 May 2004
Posts: 267
Location: Schuyler, VA
|
Posted: Tue Nov 02, 2004 2:55 pm Post subject: Re: age13
|
|
|
|
AbErG wrote: |
hehe, srry for making an "off-topic" statement, i will delete it now =)
EDITED FORUMS:
Deleted Off Topic Post, and josh's following it up =) i will delete this tomorrow, and there will be no memory of this event. It will be erased from your brains.... haha
|
Whatever you say dude
Josh
_________________
Josh Powell - uber geek
Get Firefox! | Don't drop the torch - Spread Firefox
|
|
Back to top |
|
|