Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~5K People Reached
Favorite Tags

29 Posted Topics

Member Avatar for tristan17

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 { //Main method public static void main (String[] args) { //Create one borrower Borrower borrower = new Borrower( ); …

Member Avatar for naushadahmed
0
191
Member Avatar for tristan17

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

Member Avatar for almostbob
0
413
Member Avatar for StrikeFreedom

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 if($page > 1){ $prev = ($page - 1); echo "<a href=\"".$_SERVER."?page=$prev\"><<Previous</a> "; } " you could do …

Member Avatar for blanche3
0
171
Member Avatar for tristan17

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 related to digital image. Can someone shed a light on me? …

Member Avatar for sciwizeh
0
706
Member Avatar for tristan17

hi, I have written this small code section [PHP]<?php // database connection $host = "localhost"; $user = " "; $pass = " "; $db = " "; $table= "test"; $conn = mysql_connect($host, $user, $pass) OR DIE (mysql_error()); @mysql_select_db ($db, $conn) OR DIE (mysql_error()); $sql="SELECT * FROM $table WHERE image_id=100100"; $result=mysql_query($sql) …

Member Avatar for sarahk
0
199
Member Avatar for tristan17

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

Member Avatar for Phaelax
0
108
Member Avatar for tristan17

Hi, When i try to run the php script [PHP]<? php $myFile = "testFile.txt"; $fh = fopen($myFile, 'r'); $theData = fgets($fh); fclose($fh); echo $theData; ?>[/PHP] I get the error : "Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\xampp\htdocs\readfile.php on line 3" I can't figure out why, any help appreciated tris

Member Avatar for tristan17
0
112
Member Avatar for tristan17

Hi, I am trying to change some setting in a script (perl) but i do not understand what does the following statemnet meant: [CODE]sub dirlog { $mypath = "/xxx/xxx/"; $logpath = "/xxx/xxx"; [COLOR=Red]$dirlogfile = "randomdir.log";[/COLOR] $interval = "0"; # The days that the random dir will be kept; @tmpoutput = …

Member Avatar for tristan17
0
96
Member Avatar for tristan17

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 import the text file into the scripts. But I am now trying …

Member Avatar for paradox814
0
150
Member Avatar for tristan17

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 : [CODE]#!/usr/bin/perl print "Content-type: text/html\n\n"; $request_method=$ENV{'REQUEST_METHOD'}; print "request method:",$request_method,"<br>"; print "O.K.!";[/CODE] but it shows this error …

Member Avatar for tristan17
0
95
Member Avatar for rcasinillo_s

hi, i haven't try out on a actual database yet, but maybe it could be due to the[U]'$variable'[/U], u can try to remove the ' ' ,hope it helps, if its not working, can u let me know the error message?? tris

Member Avatar for sarahk
0
115
Member Avatar for aarya

[QUOTE=aarya]hi i ahve a mysql databse in which list of name is stored. i wnate to retrive the data form that databse. i have problem in retriving it. if i have name jack 3 times in my databse, but when i wnat to show the names i get jack jack …

Member Avatar for rcasinillo_s
0
120
Member Avatar for tristan17

Hi PHPers, Firstly, a [COLOR=Red]Very Happy New Year To ALL!![/COLOR] Hope everybody enjoyed this festive season :cheesy: Back to work, sigh... I am encountering this problem, below is a code which i have written, but the page only displayed the result of my code which is line 27. But when …

Member Avatar for RamiroS
0
119
Member Avatar for tristan17

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. The code works this way: //user to upload image file …

Member Avatar for digital-ether
0
138
Member Avatar for tristan17

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 connection $host = "localhost"; $user = "user"; $pass = "password"; $db = "imagedb"; $table= …

Member Avatar for pc2forum
0
179
Member Avatar for tristan17

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 from? this is part of the code for uploading: " // Do …

Member Avatar for RamiroS
0
104
Member Avatar for tristan17

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 i have installed php in the php.ini file in c:windows. But it still doesn't work. Wondering where i had gone wrong. …

Member Avatar for tristan17
0
222
Member Avatar for tristan17

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 connection $host = "localhost"; $user = "user"; $pass = "password"; $db = "imagedb"; $table= "image"; $conn = mysql_connect($host, $user, $pass) OR …

Member Avatar for sarahk
0
90
Member Avatar for tristan17

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 i have installed php. But it still doesn't work. Any advice will be greatly appreciated. Rgds, tristan

0
70
Member Avatar for tristan17

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

Member Avatar for techniner
0
85
Member Avatar for tristan17

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 the microsoft visual C++, can i use php to do it? I learnt …

Member Avatar for Gary King
0
103
Member Avatar for tristan17

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 am a newbie in C/C++ , all advice will be greatly appreciated. rgds, xin yann

Member Avatar for Ancient Dragon
0
78
Member Avatar for tristan17

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 class Address { private String street; private String city; private String zip; private String state; //Default constructor public Address ( …

Member Avatar for jwenting
0
291
Member Avatar for tristan17

hi, is there a way to find out what are the keyword tags to a web site that are used when we want to search the web for some information. I mean, as we enter the words in the search bar, it will be match to the tags of the …

Member Avatar for zippee
0
91
Member Avatar for vartotojas

hi vartotojas, well from my own project, what i did was i had a table in the database that consists of all the username and passwords(encrypted form) after which, i created a login form using html with username and password boxes. Then i create a php script that will capture …

Member Avatar for tristan17
0
137
Member Avatar for tristan17

hi people, I am a newbie to Java OOP,i cam across this example in a text book, but i just cldn't understand how the area is calculated. hope that someone can explain this simple problem to me the code is: public class TestPassingObject { // Main method public static void …

Member Avatar for tristan17
0
215
Member Avatar for Manojsah
Member Avatar for Manojsah
0
176
Member Avatar for skystars_22
Member Avatar for tristan17
0
35
Member Avatar for tristan17

Hi everybody, I am new to this forum but i found it a great site after browsing thru some of the forum sites. I am from Singapore, currently I am studying in the local uni. Looking forward to exchange ideas, personal thots wif you people out there!! Cheers!!!

0
28

The End.