Jump to content

Matias

Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by Matias

  1. Its not that easy, have you ever taken a look at their source
  2. Using the exif functions in php you can read the exif hearers/comments that are embeded within an image or media type. The header comments are then fetched as an array from the image. Does anyone know how to add exif headers in images using PHP? I found two libraries that can do this: PEL and PHP JPEG Toolkit. Both I am sure do the job and PURE PHP, but it is annoying to have the both libraries because they cannot be very well integrated into my application, plus they both come with an abundance of features which I am not interested in. So what I am asking here is does anyone know how to do this manually, therefore doing it by hand? I know this is possible since both of the libraries are pure php. So any ideas?
  3. Yeah I downloaded the one off of source forge but I dont think it was it, it only was a Makefile and a few cpp scripts, and I had no idea on where it got installed...
  4. I just recently installed php5 on my webserver. There was no previous version of php on there, so its a fresh custom compiled install. I installed GD with JPEG and FREETYPE support, and it all works fine as well. However for some reason I couldn't read swf files at all. My previous scripts allowed for flash videos to be uploaded (for admin purposes, banners if you must) and it would fetch the size of the image and then save its dimensions. This now didn't work because the php DIDN'T HAVE ANY SWF SUPPORT. So I investigated and I found out that I needed to compile php with --with-swf, but in order for me to do that I need to have the libswf included. The problem that I am now haviing is that I can't find the libswf download .tar.gz file anywhere on the net. I looked on php.net but the link is broken. I would assume that there would be more then one source on the internet to find it but there isn't. Does anyone have any solutions to this. Where can find this file???
  5. Ok lets say I have a system where users upload their pictures to the website. Then as a Copyright for the user (so that other users cant copy their image onto their page) the jpeg will be copyrighted (commented) with their username and then when another user attempts to upload their image it will detect that copyright COMMENT within the image (using exif_read_data()) and then will block the user from uploading it. How would I add the comment into the JPEG image.
  6. ok lets say there was database that consisted of switchboard values (on or off) column 1 (0 or 1) column 2 (0 or 1) column 3 (0 or 1) column 4 (0 or 1) column 5 (0 or 1) column 6 (0 or 1) now all of those are what they are (they define what is activated) anyways right now they have their own correctponding colums, but I want to make them into one line of numbers... so something like this 1010110 pretty much like chmod only its binary... now which way would be best to do so. Should I make a column that is CHAR(6) or should I make a MEDIUMINT(6) colum. Or if its possible, can a BIT column be made, so its binary which way is better
  7. Matias

    GCC Compiler

    I looked into my current compiler and realized that it doesn't have two of the very important flags -fno-exceptions -felide-constructors Although I have absolutely no clue what these flags are. They are strongly recomended in source compiling for mysql. Without them working properly or without the compiler even having them at all causes the mysql service to crash haphazardly. So can anyone help me out on updating my gcc compiler. Note I run a Fedora Core 4 i386 version with a pentium 4 2.4ghz CPU
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.