199,114 Archived Topics
Remove Filter ![]() | |
Good Morning, Got a question regarding using CURL to automate the submission of a form. What I'm trying to accomplish is to avoid someone submitting a paypal payment more than one time for a purchase through my shopping cart. I can do it by submitting the form to paypal and … | |
Hey all!! I am thinking of creating a website that may contain some buying/selling items, so I was wondering which framework is the best for shopping online. I have some experience with codeigniter, but I was using it for its MVC structure which organizes and uses files more efficently. Anyway … ![]() | |
how can detect if the username is already exist?? i don't what is lacking in my code. this is my code: <?php include( "db.php" ); $first = strip_tags(mysql_real_escape_string($_POST['first'])); $last = strip_tags(mysql_real_escape_string($_POST['last'])); $username = strip_tags(mysql_real_escape_string($_POST['username'])); $password = strip_tags(mysql_real_escape_string($_POST['password'])); $password2 = strip_tags(mysql_real_escape_string($_POST['password2'])); $passwordmd5 = md5($password); if( empty($first) || empty($last) ||empty($username) || empty($password) … ![]() | |
Hi, I just need a little help here, I wanted to copy the rows in current form's datagridview to another form's datagridview. Here is my example rows in datagridview1 in current row ID | ProID | Name 1 | 1 | Shirt 2 | 1 | Shoes 3 | 2 … | |
I am writing a pure C based win32 applications. I have drawn line. Now i want to translate that line, move the line whereved user wants to move on screen. Then again I drawn another line, I am drawing multiple lines. I have created rectangle region for each line and … | |
Hi there, I have a question related to C++ functions. If a boolean return type function contains too many returns in it, does it cause any problem ?? In my program one of the bool function contains too many return statements, in if conditions. And interesting thing is that it … | |
I have used a javascript to rotate an image. when I add a image map area to the images, it won't show up on the rotating javascript. I have Javascript rotating and image map on two html filles now. Can I cimbine? so I would get an image map with … | |
Hi! Is any one can help me how to set landscape orientation using Data Report in Visual Basic 6.0:) | |
Hi My name is C.D., I am currently taking C++ 1, I have an assignment that asks me to write a function that displays the prompt string and then reads a floating point number and then returns that number. The book gives an example of the code to use in … | |
I am trying to use 3 custom fields from wordpress posts to build an array. I need to show and hide a div based on what time it is. I have a start, an end and a name which is also set as a css class in the template. That … | |
In Java programming a game like with maze like structure. How do we check collision with wall? Anyone who knows how the wall object work? Many thanks--Petranilla | |
I have a form that shows images whos paths are stored in mysql. The form has 'hide' and 'show' submit buttons for each image. Pressing the hide button should set the value of the 'status' field to 2 (hidden). But it does nothing, my queries don't seem to execute. Here … | |
A successful tournament poker player from Japan, with earnings estimated at $1.5 million from his prowess at bluffing and holding his nerve under pressure, has been arrested and charged with being behind an Android malware distribution operation that netted even more: $3.9 million according to Symantec. The Chiba Prefectural Police … | |
Hi guys, first of all i am new to php, so please bear with me. I have this requirement wherein i need to automatically create email accounts with my hosting provider through my website's php code. I have a linux hosting account with cpanel interface (its bluehost.com btw, if that … | |
Illegal else without matching if, but I have an if after else. :( And how can I round off the results? I mean, if it shows 4.5 it would display 5 and if it's 4.5 it would display 4? Please help me. :((( | |
Hi again, My login script seemed to be up and running. I was almost ready to crack open a bottle of vin-de-rouge to celebrate as it's a little milestone for me. However, it appears to have abruptly stopped functioning and I'm yet to determine the cause of this. Could I … | |
Hello everyone. I'm quite new to Python and Pygame, and programming in general. I've made a few basic games like pong, frogger and asteroids (the last two took me ages, but I learnt a lot doing them!) Anyway, I'd quite like to have a go at making a 2d side … | |
Can someone give me the script to log in fiverr.com and fetch my message from inbox using cURL PHP | |
![]() | Recently I was testing a website for vulnerabilities and I found that a URL disclosed following directory details. I wanted to prove to authorities that this is serious as .mdb file can be accessed but i don't know how. I want to access it and prove it to them. Is … ![]() |
I am developiong a php application which builds several large collections of objects in the course of interacting with the user. The objects need to persist across requests from the user and I've used php sessions to successfully implement this. The objects are persisted until the user is satisfied with … | |
Please refer - http://web.guru99.com/perl-subroutines/ I am calling the file http://code.guru99.com/perl/perl.js inside the corresponding wordpress post. The file is 750KB in size I am using WP Super cache but it does not cache or compress this file (maybe since it’s called in the post section). How can I compress and cache … | |
I am asked to create a program that will enable the user to input something just like a text editor. Saving of the file is not required. We just have to let the user type in it(on the console/dos environment of the turboc++) just like any other text editor. What … | |
I have a script with no errors but when I login it comes back to blank fields in 1 second. Can't get in to make changes/settings. Submitting a wrong login will bring up a wrong pw message. I know the user/pw is correct because I saw it in phpmyadmin. Thanks … | |
hi every one , can some one give me an idea or code of how to save .PDF file and .dwg into sql server and preview these file using image box in vb6 if can ???? | |
can you help me in 1 cell in a row can handle many data ? for example in the picture for costumer 1, he order a banana, it cost 50 apple, it cost 60 orange, it cost 70 and my program will retrieve the datas and it will get the … ![]() | |
Hi Guys, I am working on a database for managing my projects, I would like to have a fucntion that can alert when quaterly and anual Reports are due basing on Project start dates. Please I need ideas if possible a working code too, still learning PHP. Any help much … | |
Hi, I have a question about the threadpool. ThreadPool accepts to pass along an object as shown in my code. I will pass along 3 doubles, which I ofcourse could make to a string object, - and then convert it back to doubles in the "receiveDoubles" function. This is no … | |
Am creating an Online house rent system that will enable tenants to pay house rent online,check statements,a caretaker to write reports,landlord to write statements,add new tenants. I welcome all your ideas on how to go about it.The database requires either Ms-Excel or Mysql. ![]() | |
Hi, I'm building a basic log in system just to learn the ropes of PHP. Currently I'm a bit stuck. I'm trying to get a connection through a function file sorted for the rest of it to work but it's proving far more complicated then I thought. This is my … | |
I've a working code and display well. Now I want to integrate into html code but I don't know how to add a custom div into it. Here's my php function hasChild($parent_id) { $sql = "SELECT COUNT(*) as count FROM w_category WHERE ParentID = '" . $parent_id . "'"; $qry … ![]() | |
I want to open any website using me c++ program. But don't know ho it will be done, please help me. | |
I have been trying to start asm programming for a long time now. But having some problems. MY main system is windows so I cant use int and dont want to use the win32 api or call c functions. So I read that you get a x86 simulator. If I … | |
Hello,I have written this script to telnet from Ubuntu system to windows7 running system. This script goes fine upto login name, then it takes the password but it is not able to process the password. Although it looks as if the password has reached other side but in real it … | |
<?php $mysql_host = "***"; $mysql_database = "***"; $mysql_user = "***"; $mysql_password = "***"; mysql_connect($mysql_host,$mysql_user,$mysql_password); mysql_select_db($mysql_database); $query = "SELECT * FROM people coming"; $result = mysql_query($query); while($w=mysql_fetch_array($result)) { echo $w['Name']; } ?> this doesnt work--Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource y? | |
I created several JComboBoxes using a for loop. I want them to reset when i click the reset button. But this doesn't work. These are my codes... import javax.swing.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.event.ItemListener; import java.awt.event.ItemEvent; class TryCombo extends JFrame{ TryCombo(){ super("Trying JComboBox"); setDefaultCloseOperation(EXIT_ON_CLOSE); JButton but = … | |
Good Afternoon. I've been sporatically researching this for weeks, but haven't been able to locate any 'CLEAR', 'PRECISE' direction on creating .csv files from a query of multiple tables. What I need to be able to do is gather the relavent information from the tables and combine it into a … | |
import turtle def f(): turtle.forward(10) def l(): turtle.left(1) def r(): turtle.right(1) def b(): turtle.back(5) turtle.onkey(f,"Up") turtle.onkey(l,"Left") turtle.onkey(r,"Right") turtle.onkey(b,"Down") turtle.showturtle() turtle.listen() while True: print, EDIT: add `turtle.showturtle()` but STILL doesn't work | |
Hi, I am making a game I added a mouselistener in my game class but when i add a mouse listener in my class to make a custom button it doesn't work, so i had to make a variables mousePressed and variables for the mouse location mX and mY but … ![]() | |
Hi, i have this datatable dt3 which looks like: ADminNo PaperNo 111411H 3 111411H 18 172828z 3 172828z 18 111380Y 93 111938S 10 How to i get something like: ConflictingPaper Numberofstudents AdminNo 3 : 8 2 111411H 172828z so on and so forth. to populate in a datagridview. i tried … | |
Dim i1 As Integer Dim i2 As Integer For i1 = 0 To Me.DataGridView5.Columns.Count - 1 For i2 = 0 To Me.DataGridView5.Rows.Count - 1 If String.IsNullOrEmpty(Me.DataGridView5.Item(i1, i2).Value) Then MessageBox.Show("You must fill in all cells before you can save the data.", "Empty Cells", MessageBoxButtons.OK, MessageBoxIcon.Information) DataGridView5.Rows(i1).Cells(i2).Style.BackColor = Color.Bisque 'Index was out … | |
hello friends, i am new to this forum and new with C i am stuck at setting up eclipse kepler with MinGW I have my eclipse installed undder C:\Program Files\eclipse and MinGw under C:\MinGW i know MinGW needs to adjust environment variables here is screenshot for ur refernce http://gyazo.com/276678dcfacd54c15a0c332f136964d1 and … | |
Hi, I am using smtp for sending the email and attachments from my system. What I want to accomplish is that I should be able to send information in an encrypted form so that the message cannot be tempered. I am using https for sending the emails. But is there … | |
I am wanting to write a program for a BMI calculator that eventually will record details for several entries. However to start with I need to be able to just complete one calculation. Below is my code which works up to the if statement what I am trying to do … | |
Hello, First of all some background. My friend and I are having a bit of a competition over theoretically infinite number storage. We have agreed that the first person with a working arbitrary precision integer library with the theoretical ability to store an infinitely large number (IE: if the hard … | |
Greetings fellow developers i just want to ask for help on how to slide the panel from right to left of the screen. I only know the sliding panel from left-to-right but is it possible to slide the panel from right-to-left? | |
I have the following code: const AGENT = 'User Agent'; SERVER = 'www.daniweb.com'; RESOURCE = 'api/access_token'; ID = ''; // my client id SECRET = ''; // my client secret CODE = ''; // my returned code, pasted from the browser REDIRECT_URI = ''; // my redirect uri ACCEPT: packed … | |
Im creating a form that every time you select a drop down menu option it will write the value to a text box I have the writing part working. The problem is that is writting to both text boxes when I select on dropdown and it it suppose to be … | |
Hello All, I want to have a fade in fade out animation(AJAX) on each row of the data fetched from the database.I was wondering what will be the best method to do it? I can have the data stored in a datalist but that will always render the whole data … | |
For i = 0 To DataGridView1.Rows.Count - 1 ' Dim row1 As Integer = DataGridView2.Rows(i).Cells(1).Value.ToString Dim row1 As Integer = Nothing Dim row2 As String = Nothing Dim row3 As String = Nothing Dim row4 As String = Nothing Dim row5 As String = Nothing Dim row6 As String = … | |
I created a combobox with certain values in it, I need to read the selection from the combobox into a text box. Any suggestions to help me get started? |
The End.