64,152 Solved Topics
Remove Filter ![]() | |
![]() | Hi everyone, Im new to web programming and i need some help, I have something like this: <td><label>User (Login): </label></td> <td><input class="textbox" autofocus="true" type="text" maxLength="7" name="cUser" id="cUser" /></td> </tr><tr></tr> <td><label>First Name: </label></td> <td><input class="textbox" type="text" maxLength="20" name="cFname" id='cFname' value=""/></td> </tr><tr></tr><tr> <td><label>Last Name: </label></td> <td><input class="textbox" type="text" maxLength="30" name="cLName" id="cLName" /></td> … |
I apolagize if this question has been asked before, but I was looking to see how I would go about writing an editor that saves the file on a server instead of on the harddrive. I would appreciate any and all help. | |
B works, A does not. Is there any way to make A work without using new (that includes placement new)? The code is more or less identical and I'm sure my overloaded new/delete are being called. The only difference is that A doesn't call the constructor but that shouldn't matter … | |
how to drop multiple columns at a time.. i tried with the following syntax "alter table <table_name> drop column <col_name1>, <col_name2>" but i am getting syntactical error. | |
i've linked the database correctly, but i can't view the value after i drag the table from data source, and my database already saved data. why? :( | |
I'm struggling to think of a reason why I should be getting an 'Access denied' error when trying to save an Excel document opened through a program written in VB 2010 Express. The program is essentially glorified Excel automation. It converts information from hundreds of Excel documents into a few … | |
Hey Guys, I've made a couple of web pages and now i want to add a master page to all the pages. But when i tried to add the master page the following error occured "Content controls have to be top-level controls in a content page or a nested master … | |
Hello, everyone! I'm starting to learn OpenGL and I have a problem with linear transformations. The program is very basic: I want to draw 4 squares and make them move individually (by doing translations and rotation). I understand that I need to stock all the transformation in a matrix, so … | |
Hello, iv been working on generating a swf tag generator for a project. However i am having trouble understanding how certain values are generated. The shape i have defined in flash is 200 pixels wide and 200 pixels in height and placed at X, 20 and Y 20. The problem … | |
![]() | I'm just curious, allot of news and comments I read online, people say hackers have to learn programming in order to hack or computer science Is It true? or am I mistaken. |
I have the following script: $('#login-box .forgot-pwd').click(function (e) { e.preventDefault(); $('#login-box #main-login').hide("fast"); $('#login-box .login-error').hide(); $('#login-box #forgot-login').show("fast"); $('#forgot-username').focus(); $('#login-box .forgot-send').click(function (e) { e.preventDefault(); $.ajax({ url: '/login.php', data: $('#login-box form.get-password').serialize() + '&action=forgot', type: 'POST', success: function(html) { if (html == 'success') { $('#login-box #forgot-login').hide("fast"); $('#login-box').append('<p>Your password has been emailed to you</p>'); $('#mask … | |
public class Stack extends LinkList{ public Stack(){ public void push (Object element) { insertAtFront (element); } public Object pop(){ return removeFromFront(); } public Object peek(){ return getFirst(); } } Im trying to create a movieApp using pop push and peek method(Stack). But once the class got compiled, it shows a … | |
Hi all , I have one text box and submit button . I want to submit one by one value into the box and these values will be displayed one by one serially on the page . ex. aaaa then bbbb then cccc then will display <input type="text" name="txt" value=""><input … | |
I have this encryption code, it encrypt the file but doesnt want to decrypt it: it gives a segmentation fault error. By the way i am using linux... #include <iostream> #include <string> #include <fstream> #include <cstdlib> #include <sstream> #include <vector> using namespace std; int n, c, l; void gen_code(string word1, … | |
Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used … | |
Hi, I have a webform where users insert their personal data into db. What I want to do is to prevent duplication in PHP code. Currently I'm using query below but some users do deliberete things to go through this validation like swoping name&surname etc. I know that if the … | |
This is my html: <html> Cross Site Scripting Security <form action="komentar5.php" method="POST"> Nama: <input type= "textbox" name="nama" /><br /> Email: <input type= "textbox" name="email" /><br /> Komentar:<textarea name="comments" rows=10 cols=40></textarea><br /> <input type="submit" /> </form> </html> komentar5.php <?php $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $comments = isset($_POST['comments']) ? $_POST['comments'] … | |
CAN anyone help me in knowing the differences between J2EE, J2SE & J2ME... I am a newbie to Java. Please explain me in detail. Thankz in Advance !!! | |
spoofedform.php <html> Spoofed Form Security <form action="receive.php" method="POST"> Nama: <input type= "textbox" name="nama"></br> Warna Favorit: <select name="color"> <option value="red">red</option> <option value="green">green</option> <option value="blue">blue</option> </select> <input type="submit"> </form> receive.php <?php $nama = isset($_POST['nama']) ? $_POST ['nama'] : ''; $color = isset($_POST['color']) ? $_POST ['color'] : ''; // escape output $newnama = … | |
// This code is not solving my problem .Data redundency still exist... lblresult.Text always give 0 :( int count=0 ; string selectSQL = "SELECT Equipment_Name,Vendor_Name FROM CatC"; SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=.;Initial Catalog=ecsd1;User ID=sa;Password=786"; myConn.Open(); SqlCommand cmd1 = new SqlCommand(selectSQL, myConn); SqlDataReader reader; try { myConn.Open(); … | |
Hi All, I have a program for a multiplication table that requires a user to indicate the table they want to see with an integer between 4 and 12 and I would like the final array (MultTable) to look like the following, is this possible? 0 1 2 3 4 … | |
I want to send query in Html form 'action' to get data from other site. let suppose my url is http://abc.xyz/index.jsp?number=**<?php echo $number;?>** Problem is i can't execute php script in form action.When i press submit it just go to http://abc.xyz/index.jsp?number= without php output value.Is it possible that way? Please … ![]() | |
I'm trying to load a PNG file into a BufferedImage like so: BufferedImage image = ImageIO.read(new File("smile.png")); When I use this line of code alone, it produes the error: Unhandled Exception Type IOException... I can fix this by surrounding the statement with try/catch like so: BufferedImage image = null; try … | |
Hi all... I'm new in vb.net and just create a listview project . I wan to display item from database(.mdb) into listview.how to make the next item going below and not auto sorting by id?...please help me...thank in advance Do While IBSSDR.Read() If IBSSDR.Item("USERDEFINED10").Equals("Y") Then ListView1.Items.Add(IBSSDR.Item("CARDHOLDERID")).ToString() ListView1.Items(ListView1.Items.Count - 1).SubItems.Add(IBSSDR.Item("NAME")).ToString() If … | |
![]() | hello i want to know that how pass parameters to mysql query inside php function i have written function but giveing me error error: mysql_fetch_array(): supplied argument is not a valid MySQL result resource function d_loader($r_ip){ global $con; $result = mysql_query("SELECT * FROM table WHERE h_ip ='$r_ip'"); $row=mysql_fetch_array($result);} ![]() |
Hi Frendz, I have a set of polygon points on google map. I need to find whether the given input point is lying inside of the polygon or not? If anybody found articles related this please guide me. And also i need the same with poly line. | |
I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end … | |
Can someone please help and tell me what I am doing wrong. <html> <head> <title>FRHG Guest Wireless Account Creation or Deletion</title> </head> <body> <h1 align= "center">Fremont-Rideout Health Group</h1> <h1 align= "center">Guest Wireless</h1><br /><br /><br /> <form method= 'post' action= '<?php echo $PHP_SELF;?>' id='form' accept-charset='UTF-8'> <fieldset> <legend>Account Creation/Deletion</legend><br /><br /> <label … | |
Can you perhaps tell me why I'm getting this error? I'm trying to upload a image to a database through php and I'm getting this error the whole time in my picUpload.php These are the errors I'm getting: [CODE] Warning: move_uploaded_file(avatars/beetgejo.jpg) [function.move-uploaded-file]: failed to open stream: No such file or … | |
Ok, I think Im missing something Big in programming logic when comes to web applications. Once again Im clueless about how to proceed in the curent situation. I have a Bing Maps application that connects to a WCF Service to read and write to a database. In this application I … | |
I am trying to create an applicaiton that will verify that a large text file used far a CNC machince has all of the operations in order (someone may have edited the file by mistake) I wish to bubble sort the lines of the file while ignroing other lines. I … | |
okay. Here's my problem. I have a form in which a Microsoft Hierarchical Flex Gid (fgdCompany) is used to display records taken from a database to relavent textboxes on the same form. When a record from fgdCompany is clicked, then the data in that record is shown on the textboxes. … | |
after pulling my hair out with this one, I'm afraid I'm going to have to turn the knowledge of those much wiser.....again! ok so here's the problem, I am following the following two railscasts: [deploying to a vps](http://railscasts.com/episodes/335-deploying-to-a-vps?autoplay=true) [asset pipeline in production](http://railscasts.com/episodes/341-asset-pipeline-in-production?autoplay=true) My setup: Ubuntu Server 12.04 nginx unicorn ruby … | |
hi my complier showing me that i am having 4 errors.In **t1.drawHexagon(int width)**; & **t1.drawPentagon( int width )**.Its says .class and ";" expected. Help. Thank you import java.util.*; import java.awt.*; public class Turtle extends SimpleTurtle { public Turtle (int x, int y, Picture picture) { super(x,y,picture); } public Turtle (int … | |
![]() | I'm struggling with a bit of JavaScript and I was wondering if somebody could help? I have the following code in some JavaScript... var state = document.getElementById(id_image).src; id_image contains a specific ID of an image file that I'm looking for. The result should return the image URL. However, if the … ![]() |
how can i remove wamp completley from my system. i have tried un installing it from control panel,,i tried multiple times and reinstalled it,,,but it gives same error,,,it means its not completely removed,,,how can i get rid of this? | |
Hi, I am trying to make simple gui which switches jpanel inside jframe but my IDE says "Cannot make static reference to non static method setPage(int) from the type Main". Why is that? There is no static modifier on actionPerformed or at setPage or actually anywhere else than public static … | |
Hello, I am getting these constant annoying errors in Visual Basic .NET 2010 Express. I'm pretty sure I'm not the only one, but these errors are always relating to images and resources! [QUOTE][B]The Type 'Global.ExampleProject.My.Resources.Resources' has no property named 'example.png'[/B][/QUOTE] I am pretty sure these are bug, due to the … | |
I'm after some advice really. I wish to create an application for myself and a friend using DropBox as a means to store and sync a CSV with data in. Is it possible to programatically search through a computers directory to locate folder called 'Dropbox' without hardcoding its location? If … | |
Hi, I am trying to use mysql select query in a shell script but i need to know how to store a particular value from the output of the query in a script variable. my script file is given below. I need to store the value under field CheckSum in … | |
Hi I am using a script similar to Scriptlance which is using the server time to datestamp everything and display dates and times of the start and end of projects. The problem is that the server is in the US running on PDT time and I am in the UK … | |
Hi everybody, i have error in Notice: Undefined variable: profile_records in C:\wamp\www\user\apps\frontend\modules\main\templates\profileSuccess.php on line 21 plz help me. index.php <div id="frm_edit" class="float-right"> I'm <?php echo $profile_records['sex'] ?><br /> <?php if ($profile_records['birthdate'] ): ?> I was born on <?php echo date("F j, Y", strtotime($profile_records['birthdate'])) ?><br /><?php endif ?> <?php if ($profile_records['relationshipstatus'] … | |
Trying to figure out the best way to do create a CSV export file from my source files and need some input. I'm trying to build a CSV export file for import to an Accounting System where there are 3 different tables mapped to a single field in the main … | |
I'm learning how to detour-hook functions from tutorials online but when I follow along, my DLL says symbols not found. The error I get says: > Linking dynamic library: bin\Debug\GLHook.dll > Cannot export GLHook_glAccum: symbol not defined > Cannot export GLHook_glAlphaFunc: symbol not defined I don't know why though.. I've … | |
Hi guys! Gday'..i have a program of counting of votes..i want to add [ICODE]viewing_bycourse.php[/ICODE] and [ICODE]viewing_bydepartment.php[/ICODE] for those who are already voted.. done with listing of all users who are already voted so i want to show the list of users by course and by deparment.. i dont know if … | |
Hello, I'm trying to make a very basic + - calculator in java using constructors after watching thenewboston video tutorial I tried to experiment with it. My litle project is almost finished my only problem is that the boolean I use is being reset after I assign it. If someone … | |
Hey, I have a need to define a new type such as int,short etc. I have the class with all the base methods it must perform somewhat equivelant but different from the Integer class, Short class etc. However im not sure whether this is an interface i need to define. … | |
Good Afternoon, I'm having some difficulties on an assignment where I need to write a program which will generate a list of signed random numbers, find the average of all the numbers, the average of the positive and negative numbers and the largest e number. So far I have this … | |
I know that windows has the #include <windows.h> Header but what does linux have and does it pay to program for linux, I mean like if i program for microsoft ofcourse ill get paid but are there linux "companys" that will also pay good? Reason why i ask is becuase … | |
Im having a lot of trouble trying to figure out something that seems like it would be easy. For my final project I have to create a GUI application. I got it set up and working where when you click the button it will display some text depending on what … |
The End.