Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 66

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
05/12/13 06:38 PM (12 years ago)

URL Parsing (PHP)?

Hi All, I am trying to create a PHP URL parser for a plugin I am working on. Here is what it needs to do: -user enters www.example.com/xyz?54321 -the control panel saves it to the config data as 54321 Any Ideas? Thanks, Jake
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/12/13 07:11 PM (12 years ago)
Look at the substring function and the stripos function.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/13/13 04:30 AM (12 years ago)
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
05/13/13 10:08 AM (12 years ago)
p.s. your alert menu plugin is awesome. Had to tell you. David
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
05/13/13 04:02 PM (12 years ago)
Thank you everyone for the help. @David: Thank you for the complement. Jake
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.