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.

~10K People Reached
Favorite Tags
Member Avatar for Arskap

Hi everybody, i want know how make admin panel and to it news system via [b]PHP[/b] and [b]Mysql[/b]! Is here anybody who knows how make it, and if here is somebody who knows, then can you help me? I'll try make a website where is news about sport things what …

Member Avatar for arun781
0
773
Member Avatar for Surfsup

I have a very simple script (below) that works fine when sending email to a single email address, however when I add another (as I have in the script below) by seperating with a comma, the script just sends the email to one of the addresses twice and not to …

Member Avatar for NinjaMediaD
0
2K
Member Avatar for ARKaMAN

Any idea what I did wrong? 'WHERE id =' at line 16 I am not sure why it says line 16 but I think it is talking a bout line 64. [CODE]<?php include 'resources/init.php'; if (isset ($_GET['id'])) { $q = "SELECT * FROM Client WHERE id = {$_GET['id']}"; $result = …

Member Avatar for NinjaMediaD
0
357
Member Avatar for jain1.anuj
Member Avatar for dotancohen
0
78
Member Avatar for dotancohen

Many functions in C have been "improved" with versions that have n, l, or other characters in their names. For instance, strncat and strlcat which improves strcat. What is the significance of the letter n or l in these names? Thanks.

Member Avatar for dotancohen
0
125
Member Avatar for dotancohen

Considering the following line of code: [code]int *ip;[/code] Is "ip is a pointer to int" (the type) or is "ip a pointer to an int" (a particular variable of type int)? Thanks.

Member Avatar for keshvari
0
192
Member Avatar for dotancohen

In an online C# tutorial [1] there is the following statement: "The override modifier allows a method to override the virtual method of its base class at run-time. The override will happen only if the class is referenced through a base class reference." I tested this with the following code: …

Member Avatar for dotancohen
0
148
Member Avatar for dotancohen

Seeing how C# does not support implicit fall-though in switch statements, why use the break keyword? All the code snippets I find on the web use the break keyword. Is it just habit from other languages? Thanks.

Member Avatar for dotancohen
0
172
Member Avatar for dotancohen

I am looking to learn best practices for working with strings. Two issues that I have with strncat are that it is difficult to calculate how much space to allow, and that there may not be a null character in the string after the procedure. So if I have two …

Member Avatar for WaltP
0
405
Member Avatar for dotancohen

When dealing with pointers, the "&" sign is called the address-of urinary operator. Knowing it's name sure helps to understand when to use it. Is "*" a urinary operator as well, and if so, what is its name? If it is not an operator, then what is it? Thanks.

Member Avatar for dotancohen
0
102
Member Avatar for dotancohen

When printing an int to stdout, the %d type is used. Why "d"? The other types (s for string, c for char, f for float) all make mnemonic sense, but I cannot figure out why "d" for int. It's not short for "double" or "decimal" I think.

Member Avatar for Ancient Dragon
0
126
Member Avatar for dotancohen

I just read in K&R that a function, even if not defined as void, need not return a value. To test I wrote a quick power function and I'm getting reproducible yet unexpected behaviour: [code]✈demios:cliC$ cat power.c #include <stdio.h> int power(int x, int y); int main() { printf("%d\n", power(2,5)); return …

Member Avatar for vegaseat
0
197
Member Avatar for dotancohen

How could I register a function to receive an event when the user presses the space bar in a text field? Better yet, where in the fine manual should I be reading about how to do this? I'm not finding much by googling, and I think that I should be …

Member Avatar for Mitja Bonca
0
143
Member Avatar for hezechiel

I trying compile my program but it all time write error: stray '\32 ' in program , I have there some graphics instruction, I think its error with directx but Im not surre. If somebody want i can send him my source.

Member Avatar for nmepntgrm
0
1K
Member Avatar for ispiro

How can I make a click on a panel do something in main, instead of a new method? I only want it to change the text of a label that’s on my panel.

Member Avatar for ispiro
0
106
Member Avatar for dotancohen

I am replacing some very small bash scripts with Mono (C#). I have noticed some differing practices in C# tutorials online regarding convention. I'd like to know the reasoning behind them. If I should break this question up into multiple questions, let me know. 1) Use a namespace? I see …

Member Avatar for dotancohen
0
143
Member Avatar for 24x24

This is homework. I have the code written, though. The thing works. Mostly. The assignment is to write a program that reads a list of integers from a file, prints the maximum value in the list to the console, removes the maximum value from the list, and stores the (smaller) …

Member Avatar for 24x24
0
190
Member Avatar for dotancohen

I think that the Daniweb admins might want to know: 1) A PHP error is thrown when signing up. I didn't record it, but it is either reproducible and therefore easy to find, or not reproducible and therefore not an issue! 2) The Login form consists of a CSS popup, …

Member Avatar for happygeek
0
229
Member Avatar for arjunpk

hi i'm writing a c# script to be used in ssis.... i'm trying to pull an image from a website... i'm new to c# and i'm not sure whether the data types i'm using are right... i'm posting my code here... [CODE] using System; using System.Data; using Microsoft.SqlServer.Dts.Runtime; using System.Windows.Forms; …

Member Avatar for dotancohen
0
229
Member Avatar for DaveTran

I'm currently using the following for counting forwards and backwards through an array depending on the current index. If the index increments past the end of the array it now decrements and vice versa. [CODE] isReversed = isReversed ? index - 1 != -1 : index + 1 == array.Length; …

Member Avatar for DaveTran
0
99
Member Avatar for unclepauly

hello, im writing an HTTP proxy in C#. the proxy should capture both HTTP and HTTPS traffic from the web browser. so far i have implemented the GET and POST requests no problem, but the CONNECT request i am having a little trouble with. there does not appear to be …

Member Avatar for unclepauly
0
2K
Member Avatar for AngelicOne

I've found some tutorials but they all need to browse the file first. I need to play the file automatically without the need of finding it by a browse button.

Member Avatar for ashishkumar008
0
149
Member Avatar for maheshkuma

Hello Guys, I am mahesh kumar from Gurgaon India. I am newbie here. I made registration here yesterday. I wanna to share my views to you people as well as want to learn your experience and knowledge. Thanks & Regards Mahesh Kumar

Member Avatar for maheshkuma
0
56
Member Avatar for dotancohen

Hi all, first post. I am a C# novice, but I have some experience in other C-derived languages. I am trying to close a Windows Form and open another. This is the code that I am trying to use: [code=c#] FormChat fm = new FormChat(client, username); fm.Show(); fm.Activate(); this.Close(); [/code] …

Member Avatar for dotancohen
0
185
Member Avatar for Nick Evan

[B]What's up?[/B] We've been having a big problem with Russian spammer for the last few days. You may have seen some posts they made with mainly porn and/or drug-links in them. We're currently struggling to keep up with the enormous amount of spam being posted, so I thought I'd ask …

Member Avatar for AndreRet
2
432
Member Avatar for dotancohen

Hi there, new member. I've trolled a few forums in the past, but I just discovered Daniweb. I'm impressed, despite the broad subjects covered there seem to be knowlegable posters in almost every category. Recently Daniweb results have been showing up in a lot of Google searches, so now that …

Member Avatar for dotancohen
0
146
Member Avatar for dotancohen

I have a Form that throws this when I close it: "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." This seems to be the offending code, running in a child thread: [code=c#] this.Invoke(new someDelegate(someMethod)); [/code] I figured that if I could capture …

Member Avatar for dotancohen
0
94