199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sophia_1

Hi, am trying to display the filename after upload but can't display, instead error message "There are no files in the database" is displayed. Please advise. Thanks. <?php // Connect to the database $dbLink = new mysqli('localhost','user','','pq'); if(mysqli_connect_errno()) { die("MySQL connection failed: ". mysqli_connect_error()); } // Get the ID // …

Member Avatar for amigura
0
381
Member Avatar for janicemurby

hi ive changed my system and im attempting to add a date of birth to registration and i have came across the following error Fatal error: Call to undefined function Age() in /home/jktempla/public_html/signup.php on line 56 if solmeone can please look at the coding for this section and see whats …

Member Avatar for cereal
0
217
Member Avatar for cambraydesign

What I want to do is embed a pdf on a web page or use a js library for viewing pdf and have an option to click on the pdf. This saves the coordinates and page of the pdf that you are on. I can then send these coordinates for …

0
224
Member Avatar for Subhankar_1

I am trying to create a registration form in Bootstrap and then connecting it to the Oracle Database but the data entered by the user isn't sending any value to the database. Please suggest what editing I should do. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta …

Member Avatar for Subhankar_1
0
278
Member Avatar for Mr.M

Hi Dw. Firstly I would like to ask if there is anyone know a good download link to download VB6.0 I'm in need of this IDE. Now coming to my actual question of how to detect USB insertion and removal and get a drive letter for it in VB5.0? Thank …

Member Avatar for Ketsuekiame
0
397
Member Avatar for SimonIoa

Hello i have a problem with my script for uploading a photo. The name it is stored in the database (123.jpg) but the photo doesnt go to folder i ask it to go Here is my script <form id="imageform" method="post" enctype="multipart/form-data" action='<?php echo $base_url; ?>press_image_ajax.php'> <span id='addphoto'><?php echo $lang['AddAPicture'];?>:</span> <input …

Member Avatar for diafol
0
114
Member Avatar for Callum_2

Task Your task is to write a program that will draw graphs and output them as a full colour image in the .ppm file format and display them using a suitable external image viewer (IrfanView). The program will use code generated sine waves, and harmonics of these, to calculate and …

Member Avatar for rubberman
0
1K
Member Avatar for phfilly

Hi guys, I was wondering if anyone can pin-point me to the right direction. I want to implement this css translate 3d effect does anyone maybe know of a resource(s) I can work through to do this? I've been searching for related content and haven't been able to find this …

Member Avatar for phfilly
0
168
Member Avatar for pritaeas

Does anybody have a definite reference to whether the mimetype of an AutoCAD 3D STEP file (.stp) is `application/STEP` or `application/x-step`?

Programming
0
135
Member Avatar for AntonyRayan
Member Avatar for Ian_7

Hi all, Just wanted to start a discussion on a database issue that I am presented with; the issue is that I am trying to insert seed data into around 90 tables without having to worry about manipulating/disabling the foreign key constraints. The most logical solution would be to do …

Member Avatar for urtrivedi
0
236
Member Avatar for Damien_3

I have need to find a particular string from a text file. The user inputs the string they're looking for and the program searches through the opened text file to find that string. Is that possible? void exam() { char name[50], rollno[50]; FILE *search; printf("\t\t________________________________"); printf("\n\n\t\t\tPortal Examination"); printf("\n\t\t_______________________________"); printf("\n\tEnter Name …

Member Avatar for tinstaafl
0
214
Member Avatar for ARIGAR

A sub procedure in Visual Basic that sets the vertical and horizontal sizes of a form named DemoForm to half the vertical size of the screen and to three-quarters the horizontal size of the screen respectively. ******************************* A program that can be used to generate and display the following multiplication …

Member Avatar for tinstaafl
0
270
Member Avatar for Subhankar_1

My code below has a radio button in the form to select the Sex. But on submitting it's sending as Male=on or Female=on.I want to send only Male/Female to Database. Please tell me the necessary editing I should do. I'm using Bootstrap. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta …

Member Avatar for diafol
0
1K
Member Avatar for Tinnin

Hi everyone, I'm trying to upload an mp4 file on my localhost. The page continuously loads until giving me a Request Timeout. The file is 17Mb. I've tested an image file which is 95Kb and that uploads fine. I've changed various settings in my php.ini which I can see have …

Member Avatar for cereal
0
325
Member Avatar for Zeeshan_6

i am developing attendance software with sms support current i have tried sending sms with one gsm modem , but the it took 1.5 hour to send 3500 sms , so i wan to use 4 gsm modems having separate com ports , now the problem is i am unable …

Member Avatar for rproffitt
0
479
Member Avatar for janicemurby

hi i have followed a online tutorial for a friends system all is working till i attempt to install it on my website after adding the following code <?php if(isset($_GET['user']) && !empty($_GET['user'])){ $user = $_GET['user']; } else { $user = $_SESSION['user_id']; } $my_id = $_SESSION['user_id']; $username = getuser($user, 'username'); ?> …

Programming mysql php
Member Avatar for janicemurby
0
541
Member Avatar for lefteven20

