[PHP] 隱藏圖片網址

最近在想說PHP如何隱藏圖片網址?
因此,在手癢之下寫了一段PHP函數,來隱藏我的程式碼。
有了以上的程式碼,我可以寫一個demo_picture.php,來負責處理我要顯示的圖片資源。

從上例可以得知,我們只要輸入 http://your_domain/demo_picture.php?resource_id=XXRBcFwvGmxNeV1tVS5UbwgvXy9QL0x3HWhHLw9oGDAMcEByFmxQLgRpUg==&type=picture 就可以得到圖片,而且圖片網址是隱藏的喔。

This entry was posted in PHP. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *