199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for piyush_2

hiii.! how to make a hollow square of asterisks by entering a size of side by user, for example if 4 is entered then, it will be print, * * * * * * * * * * * * of 4*4.

Member Avatar for JamesCherrill
0
208
Member Avatar for mutago

can apache server be able to access php files saved outside docroot what if the person just guest the directory link and bypass index.php files residing on public_html eg https://example.com/i have seen it/steal.php won't it execute. I think we need to tell apache not to load directory /web outside root …

Member Avatar for paulkd
0
331
Member Avatar for patk570

Hi Everyone, I have a timezone variable that is stored in my database. In my code, I have it generate every timezone there is but what I need is to have it return the results of the selected="selected" when you go to pull the edit page up so you dont …

Member Avatar for paulkd
0
177
Member Avatar for jeansantos

I need a script that connects to a device on my network and export a list of data... #!/usr/local/bin/expect -f spawn telnet hostname expect -exact "Username:" send -- "username\r" expect -exact "Password:" send -- "password\r" expect "#" send -- "command\r" interact expect "#" send -- "logout\r"` I get some desired …

Member Avatar for masijade
0
421
Member Avatar for rahulsingh725

string s = "select * from StudentDetails"; SqlDataAdapter da = new SqlDataAdapter(s, con); DataSet ds = new DataSet(); DataRow therow; try { con.Open(); da.Fill(ds, "StudentDetails"); TextBox1.Text = "" string s = "select * from StudentDetails"; SqlDataAdapter da = new SqlDataAdapter(s, con); DataSet ds = new DataSet(); DataRow therow; try { …

Member Avatar for rahulsingh725
0
106
Member Avatar for diakonos1023

Greetings! I'm building a PHP table from data I'm pulling from a MySQL database. I'm querying data from two tables where the common field between them is a customer ID. Table A contains customer ID and a customer score. Table B contains customer ID and a mailing code. The easy …

Member Avatar for LastMitch
0
250
Member Avatar for yaragalla_mural

By the following code i got image as the responce. if (http.readyState == 4 && http.status == 200) { ver image=http.responseText; } actually when i gave a call to server using ajax the server responded with an image. so now i have stored the image in a variable "image". I …

Member Avatar for yaragalla_mural
0
287
Member Avatar for mutago

This chat sound notification script works on Internet Explorer, Safari and google chrome. But does not work on mozila firefox. can someone help me to fix that or an alternative that can work in all browsers <html><head></head> <script type="text/javascript"> var soundObject = null; function PlaySound() { if (soundObject != null) …

Member Avatar for LastMitch
0
437
Member Avatar for Jayme65

Hi, One of the users of my application is complaining that he can't open the application. He gave me the debug output of the crashed application...unfortunately I'm not an expert and have difficulties to manage it...would you please give me some help and help me understand why the application is …

Member Avatar for ReyJEnriquez
0
226
Member Avatar for karen.frias0316

Hi! my first time here. i'm new to programming. I have a code which checks if a .txt and .jpg file exist in the same folder.(*this part is working well*) after checking it needs to display the value of .txt file and the .jpg file inside a modal popup. (*in …

Member Avatar for LastMitch
0
234
Member Avatar for savedlema

Hi friends, thanks all for your contributions here at DaniWeb Community. I want to ask one thing; I have a table where I keep values for students marks (StudentID,Marks). Let's say there are 50 students. I want to be able to display on the form the class rank for each …

Member Avatar for TrojanhorseRovhine
0
2K
Member Avatar for k2k

I have just installed (binary install) php 5.3.6 to my redhat box. However, it is still seeing a 2.x version. Does anyone know how to find out where my 2.x version is and possibly uninstalling it? And how do I make mysql to use my new 5.3.6 version? Thanks. I …

Member Avatar for rakib.sarowar
0
143
Member Avatar for </scorpion>

How to check if start date and end date overlaps when adding or updating in gridview? is there anyone who knows how to check if dates are overlapping? this is my gridview: | ID | cost | start date | end date | status | --------------------------------------------- | 1 | 66.00| …

Member Avatar for </scorpion>
0
283
Member Avatar for Vania Almeida

hi everybody! I'm here because I have a problem with my Contact Form. Aparently is okay but when I check if the messages are sent to my e-mail address is nothing there! I already have a paid domain (in portuguese 'Amen' internet domains), is why I don't understand the reason …

Member Avatar for Vania Almeida
0
459
Member Avatar for elie.karkafy
Member Avatar for Red_Rain

**SUMMARY** Hello all, I am currently working on a project that requires me to mine data from websites so i can work with it later. I have been using cURL to accomplish pretty much all the needs i have had thus far. I ran into a complication that cURL is …

Member Avatar for chrishea
0
163
Member Avatar for spider2vb

Please help me to Checking for Duplicate Record of SQL Database before Inserting & Updating this my code please may anyone check my code If class1.sqlcon.state = connectionstate.open then class1.sqlcon.close() End If class1.sqlcon.open() dim cmd as new sqlcommand dim Qresault as integer cmd = new sqlcommand (" SELECT COUNT (*) …

Member Avatar for ReyJEnriquez
0
1K
Member Avatar for rookieNeedsHelp

How can I convert a string into an integer? I tried this: totalMins += atoi(MovieRecord->getMinutes()); Which I think only works for C-strings, and I tried this: totalMins += static_cast<int>(MovieRecord->getMinutes()); which I think only works for converting an int to a double or something similar.

Member Avatar for rookieNeedsHelp
0
263
Member Avatar for Kniggles_1

Hi I am trying to write my first loop to count and output pixels from (1,1,1) to (78,78,1) this is the line i am trying to loop <area shape="circle" coords="1,1,1" href="./index.html" target="_blank" alt="" yellow=""> how do i go about doing it please ?

Member Avatar for Kniggles_1
0
172
Member Avatar for Kniggles_1

Hi am stuck trying to find out why this will not work. <html> <head> <title>Untitled Page</title> <style type="text/css"> #ImageMap1 { border: 0px #000000 solid; } </style> </head> <body> <div id="wb_ImageMap1" style="position:absolute;left:0px;top:0px;width:600px;height:600px;z-index:0;"> <img src="images/black.bmp" id="ImageMap1" alt="" usemap="#ImageMap1_map" border="0" style="width:600px;height:600px;"> <map name="ImageMap1_map"> <?php $x = 1; $y = 1; $z = 1;$output …

Member Avatar for Kniggles_1
0
107
Member Avatar for sania khan
Member Avatar for giovannitao_1

I'm working to script that show smartphone spec list. Now I need to filter result using a sidebar with different checkbox: ex. Brand, Camera, OS, ecc. Users using this checkboxes can show best smartphone that have this spec. I have an xml like this: <rss version="2.0"> <channel> <item> <marca>Samsung</marca> <modello>Galaxy …

Member Avatar for hag++
0
206
Member Avatar for t_thakar

Hi I was taught not to use global variables and one of my friend is using global variable for database handle for his website... could you please explain if there is an issue if he uses global variable for database handle? he is using it to access database from anywhere …

Member Avatar for veedeoo
0
233
Member Avatar for dlmagers

I am trying to display scores by what the user is requesting either 'Average','Total',or 'Both'. The following is my code for the looper.php and below is the code for my index.php. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Loop Tester</title> <link rel="stylesheet" type="text/css" href="main.css"/> </head> <body> …

Member Avatar for hag++
0
389
Member Avatar for Indians

in my db have 20+ columns. i added 19 columns throught input form and stored in db succesfully. i fetch few details from db in my main page. in my main page 1 more column is there. that is status column, it is a combo box. if i click status …

Member Avatar for hag++
0
1K
Member Avatar for dnanassy

Hi folks! I need some homework help. I have the following requirements: // Strings required for Homework. String[]strVector = {"octhkeugrk", "fedjigchba", "mnpqdetjhz", "bgxlvfcdaz"}; a) Write code that transforms the string array provided above into a 2 dimensional character matrix, (e.g., char[][] charMatrix;). b) Once in the two dimensional array form, …

Member Avatar for somjit{}
0
785
Member Avatar for sabarinadh.ch

I want to show only first 50 lines of the $name of the player using string. I used substring but its not work for me. Can anyone edit the code and show only first 50 lines of name. Thanks for the help.... <?php include('config.php'); $tbl_name="players"; // Table name $sql="SELECT * …

Member Avatar for sabarinadh.ch
0
167
Member Avatar for lewyjayne

i want help guys, very soon we will be asked for projects at our college, so please help if you know any that does not require peripheral equipment but a computer. a system that is very usefull

Member Avatar for ddanbe
0
87
Member Avatar for Xakzi

Hello peeps! I need some help to decrypt my text file and make it able to read in my program.. What I have programmed so far is to read the encrypted file, create a new file, decrypt it and read the newly created file.. I need to decrypt the encrypted …

Member Avatar for Ancient Dragon
0
464
Member Avatar for zebnoon

Hye there Plz help me to print the Column of ListView as a receipt.I have no idea how to print ,i have to use datareport of VB6. or what? this is an VB6 project. waiting for reply zeb noon

Member Avatar for chaithra.D
0
1K
Member Avatar for Nebil

Hi all, I have a project that I'm going to do.There's a table that has to be normalized.i need your solution just to check mine with yours.Here's the table with sample data. I have taken Pay Item as a primary key: Pay Item Description BridgeType Span Unit Quantity 81.02(a)-I Soft …

Member Avatar for Stuugie
0
121
Member Avatar for YakuzaJevin

<html> <head> <title> Log in </title> <style> body { width: 1000px; margin: 0 auto; text-align: justify; } body, .text, .justify, tr { color : #f0f0f0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; } .justify { text-align: justify; } </style> </head> <body background="Dance_wallpapers_211.png"> <h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt; color:#00FF00;> <bR> …

Member Avatar for JorgeM
0
230
Member Avatar for nitin1

Actually, I am working on project and specifications are : * using windows 7 ultimate * using Java language to develop project * using IntelliJ IDE for project now, When i run my project it give me output in the section at the bottom in the IDE itself. But, i …

Member Avatar for JamesCherrill
0
248
Member Avatar for sarah.mathieson.7

I have two function in the same class. In the first function I return a value, and I need to use this value in another function. I am returning by value. double Loan::monthlyPayment(double anAmount, double anInterestRate, int term){ double payment = ((anAmount * anInterestRate ) * ((anInterestRate +1)/((anInterestRate +1)*exp(term)-1))); return …

Member Avatar for sarah.mathieson.7
0
239
Member Avatar for ACRDepos

Hello, in the midst of creating my Responsive Webpage - http://turningheadssalons.com/index.html - You will notice that my menu and pages are all responsive. What I'm trying to achieve is a better way to construct my menu and navigation. (As you can see it overflows when the floats are cleared below …

Member Avatar for ACRDepos
0
444
Member Avatar for mahaveer somani

i HAVE an excel file . and on sheet 1 i have some data in column A. i want to all the data from column A to list box 1 on form 1 in visual basic 2008 but how? Regards Mahaveer

Member Avatar for Ancient Dragon
0
2K
Member Avatar for jtresue

I made this program but it isn't working; any suggestions? /* * Program Name : GuessGame.java * Author : James Resue * Date : October 6, 2010 * Purpose: Write a program GuessGame.java that plays the game “guess the number” as follows: * Your program chooses the number to be …

Member Avatar for JamesCherrill
0
3K
Member Avatar for elie.karkafy

i need to develop a software in which i can connect to a handpunch1000 throug vb.net and collect data , i am using visual studio 2010 any help ?

Member Avatar for oussama_1
0
789
Member Avatar for wallet123

Hey guys! I want to use jtable to encode a grade, this is where i will enter the grade of the student. and when i click the submit button, the data should be in a variable where i can manipulate it and solve for the average. It will look like …

Member Avatar for stultuske
0
197
Member Avatar for Gobble45

Hi All, Firstly I will say that this exercise is for my learning experiences through an online course. However I have spent a combined total of about 6 hours working on this question and I am completely stumped on how to get the correct answers. The question: > List the …

Member Avatar for rajkumar007
0
270
Member Avatar for Bhavya scripted

Hey guys!I am new to this awesome forum. I have just finished c/c++ and have decided to move on to some scripting.I liked perl because it is very good for web apps.I personally dont like pyhton. So,can you guys suggest a good perl interpreter for windows7? Thanks

Member Avatar for Bhavya scripted
0
189
Member Avatar for Bhavya scripted

Hello all I have decided that I will participate in an online coding contest.i just want to ask which programming language is appropriate or powerful for a programming contest?ruby or python?i want to participate with python or ruby as my primary language.i have a little exp. with python but don't …

Member Avatar for Bhavya scripted
0
232
Member Avatar for wallance

Hi everyone, I need your help, desperately. I am trying to install the Imagick Pecl extension on my MAMP installation. I have installed Image Magick using MacPort by typing the following into Terminal: sudo port install ImageMagick It seemed to install ok. If I type the following: cd /Applications/MAMP/bin/php5/bin/ .pecl …

Member Avatar for aleksandr.kravchuk
0
1K
Member Avatar for dev90

I am getting garbage value. Is it need to free 's' every time or the reason is something else. please,help. #include<stdio.h> #include<conio.h> #include<alloc.h> char* toBin(int); void rec(int); void main() { int n; char *out; clrscr(); printf("\n Enter no : "); scanf("%d",&n); out=toBin(n); printf("\n %s",out); free(out); // rec(5); getch(); } /*void …

Member Avatar for dev90
0
264
Member Avatar for ReyJEnriquez

Hello Everyone, I hope everyone is having a nice day ;-) I have a question about combo box and here is it... I Have sex combo box(Male or Female only) and i want that when i choose Female it will have an id of 2(Male = 1, Female = 2) …

Member Avatar for G_Waddell
0
570
Member Avatar for jared.geli

Hi again............ I'm having problems in saving the data in my datagrid to my Database Imports System.Data.OleDb Public Class Form2 Dim con As New OleDbConnection("provider=Microsoft.ACE.OLEDB.12.0; Data Source=C:\Users\RMC\Documents\Vehicle.accdb;") Dim cmd As OleDbCommand Dim adpt As OleDbDataAdapter Dim cb As OleDbCommandBuilder Dim sql, lol As String Private Sub Form2_Load(ByVal sender As System.Object, …

Member Avatar for jared.geli
0
763
Member Avatar for Assembly Guy

**NOTE** This code won't work at the application level. It directly addresses memory at 0xB8000 which will result in a segfault at the application level. This code must be part of an OS or an application in a not-so-secure operating system like DOS, where applications can directly address any part …

Member Avatar for Assembly Guy
0
461
Member Avatar for Ahmed_39

Hi all, i hope that to find help and found how to do that i have creat table in my database and i add days as bit and save the days that employee must work in week and i can get the count of work days at week for each …

Member Avatar for ddanbe
0
208
Member Avatar for bullet_1

I am using the following code which creates a toolbar button on excel menu. On button click it executes a macro Private Sub Command1_Click() ' Start Word Dim wdapp As Object 'Excel.Application Set wdapp = CreateObject("Word.Application") ' Make it visible... wdapp.Visible = True ' Add a new workbook Dim xlbook …

0
102
Member Avatar for ReyJEnriquez

Does all pre-defined function in vb.net can be override?? because of this (Public Overrides Function ToString() As String) I was able to ask this kind of question..

Member Avatar for tinstaafl
0
256

The End.