php url help ????

link is :
www.site.com/index.php?info1&Submit=#photo.php

so a neet a lil php code thed dos look at the url, removes the www.site.com/index.php part
an braks the rest of the info apart en neets to be calt out individually in a echo so the results are

info1
photo.php

any help ?? tnx

You will need to use a fuction to grab the URL, and then use some other string control function to do what you want.

You can use explode on the character # and you are set!

Sponsor our Newsletter | Privacy Policy | Terms of Service