- Joined
- 6 Jan 2002
- Messages
- 5,518
I've been playing with imagecreatefromjpeg and for the most part it works, but i moved the code to a new director and it doesn't
this directory stucure works with the code in photos and the pics in "me"
photos
+pics
++me
+++thumbs
but if I move the code to another directory, such as admin, then i get the error that the file does no exist.
photos
+pics
+-me
+--thumbs
+admin
it seems I cannot pass it a filepath which goes back up the tree and then down again such as "/pics/me/test.jpg"
That probably makes no sense to anyone. Its hard to explain, but its a simple problem. i hope someone knows a way around it
this directory stucure works with the code in photos and the pics in "me"
photos
+pics
++me
+++thumbs
but if I move the code to another directory, such as admin, then i get the error that the file does no exist.
photos
+pics
+-me
+--thumbs
+admin
it seems I cannot pass it a filepath which goes back up the tree and then down again such as "/pics/me/test.jpg"
That probably makes no sense to anyone. Its hard to explain, but its a simple problem. i hope someone knows a way around it