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.
 加载中,请稍侯......
      
精彩评论