yep, tried it, still dont work.... i think where the problem lies is... that i experimented a bit by outputting the data from a picture, then a video i.e.
$data = addslashes(fread(fopen($video, "r"), filesize($video)));
$data2 = addslashes(fread(fopen($image, "r"), filesize($image)));
print "video content = $data";
print "Picture content = $data2";
now when both get outputted the picture gets outputted fine.... and so does the video file as well... which means it does read the file.... but i've discovered a problem... when outputted, halfway through the video data, the font changed to bold and italic, so i'm thinking there must be a leak in the slashes bit... am i correct? or have i gone wrong elsewhere?
see what i've done is after reading the files i store them in my database using code:
$sql = "INSERT INTO videos (video, picture) VALUES ('$data','$data2')";
$result = mysql_query($sql,$db); etc etc and so forth.... but the problem is it doesnt execute that line....so i'm thinking there must be a leak in the slashing bit 😕