199,113 Archived Topics
Remove Filter ![]() | |
Hello all, I am pretty new to ASP and we are using ASP for logins for our PHP projects, we are using Active Directory LDAP. We can only connect to one container at a time. I have managed to create some code so switch containers but I cannot log in … | |
Hello, i have a login page for home i have created a database and connected my database to it. My code is: **LOGIN.PHP** <!DOCTYPE html> <html lang='en'> <head> <meta charset="UTF-8" /> <title> HTML Document Structure </title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="wrapper"> <form name="login-form" class="login-form" action="check_user.php" method="post"> … | |
Hello all, I have a weird problem. I have created an application in VB.NET 2010 on my PC which runs Windows XP Home Edition SP3. Upon testing my application, I found out that my app does not run on Windows Vista and Windows 7. Just to help, I was searching … | |
I ve built a simple webservice just for testing and whenever I implement it on my windows phone 8 solution(I add a refference) my methods which are decorated with the [webmethod] naturally seem to convert from type string for example to type void and at the end of the method … | |
Hi all, Hi i have got a problem with the system i am creating on VB using Microsft Access. I have this error that keeps coming up when I debug my system. I am trying to add data in the database. I cant seem to find the solution to this … | |
Hi, Can anyone help me for uploading files into different folders using Code Igniter. Right now all files goes into a single folder insted of different folder even I have set path for them in config variable. Thanks | |
Hi guys so i have 2 tables in my page. One table would be populated by names from database and another remains empty for the moment. so what i want to be able to do in this page is that names can be dragged and dropped from the first table … | |
here is the question: "write a program , which has as content "time is a great teacher but unfortunately it kills all its pupils" and outputs th reverse string to the disk file out.txt. My problem is that im stuck with the part on how to display the sentence in … | |
here i want to generate a graph using highchrats library.my graph is spline with column chart (combo chart).but my graph not generate with my code.so please check my code where is i am wrong.i think i am wrong in jason code..but i have a little bit knowledge in json .so … | |
![]() | Hey. I need help coding a php script that receives a URL from a form then displays all the images(jpeg, png and gif) from that webpage. I don't need to images to be saved. This is what I already have: form.html <html> <head> </head> <body> <div id="form"> <form action="view.php" method="get"> … |
How can I get images from a server and save them locally. I want to import images from a url and upload it to my server. I have all the url of the images stored on my database (ETSP_GET_PHOTO_URL) I am very new to this so any help would be … | |
Hi, Dear Friends i have complete my C# project and its working greate, Now i want to make a Setup / Installation file of my Completed C# project, so i can install it on any Machine and use it, just like a softwares we download and install them on our … | |
see first elif statement for syntax error, where have i gone wrong?? this is only a section of code, help very much appreciated. if dice == dice2 : print ("The scores on both dice remain constant, no changes are made.") elif dice > dice2 : print ("The scores of the … | |
Hi! I'm not a web developer, but I'm a blogger and I would like some tips on how to create a 404 error message or to do something about this message feom Blogger: "Sorry, the page you were looking for in this blog does not exist." I would like to … | |
hey guys so im getting > Notice: Undefined index: spouse-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 18 > Notice: Undefined index: spouse-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 24uoted Text Here > Notice: Undefined index: child-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 30 > Notice: Undefined index: child-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 36 and its really … | |
I need some help with set up the date format. I'm still trying to find out how I can set up the format to the next day, the day two and the day three date when I work out with the hours. Example: I set up the date format from … ![]() | |
#include <cstdlib> #include <ctime> #include <iostream> using namespace std; int findSmallestRemainingElement (int array[], int size, int index); void swap (int array[], int first_index, int second_index); void sort (int array[], int size) { for ( int i = 0; i < size; i++ ) { int index = findSmallestRemainingElement( array, size, … | |
I'm hoping someone can help me. I'm looking for a image / video gallery that behaves in this mannor. When a link is clicked, the area of the page that is suppose to show the image / video gallery splats out, whereas, each title grows from invisible to visible just … | |
the DrawText() function is for draw text with a rectangle size. but if the DT_VCENTER is used with DT_SINGLELINE, how can i use the "\n" and "\t" strings formats? | |
please help me i need a dynamic array that get the information as a matris and give me the vertex degrees (sum every row).and send it to another matrix. #include "stdafx.h" #include<conio.h> #include<iostream> #include <stdlib.h> #include <string.h> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int k,sum; cout << … | |
Hey guys,how can i retain the output window when stdio is used as my header? | |
I want to devide the text in file data.txt into an array of char*( mean i use the pointer char** q) by the way line 1 for q[1], line 2 for q[2] and.... but i don't know why it not work can everyone help me ??? :( char **q; const … | |
Hello to all, I have a ruby script with a very long hash with more than 300 associations. The script looks like below: #!/usr/bin/env ruby Array_A = [] myHash = { "x1" => "2", "x2" => "0", "x3" => "1", . . . "X350" => "1" } myHash.keys.each do |z| … | |
I have to create a program where, by the push of a button, you average as many quiz scores as you want. It has to display the amount of quiz scores you have entered in a fixed3D label and the quiz scores also go in a label. So far, I … | |
I have a form that has embedded php Above html tag I have the following code: <?php if(isset($_POST['sendit'])){ $fname = strip_tags($_POST['fname']); $lname = strip_tags($_POST['lname']); $address = strip_tags($_POST['address']); $cityname = strip_tags($_POST['cityname']); $state = strip_tags($_POST['state']); $zipcode = strip_tags($_POST['zipcode']); $phonenum = strip_tags($_POST['phonenum']); $cellnum = strip_tags($_POST['cellnum']); $worknum = strip_tags($_POST['worknum']); $eaddress = strip_tags($_POST['eaddress']); $grad = … | |
I have a table that will have several fields, such as counties, age_groups, gender, sports, etc.. on countries I will be storing data with this format["US","CA","DK","FI","RU","SE"] on age groups I will be storing data with this format["2000","1999","1998"] on age groups I will be storing data with this format["M","F"] on age … | |
is there an easier way to write this code?? without using enum, enum MenuState{MenuPlay,MenuHelp,MenuExit}; MenuState ms=MenuPlay; char ch=0;//or anything other than '\r' while (ch!='\r')//IIRC getch returns '\r' when user hits enter { switch (ms) { case MenuPlay: cout<<"--> PLAY\n HELP\n EXIT\n"; break; case MenuHelp: cout<<" PLAY\n--> HELP\n EXIT\n"; break; case … | |
Hello I'm working on this final project. I need to create an ATM program with a unique pin code. However every time I run the p I have done 3 hours of researching and I've decided to just ask. What am I doing wrong that it's just running the do … | |
I have in a MySQL database with the column type being DateTime the following time: Timestamp: 9:34:09 9:34:23 9:34:45 9:34:50 9:35:09 9:36:17 But a DataGridView in C# only shows me 9:34 9:34 9:34 9:34 9:35 9:36 Why? | |
Hello again good people, i have done some coding on lexical analyzer phase of compiler but it is giving me some error that i am unable to understand.. Fair Warning: Code is a little longer. Here is the code: # include <iostream> # include <fstream> # include <string.h> # include … | |
i want the code o snake game by using c lanuage anyone can help?:) | |
gud day! why my upload files not really uploading in my online server? im using this ref. http://www.tizag.com/phpT/fileupload.php but in offline its working the file upload was move to my localhost folder. | |
Hello to everyone, Currently I am working with bootstrap. I generate a list with users. My issue is that when I click on delete a popup confirmation is shown but I don't know how to get the id of the user that I am trying to delete. I have seen … | |
Hallo, Does anyone knows how to secure xampp - I mean for web server ? How to place password on it ? I am just want to secure my database. Thanks before. | |
Im using wunderground.com weather API. I got JSON to an array.buy i coudlnt echo arrray one by one. these the sample code to i used in my site `$json = file_get_contents("http://api.wunderground.com/api/ab3f1aefcf4033d4/forecast10day/q/CA/San_Francisco.json"); //$phparrya = json_decode($jsonstring); $array_json=json_decode($json, true); print_r($obj);` | |
I have two tables, one being populated by data and another empty. I am using draggable and droppable jquery ui so I can move data from the first table to the other. and its working perfectly. Now, I am trying to clone the "tr" element of the second table where … | |
My teacher wants us to make a program that decodes the Vin number of vehicles, I 'm been having problems learning because he doesn't explain much at all about the code and he expects us to already know it by just reading the book, the book isn't very clear or … | |
I developed a shopping cart using jquery, ajax and json. It is working fine on local server in chrome. But when I run on server using chrome it is not doing anything; but running on firefox. It is not running first time, but when I came back from another page … ![]() | |
Hello! I have a table called Events and one of the colums is called "country". I want to be able to query events based on the user country. So eventID #1 might have "country" = US, CA, MX (multiple values), so if a user is from the US logs-in will … ![]() | |
def get_inverse_dict(): """ returns a dictionary which maps a -> z, b->y ... z->a Hint: 1. see the constants in the string module, and the zip builtin function. 2. google lookup extended slicing notation to create a z..a string from a..z string In shell: help(zip) and experiment using zip in … | |
I insert something simple like insert into table(pri1,pri2,value) values (1,1,1); insert into table(pri1,pri2,value) values (1,2,1); And in MySQL 5.6 they show up as: pri1 pri2 value 1 1 1 1 2 1 BUT In MySQL 5.1 I do the same thing and they show up as: pri1 pri2 value 1 … | |
Hi, i need a quick help to configure a Facebook app when i go to the Facebook address it is this in the screenshot a gray page everythig seems right but the game is not shown i’ve added this code to the index.php with the right ids but nothing if … | |
I'm getting this error: `The calling thread cannot access this object because a different thread owns it` On this part of code: Private Sub loginWorker_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles loginworker.DoWork Try eFunctions._ValiAcc(My.Settings.adress, tbuser.Text, tbuser.Text & tbpwd.Password, eResult) Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, "Error!") End Try … | |
I have form with many labels and textbox. All these generates a report . I want to print it out in MS Word format and also set print privew. Here is my code for print for single textbox but i don't print in MS word. So what to do? Private … | |
Hi, I have the following problem: Text file "strlines.dat" contains series of the following information of straight lines: 1) coordinate of one line's point 2) angle slope It looks like (x,y) 45 deg: 2,6 60 4,7 45 2,1 30 After adding this information to associative container verify it and find … | |
By the way I have this declared in my .h file. Even if there is a string method for this I would like to know how I could do this. Here is my code. -(NSInteger) RetrieveAscCode:(NSString*) inchr{ NSString *chtable =@"0123456789.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; NSInteger scan; NSString *trim; trim = [inchr substringToIndex:1]; for(scan=0;scan<255;scan++){ if … | |
I hope someone can [help](http://www.thecreativesheep.ca/webdesignprojects/largeprojects/CreativeSheep/cs_site.html). The id=reachme is suppose to be hidden at all times except when the event which is triggered by clicking the word "reachme" is clicked then it is suppose to bounce into view. I've set display to hidden in the css for the id=reachme, hoping the … | |
I want to do exactly how these search engines do,  But I want to show the same thing using pop-up message, where there shouldn't be any buttons, and it should display the message continiously Thanks in advance! | |
Alright I apologize for the completely uninformative title but i had no idea what to call it. Basically I have an array with multiple values and I only want information to be sent from certain forms if a certain value is met in the array. <?php if(isset($_POST['cb1'])) { $cb1 = … | |
The End.