199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 68thorby68

Am I loosing the plot or is something strange happening here? I have a simple login form (see below), but when I call the page, PHP returns and undefined index error, even though I have coded to say if index is undefined, then die. Am I missing something very obvious …

Member Avatar for zein1212
0
336
Member Avatar for ashesh1708

I have downloaded the ftp library files from http://www.example-code.com/vcpp/ftp_passiveUpload.asp And set it in my code: #include "stdafx.h" #include "iostream" #include <CkFtp2.h> void ChilkatSample(void) int main(){ ChilkatSample(); return 0; } void ChilkatSample(void) { CkFtp2 ftp; bool success; // Any string unlocks the component for the 1st 30-days. success = ftp.UnlockComponent("Anything for …

Member Avatar for Moschops
0
445
Member Avatar for lewashby

I'm trying to write a program to get the artist and album from mp3 files. A simple test run on the Alice in Chanins song Rooster yielded this result -> `b'Rooster\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'` I set read to read(20) and if you count Rooster plus all the \x00s you'll see that it 20, …

Member Avatar for lewashby
0
339
Member Avatar for Hannan_2

<?php /* @Author: Hannan_Mondul php( image) 2014 */ if($im = imagecreate(200,200)){ $ba = imagecolorallocate($im,255,0,0); imagerectangle($im,0,0,200,200,$ba); imagejpeg($im); header("Content-Type: image/jpeg"); imagedestroy($im); }else{ throw new exception ("Sorry the GD Libary not set up"); } }catch(exception $e){ echo $e->getMessage(); } ?>

Member Avatar for diafol
0
137
Member Avatar for BERIHUN

hi programmer do a c++ project on library management system that enable search,update,add,delete and display data from it.

Member Avatar for BERIHUN
0
203
Member Avatar for pramitkumarpal

a=[] f=0 print("BINARY SEARCH") print("ENTER NUMBERS IN ASCENDING ORDER") for i in range(0,9): k=int(input("ENTER THE ELEMENT AT ["+ str(i+1) +"]: ")) a.append(k) s=int(input("ENTER A NUMBER TO BE SEARCHED: ")) #print(a[1]) #exit() l=0 u=9 while[ l <= u ]: m=int( (l + u) / 2) if s==a[m]: f=1 break elif s>a[m]: …

Member Avatar for TrustyTony
0
296
Member Avatar for Bile

->Hi Daniweb-Web Developers. ->I'm using PhP 5.2.5,WAMP 5,MySQL 5. -I'LL TRY TO EXPLAIN IN DETAILS THE WHOLE STORY:- ------------------------------------------------- 1: I've declared a global variable dynamic array ALPHABETS_COMBINATION. 2:It is populated with a group of 3 Alpha combination AAA-ZZZ in a function : Generator($ALPHABETS) 3:Once the Buttonn click event is …

Member Avatar for Bile
0
408
Member Avatar for Jonathan Adrien

Hi I am having trouble with my website. ceead.businesscatalyst.com The latest news module doesnt put the date in initial text capitalization. I would like for the date to have the word in initial text transformation. <div class="announcement-list" style="text-transform: uppercase;"> <h2 class="post-title"><span id="date{tag_counter}" style="text-transform: uppercase; font-weight: normal; font-size: 14px; font-family: arial; …

Member Avatar for Jonathan Adrien
0
155
Member Avatar for mark.giles.14

I need to rebuild my website from scratch as its using old mysql script in pages and based on xmb forum software as a logon system and to connect to my sports database pages. Can someone suggest the best option from here to either update to mysqli or PDO. So …

Member Avatar for pritaeas
0
476
Member Avatar for Rajan Malotiya

error is : **mysql_fetch_array() expects parameter 1 to be resource, boolean given in line 28** <? $result = mysql_query("SELECT * FROM chart1"); while ($row = mysql_fetch_array($result)) { echo $row['price']; } ?>

Member Avatar for pritaeas
0
164
Member Avatar for fireburner29

