199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Thobby

Hello, I'll like to use the uploads & rename scripts on a wordpress site, can u help with that. Has used in this website. www.Gidi360.com/vc

Member Avatar for Thobby
0
102
Member Avatar for johnef_sh

I am inserting answer of each of my questions I need to get the question id and inserted into the answer table see my code <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" id="quiz" class="container width_648"> <?php $getTheQuiz = $db->prepare("SELECT * FROM rec_employer_quiz WHERE ad_id=?"); $getTheQuiz->bind_param('i', $ad); if ($getTheQuiz->execute()) { $res = $getTheQuiz->get_result(); …

Member Avatar for johnef_sh
0
697
Member Avatar for gil.nickson

.model small .stack 0100h .data NEYM DW 08h, ?, 08h DUP("$") Q DB "Input First Number: $" Q1 DB 0AH,0DH, "Input Second Number: $" P DB 0AH,0DH, "Product: $" result db 13, 10, 'input number','$' ;Variables .code mov ax, @data mov ds, ax mov ah, 09h mov dx, offset Q …

Member Avatar for kashif afridi
0
166
Member Avatar for 4m1nh4j1

I am using python multiprocessing lib and I would like to reload a list of processes every x time. In other words, when the configuration is modified, all processes should read it again. def get_config(self): from ConfigParser import SafeConfigParser .. return argv def sched(self, args, event): #schedule instruction: schedule.every(0.01).minutes.do(self.worker,args) while …

Member Avatar for vegaseat
0
2K
Member Avatar for usmanjani

