开发者

How to get a URL in PHP

开发者 https://www.devze.com 2022-12-27 09:30 出处:网络
I have a photo gallery and have to have the photos\' URLs in their bottons. How can I do that 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

精彩评论

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

关注公众号