Hi there, I want to integrate the sms api in osclass after the user posted the advertisement or after registering his profile. I have purchased the sms api . can you please help me to write script for sms alert. Thanks

Member Avatar for pritaeas
0
1K
Member Avatar for My question

How do i write php code for getting field from mysql as dropdown in php, and, also to display the related records of selected option in dropdown from database

Member Avatar for fireburner29
0
424
Member Avatar for Violet_82

Hi, I have a question about animating anchor links with jquery. I had a look online and for some hints and then I came up with this code: HTML <div class="navWrapper"> <img src="images/mobile_quick_nav.png" alt=""> <ul> <li><a href="#num1" class="navLink">Home</a></li> <li><a href="#num2" class="navLink">Panel 2</a></li> <li><a href="#num3" class="navLink">Panel 3</a></li> <li><a href="#num4" class="navLink">Panel 4</a></li> …

0
163
Member Avatar for hriti

hello everyone i am having problem while creating zip file..when i use static images then it works well...but when i coonect it wiTH database it stops working.. can anyone please tell me.... my code is: ` <?php include("include/connection.inc.php"); $error = ""; //error holder if(isset($_POST['createpdf'])){ $post = $_POST; $file_folder = "./store/product/images/"; …

0
123
Member Avatar for shella

Ciao guys, I'm getting mad with this issue. I have a script in a WP theme that it's supposed to retrieve some data. It works ok but I need it does the thing in alphabetic mode and this seem to be... quite hard! I dig into the web looking for …

0
152
Member Avatar for My question

I am trying to retrive value from database in dropdown and to display the datas related to the selected option. I am new to php, Please Help me to write php code for the above .

Member Avatar for My question
0
297
Member Avatar for lordcar

tables: T_THERA - is a transaction table Columns: ID - STRING MR - STRING ITEMCODE - STRING QTY - INT SIGNA - TEXT M_ITEMS - Masterfile of items Columns: ITEMCODE - STRING DESCRIPTION - STRING M_SIGNA - Masterfile of Signa Columns: SIGNACODE - String DESCRIPTION - String I have a …

Member Avatar for PerplexedB
0
277
Member Avatar for soche123

How is it possible that if I type A in a textfield, that is added to String variable which is empty and I can then pass that string as a argument to a textfield for display what I typed. for example: String letter2=""; if(ke.getKeyCode()==KeyEvent.VK_A) letter2=letter2+"a"; btextfield.setText(letter2);

Member Avatar for mKorbel
0
162
Member Avatar for MasterHacker110

I am working on a little hobby project, it reads user input and then stores it in a pointer to char array. The problem is that the output is not correct. So i dont know if it is the output, or the storing that is wrong. I am used to …

Member Avatar for MasterHacker110
0
323
Member Avatar for BERIHUN
Member Avatar for 68thorby68

Hi, I'm thinking of using the htaccess file on my apache server to add a layer of security to the payment processing on my site. I am considering the 2 actions below, not sure how yet, but thats where the trial & error & learning begins. 1. rewrite the url …

Member Avatar for iamthwee
0
328
Member Avatar for iamthwee

<ol class="dd-list" id="start"> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">Home</div> <div class="url" style="display:none;">homeurl</div> </li> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">About Us</div> <div class="url" style="display:none;">abouturl</div> </li> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">Gallery</div> <div class="url" style="display:none;">galleryurl</div> <ol class="dd-list"> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">Contact</div> <div …

Member Avatar for iamthwee
0
261
Member Avatar for Learner010

hello , today i read about barcodes and QRcodes . well i see barcodes / QR codes and often see them on almost every product. But as a programming learner , i wanna know about what they represent ?, how they are created(with which information) ?, how they are read …

Member Avatar for Pregger
0
209
Member Avatar for enrique.mansilla.908

Hello, I attached my solution so far. I dont know how to create a collection within the code and read it from the .txt file. I seriously have tried and just need to know how to create the Inventory Collection so it reads throughout the code. Please help. Project : …

Member Avatar for enrique.mansilla.908
0
193
Member Avatar for cilla

Upon uploading my site files to a GoDaddy hosted website -- with a "coming soon" sort of maintenance page I'm assuming is generated by GD (headline "Future home of something quite cool") -- that's on a shared FTP account for which the root is a different domain and there are …

Member Avatar for cilla
0
901
Member Avatar for patk570

I have a url that is `filemgr.php` when a user navigates to lower levels of said file manager it shows up as `filemgr.php#userfiles/username/Images` Is there a way to just have it show up as `filemgr.php ` with out the rest of the url showing? I am open to .htaccess editing …

