RE: [PHP] Getting an uploaded picture
> > From: "Mike R" <[EMAIL PROTECTED]> > > I thought about that, but figured I'd ask first - particularly since I > > wasn't sure which code to send: the code for uploading the > pictures or the > > code that displays the pictures/links to them? > > Show the code that displays the links to them and some of the resulting > HTML. > > Are you using a PHP page to "serve" the images, or linking directly to a > .gif/.jpg file? Linking directly. When it appears in the browser url, it is correct. I did, though, change the path that refers to the image from relative to absolute, and the problem was solved. Which is weird since it wasn't an issue with the zip'd files before. Well, one issue down, one to go. Thanks to all for help and reading. :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Getting an uploaded picture
From: "Mike R" <[EMAIL PROTECTED]> > I thought about that, but figured I'd ask first - particularly since I > wasn't sure which code to send: the code for uploading the pictures or the > code that displays the pictures/links to them? Show the code that displays the links to them and some of the resulting HTML. Are you using a PHP page to "serve" the images, or linking directly to a .gif/.jpg file? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Getting an uploaded picture
[snip] > Is the directory where you placed the pics web accessible? Sounds like > you placed them outside of the web root Actually, it is accessible and the directory is chmod'd to 777 (though thr pictures themselves are 644). I should mention I did build the system to upload zip'd files, but changed it to jpegs due to further considerations. When zip files were sent up, everything was fine. Guess it would be interesting to see if they still work.. [/snip] Code please. It should work, for instance Click for image -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Getting an uploaded picture
[snip] I thought about that, but figured I'd ask first - particularly since I wasn't sure which code to send: the code for uploading the pictures or the code that displays the pictures/links to them? I should note that I can ftp in and download the pictures and they appear fine. [/snip] Is the directory where you placed the pics web accessible? Sounds like you placed them outside of the web root -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Getting an uploaded picture
> [snip] > Then I wrote a script that shows a list of what pictures are in the > directory and creates a link to the picture. Everything seems to spit > out > from the list just fine, but the links do not work. Not because the > html in > them is wrong, but when you right-click on the picture to save it > locally, > it errors out with: "The server returned an invalid or unrecognized > response". > [/snip] > > A little code would probably go a long way to help resolve this. I thought about that, but figured I'd ask first - particularly since I wasn't sure which code to send: the code for uploading the pictures or the code that displays the pictures/links to them? I should note that I can ftp in and download the pictures and they appear fine. :) Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Getting an uploaded picture
[snip] Then I wrote a script that shows a list of what pictures are in the directory and creates a link to the picture. Everything seems to spit out from the list just fine, but the links do not work. Not because the html in them is wrong, but when you right-click on the picture to save it locally, it errors out with: "The server returned an invalid or unrecognized response". [/snip] A little code would probably go a long way to help resolve this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Getting an uploaded picture
I wrote a script that uploads pictures and writes them to a particular directory on a server. Then I wrote a script that shows a list of what pictures are in the directory and creates a link to the picture. Everything seems to spit out from the list just fine, but the links do not work. Not because the html in them is wrong, but when you right-click on the picture to save it locally, it errors out with: "The server returned an invalid or unrecognized response". Anyone know what this might be about? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php