Showing results 1 to 40 of 51
Search took 0.01 seconds.
Posts Made By: tristan17
Forum: PHP Feb 12th, 2006
Replies: 1
Views: 1,014
Posted By tristan17
how can i output more than one image??

hi,

I have written this small code section

<?php

// database connection
$host = "localhost";
$user = " ";
$pass = " ";
Forum: PHP Feb 9th, 2006
Replies: 2
Views: 879
Posted By tristan17
Re: error

Thanks!! I really appreciate your help!

tris
Forum: PHP Feb 8th, 2006
Replies: 2
Views: 879
Posted By tristan17
error

Hi,

When i try to run the php script

<? php

$myFile = "testFile.txt";
$fh = fopen($myFile, 'r');
$theData = fgets($fh);
fclose($fh);
Forum: PHP Feb 8th, 2006
Replies: 3
Views: 1,532
Posted By tristan17
any good tutorials on image thumbnails?

Hi,

I need to implement my image retrieval project on a web-based. I would like to know if there are any good tutorials on creating image thumnails?

thanks in advance,
tristan
Forum: Perl Feb 2nd, 2006
Replies: 3
Views: 2,660
Posted By tristan17
Re: what does this mean?

Hi,

Thanks to all of you who replied..I had fixed the problem : )

rgds,
tris
Forum: Perl Jan 30th, 2006
Replies: 3
Views: 2,660
Posted By tristan17
Troubleshooting what does this mean?

Hi,

I am trying to change some setting in a script (perl) but i do not understand what does the following statemnet meant:

sub dirlog
{
$mypath = "/xxx/xxx/";
$logpath = "/xxx/xxx";
...
Forum: Perl Jan 30th, 2006
Replies: 5
Views: 1,857
Posted By tristan17
Solution Re: newbie woes

solved!
Forum: Perl Jan 30th, 2006
Replies: 5
Views: 1,857
Posted By tristan17
Re: newbie woes

Hi Jim,

Thanks for your reply. But i have fixed my problem, i think its because of the server setting. Anyway, i had changed the perl path in the scripts and now its working fine

rgds,
tris
Forum: Perl Jan 30th, 2006
Replies: 5
Views: 1,857
Posted By tristan17
Re: newbie woes

hi,
thanks for your reply, but how do i check the permission setting of the file?

rgds,
tris
Forum: Perl Jan 28th, 2006
Replies: 5
Views: 1,857
Posted By tristan17
Troubleshooting newbie woes

Hi,

I admit i'm a complete newbie in perl although i have been invloved in php : ) hope somebody can help me out with this

I want to run a simple perl scrip :

#!/usr/bin/perl

print...
Forum: PHP Jan 25th, 2006
Replies: 2
Views: 917
Posted By tristan17
need help in C/PHP

Hi,

I need some advice on where I can find relevant materials on passing values from an executable C programs to PHP scripts.

I think its possible by passing the values and store on a text file and...
Forum: PHP Jan 24th, 2006
Replies: 2
Views: 15,516
Posted By tristan17
Re: Update query (mysql)

hi,

i haven't try out on a actual database yet, but maybe it could be due to the'$variable', u can try to remove the ' ' ,hope it helps, if its not working, can u let me know the error...
Forum: PHP Jan 24th, 2006
Replies: 2
Views: 4,401
Posted By tristan17
Re: converting rgb values to hsv values

Hi Phaelax,

thanks for your code, i will try it and tell you what's the results.

Appreciate lots,

tristan
Forum: PHP Jan 18th, 2006
Replies: 2
Views: 4,401
Posted By tristan17
converting rgb values to hsv values

Hi,

I am looking for the algorthim for converting rgb to hsv values. Does anyone know of any program or algorithm in php??

thanks in advance,
tris
Forum: PHP Jan 3rd, 2006
Replies: 1
Views: 1,166
Posted By tristan17
image retrieval problem

Hi PHPers,

Firstly, a Very Happy New Year To ALL!!

Hope everybody enjoyed this festive season :cheesy:

Back to work, sigh...

I am encountering this problem, below is a code which i have...
Forum: PHP Dec 26th, 2005
Replies: 3
Views: 1,679
Posted By tristan17
Re: retriving the name form the databse only once

hi,
maybe you can try the sql:

"SELECT DISTINCT FROM $table....."
Forum: PHP Dec 25th, 2005
Replies: 1
Views: 1,686
Posted By tristan17
createimagefromjpeg(?)

Hi,

I am tryiny to write a program which will allow me to upload a image and after which i had uploaded the image, I will be able to calculate the RGB values of the image which i have uploaded....
Forum: PHP Dec 21st, 2005
Replies: 3
Views: 1,410
Posted By tristan17
Re: uploaded file origin directory

Hi,

thanks for your reply, maybe i should make myself clearer. I want to know where will the uploaded files be stored? and is it possible that i can change the directory where the uploaded files...
Forum: PHP Dec 19th, 2005
Replies: 3
Views: 1,410
Posted By tristan17
uploaded file origin directory

Hi,

I had written a small program in php, which will allow a user to upload an image to the database. My question is whether can i locate the directory of the image from where it was uploaded...
Forum: PHP Dec 19th, 2005
Replies: 1
Views: 3,080
Posted By tristan17
Re: PHP Search pagination problem

Hi,

I had done pagination before, and my code has the same structure and i think the problem could be due to the pagination section ie:

instead of :

"// Build Previous Link
...
Forum: PHP Dec 19th, 2005
Replies: 6
Views: 3,168
Posted By tristan17
Re: need help in installing gd library with php 4.3.10

Hi,

I have successfully installed gd a few days ago, well i went thru thr process of re-installing apache, php and ,mysql again..but this time, i upgraded php to 4.3.4.

Anyway, thanks for your help...
Forum: PHP Dec 14th, 2005
Replies: 6
Views: 3,168
Posted By tristan17
Re: need help in installing gd library with php 4.3.10

hi,

it seems like i can't alter other settings in php.ini

tried to change "enable_dl = On" in php.ini to "enable_dl=Off" , restart Apache, but phpinfo still shows that "enable_dl = On"

wat could...
Forum: PHP Dec 14th, 2005
Replies: 6
Views: 3,168
Posted By tristan17
Re: need help in installing gd library with php 4.3.10

yes, i have checked the extension_dir and it has a php_gd2.dll in it, i have also restarted the server, but it still does not have the gd library. my info.php did not list the gd...
Forum: PHP Dec 14th, 2005
Replies: 6
Views: 3,168
Posted By tristan17
need help in installing gd library with php 4.3.10

hi,

I need help in installing gd library with php4.3.10 on windows platform.

I have uncommented the line "extension=php_gd2.dll" and set the directory " extension_dir = "c:\php\extensions\" " where...
Forum: PHP Dec 14th, 2005
Replies: 0
Views: 1,541
Posted By tristan17
need help in installing gd library with php 4.3.10

hi,

I need help in installing gd library with php4.3.10 on windows platform.

I have uncommented the line "extension=php_gd2.dll" and set the directory " extension_dir = "c:\php\extensions\" " where...
Forum: PHP Dec 13th, 2005
Replies: 1
Views: 931
Posted By tristan17
need help in error

hi guys,

i ran into this error
"Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in c:\web\imagedb\pixel.php on line 19"

while running the code:

<?php
// database...
Forum: PHP Dec 13th, 2005
Replies: 3
Views: 1,079
Posted By tristan17
Re: what is wrong with yhis code?

hi,

i have solved the problem, its was a small mistakes, the name should be "tulips.jpeg" instead of "tulips"

thanks for your help anyway!

tristan
Forum: PHP Dec 13th, 2005
Replies: 3
Views: 1,079
Posted By tristan17
what is wrong with yhis code?

Hi guys,
I have written a simple code here that should be able to display the image "tulips" from my database?
But it does not work, wondering what is wrong with the code?

<?php
// database...
Forum: MySQL Dec 12th, 2005
Replies: 3
Views: 2,295
Posted By tristan17
Re: image database

nope, they will be just random images, as this is a project based, i would like to use demostration images instead
Forum: MySQL Dec 12th, 2005
Replies: 3
Views: 2,295
Posted By tristan17
image database

hi,

i need to create a database of images. does anybody know where i can get a database of sample images?

any help will be greatly appreciated,

tristan
Forum: PHP Dec 9th, 2005
Replies: 3
Views: 1,192
Posted By tristan17
Re: can it work?

the images will be retrieved from a database
Forum: PHP Dec 9th, 2005
Replies: 3
Views: 1,192
Posted By tristan17
can it work?

Hi guyz,

I had a program which is written in microsoft visual C++, it is actually just a image retrieval program. But now, i wan to create a web program that user can retrieve similar images thru...
Forum: C++ Dec 5th, 2005
Replies: 1
Views: 849
Posted By tristan17
error unresloved

Hi guys,

i got this error when i was trying to compile a program

"LINK : fatal error LNK1104: cannot open file "jbig.lib"
Error executing link.exe."

can somebody please explain this error, coz I...
Forum: Java Dec 2nd, 2005
Replies: 3
Views: 2,286
Posted By tristan17
Re: convert pixel to rgb values

hi pal,

i have checked out on some of the image filters available,most of them will filter out for the red,green or blue components but for my case, i need to let's say, for a green pixel, i want to...
Forum: Java Dec 2nd, 2005
Replies: 3
Views: 2,286
Posted By tristan17
convert pixel to rgb values

hi people,

I want to convert the pixel to a set of rgb values, but I don't really have an idea. If i am not wrong, there are some java commands like readImage and readPixel and raster that are...
Forum: Java Oct 21st, 2005
Replies: 3
Views: 1,173
Posted By tristan17
can't resolve error

Hi,

I have been practising some OOP and have encountered this error
" cannot resolve symbol - variable MyInput"

I wonder wat's wrong...here is part of my code:

public class BorrowMortgage
{
...
Forum: Java Sep 25th, 2005
Replies: 8
Views: 1,359
Posted By tristan17
Re: need help with error message

hi jwenting,

thanks for pointing my error, i have changed from ' /n ' to '/n' and i can compile the codr. but i have a question, i can still compile the code with " /n " but what is the difference?...
Forum: Java Sep 24th, 2005
Replies: 8
Views: 1,359
Posted By tristan17
Re: need help with error message

thanks chrisbliss18 and all,

I have figured out the error, INSTEAD of using ' \n ' i SHOULD have used "\n" because there are two characters enclosed.

rgds,
tris
Forum: Java Sep 24th, 2005
Replies: 8
Views: 1,359
Posted By tristan17
Re: need help with error message

hi,

i think i missed out something, the error actually points to the last statement code, and can i know what is the meaning of character literal?

thanks and rgds,
tris
Forum: Java Sep 24th, 2005
Replies: 8
Views: 1,359
Posted By tristan17
need help with error message

hi people,

i have encountered this error message "unclosed character literal" while compiling the below program using bluej. I wonder what is wrong with the code,do enlighten me. Thanks!!

public...
Showing results 1 to 40 of 51

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:32 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC