开发者

How to get a URL in PHP

I have a photo gallery and have to have the photos' URLs in their bottons. How can I do that in PHP?

The location of file is in 'http://localhost/jordan pagaduan/user_images...开发者_Go百科'


'http://' . $_SERVER['HTTP_HOST'] . $['REQUEST_URI'] maybe this?


$_SERVER['PHP_SELF'] may be what you're looking for.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