question Identify the objects and simulate the following scenario.Your Code must have all constructers, Exception Handling, predicate functions ,wrapper functions ,settrs and getters.Use proper names for functions, classes and variables image below.[Click Here](http://postimg.org/image/706icwycf/) please tell me what to do with this:::????

Member Avatar for usmanjani
0
318
Member Avatar for Ankita_5

//Program to implement Basic Incremental Algorithm //Working on ubuntu #include <GL/glut.h> #include<stdlib.h> #include <stdio.h> GLfloat x0,x1,y0,y1; //Input variables taken as global int flag=1; //variable for display1() void init(void) { glClearColor(0.0,0.0,0.0,0.0); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluOrtho2D(0.0,500.0,0.0,500.0); } void PutPixel(GLfloat x,GLfloat y) { glBegin(GL_POINTS); glVertex2f(x,y); //To display pixels on-screen glEnd(); glFlush(); } void display1(void) …

Member Avatar for rubberman
0
250
Member Avatar for amoabengnunez.collins

imagine you have been employed as a programmer in an organization and the company uses manual way of performing simple arithmetic calculation; develop a simple calculator that will enable the sales to perform addition,multiplication and subtraction.

Member Avatar for rubberman
0
124
Member Avatar for zebnoon

dear friends, i allready written code for PHP registration and login forms . i am worried about attacks from user unwanted data entry.My code is below. <?php include"conn.php"; if(isset($_POST['login'])){ $uname= $_POST['username']; $pword= $_POST['password']; $uname =real_escape_string($uname); $pword= real_escape_string($pword); $sql="SELECT * FROM login1 WHERE L1='$uname' AND L2='$pword'"; $result=$conn->query($sql); if($result->num_rows>0){ echo("welcome"); } else …

Member Avatar for zebnoon
0
227
Member Avatar for garyjohnson

Okay I have a html upload form here, What is does is displays a browse button so users can upload files to my site, what I want them to be able to do is completly rename the file that they are uploading once they upload it to my site, but …

Member Avatar for Thobby
0
15K
Member Avatar for HyperCyber

import java.util.*; class Customers { private String name; private int accountno; private String status; private String type; private int currbal; private String Login; private int Pin; public Customers() { this.name = " "; this.accountno = accountno; this.currbal = currbal; } public Customers( String name1, int A, int Bal) { name …

Member Avatar for Slavi
0
159
Member Avatar for ParPau

Dear All, To be brief, have drag and drop leading into a pdf to jpg converter. It was working, now stopped. My thoughts are either; 1) something stuck in computer memory I can not erase (it is calling a pdf with more that allotted pages) 2) I may have a …

Member Avatar for JamesCherrill
0
2K
Member Avatar for kaye.santos.92

i have a datagridview and a combobox. the combobox is auto populated by values from a database. i need to filter the datagridview using combobox. this is the code that i've done. it shows a error : Cannot find column [year]. can you help me??? Imports MySql.Data.MySqlClient Public Class ReportGradeLevel …

Member Avatar for kaye.santos.92
0
370
Member Avatar for cjohnweb

At work I am taking on some development stuff on the beaglebone black and I have to learn Python. I've had a blast so far!! So I'm trying to understand what some of the code is doing. I have a sample script that opens a port and listens for connections …

Member Avatar for Gribouillis
0
1K
Member Avatar for Captain119

Hi, i'm learning file creating and reading and i ran into a problem when i create a file with input using a loop i end up with an extra line at the end of the file and when reading the file i always get the last line repeated twice the …

Member Avatar for Captain119
0
2K
Member Avatar for dwlamb

I have some experience when it comes to CodeIgniter. I am trying to figure out a method for determining the window size of a browser and assign it POST or $this or the user session (also part of $this). I need the variable to persist for the session. In my …

Member Avatar for veedeoo
0
652
Member Avatar for Steven_10

Hello, My name is Steven and I am studying for the OCA-JP-SE7 (1Z0-803) exam and I am using Enthuware Test Studio for practice questions. I came across a question that has to do with the arraycopy method and am having some trouble understanding exactly what is happening. Here is the …

Member Avatar for Steven_10
0
133
Member Avatar for Sunil_12

Hello All, I want to write a c++ code to sort a queue with the help of another queue and a non array element. Please help me getting the code.

Member Avatar for Sunil_12
0
604
Member Avatar for ronelo

good day to all, Sir/Madam my $_GET['criteria_id']; not working, cant display. ////// this is the code i use to display the data from table "criteria" and the colum are: [criteria_id, criteria] and the name of my database: autotab <?php require_once 'connect.php'; $idz=$_POST['criteria_id']; $wh=mysql_query("select * from criteria"); while($loop=mysql_fetch_array($wh)){ $ca=$loop['criteria_id']; echo '<div …

Member Avatar for gabrielcastillo
0
265
Member Avatar for lena1990

hi all, i want to create an application that transmit voice in a sequre way i have read a lot of information about this subject but i have no idea to start with thanxs in advance for any help

Member Avatar for lena1990
0
127
Member Avatar for lena1990

hi all, i want to create a full duplex voice communication system that transfer voice in a LAN network i will be greatful for any help that you could provide since i do not know how java deal with voice and how it convert it from analog to digital thanxs …

Member Avatar for lena1990
0
278
Member Avatar for potatopie

Here is my code: require_once("PHPMailer/class.phpmailer.php"); $mail = new PHPMailer(); // set authentication $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = "tls"; $mail->Host = "smtp.gmail.com"; $mail->Post = 587; $mail->Username = "myemail@gmail"; $mail->Password = "myemailpassword"; // set From: $mail->SetFrom("myemail@gmail.com", "First Last"); // set To: $mail->AddAddress("adifferentemail@yahoo.com", "First Last"); // set Subject: $mail->Subject = "Subject"; // …

Member Avatar for Pradeep_9
0
3K
Member Avatar for joustwilliams

Hello, this is my first post in this forum. I recently decided to try my hand at programming with python. I'm completely new to programming so I thought I should try some simple projects to reinforce what I've learned so far. I saw a post from 3 years ago on …

Member Avatar for vegaseat
0
2K
Member Avatar for jean_5

I have installed the npm install big-integer https://www.npmjs.org/package/big-integer to test if the number is in the specified range with this code: isBigInt: function () { var val = $(this).valueOf var valor = bigInt(val); var minimo = bigInt("-9223372036854775808"); var maximo = bigInt("9223372036854775807"); if (bigInt(val).greaterOrEquals(minimo) && bigInt(val).lesserOrEquals(maximo)) return true; else return false; …

Member Avatar for jean_5
0
180
Member Avatar for anwar sholi 2
Member Avatar for alina.nazchowdhury

Dear, All Viewers I need your help guys I need to convert the python Asterisk Gateway Interface (AGI) PHP or Java or Perl Asterisk Gateway Interface (AGI), Please if anyone know about it help me ASAP, I wait for your feedback guys. Thanks here is Code... asterisk.py code is below: …

0
201
Member Avatar for muhd.hadziq

i need help as soon as possible help me convert this to c program #include <iostream> #include <iomanip> using namespace std; int main() { //declare variables int totalCals = 0; int fatGrams = 0; int fatCals = 0; double fatPercent = 0.0; //enter input items cout << "Total calories: "; …

Member Avatar for muhd.hadziq
0
270
Member Avatar for blackrobe

Hey, I need to compile and link two C files together...what should i do to the files in order to be able to compile them as the following: [Code] gcc file1.c main.c [/Code] and then run using ./a.out... Can anyone tell me the steps please...thank you..

Member Avatar for dip_j
0
615
Member Avatar for zebnoon

Dear friends, I am facining an other problem to in cloude a connetion file in PHP form.my code is below <?php include"conn.php"; if(isset($_POST['login'])){ $uname=$_post['username']; $uname=$_post['password']; $sql="SELECT * FROM login1 WHERE L1='$uname'"; $result=$conn->query("$sql"); if($result){ echo("welcome to new page"); } else { echo ("login problem"); } } ?> can not continue connectoin …

Member Avatar for cereal
0
430
Member Avatar for michael.sullivan.1422

What i need this to do is delete what is inside the div eliment already before it writes the the div again. If anyone can help me i give my thanks, :) <?php $file = "./test.html"; $imgs = glob("1/*.*"); $dom = new DOMDocument(); $dom->loadHTMLFile($file); $container = $dom->getElementByID("container"); if(count($imgs) == 0 …

Member Avatar for michael.sullivan.1422
0
162
Member Avatar for michael.sullivan.1422

Hi, I am just starting with php and i have been trying to get these two pieces of code to act right. Like they are shown everything works just fine. What i need this to do is find a certain html code on a page then write to the next …

Member Avatar for cereal
0
273
Member Avatar for catastrophe2

hello i have a program that was due, but i submitted what i can. however, i have a chance still at making the program fully functional, and so i need to submit it fast before its graded. i already have the program, and its running, but i just have a …

Member Avatar for happygeek
0
193
Member Avatar for Johnathan_2

I have an array which holds survey results. I am wanting to put the survey results onto a windows form and place the question in a label and the corresponding answer in a text box. I am housing my questions in a List<string> array and my answers in a List<string> …

Member Avatar for ddanbe
0
1K
Member Avatar for kirthigamerlin

I want to draw circular gauge using canvas. I written code by referring net. but its not in proper direction after giving points to the scale. I posted my code below: <!DOCTYPE html> <html> <head> <title>jQuery Knob demo</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <!--[if IE]><script type="text/javascript" src="excanvas.js"></script><![endif]--> <script src="http://anthonyterrien.com/js/jquery.knob.js"></script> <script> $(document).ready(function() { var …

0
310
Member Avatar for Blueie

Hello I am trying to build a file upload page where a user can upload files and different messages appear on screen to the user of, for example, the name and size of the file successfully uploaded, whether or not he has even selected a file to be uploaded, and …

Member Avatar for Blueie
0
372
Member Avatar for Amr_Mohammad_R

I create a thread within the main form load event of the application and initialize it with a method then start this thread and there is no problem till this point the problem is that when I click on any button on the main form to open another form lets …

Member Avatar for darkagn
0
180
Member Avatar for best4earn

**I have open source PTC Script install. It was working f9 since last 3 months but yester day Its members login page shows a blank screen only while my all website is working properly. I can access to my admin panel without any restriction but members can't access . http://ptclicks.org …

Member Avatar for matrixdevuk
0
159
Member Avatar for RonKevinT.Manuela

So Im using jqueryui datepicker..already set the dateformat to mysql format but sadly it still won't insert into my EventDate field..EventDate has a Date datatype.. <script> $(function() { $( "#datepicker" ).datepicker({ dateformat: "yyyy-mm-dd", changeMonth: true, changeYear: true }); }); </script> Maybe there's something wrong with my submit? <form role="form" action='' …

0
117
Member Avatar for RonKevinT.Manuela

I'm having a hard time thinking of a way to make a form for events.php(User adds an event by inputting Event Name and Event Date) I have made a table "Events"; with Fields 1. EventID int 2. EventName varchar 3. EventDate Date---->this is the problem mysql uses Year-Month-Day format. I …

Member Avatar for diafol
0
233
Member Avatar for Subzero007

I am working on a website which is being developed in Visual Studio 2010 with ASP.NET 4. I am trying to programmatically extract an image from a word document. The approach I am using is this: 1. Convert WordApp.InlineShapes[1] (System._COM Object) to a byte[] 2. Convert byte[] to an System.Drawing.Image …

Member Avatar for tdrosiadis
0
2K
Member Avatar for [UKC]Shadowman

Hi all , Grasping at straws really, I have a local gym who had BioStar installed on there PC, the PC finally gave up the ghost and they had a new one. I saved the .exe for the program and have a walk through pdf. Having installed and got it …

Member Avatar for diafol
0
247
Member Avatar for last1devil

Hi! I'm new into C programming and Arduino. I'm trying to display some data on several 7LED Digit Displays but I get this error and I don't know why. This is my code: int iasDigits[] = {0, 1, 2}; void sendToDisplay(unsigned int device, int digits, char value, unsigned int valueLength){ …

Member Avatar for last1devil
0
246
Member Avatar for Trevor_4

how can i get this program, to tally the number of grades above 90 , between 80 and 89 and etc import java.util.*; public class grades {import java.util.*; public class grades { public static void main(String[] args) { Scanner input = new Scanner(System.in); int i, n; double sum= 0, score=0 …

Member Avatar for jstfsklh211
0
110
Member Avatar for UK-1991

Hello you all genius guyz once again i am in need of your help I am trying to create a page on admin to be able to see the profiles of all the users but filed to do that I have tried the while loop but still I am unsuccessfull …

Member Avatar for broj1
0
535
Member Avatar for Himesh_1

On a php page, main.php, I have an html form with post method. It starts out something like this: <form method="post" action="https://checkout.google.com/blah/blah/blah In addition to doing the post to checkout.google.com, I would also like to execute some php code on main.php. How do I code the form post action to …

Member Avatar for veedeoo
0
271
Member Avatar for batoolhussain

hello,I tried to apply mean filter to the image to remove the noise from the image but when i execute the programme the image that i remove the noise from it does not upload on the picturebox2 and this is the code that i used ,please help me. Private Sub …

Member Avatar for Reverend Jim
0
259
Member Avatar for aluhnev

//Hi all,can you please explain why using this-> in this code is optional,that is the purpose? //Code can work with not this-> too. CTime_24 operator+(int seconds); CTime_24 CTime_24 :: operator+(int seconds) { CTime_24 temp; temp.m_Seconds = this->m_Seconds + seconds; temp.m_Minutes = this->m_Minutes + temp.m_Seconds / 60; temp.m_Seconds %= 60; temp.m_Hours …

Member Avatar for aluhnev
0
151
Member Avatar for redtribal23

Please help in understanding the requirements. This is how I understand it, first, from standard input (I'm will need to use Scanner) read in 100 integers. 2nd, put all the 100 integers in a file (using printwriter in my case) 3rd, use that file to catch the exceptions (ArrayIndexOutOfBoundsException) Write …

Member Avatar for stultuske
0
204
Member Avatar for Glaven

I need to create A program That makes a 12x10 Array Grid Filled With Random Numbers From 0-99. Then I need To Allow The User To Input A Number Between 0-99 And Then The program will then search through the array and count how many of the users number there …

Member Avatar for Slavi
0
247
Member Avatar for david.redmayne.7

Hi, I'd like to be able to retrieve the available drives on a local machine using DriveInfo and place that data into a control so that the user can select a drive to work on. Can anyone please suggest a good control to use and some suitable code? Thanks David

Member Avatar for Reverend Jim
0
150
Member Avatar for michael ridley

I am trying to figure out how to write the code to change the number grade to a letter grade then count the letter grades and show how many of each letter in a list box. I need someone to explain this to me and explain what I am doing …

Member Avatar for Reverend Jim
0
462

The End.