Jump to content

mike_bike_kite

New Members
  • Posts

    4
  • Joined

  • Last visited

mike_bike_kite's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Can I ask why you were at an interview for a programming job for PHP in the first place? Were you just feeling lucky?
  2. OK fine - many thanks. PS Not sure if this is typical but it took about 10 attempts to join the forum - either the picture code I was entering was continually wrong or, if I ever did get it right, then the random question field had cleared meaning I had to enter all over again. Of course on each iteration it kept setting the tick box that says please send me spam. This was was actually quite frustrating. It might be worth altering things so the random question doesn't change and the old answer stays plus the spam checkbox stays unchecked if the user has unchecked it.
  3. but is it safe creating image files and placing them there? Obviously I'll check to see if they are images and that the file contains no special char but but it seemed a bit risky placing them in the doc root.
  4. I'm writing a tool to take a mysql database and then display it on the web. I quite like designing and writing languages so it doesn't bother me too much if such a tool already exists. My problem is when displaying a front page showing a selection of images from items in the database - it's just too slow if it's pulling images from various external sites via a url. I figured why not have a button that will take the existing image URL and then resize it (make it smaller), try to make the background transparent and then store the image file locally. I can do most of this (the transparency thing is a bit hit and miss) but I'm not sure where to store the images so I can display them later. I can store them in /var/tmp/app_name/images/ but then I can't display it. I'm probably just being stupid but is there a proper way of doing this? Also, I'm using GD for the images but I seem to have to use 3 different methods depending on whether the image is a png, gif or jpg - is there a single method that might work? Many thanks for your time Mike PS here's an example database on chromebooks.
×
×
  • 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.