Welcome Guest, Not a member yet? Register   Sign In
how get value from QUERY_STRING URL
#1

[eluser]Asinox[/eluser]
Hi guys, i hope that somebody will help me...

im not using QUERY_STRING in my project, im using REQUEST_URI, so, i need to get a value but there is a URL QUERY STRING

how ill get the value of the segment "file" ?

Code:
<img src="controller/function?file=&lt;?php echo urlencode('/path/to/image.jpg'); ?&gt;" />

thanks u
#2

[eluser]umefarooq[/eluser]
hi you can do without query string and it will help you, with ci url structure following link has to helper which will help you.

http://ellislab.com/forums/viewthread/107741/




Theme © iAndrew 2016 - Forum software by © MyBB