No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
29 Posted Topics
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( ); … | |
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 | |
Re: 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 … | |
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? … | |
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) … | |
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 | |
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 | |
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 = … | |
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 … | |
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 … | |
Re: 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 | |
Re: [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 … | |
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 … | |
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 … | |
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= … | |
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 … | |
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. … | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 ( … | |
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 … | |
Re: 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 … | |
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 … | |
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!!! |
The End.