Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sixonetonoffun

Pages: [1]
1
Feedback & Suggestions / Flat File Database
« on: October 20, 2002, 11:43:03 PM »
I have my own so its not an issue for me. I'm saying for the average school or college kid that this would make the program run faster on these free and cheaply hosted sites.

But geez thanks for the creative suggestion!

2
Feedback & Suggestions / Flat File Database
« on: October 20, 2002, 10:10:09 PM »
Feature request for Flat File database.

This is a huge request but with the large number of people using free hosted and cheaply hosted webservers it would be very useful.

I installed 4images on lycos.co.uk just for fun to try it out but on weekends like this their MySQL server is so overloaded it can take 10 minutes to load pages that contain database content. If they can connect to the MySQL server at all.

3
Only thing I found I had to change for lycos.co.uk was in image_utils.php
For some reason the version of GD must not be getting selected correctly.
Or maybe lycos uses a modified version.

Probably there is a better way to code this but worked for me.
around line: 68
Code: [Select]

  $types = array(1 => "gif", 2 => "jpeg", 3 => "png");
  if (defined('CONVERT_IS_GD2') && CONVERT_IS_GD2 == 1) {
    $thumb = imagecreatetruecolor($width, $height);
  }
  else {
    $thumb = imagecreate($width, $height);
  }


to this

Code: [Select]

$types = array(1 => "gif", 2 => "jpeg", 3 => "png");
  if (defined('CONVERT_IS_GD2') && CONVERT_IS_GD2 == 1) {
    $thumb = imagecreatetruecolor($width, $height);
  }
  else {
    $thumb = ImageCreateTrueColor($width, $height);
  }

Pages: [1]