Args to php
- gumOnShoe
-
gumOnShoe
- Member since: May. 29, 2004
- Offline.
-
- Send Private Message
- Browse All Posts (15,244)
- Block
-
- Forum Stats
- Member
- Level 15
- Blank Slate
I know the standard method of sending data to php is to use ?varName=value&etc=etc...
But, when I look at newgrounds and the Flash portal (which several of you suggested uses php), the only "argument" is the directory name. I take it I'm missing something here. As I'm relatively new to the practice of web development: how'd they do that?
- thePalindrome
-
thePalindrome
- Member since: Aug. 13, 2011
- Offline.
-
- Forum Stats
- Member
- Level 05
- Game Developer
in the .htaccess, they use mod_rewrite to change the URL from
a.a.a/bob to a.a.a/index.php?a=bob
that's why it seems like each post has its own directory.
Tutorial on how to do this
Hope I helped!
- NinoGrounds
-
NinoGrounds
- Member since: Nov. 28, 2005
- Offline.
-
- Forum Stats
- Member
- Level 19
- Programmer



