199,114 Archived Topics
Remove Filter ![]() | |
i keep getting this error at the top of my page when i go to my forum index. i jst installed it and have never gotten this error before. [code]Warning: set_magic_quotes_runtime, set_time_limit, version_compare, zend_version, getmyinode, getmypid, getmyuid, getmygid, getopt, getrusage, assert_options, assert, extension_loaded, dl, mysql_pconnect() has been disabled for security … | |
hi everyone, am quite new to graphics.am tryin to write a car game.i jus wanted to know how to use special keys(like arrow keys n function keys as inputs).can anyone help me? | |
I found this functions are maybe important for some people there for i wrote this code . -------------------------------------------------------------------------- This Max() function is used to find the maximum value in a list [code] #include <iostream> using namespace std; int Max(const int *Numbers, const int Count) { int Maximum = Numbers[0]; for(int … | |
Could someone give me a hint, an algorithm or a source code if you like.... for this program... I need to display and store the highest scorers in my Game.... How is that? | |
I am doing my homework right now. my program is providing 3 slider that user can choose RGB value and fill the color in rectangle. also everytime when the user slide the slider, there should be a JTextField can show the value which the user choose. my problms are: I … | |
Hello! I'm just a beginner in C Programming. I just want to ask for some help here! I need to input a number 10, 20 or 0 If I entered a number 100, 2000, or 0000 that will be invalid... There should only be a limit of two characters..... and … | |
hi all. I submit this program done under Borland beacuse i have a problem running my second function (indicated) Plz help me. #include <process.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <conio.h> void affichage(); void affichage2(); void main(int argc, char *argv[]) { void affichage(); } void affichage(int argc, char *argv[]) … | |
Goal: I would like to assign the content of a known function to a function pointer in LINUX environment. Problem: Get segmentation fault when running the function pointer after assignment. Procedure: 1). declare a funtion pointer. 2). Allocate memory space to the function pointer using the function' malloc' 3). Copy … | |
I have created a function for a script I am doing for my website to help with manage navigation but something inside the function is causing the PHP Engine to stop running the script. I'm not to good with match expresions so I have a feeling it will have something … | |
I am trying to write an application for accessing IDE CD writer programatically for reading / writing files into the CD placed in CD writer. Can you please help me out in this. I would be really helpful for me if you can please send me some sample programs for … | |
Greetings. Can anyone please guide me on this problem? I have 2 frames. Similar to a website, the frame on the left works like a navigation menu while the frame on the right is the content part. When I click on a label on the navigation panel, how can I … | |
please [B]iam ask about[/B] how can i delete and update from table ? :confused: please i want example to delete data from table and aother example to make update data from table please help me :o | |
I'm trying to make a manager that works with MySQL to create, delete and update classes in a database. I'm having trouble with the update/modify portion. I have a login page in HTML that has the action of manager.php, which shows a list of all the classes in the database … | |
Ok, here I have my hit counter as a text file. [CODE] [size=2][color=#0000ff]Private[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2] Page_Load([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] sender [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Object, [/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] e [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.EventArgs) [/size][size=2][color=#0000ff]Handles[/color][/size][size=2][color=#0000ff]MyBase[/color][/size][size=2].Load [/size][size=2][color=#0000ff]If[/color][/size][size=2][color=#0000ff]Not[/color][/size][size=2] Page.IsPostBack [/size][size=2][color=#0000ff]Then[/color][/size] [size=2][color=#0000ff]Dim[/color][/size][size=2] nCount [/size][size=2][color=#0000ff]As[/color][/size][size=2] Int32 = 108[/size] [size=2]nCount = GetCounterValue()[/size] [size=2]lblTest.Text = nCount.ToString()[/size] [size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]If[/color][/size] [size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub[/color][/size] [size=2][color=#0000ff] [/color][/size][size=2][color=#0000ff]Private[/color][/size][size=2][color=#0000ff]Function[/color][/size][size=2] GetCounterValue() [/size][size=2][color=#0000ff]As[/color][/size][size=2] Int32[/size] [size=2][color=#0000ff]Dim[/color][/size][size=2] ctrFile [/size][size=2][color=#0000ff]As[/color][/size][size=2] StreamReader[/size] [size=2][color=#0000ff]Dim[/color][/size][size=2] ctrFileW … | |
Dear sir, This function converts a string to a numeric value. Provide two versions of this function overloading to return either a long or double value Here is the pseudo code for the FNVAL processing Validate the input string value If it contains any non numeric characters, then throw a … | |
I am trying to use the command foreach to create a drop down menu. That I can usually do, the problem is I am also adding some linking. Here is some my code: <?sql $sql2 = "SELECT mn.map, mn.route FROM maps m JOIN map_name mn ON (m.map_name = mn.map) WHERE … | |
[FONT=Arial]Hi there! I am a new programmer, still learning the basics, and very confused. I don't know what type of programming language would be best for whatever the situation or problem is. For instance, I want to write some type of program that will allow me to take data from … | |
Hi all, I'm getting this error when I try to link to my SQL database :(. Login failed for user 'test' Reason: Not associated with a trusted SQL Server connection. any ideas what I'm doing wrong? | |
I have a very important question (for me) How do i use <alloc.h>/<malloc.h>/<stdlib.h> for memory allocation? i'm talking about: malloc(),calloc(),halloc(),realloc(),alloca(),heapwalk(),free() etc? i'm having a lot of trouble with these! thank you!! :confused: | |
can anyone help me with the code for a vending machine in java please im begging you guys i need in less than 24 hrs | |
Hi,:cool: What's the crazies thing you're program has ever done? It was meant to add the numbers together - but instead it placed a picture of your granny on your desktop and started singing "God save the Queen"? You know what I'm talking about....those times that your program goes off … | |
It is: Parse error: parse error, unexpected ';' in Untitled-3 on line 93 Here is the code: <? include ("config.php"); include ("functii_mail.php"); db_connect($dbserver,$dbuser,$dbpass,$dbname); //variabile lang global $sign_up_title; include ($lang); if (is_banned($REMOTE_ADDR)) { echo "IP banned!"; exit(); } function inregistrare($nume,$password,$email,$sex,$sexuality,$personal_ad,$location,$country, $age ,$birth_date,$zodia,$marital_status,$icq,$msn ,$web,$eyes_colour="",$hair_colour="",$weight=0,$height=0, $music,$partner ,$question,$newsletter ) { $sql="insert into users values … | |
Hi all, I need to maintain a text file which contains only 10 lines. As a new line is added to the top - a line is removed from the bottom. So although the file is automatically updated regularly it will always contain only 10 lines. I know how to … | |
dear sir Hi, In text field I want to restrict No of character entered should be only 3 if fourth character entering in same TextFiled it should not allow. How to solve it ? Warm regards sunil ![]() | |
I have a form in my search.php page and want to know how to search on more than one field in my Mysql Database to give me the result. This is my form for searching one field: <form action="results.php" method="post"> Search: <select name="searchtype"> <option value="date">Date</option> <option value="wk no.">Wk #</option> <option value="year">Year</option> … | |
i'm working on a project and i really want to know if c++ provides to print out colored text or not. thx | |
I am new to PHP and MySQL so am in need of some help please. I am using MySQL through PHP MyAdmin. I have a results page to a MySQL search and formatted it so that they come up as an HTML table. This is it's code: <table border="0" align="center"> … | |
What is the word 2003 visual basic code for converting a selected text to a number, and a number to text? | |
[FONT=Verdana]Hello fellow members, it's me again with the silly questions. I was give a scenario to write a program for and I finished it (I think). Although is pretty simple (first program) I had a hard time trying to assemble it. It’s exactly as the scenario I was given ( … | |
ive been working on my login script, and ive come to a halt. i need some help with writing somthing that will check if the name has already been used like if ( $current_Username = $Database_username) echo "sorry user name taken"; else { continue with rest of functions } where … | |
i need to know the format to search for a user name in the database, im using PHP to submit the data so far this is what ive got [php] @mysql_select_db("$DBName") or die("Unable to select database $DBName"); $sqlquery = "INSERT INTO $table VALUES('$id','$name','$email','$opinion')"; $results = mysql_query($sqlquery); mysql_close(); [/php] im using … | |
[COLOR=Gray]undefined[/COLOR] Hello, I am using a webservice which has many objects and methods. Before being able to access any method, a method called authenticateuser is needed to be executed. Taking ws as the webservice object, and after successfully executing the ws.authenticateuser(successfull result is shown with the boolean return value set … | |
Finally, there's a book that will help you prepare for the MySQL certification exams. Learn more about it here: [url="http://www.amazon.com/exec/obidos/tg/detail/-/0672326329/qid=1087361084/sr=1-1/ref=sr_1_1/002-7750886-2407247?v=glance&s=books"]http://www.amazon.com/exec/obidos/tg/detail/-/0672326329/qid=1087361084/sr=1-1/ref=sr_1_1/002-7750886-2407247?v=glance&s=books[/url] | |
I am struggling to derive answers for this problem. I need detail explanation. I understand the problem has to do with manipulating and trying values to derive what is n but don't understand :D :rolleyes: Considering the following nested loops, for(j = 5; j<=n; j++) { j =n; while(k > … | |
I asked before for a time delay function which is like system ("pause") but depend on time instead of keys , to elaborate i want the program instead if writing " press any key to contiue " i want it to freeze for example for 2 or 3 sec then … | |
I need to create a date updated field for ms sql 2000. The current trigger I have only works for the insertion of data and it is "(getdate())" is there one that I can use for insertion and update of fields? Ta, Slade | |
Hi all, What should I write for function signature in order to return this 6X6 array without compiler error? I tried to use `int* getGraph()`, but it did not work. Thanks for your help. int[6][6] getGraph() { int graph[6][6] = { {0, 5, 10, -1, -1, -1}, {-1, 0, -1, … | |
Conveyor belt slideshow script- I am adding lots of images and linking them to the matching pages. Question: 1.Is there a way to set an anchor code so the slide show continues at the last clicked picture and does not start from the beginning ? 2. Opening the link in … | |
![]() | Does anyone here have any phpbb experience? I'm looking for a rss newsfeed display for my index page of the board. I've looked at phpbbhacks.com and the main site but haven't found anything to tell me how to do it. I know that IM Portal and Integramod and other portal … |
How can I read a string in from the user? For example, I am writing a console-based java application which prompt the user to enter a string and then reads that string in. What is the opposite of System.out.println? ;) System.in.readln? I can't get it to work and I'm a … | |
hello. thanks to all of you for taking time to answer questions. i just started learning c++ and i'm confused as to how graphics are added to a program. does c++ have graphical capabilities on it's own or does it need another program like Direct-x? the graphics i make are … | |
[php]<? $DBhost = "localhost";//location of mySQL on server/site $DBuser = "michael";//User name for logging onto mySQL $DBpass = "";//Password for logging onto mySQL $DBName = "user_login_info";//Name of the databse for logging into $table = "login_info";//Name of the Table to be used steps to create are included $name = "$_POST[name]";//Name that … | |
Does anybody have any insight into using PHP Sessions on an IIS based web server? The problem I am having is that I am using PHP sessions in my counter to make sure that a user is only counted once per visit. It is supposed to ignore them as they … | |
Hello. I have installed PHP4 and MySQL (.dmg) on Mac OSX v3 client. Everything is up and running. I have created tables in my DB, established user privileges, etc through the 'terminal' app. I have turned on web sharing through the 'preferences' panel and dragged my .php files to the … | |
First off I'd like to say hailz to you all! I'm your newest newbie trying to get a good grasp of programming C/C++/C#. Unfortunetly, I've got a loooong ways to go. With your help, I know I can make it. My first question is rather tricky.... well... for me... :sad: … | |
Hi all! Yet another great PHP board. (i think, right?) hehehe, needless to say, i have no clue. I used to program from BASICA to Turbo Pascal 7. Havent ever really touched HTML or PHP. Now, i need to setup a small, basic message board and would like some help. … | |
heres the code to send the info [code]<html> <HEAD> <title> form Handling with PHP </title> </head> <body bgcolor="#FFFFFF"> <center> <form method=post action="submittedinfo.php"> <input type="hidden" name="id" value="NULL"> <table> <tr> <td colspan="2"><font SIZE="+0" face="verdana"> Lets see if we cant get this form to work! </td> </tr> <tr> <td> </td> </tr> <tr> <td … | |
Hi, I'm creating an administration area for a little web-app and I've come across a problem that I've never encountered before. The form that I'm working on is used for the maintenance of a table that has several properties. One of these properties can be selected with checkboxes, and then … | |
Can someone help in explaining the advantage/use of the C++ SAFEARRAY as I am not finding much useful material out there. This may be my answer to returning a large multidimensional array from a class memberfunction. That is some how converting such an array to a SAFEARRAY is probably what … | |
i need to be able to do that. im designing a website for a company and they asked that their be a search engine for people that come to their site and well wanna search for a product and such. Tools Using to Build Site: all the tools that Come … |
The End.