I am working on a program and I almost have it working the way I want except for two problems. The first is major; I can not for the life of me get my answer for the population to equal anything but zero. I have a feeling this is due …

Member Avatar for Reverend Jim
0
201
Member Avatar for Dave Sinkula

Many times [inlinecode]strtok[/inlinecode] is recommended for parsing a string; I don't care for [inlinecode]strtok[/inlinecode]. Why? [list][*]It modifies the incoming string, so it cannot be used with string literals or other constant strings. [*]The identity of the delimiting character is lost. [*]It uses a static buffer while parsing, so it's not …

Member Avatar for anti_neoliberal
0
10K
Member Avatar for london-G

Hello Guys, I have been hopelessly trying to make the sidebar full height on this site. When the content expands, its height stays the same. [Site](http://www.5th-floor.co.uk/blog) Any idea how I can do that?

Member Avatar for london-G
0
248
Member Avatar for Schmelz

Hi, I a real newbie when refering to programming. I keep having this error but I don't know what it means. Can somebody help me? I looked it up on google but I couldn't find anything of usefull so I tought posting it. Can you please tell me what an …

Member Avatar for rubberman
0
274
Member Avatar for preslav_milev

Hello ! How i can find the smallest number, higher than average value. For example in deque I have these numbers: 46 84 25 93 91 25 37 32 64 49 17 81 59 38 79 22 57 17 61 11 (transferred from file Stack.txt to deque.txt). Тhe average of …

Member Avatar for David W
0
364
Member Avatar for DenisOxon

As some of you know I am moving to VB.net from VB5. I see that to read and write to text files there are two options 1) Use System.IO.File e.g Filewritealltext ( options...) or 2) Use Streamwriter e.g Dim ts as StreamWriter( options...) Are there any differences, apart from syntax, …

Programming vb.net
Member Avatar for Reverend Jim
0
162
Member Avatar for janicemurby

hi i have made a sub folder for a program i have done and ive put in in my existing template and now i am attepting to show the logo in it my site is in the public html folder and the logo image is as follows images/logo/<?php echo SITE_FAVICON; …

Member Avatar for janicemurby
0
299
Member Avatar for DenisOxon

Hello, I have for a number of years supported a VB5 application which controls customers equipment. We are now going to do some major changes to software because hardware is changing. It now seems the ideal opportunity to upgrade to a newer/latest version of visual basic, which if we go …

Member Avatar for DenisOxon
0
388
Member Avatar for Fuseteam

