I have this PHP code that connects to MySQL and it works fine except for the picture. This is the form used to execute the PHP code (attached) www.alamotrades.com/post.html
The picture and all information gets sent to the database without problems but I get this error after I submit...
WHAT IS IT TRYING TO OPEN? '/export/home/d60244618/public_html/images/content/7192006teq.jpg'
What is this location? I want the pics to be stored on alamotrades.com/images/content I think I have this written wrong..
See the attached PHP code that might help you out some...
Here is the error:
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/export/home/d60244618/public_html/images/content/7192006teq.jpg' for writing in /mnt/w0200/d41/s14/b0284c62/www/php-lib/imageupload.php on line 64
Warning: Cannot modify header information - headers already sent by (output started at /mnt/w0200/d41/s14/b0284c62/www/php-lib/imageupload.php:64) in /mnt/w0200/d41/s14/b0284c62/www/submitit.php on line 85
Ok I have figured out that problem by myself by digging around, but I have still one left before perfection.
Now the only problem I have is the printcat.php calling the information out of the database back to the page. Will you help me out with it?? This is what I put in one of the pages to call upon the function:
Ok I have figured out that problem by myself by digging around, but I have still one left before perfection.
Now the only problem I have is the printcat.php calling the information out of the database back to the page. Will you help me out with it?? This is what I put in one of the pages to call upon the function:
Well it's messy code anyway. The structure is not good, large sections of code are repeated, the layout is bad... etc. If it doesn't work, which doesn't surprise me, and you are not prepared to "mess with it", then it will never work. Do you see what I mean?