Hello All,
This question is more to satisfy my want to know what's wrong than with trying to get a specific chunk of code working.
I have written a couple of scripts to upload and insert binary files (images) into a MySQL database, I was having massive problems with the images coming back corrupt. The code all seemed fine, then I`d decided to upload it all to a different server to see if it was my machine here, it worked perfectly!
My local machine is running MySQL 3.23.40 on Win98 with PHP4.0.6, and the server has 4.3-STABLE with PHP 4.0.3pl1 and MySQL 3.23.28-gamma running.
Does anybody know if there would be any issues on my local development machine that would stop binary data being written to a MySQL database properly, I have noted since that not all the binary makes it to the table, yet it's all fine on the live server, hmmmmmmm.
Any ideas would be cool, I`d like to write and test my scripts for this locally and not on the production server :-/
Thanks.
Crispy
This question is more to satisfy my want to know what's wrong than with trying to get a specific chunk of code working.
I have written a couple of scripts to upload and insert binary files (images) into a MySQL database, I was having massive problems with the images coming back corrupt. The code all seemed fine, then I`d decided to upload it all to a different server to see if it was my machine here, it worked perfectly!
My local machine is running MySQL 3.23.40 on Win98 with PHP4.0.6, and the server has 4.3-STABLE with PHP 4.0.3pl1 and MySQL 3.23.28-gamma running.
Does anybody know if there would be any issues on my local development machine that would stop binary data being written to a MySQL database properly, I have noted since that not all the binary makes it to the table, yet it's all fine on the live server, hmmmmmmm.
Any ideas would be cool, I`d like to write and test my scripts for this locally and not on the production server :-/
Thanks.
Crispy