I need to know that this is possible, for example, an example in home.php For,
home.php? = IMAGENAME display
IMAGENAME.jpg . >
Or even working with text,
home.php? =
Use $
_GET .
If the URL is http://mysite.com/?image=myimage.jpeg , then
$ image = $ _GET [' Image ']; Echo $ image; // 'myimage.jpeg' Be careful though, because any of this can put anything in the URL and it will go to your code You should validate it, save it, etc.
No comments:
Post a Comment