Search found 15 matches

by kevin_javia
Tue Aug 17, 2004 11:22 pm
Forum: Databases
Topic: MySql DATABASE creation date
Replies: 1
Views: 262

MySql DATABASE creation date

Is there any way to find out MySql DATABASE creation date? :?:
by kevin_javia
Thu Jul 22, 2004 4:35 am
Forum: PHP - Code
Topic: Creating Folders/Directories
Replies: 5
Views: 403

How can I do this using script?
by kevin_javia
Thu Jul 22, 2004 4:17 am
Forum: PHP - Code
Topic: Creating Folders/Directories
Replies: 5
Views: 403

Creating Folders/Directories

Greetings, I am trying to create folders using my script. <?php if (!is_dir("full/$uid")) { $oldmask = umask(0); mkdir("full/$uid",0777); umask($oldmask); } if (!is_dir("thumb/$uid")) { $oldmask = umask(0); mkdir("thumb/$uid",0777); umask($oldmask); } if (!is_...
by kevin_javia
Sat Jul 17, 2004 2:27 am
Forum: PHP - Code
Topic: Image Color Allocate Problem
Replies: 6
Views: 526

Ok feyd, I shall try that. :)
by kevin_javia
Fri Jul 16, 2004 11:29 pm
Forum: PHP - Code
Topic: Image Color Allocate Problem
Replies: 6
Views: 526

I think no one has any solution for my problem. :(
by kevin_javia
Thu Jul 01, 2004 12:32 am
Forum: PHP - Code
Topic: Creating Folders / Directories
Replies: 2
Views: 310

It is a directory... I have modified my code to following... <?php //$uid and $cid are integers if (!is_dir("/cars_pics/full/$uid")) { mkdir ("/cars_pics/full/$uid", 0777); } if (!is_dir("/cars_pics/thumb/$uid")) { mkdir ("/cars_pics/thumb/$uid", 0777); } if (...
by kevin_javia
Thu Jul 01, 2004 12:18 am
Forum: PHP - Code
Topic: Creating Folders / Directories
Replies: 2
Views: 310

Creating Folders / Directories

Greetings, I need to create directories using PHP page. I tried it using the following code. But it gave me errors. <?php //$uid and $cid are integers if (!file_exists("/cars_pics/full/$uid")) { mkdir ("/cars_pics/full/$uid", 0777); } if (!file_exists("/cars_pics/thumb/$uid&...
by kevin_javia
Tue Jun 22, 2004 2:47 am
Forum: PHP - Code
Topic: [SOLVED] File Extension
Replies: 9
Views: 606

File Extension [SOLVED]

Thanks a lot.

Kevin.
by kevin_javia
Mon Jun 21, 2004 10:53 pm
Forum: PHP - Code
Topic: [SOLVED] File Extension
Replies: 9
Views: 606

File Extension

Hi there,

How can I extract the file extension of the file?

I came across mime_content_type() but it gives only file type not file extension.

Can any one help me?

Thanks a ton in advance.

Kevin.
by kevin_javia
Mon Jun 21, 2004 4:03 am
Forum: PHP - Code
Topic: Image Color Allocate Problem
Replies: 6
Views: 526

Hi Wayne,

Thanks for the reply. I am having arround 40 rows in my database. Values of R,G,B are in the range of 0 - 255.

I tried the while loop, but it does not make any difference.

Kevin.
by kevin_javia
Thu Jun 17, 2004 5:47 am
Forum: PHP - Code
Topic: Image Color Allocate Problem
Replies: 6
Views: 526

Image Color Allocate Problem

Hi there, I have stored R, G, B values; size; and the text in the database. I am able to display the text on the image, but after some rows the function imagecolorallocate returns -1 and hence failing to allocate the color according to the RGB values from database. So when $tc = -1 in the following ...
by kevin_javia
Wed Jun 09, 2004 10:11 pm
Forum: General Discussion
Topic: HTTPS
Replies: 1
Views: 351

HTTPS

Hi there,

How can I make my site secured via HTTPS? Is there any thing I need to purchase? Is there any to be added in the coding it self?

Please explain in detail. I shall be very thankful for your help.

Thanks a ton in advance.

Kevin.
by kevin_javia
Mon May 24, 2004 10:04 pm
Forum: PHP - Code
Topic: image color transparent
Replies: 6
Views: 517

I did view the outputed image in ACDC and other programs. There is no transparent portion in the whole image.

That means this is not IEs problem I guess. Can any body throw some light on this topic?

Thanks vigge n feyd.

Kevin.
by kevin_javia
Mon May 24, 2004 9:59 am
Forum: PHP - Code
Topic: image color transparent
Replies: 6
Views: 517

I even tried the JPEG functions but the results were similar. :(
by kevin_javia
Mon May 24, 2004 9:46 am
Forum: PHP - Code
Topic: image color transparent
Replies: 6
Views: 517

image color transparent

Hi I am using following code to make the a color transparent in an image. <?php header ("Content-type: image/png"); $im = imagecreate(500, 400); $bgc = imagecolorallocate($im, 0, 0, 0); $tc = imagecolorallocate($im, 255, 255, 255); imagettftext($im, 20, 10, 100, 200, $tc, "/arial.ttf&...