What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » php helpage

php helpage
Author: Message:
TheSteve
Full Member
***

Avatar
The Man from Japan

Posts: 179
Reputation: 23
40 / Male / Flag
Joined: Aug 2005
RE: php helpage
You can use the 'REQUEST_URI' server variable.

For example in the URL
http://www.somewhere.com/index.php/bob/red.png

$_SERVER['REQUEST_URI'] would be /index.php/bob/red.png

And this code should get just the /bob/red.png at the end.
code:
<?php
$filename = "index.php";
$request = strstr($_SERVER['REQUEST_URI'],$filename);
$request = strstr($request,"/");
?>

See this implementation
http://www.baxteronline.com/uriviewer.php/this/is/a/test
05-23-2006 11:15 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
php helpage - by lordy on 05-22-2006 at 11:56 AM
RE: php helpage - by Eljay on 05-22-2006 at 12:01 PM
RE: php helpage - by Ezra on 05-22-2006 at 03:11 PM
RE: php helpage - by J-Thread on 05-22-2006 at 09:25 PM
RE: php helpage - by lordy on 05-22-2006 at 09:39 PM
RE: php helpage - by J-Thread on 05-23-2006 at 10:10 AM
RE: php helpage - by Adeptus on 05-23-2006 at 02:40 PM
RE: php helpage - by ipab on 05-23-2006 at 04:01 PM
RE: php helpage - by TheSteve on 05-23-2006 at 11:15 PM
RE: php helpage - by lordy on 05-24-2006 at 12:48 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On