Re: [PHP] Linking to images above the webspace

2009-07-17 Thread Nitsan Bin-Nun
Everyone should be careful with every stuff, you can also inject a LOAD_FILE('/etc/passwd') into a MYSQL query easily. On Fri, Jul 17, 2009 at 2:28 PM, Michelle Konzack < linux4miche...@tamay-dogan.net> wrote: > Am 2009-07-17 14:23:30, schrieb Nitsan Bin-Nun: > > You can create a PHP script which

Re: [PHP] Linking to images above the webspace

2009-07-17 Thread Michelle Konzack
Am 2009-07-17 14:23:30, schrieb Nitsan Bin-Nun: > You can create a PHP script which will serve files based on their location > which will be transfered through a GET parameter. > Just send the correct response headers which will be corresponded to the > file's mime type, size, etc. > > Then use so

Re: [PHP] Linking to images above the webspace

2009-07-17 Thread Nitsan Bin-Nun
You can create a PHP script which will serve files based on their location which will be transfered through a GET parameter. Just send the correct response headers which will be corresponded to the file's mime type, size, etc. Then use something like: Good luck! On Fri, Jul 17, 2009 at 2:19 PM

[PHP] Linking to images above the webspace

2009-07-17 Thread Al
I've got a php script in which I'd like to link to an image above the webspace [doc-root] and render it as or Anyone know how this can be done? Googling always refers me to document_root, where absolute or relative. Do I first have to make a copy of the image and put it below doc_root? Tha