rifanece / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

re-connect back to the page over port 80 not allowed by hosting #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The thumbnail generator does not work.  The company managing our hosting
gave us this response.

"http://web118.extendcp.co.uk/hhc-lewis.co.uk/wp-content/themes/rt-theme5/timthu
mb.php?src=http://web118.extendcp.co.uk/h
hc-lewis.co.uk/wp-content/uploads/2009/11/epm-150x150.jpg&w=150&h=109&zc
=1

This link is attempting to re-connect back to the page over port 80 in
order to display the image. This is not possible for security reasons. You
can see the second part of the link is not giving a path to the file on the
server but a loopback, as though it was an external link at a remote site. 

Because of this reason

http://web118.extendcp.co.uk/hhc-lewis.co.uk/wp-content/uploads/2009/11/502102_b
-150x150.jpg

will work

&

http://web118.extendcp.co.uk/hhc-lewis.co.uk/wp-content/themes/rt-theme5/timthum
b.php?src=http://web118.extendcp.co.uk/h
hc-lewis.co.uk/wp-content/uploads/2009/11/502102_b-150x150.jpg 

will not.

This script would have to be recoded to deal with absolute paths local to
the server instead."

Can this be done? This posted by somebody who is not technical with
absolutely no experience of PHP.

Thanks

Original issue reported on code.google.com by j.w...@btinternet.com on 7 Dec 2009 at 10:01

GoogleCodeExporter commented 8 years ago
We have resolved the issue now. Thanks

Original comment by j.w...@btinternet.com on 7 Dec 2009 at 2:52

GoogleCodeExporter commented 8 years ago

Original comment by BinaryMoon on 31 Dec 2009 at 5:22