Last week, we've had the most number of new member signups, excluding members who have been banned, for the first time in over a year! Good job, everybody :)

Member Avatar
+7 forum 0

hi all what is the best possible way i can create a members view page (profile page) I am doing ths assignment where i have to create two pages, one is a members view page and a members edit page. the members view page page(profile page is like when u sign up with a website and when u login, your profile page is what you can see. ths members view page(profile page) is where also will display the user personal information which will be stored in the database. and the member edit page will display a populated xhtml form with …

Member Avatar
Member Avatar
+0 forum 3

I have made more than a few proposals for the general future of DaniWeb over the time but here is a really small and easy to implement suggestion. Today I replied to a question from a person that I have the opinion that doesn't really need to get answers but ready made code , and is rude if you don't do it. I didn't understood that this was that person when I replied but afterwards because I had few spare minutes I clicked in that profile and I felt tricked for wasting my time to reply to that. Wouldn't be …

Member Avatar
Member Avatar
+2 forum 23

How would I fix something like this: It is without the is a vowel or is not a vowel, still doesn't work but how do I fix it? This is what it Today Is Thr Jan, 2015 Enter a sentence: #include <iostream> #include <iomanip> #include <string> using namespace std; int main() { int Uc = 0, Dc = 0, Vc=0; int i=0; char c = getchar(); string vowels("aeiouAEIOU"); cout << "Enter a sentence: "; cin.get(c); while (c != '\n') { if (c >= 'A' && c <= 'Z') { Uc++; i++; } else if(c >= '0' && c <= '9') …

Member Avatar
Member Avatar
+0 forum 2

So the code is this but I can't figure out the problem. I included the error alongside with it. using System; public class SavingAccount { public static decimal interestRate = 0.02M; public string Name { get; set; } public decimal Balance { get; set; } public SavingAccount(string n) { Name = n; } public SavingAccount(string n, decimal b) { Name = n; Balance = b; } public void DisplayInfo() { Console.WriteLine("Account name: {0}\nAccount balance: {1}\nInterest Rate: {2}", Name, Balance, interestRate); } } public class Testing { public static void Main(string[] args) { SavingAccount acct1 = new SavingAccount("Peter Chen"); SavingAccount acct2 …

Member Avatar
Member Avatar
+0 forum 4

Hello, I have created a website with register, login and logout features where the user information is stored in a mysql database. I have already setup a profile page where the user can edit his/her profile but I need to know how I can make it so any member can see a different members profile? If anyone could help, it would be greatly appreciated, thanks.

Member Avatar
Member Avatar
+0 forum 17

Hello Community, I was wondering, would it be mean to make my programs only available to members only?

Member Avatar
Member Avatar
+0 forum 3

Hello! I'm relatively new to C++ and I'm learning about classes and objects. I've learned most of what I know from YouTube tutorials and some books. Well, in almost all of those, they mentioned that it was poor programming practice to make all your data members public, inside of a class. If they are all private, how may I access it from different functions? I think I have a general idea of how to go about doing this, and I will post below. Please correct me if I am wrong. #include <iostream> class testClass { private: int i; public: int …

Member Avatar
Member Avatar
+0 forum 9

Hey,hoping someone can help me. I'm having an error in my project. This is the problem for the project: In C++, the largest int value is 2, 147, 483, 647. So, an integer larger than this cannot be stored and processed as an integer. Similarly, if the sum or product of two positive integers is greater than 2, 147, 483, 647, the result will be incorrect. One way to store and manipulate large integers is to store each individual digit of the number in an array. Design a class named largeIntegers such that an object of this class can store …

Member Avatar
Member Avatar
+0 forum 2

I have a very strange problem...I have a function which works in 99/100 times...But unfortunately I have noticed one group which generates me some problems. The worst thing is that I don't see anything special in it...name is nomral, I have access to list it...But my program doesn't return any results...It threat it as if it was empty... But I know its not true: [CODE] String listGroupUsers(string Name) { try { SearchResult result; DirectorySearcher search = new DirectorySearcher(); search.Filter = String.Format("(cn={0})", Name); search.PropertiesToLoad.Add("member"); result = search.FindOne(); if (result == null) { search.Filter = String.Format("(samAccountName=" + Name + ")"); result = …

Member Avatar
Member Avatar
+0 forum 2

``this code keeps kicking out the error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a2595218/public_html/login.php on line 49 with the out-put " The username you enterted was not found " I should be seeing the error " You must active your acount to play. $form";" ` there for i thinks it must be skipping over the data base bit or something like that ?, ------------------------------------------- <?php error_reporting (E_ALL ^ E_NOTICE); session_start(); ?> <HTML> <HEAD> <TITLE></TITLE> <META content="text/html; charset=utf-8" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.6001.19170"> <STYLE type=text/css> BODY { FONT-FAMILY: verdana, arial, sans-serif } </STYLE> </HEAD> <BODY> …

Member Avatar
Member Avatar
+0 forum 9

Hello, I am trying to create a members page for my website and I want it to display a welcome message for when the person views it, something like: "Welcome <USERNAME>" I am new to PHP so I am not sure if there is something I am doing wrong, here is what I have so far: For the Login Page <?php session_start(); $Connection = mysql_connect("localhost","root","password") or die ("Login Fail"); mysql_select_db("database") or die ("Cannot Find DB"); if(isset($_SESSION['Logged'])) { die(header ('Location: ../Pages/Members.php')); } $Username = strip_tags(strtolower($_POST['Username'])); $Password = strip_tags(md5($_POST['Password'])); $mysql = mysql_query("SELECT * FROM Member_Data WHERE Username = '$Username' AND Password = …

Member Avatar
Member Avatar
+0 forum 4

Hi. I am making a membership application in which users will need to login and then can make a reservation, edit their previous reservation, cancel etc, and in which admin will be able to add new users, edit all reservation etc. So I would like to ask you is php good choice for doing that and which program would you suggest, if any, or some other tool, I was thinking to do it with Dreamweaver, Any help is appreciated. Thanks.

Member Avatar
Member Avatar
+0 forum 6

Hello everyone. I am working on my final project at university for C++, and I got stuck a little. I have an array inside an array. And I want to access that inner array's member and print it with cout. Here is the code: [code=c] void standings(userClub uc){ cout << endl; cout << "First Division" << endl; int table[10]; for(int i=0; i<=9; i++){ table[i] = coms[i].pts; } table[9]=uc.pts; sort(table, table+10); int y=9; while(y>=0){ cout << table[coms[y].name] << "\t"; // HERE I WANT TO ACCESS cout << table[y] << endl; // coms array y--; } } [/code] Please have in mind …

Member Avatar
Member Avatar
+0 forum 3

today i have joined here in thin wonderful forum for getting some knowledge and also to share my inputs

Member Avatar
Member Avatar
+0 forum 3

Hi i have a membership system on my site and i noticed a problem that is on my site. The user can change the a cookie information which holds the users id, after that the user can be logged in as a different user by changing the id, i was wondering how i can avoid this problem, i don't need any code by the way just a idea to help stay away from this issue.

Member Avatar
Member Avatar
+0 forum 2

The End.