Log in

12 April 2007 @ 03:34 pm
I've never really taken the time to learn PHP outside of basic headers and footers, but lately, I've taken an interest in it, mainly because I heard PHP makes organizing pages easier? (So I heard, in any case). And goodness, I definitely need better organization.

You know how some site pages will be, for example, "info.php". And when you click on a link on that page, the URL jumps to something like "info.php?profile" I wonder how that is done! I've tried to look it up on Google, but because even I'm not really sure what exactly it is that I'm looking for, searching is rather difficult.

If anybody can point me in the right direction, or maybe even teach me, that'd be very much appreciated. I hope it's not too complicated!
Current Mood: busybusy
Current Music: SE7EN - 会いたい
Cmidnightsabre on April 12th, 2007 11:03 pm (UTC)
Ohh, that definitely makes it easier to organize pages! I learned that from this site: http://codegrrl.com/!/scripts/view/nl_converttophp/

Hope that sites helps! ^_^
509am on April 12th, 2007 11:35 pm (UTC)
Thanks so much Chrizta!!
I'm using it for the you-know-what! Haha!
the illusionist in everyone.: Cloud - OMGYAY!noctem on April 13th, 2007 12:15 am (UTC)
Aaaah! I was wondering how to do this for like...forever! D: I use PHP, but a much clumsier system. This will definitely help to organize my sites, since they tend to be rather annoyingly huge. @_@ Thank you~
C: GS - Sneaky Cagallimidnightsabre on April 13th, 2007 01:11 am (UTC)
LOL XD Glad I could help! :D
Alexterra on April 13th, 2007 03:04 am (UTC)
The NLConverttoPHP is one way, but I prefer having each page individually typed up, instead of putting it in one big file. Hopefully this format works on LJ. This is a media page of mine, basically, if you need anything explained I'm happy to help.

509am on April 13th, 2007 03:13 am (UTC)
Ohhhh I think I understand this method as well.
I'm going to try both and see which one suits me best :D

I think for some pages, like maybe an exit page, the NLConverttoPHP would be useful, but you're right too; for really long pages, I think yours would be better. Hmmm ... I think I'll go experiment a bit.

Thank you for helping!!
509am on April 13th, 2007 04:28 am (UTC)
Ah, sorry if you read my last comment that I deleted; I figured that out now! (Was being stupid)
(Deleted comment)
Alex: FFIV: Rydiaterra on April 13th, 2007 04:25 am (UTC)
Okaaay, that's what you want to get it to show when nothing is specified, in this case media.php. Does that help?