199,114 Archived Topics
Remove Filter ![]() | |
I'm not exactly sure what the problem is but the cookies aren't available for subdomains. Is there any way around this, or is there a better way to set the cookies domain? Thanks! <?php ini_set("session.cookie_domain", ".example.com"); // Set cookie and redirect when user change city if( isset($_POST['city']) && $_POST['city'] != … ![]() | |
i want an option in admin to upload a exe file of a software to database and save it in a folder....thn at front end anyone can download its exe file by clicking on it...plz help me out... ![]() | |
I have created a asp.net web application for running a video in an external video player (ffplay). I have given the path of the .exe file. My application is working fine in VS2012. But im not able to host it in IIS. Code: Process ffplay = new Process(); //creating process … | |
Hi I've ran into this error and have been looking at it for about an hour now and can't get it fixed. cmd.CommandText = "INSERT INTO Appointments (ClientName, Period, Time, Treatment, Stylist) VALUES (@cName, @cDate, @cTime, @cTreat, @cStylist)"; cmd.CommandType = CommandType.Text; cmd.Parameters.AddWithValue("@cName", txtCName.Text); cmd.Parameters.AddWithValue("@cDate", txtDate.Text); cmd.Parameters.AddWithValue("@cTime", DDLTime.SelectedValue); cmd.Parameters.AddWithValue("@cTreat", DDLTreat.SelectedValue); cmd.Parameters.AddWithValue("@cStylist", … | |
Hi everyone, can you help me understand the logic why I can't access one of my the items in POST. Here is my form: <form action="insert2.php" method="POST"> <table border="0"> <tr> <td width="40%"><b>Date:</b></td> <td width="60%"> <input type='text' name="today" placeholder='<?php echo $today ?>' disabled='disabled'> </td> </tr> <tr> <td width="40%"><b>User ID:</b></td> <td width="60%"> … | |
I'm trying to creat simple seating for movie I have the seats as buttons when the user click btnOne then the background change to red if the user click the button again it will chnage to gray I've managed to change the color to red when it clicked using actionpreformed … | |
hi guys how to declare boolean for log-in and log-out when i scan the id. anyone can give me an idea. ASAP and thank in advance. | |
hi i used global variables on page_load event of my homepage. this is because these variables are used by other pages. i tested my page like COPYING THE URL then CLOSED ALL THE IE WINDOWS. and when i re opened IE, and PASTED THE URL I COPIED, it seems that … | |
Hello Anyone can help me derive a validation for French phone numbers, given the following: String (max 255 chars) French telephone formats (0123456789, +33123456789, 0033123456789) T.I.A. | |
hi, im doing a project on stock control system. if any body is interested in helping me out with my whole project i will be vry thankful 2 you. my project deadline is in december 2013. if u would like to help me pls contact me. pls reply as soon … | |
Hello can anybody send me sample project in VB.NET to ADD,EDIT, DELETE the Customer details....or any similar project for beginners.... just want to learn how to ADD, EDIT, DELETE DATA in the table using DATASET, DATA ADAPTER, DATAROW etc. Please send me the project. Thanks in advance | |
Dim hTable As Hashtable = New Hashtable() Dim duplicateList As ArrayList = New ArrayList() Dim itm As ListViewItem For Each itm In ListView1.Items If hTable.ContainsKey(itm.Text) AndAlso hTable.ContainsKey(itm.SubItems(1).Text) AndAlso hTable.ContainsKey(itm.SubItems(2).Text) AndAlso hTable.ContainsKey(itm.SubItems(3).Text) Then 'duplicate duplicateList.Add(itm) Else hTable.Add(itm.Text, String.Empty) End If Next 'remove duplicates For Each itm In duplicateList ListView1.Items.Remove(itm) Next I … | |
Hello, I have been playing around with a script. It is just a start of something like a really lame version of the street fighter layout. I am having trouble with figuring out how to get the character to move the way I want. I have mapped the WSAD keys. … | |
Hi folks, I've been inactive for web developing for last 4-5 years.. I lost the will to learn programming and become programmer... after long time, I realize that I should fullfill my dream.. but, in 4-5 years timespan, the technology is so much changed that I don't know where to … | |
Q: Write a function to return Nth node from the end of the linked list | |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml; namespace WindowsFormsApplication2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } List<Person> people = new List<Person>(); private void Form1_Load(object sender, EventArgs e) { string … | |
CREATE TABLE Artist ( A_id INT NOT NULL, A_song varchar(100), A_name varchar(100), PRIMARY KEY(A_id,A_song) ); CREATE TABLE Instrument ( I_id int NOT NULL, I_keys varchar(100), I_name varchar(100), PRIMARY KEY(I_id,I_name), a_id int NOT NULL, FOREIGN KEY (a_id) references Artist(A_id) ); CREATE TABLE Song ( S_id int NOT NULL PRIMARY KEY, S_vocalist … ![]() | |
I'm building a web application for a small office, to run their daily business. The employees will be logged in and working in the system thorugh the whole day. My client is located in Israel, and I'm shopping for a hosting cloud provider for him to host the application that … | |
Bassicly my code is supposed to be taking ints from `int tt[]` in `main()` const int tt[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, … | |
Hello everyone! I'm fairly new to C++ and I have hit a serious road block....I cannot for the life of me get my program to fill a structure from a file and print the array correctly. I don't know what to do :( It prints a series of numbers because … | |
programmers help me i have a problem for my study issue, if i ask you to develop a program that contain a database and using php scripting language how much it will cost for the whole development. also it is an online system. example Nutrition Information System. i hope that … | |
# Hi, # ## Here http://meganrapinoe.com.php53-9.dfw1-1.websitetestlink.com/ the WordPress site. I am using an elegant theme 'Styleshop'. I want to make the update page http://meganrapinoe.com.php53-9.dfw1-1.websitetestlink.com/updates/ same as the home page without the slider and three box under slider. So, I put the header, post, sidebar,footer code in the update template from … | |
PHP - Converting IP to Country Hello, Is there any function/pre-made scripts in php which can tell me the name of country based on IP? For example: If I supply an IP 132.162.138.139 then the script would echo "India" Thanx in advance :) ![]() | |
Hi, I've done with my project and the instructor said that the file should be excutable file how can I run my project wothput netbean .. I'm using macbook | |
I keep receiving this error and I'm unsure how to fix it. The code I have is protected void AddUserToDatabase(String username, String Password, String Email) { OleDbConnection conn; OleDbCommand cmd; using (conn = new OleDbConnection(ConfigurationManager.ConnectionStrings["ProjectDatabaseConnectionString"].ConnectionString)) { using (cmd = conn.CreateCommand()) { cmd.CommandText = "INSERT INTO Users(username, password, emailAddress) VALUES(@username, @password, … | |
How to correctly/standardly define schema for neo4j database in my C# application? In my application, I have nodes with properties and relations with properties. I want to define templates/Classes of these nodes and relations that can then be created and related at run time and retrieved as objects of a … | |
I am trying to add an item to a game that will "float" a player into the correct room. The code below is where the boat is added to a room and the the boolean newBoat is set to true: Item boat = new Item(" A boat to help you … | |
Just use the SetTimer function after you Create the window , and just handle the WM_TIMER message inside the message loop. That's it ! | |
Hi, I need to make a program that can count and solve basic math problems (addition, subtraction) with natural integers using strings. I'm not aloved to use parseInt so thats basicly where my world started to fall apart... Would realy appreciate if someone could help me with this. The code … | |
So I have finally completed a project I have been working on for awhile, it's rather large and needs to be used in another project. With that I have decided I want to create a DLL out of the code (well a class library) ... plus I wanted to learn … | |
Hi, I want to store the values that are in array($selected) into a single variable($result). How can i do it? Variable of $result should be 4,3,9. I get this error "Notice: Undefined variable: result in C:\wamp\www....". Thanks [code] $selected=array("0" => 4, "1" => 3, "2" => 9 ); foreach ($selected … | |
You are given a task to write a computer program for a Coffee Shop. Following is the table containing the list of product that you sell. Please be informed that all sales must include Sales Tax of 5%. For example if the customer orders one coffee with ice and creamer … | |
Hi I would like my python script take screenshot of my desktop every 15 mints and saving in my home dir in pic folder.but I get error? import os import sys import time import ImageGrab environ=os.environ img = ImageGrab.grab() FILES_DIR = 'pic' SAVE_PATH = os.path.join(environ['HOMEDRIVE'], environ['HOMEPATH']) LOGFILE_NAME = 'test.png' LOGFILE_PATH … | |
Car passing at bridge tollbooth should pay 500. Mostly they do but sometimes a car goes by without paying. Model this tollbooth with class called toolbooth, the two data items are of tye integer total number of cars,and a type of of double total amount collected. A constructor initialize both … | |
I am trying to search mysql databse and display it in an editable form and then update records. I can search and display data in a form. But when I am trying to update data not going to the database. If any one can help me please have a look … | |
Hey This is the first time i'm posting here I'm doing my bachelors in C.S and currently I'm in my second year. I realize I've a lot of time to think about my FYP. But I want to start gathering ideas about it so that when the time comes I'll … | |
I'm not sure whether my title is clear enough, a bit hard for me to explain. Basically, I have this card abstract class. I also have a CreditCard subclass. In my CardSystem, I have different methods. One of them is chargeCard. What it does is simple putting some cash on … | |
I combined mouse events o move my drawn rectangle object. Everything was fine i could move it and when i released the mouse button it stopped moving and settled down. However after rotating that object and then trying to move it around I just could not perform the action again. … | |
![]() | seems like a simple issue but i can't wrap my head around this. i need to get all rows where date is today BUT a new day starts not at 00:00:00 but at 02:00:00 the results are displayed all the time (page is refreshed every few minutes) so the current … ![]() |
Hi I am new to using Microsoft Access as a database for Visual Studio (previously I used SQL Server) so I am unsure how to go about the usual tasks such as accessing the database. At the minute I am trying to write code to check if a username already … | |
Hi, Im trying to download zip files from Artifactory, I have used webclient, it is working fine from my system which is well connected to internet. but when try from some lab network(intranet), its not wokring fine. some times it gets stopped in the middle. So what is the best … | |
hi friends, I'm developing a desktop application in java. But i want to make this application in such a way so that this install on other PCs. But I don't know the procedure. Please help me with yours valuable experience. Thank You in advance. | |
Hey everyone, at the moment I am creating an application which will read in peoples highscores from an external text document, now at the moment I'm struggling to try and get each line from the text file and put it into an array element. If your unsure what I'm on … | |
In sql server we use schema but iwant to know that how we get data from a specific column by selecting its column name. there is a combo box that contain column names , now i want that when we select column name in combo it show the data of … | |
Hi.I'm Nizam. Sorry if the question I asked is unclear. I have the table as below **Classroom** - id - capacity - code - ...... **Schedule** - id - group_id - classroom_id - ...... The schedule will be filled with the group and classroom. My problem now is how can … | |
Hi Guys, Which language would be best for building utility applications for windows?(Tune-Up,Advanced System Care,CCleaner etc.) I'm inspired by the visual display of those programs.I'm currently learning VB.NET and I've beginners knowledge in C++ but I find it too difficult. Note : I'm a professional web designer. | |
Can any one tell me what I am doing wrong. I am sorting a single linked list. void ll::sort() { for(int i=0;i<size-1;i++) {node *cptr = fptr; for(int j= 0;j<size-1;j++) { if((cptr->no) > (cptr->nxt->no)) { if(cptr == fptr) { node *c2ptr = cptr->nxt; cptr->nxt=c2ptr->nxt; c2ptr->nxt=cptr; fptr = c2ptr; } else { … | |
Hi, I have a gridview that takes information from a MS Access database. The gridview is populated with information that is inserted into the database via a form. I would like to give the user the option to edit the row's if there is a mistake or something needs to … | |
Sir I have following codes <?php // Connection variables $host = "localhost"; $username = "root"; $password = ""; $db_name = "phonebook"; $con = mysql_connect($host, $username, $password, $db_name); if (!$con) { echo ('<script type="text/javascript">alert("Error Connecting to database")' . mysql_connect_error($con) . '</script>'); } $result = ""; $username = ""; $password = ""; … | |
Hi...i want use alert message in code behind....but i dont to fire this message on button click ...i want that this alert message display base on some if condition....can any one help me with example?? |
The End.