Member Avatar for diafol
0
343
Member Avatar for nouth

First am I missing any other notable ones? I only want to know about crossplatform standalone source-based modules, so no Gui IDEs. Tkinter Pyjamas wxPython PyGObject (Gtk's successor) Qt I already know that `Tkinter` is the default so it is the obvious choice for crossplatform because of its licensing and …

Member Avatar for ZZucker
0
361
Member Avatar for ChadSauce
Member Avatar for Vegito1991

I have assigned to create a multichat application that require to public message to all client, private message to certain client and show the user list, anyone can tell me which part should i do to implement private msg and online user list (where will show the name after client …

Member Avatar for stultuske
0
2K
Member Avatar for moaz.amin.37

i need a simple project of microsoft access for beginner bacause i am beginner in database plz help me and give me a simple project

Member Avatar for diafol
0
133
Member Avatar for rjusman90

$abc =$_POST['LinkWidth']; $link = $abc; echo $link; if ( $link == "page" ){ die('inputbox validate[required]'); } else if ($link =="otherlink"){ die('inputbox validate[required]'); return; }

Member Avatar for DJBirdi
0
151
Member Avatar for silverdust

I'm using a jquery plugin that requires me to have inline styles. This is ok if I'm having styles for single viewport. In my case, I'm on a responsive design with media queries for different viewports which means the element style changes on each viewport. I want to pick the …

Member Avatar for EvolutionFallen
0
259
Member Avatar for silverdust

I have tried a written a code like so re.findall(r'[A-Z]{3}[a-z][A-Z]{3}',string) to find the solution for this python challenge http://www.pythonchallenge.com/pc/def/equality.html it seems so hard to figure out. I'm getting 527 matches and none takes me to the next level. Help or close hints will be appreciated

Member Avatar for silverdust
0
439
Member Avatar for Jonathan_5

#include <stdio.h> void function1(void); void main () function1(); } void function1(void) { int a; int b; int c; int d; int i=0; int rooms; printf("enter number of rooms\n"); scanf("%d",&rooms); do { printf("Enter the price per meter of the tiles\n"); scanf("%d",&a); printf("Enter the length\n"); scanf("%d",&b); printf("Enter the breath\n"); scanf("%d",&c); printf("Enter the …

Member Avatar for Hiroshe
0
102
Member Avatar for Ganesh_7

I want to check the perticular cell of the grid is focused or not, Which method will help me?

Member Avatar for Ancient Dragon
0
106
Member Avatar for micca.jhai

I am trying to update some records.The moment the line Adodc2.Refresh executes, I get an error message saying that the "Operation is not allowed when the object is closed" Yet, when I put "On Error Resume Next", it updates the records as I want it to. Please help me thank …

Member Avatar for Aslam Mansoor
0
546
Member Avatar for HR09

Hi guyz ! i'm HR .. does anyone know what's the code for printing using ADODC connection in VB6.0 ? I wanna know because I'm working on some system with a printing command so I hope anyone will give me answer .. Thank you in advance !! :)

Member Avatar for Aslam Mansoor
0
87
Member Avatar for Sushma Somesh

Hi, I have one more issue.. tht after searching part number in datagrid, it will display the searched item in same datagrid. After tht i want to refresh the datagrid with completely. can you please help me on this. Sushma.s

Member Avatar for Aslam Mansoor
0
183
Member Avatar for eldesperado

#include <stdio.h> #include <stdlib.h> #include <string.h> FILE *data; struct node* L = NULL; struct nodeMail* M = NULL; struct nodeNr* N = NULL; struct nodeMail { char email[20]; nodeMail* next; }; struct nodeNr { char numri[10]; nodeNr* next; }; struct node { char emri[10], mbiemri[10]; nodeMail* email=NULL; nodeNr* numri=NULL; int …

Member Avatar for GiantBy
0
189
Member Avatar for Auroch

Hello everybody! I'm trying to display the result of difference of two-dimensional vectors using friend overloading. Builder shows the following error after compilation (line 40). What should I change for in my code in order to find the problem? Thanks in advance. **[C++ Error] 05_Part.cpp(40): E2034 Cannot convert 'double' to …

Member Avatar for Auroch
0
247
Member Avatar for maxpaine69

Hi all, My problem is, i have a page that is to be shown in a panel, the result is it shows with master page, how can i show the page without MasterPage. Best Regards

Member Avatar for maxpaine69
0
934
Member Avatar for iamthwee

Hi all, I have some HTML as follows and I want it so when you click on an <li> it returns the dd3-content and url. <div class="dd" id="nestable3"> <ol class="dd-list" id="start"> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">Home</div> <div class="url" style="display:none;">homeurl</div> </li> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div …

Member Avatar for iamthwee
0
176
Member Avatar for Krootushas

Hello. I would like to temporarelly store incomming win32 messages in a buffer. Then process all messages from that buffer manually. I actually have successfully stored and processed meesages in a buffer but I dont know if this is a best solution for my problem. LRESULT CALLBACK WinProc (HWND hWnd, …

0
165
Member Avatar for 영휘

#include <stdio.h> void Merge(int *, int, int, int); void MergeSort(int *array, int left, int right) { int mid = (left + right) / 2; if (left < right) { MergeSort(array, left, mid); MergeSort(array, mid + 1, right); Merge(array, left, mid, right); } } void Merge(int *array, int left, int mid, …

0
88
Member Avatar for moaz.amin.37

postfix and prefix increment or decrement operators very very confusing for me i try my best but i can not understand the basic different between them plz help me i know The prefix form first performs the increment operation and then returns the value of the increment operation. The postfix …

Member Avatar for sepp2k
0
473
Member Avatar for fedaa91

Hi i wanted to do validation using `data-validation `attribute in jquery,so what i wanted to check is how to limit input in `minlength` and `maxlength` and to be only alphabet chars,so `maxlength` worked but `minlength` didn't !! it was like "not valid attribute for input in HTML5", <label> at least …

Member Avatar for fedaa91
0
382
Member Avatar for Priti_P

Hello , I have an 2 dimetional array: Array ( [0] =>Array ( [0] => add1 [1] => add2 [2] => May 2014 [3] => ascascascasc [4] => 160 ) [1] =>Array ( [0] => Framework [1] => hii [2] => May 2014 [3] => ascascasc [4] => 161 ) …

Member Avatar for diafol
0
320
Member Avatar for rjusman90

<td>FooterMenu</td> <td><input type="checkbox" name="FooterMenu" value="1" <?php if($FooterMenu == 1): ?> checked="checked" <?php elseif($FooterMenu != 1):?> checked="unchecked" <?php endif;?>/> </td>

Member Avatar for Borzoi
0
181
Member Avatar for getnit

I am trying to establish a pause and play communication between threads.I am spawning two threads for two forms at the startup, one is the mainthread which is for mainwindow and second thread of form2, var thread = new Thread(ThreadStart); thread.TrySetApartmentState(ApartmentState.STA); thread.Start(); private static void ThreadStart() { Application.Run(new SecondForm()); // …

0
147
Member Avatar for Lalise
Member Avatar for Alberto Bucur
0
118

The End.