hello i would like to know if the main reasons that some websites on a mobile phone, particulierly an android with very little memory(internal or ram by today's standards) is related to javascript if there are other factors affecting it. if so what they could be..... .....sorry for my sloppy …

Member Avatar for fuseteam_1
0
279
Member Avatar for musthafafarhan

I want to assign a single KEY in Keyboard to enable/Disable function. Initally, the button should be disable. when I press the button1 it should get enable and when I press tha same button1 again it should get disable. How can I do that in visual studio C# for windows …

Member Avatar for rproffitt
0
294
Member Avatar for IconiCxPimp

This is my code. I am learning this through the microsoft C# for absolute beginners book. I am on chapter 8 on the final soccer program and have no errors. The only problem I have is when I run it. I get $exception {Index was outside the bounds of the …

Member Avatar for IconiCxPimp
0
346
Member Avatar for Saboor880

Hello to all! I am doing practice for JDBC and using netbeans 8.1. I created a table in mc access and wrote a program. But the problem is that when i pass column index then my program runs successfully. But I pass column name as in my table in mc …

Member Avatar for stultuske
0
245
Member Avatar for laguardian

Hello guys! I'm currently working on a matching app. In the app, the user can select what mode of difficulty they want(easy, medium, hard and suvival) as well as select one of the sets of images for the GridView(nba logos or world flags). My problem is that when the user …

Member Avatar for stultuske
0
337
Member Avatar for David_64

I knew how to use combo box to read the database in Microsoft access, let say I have 7 option and I can make it into conbo box. But now I want the 7 option in the form of button (means got 7 button). Can anyone help ?? While (acsdr.Read()) …

Member Avatar for David_64
0
207
Member Avatar for Saboor880

Hello guys! I am using netbeans8.1 and apache Tomcat8.0.27.0 I am making a simple web application for practice. I have made two html pages "index.html" and "welcome.html". On page index.html I am taking two parameters from user 'name' and 'sirName'. If user enters Saboor and Siddique in 'name' and 'sirName' …

Member Avatar for peter_budo
0
183
Member Avatar for Violet_82

Hi guys, I'm having some problem with cloning a div with a button in and its functionality. 2 words about the functionality first. Basically I'm creating some HTML with javascript (it has to be done that way I'm afraid) and append it at the top of the page. I also …

Member Avatar for Violet_82
0
167
Member Avatar for can-mohan

Hi All, I am new to thread programing. In below code snippet inside producer thread if return NULL statement is removed i observed programme is hanging. Usually after execution of pthread_cond_signal(&cond); i believe i am out of this thread and consumer thread already have taken proper exit after execution of …

Programming c
0
133
Member Avatar for Callie C.

I'm not sure what I'm doing wrong so if you could take a look and give me some ideals it would be great. Thanks so much Specifications: Write a program that uses a two-dimensional array to store the highest and lowest temperature for each month of the year. The program …

Member Avatar for David W
0
375
Member Avatar for lefteven20

For my class I am asked to complete a program: create an application that will predict the approximate sie of a population of organisms. the user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a …

Member Avatar for lefteven20
0
572
Member Avatar for Mr.M

Hi Dw. Is it possible to search through "*.COM", "*.exe" files and check if they are encrypted and so check which encryption was used in VB.NET?

Member Avatar for Mr.M
0
480
Member Avatar for vivosmith

<html> <head> <title>Zachs Page</title> </head> <body> <form enctype="multipart/form-data" action="upload_image.php" method="post"> <input type="hidden" name="MAX_SIZE" size="524288"> <p> File:<input type="file" name="upload"/></p> <input type="submit" name="submit" value="submit"/> <input type="hidden" name="submitted" value="TRUE"/> </form> <?php if(isset($_POST['submitted'])) { if(isset($_FILES['upload'])) { $allowed= array('image/pjpeg', 'image/jpeg', 'image/jpeg', 'image/JPG', 'image/X-PNG', 'image/PNG', 'image/png', 'image/x-png'); if(in_array($_FILES['upload']['type'],$allowed)) { if(move_uploaded_file($_FILES['upload']['tmp_name'] , "/MyFiles/{$_FILES['upload']['name'] }")) { echo "The …

Member Avatar for diafol
0
2K
Member Avatar for kayleigh0411

I am trying to make a calculator, but I can not seem to figure out how to get the = operation to work. Everything else seems to be working fine, but I am just really struggling with the =. Any guidance in the right direction would be super helpful! import …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Sophia_1

Hi everyone, I have this issue, currently am able to save the attachment name in mysql database. However, after saving it doesn't display the attachment name in the form and so unable to open the attachment. Below is the coding. Please advise how to display the attachment name and open …

Member Avatar for Johnny1
0
475
Member Avatar for themathprof

I installed VB6 on my new windows 10 computer and it installed fine. My compiled program works fine. However, in the IDE mode it does not 'recognize' the on error resume next (or any other on error statement) and shows in a popup that there is an error and will …

Member Avatar for rproffitt
0
333
Member Avatar for trishtren

Hello, Iv been working on a project for a while now in java and i read somewhere that the GCJ can compile java classes into native binaries, after a quick google search it was revealed that this was true. However after reading a number of posts across the web and …

Member Avatar for jwenting
0
225
Member Avatar for queenofdrama365

list of 28,500 words (read in from text file), one word per line Do not actually store the words in the hash tables; rather use integer arrays initialized to all zeros. If a word hashes to position i, simply increment the value in position i. In running your trials, use …

Member Avatar for JamesCherrill
0
212
Member Avatar for rose_2

I need some help in that program to read 2 numbers and print sum of them the program will be tested on one or more test cases. The first line of the input will be a single integer T, the number of test cases (1 ≤ T ≤ 100). Followed by …

Member Avatar for rose_2
0
177
Member Avatar for phoenix254

How can i return an array from function in c++.. I have this code: #include <iostream> #include <string> using namespace std; int ordincreasente(int num[], int len){ int curMax,curMin,ordinato[len]; for(int i=0; i<(len-1); i++){ for(int j=i+1; j<len; j++){ if(num[i]<num[j]){ swap(num[i], num[j]); } }//end second loop }//end first loop for(int i = 0; …

Member Avatar for 2teez
0
669
Member Avatar for overwraith

Am having some difficulty, I had some code that had a static helper method in C#, and now I am looking to port it to vb, but unfortunately vb doesn't seem to have a yield return operator. How do most vb developers do this, and why is there no yield …

Member Avatar for ddanbe
0
413
Member Avatar for LinuxGuy80

My question may be unclear but, can integer pointers be in any type of data structure? I mean like in a list, tree, graph, etc. Like say a linked list: struct list { struct list *next; int *some_data; }

Member Avatar for rubberman
0
169
Member Avatar for COKEDUDE

I'm having trouble getting the parameters correct in my cat function. I would think since I'm changing temp that I would need to pass the address since I want to be able to see that in main. I think I'm getting screwed up by the decaying. #include <stdio.h> #include <stdlib.h> …

Member Avatar for rubberman
0
2K
Member Avatar for nathan.pavlovsky

Hello Programmers! I am working on a C++ phone number class. The class has overloaded stream manipulators, cin and cout for output. It has three private members: areaCode, exchange, and line, strings that represent the numbers that are used in a telephone call. It is supposed to default to (000) …

Member Avatar for 2teez
0
588
Member Avatar for catby

Hi, I was wondering if someone could help me please.... I am new to java and have been struggling with this for about 2 weeks now!! At the moment I am just trying to get the program to print out a 5x5 matrix with the alphabet in it, using a …

Member Avatar for catby
0
887

The End.