199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ultracoder

Are you a freelancer or programmer for hire? Join, post & bid for projects free. Thousands of skilled programmers, skilled freelancers to choose from. Ultracoder is a developer oriented outsourcing site. Skilled programmers will bid to complete your project right now. Computer Based programs, Training, Web Services, Language Specific programs, …

Member Avatar for LastMitch
0
234
Member Avatar for AllenGarner

I am trying to Upload a csv file then split it up into an an array and build a query to insert it into a mysql table I have succeeded in getting this to work with one exception when I come across a field seperated by commas and enclosed by …

Member Avatar for LastMitch
0
341
Member Avatar for LONGWAY

I get these errors: Warning: fopen(tmp/::name.hsh) [function.fopen]: failed to open stream: Invalid argument in ... Warning: fwrite() expects parameter 1 to be resource, boolean given in... Warning: fclose() expects parameter 1 to be resource, boolean given in ... **Can anyone advise me what is the problem?** Tough is a permission …

Member Avatar for LONGWAY
0
466
Member Avatar for divyakrishnan

HI.. I need a progress bar foe downlaoding a file from host serevr using CURL The downloaded script is working fine. can anyone suggest code for a progress bar for curl downlaod?

Member Avatar for LastMitch
0
3K
Member Avatar for rjony321

Hello,I am using PHP Codeignetor. and I can't retrive row/single data information from table.But here data save successfully. here is the CI_Model code: public function selectItinfoByUserId($user_id) { $this->db->select('*'); $this->db->from('tbl_add_it_ins_course'); // table name $this->db->where('user_id', $user_id); //$this->db->where('contact_status', 0); $query_result = $this->db->get(); $result = $query_result->result(); return $result; } /* End Model*/ Here Is …

Member Avatar for cereal
0
318
Member Avatar for runlevel3nut

I'm returning to college after a 21-year absence and am starting fresh in a science stream. My first course in January will be the introductory Python course. In the meantime, I'm doing the Codeacademy tutorials and have completed the basic ones on variables, strings, comments, conditionals, some functions, and a …

Member Avatar for runlevel3nut
0
248
Member Avatar for general2012

# copy string into a structure # **all i am trying to do here is to copy a string input given by user into an arry decleared inside a structure.but my code is not working. anyone please explain to me why this code isnt working** #include<stdio.h> #include<string.h> typedef struct{ int …

Member Avatar for general2012
0
5K
Member Avatar for Vingklippt

**<iframe width="608" frameborder="0" id="mainframe" name="mainframe" onload="$(this).height($(this).contents().height());" src="mindex/forratt.php" scrolling="no" /></iframe>** So I have written this code to automatically adjust the iframe to its content and it works fine. The thing is that when I access a page with a lower height, the height from the previous page stays put. I want …

Member Avatar for Vingklippt
0
291
Member Avatar for faizan.saleem.96

Hello, I have this php form designed in dreamweaver. when you search any bpv (bank payment voucher) file in this form it will fetch the pdf file link from my local hard disk folder. currently my local folder name is bpv and it has all the pdf files in it. …

Member Avatar for faizan.saleem.96
0
138
Member Avatar for rebellion346

So I managed to get everything working right except for one thing, when I enter the following input: a = 2 b = 2 c = 2 I should be getting this: Root 1 = -0.5 + 0.866025i Root 2 = -0.5 - 0.866025i But I get this: Root 1 …

Member Avatar for vencen
0
2K
Member Avatar for Mirza92

Data Segment arr1 db 8,2,7,4,3 Data Ends Code Segment Assume cs:code, ds:data Begin: mov ax, data mov ds, ax mov es, ax mov bx, OFFSET arr1 mov cx, 5 mov dx, cx L1: mov si, 0 mov ax, si inc ax mov di, ax mov dx, cx L2: mov al, …

Member Avatar for Mirza92
0
127
Member Avatar for cussel

> hey guys, how to convert PDF document to plain text or .txt in php with keep formatting?

Member Avatar for cussel
0
173
Member Avatar for ZER09

i got problem in setting the reCapcha it tank auth when i try to change it theme color, the recapcha image now is showing on the top of the form. this is the code i edit auth.php function _create_recaptcha() { $this->load->helper('recaptcha'); // Add custom theme so we can get only …

Member Avatar for ZER09
0
119
Member Avatar for gunvinayaka

sir i need c code to generate random numbers between 1 to 100 and where the user can select the range(say 50 random numbers between 1 to 100 or 20 random numbers from 1 to 100 ) such that generated random sequence are not psuedo random numbers when it is …

Member Avatar for deceptikon
0
402
Member Avatar for muhammad.khan.3576

#include <fstream> #include <iostream> using namespace std; char input_1[256]="1.wmv"; char output_1[256]="2.wmv"; char output_2[256]="3.wmv"; void Append() { ofstream write(output_1,ios::binary|ios::app); ifstream read(output_2,ios::binary); read.seekg(0,ios::end); int size_=read.tellg(); read.seekg(0,ios::beg); char* in=new char[size_]; read.read(in,size_); write.write(in,size_); write.close(); read.close(); } void Split(){ int size_; ifstream read(input_1,ios::in|ios::out|ios::binary); if(read.is_open()) { read.seekg(0,ios::end); size_=read.tellg(); const int half=size_/2; read.seekg(0,ios::beg); char* file_content_a=new char [half]; …

Member Avatar for Ancient Dragon
0
226
Member Avatar for new_developer

Hi there, How do we differentiate between NULL and zero in C++. I have a program in which i assign NULL to num variable but if i apply if condition to check whether it is NULL or zero. Program still gives me result zero. //num = 0; num = NULL; …

Member Avatar for Ancient Dragon
0
614
Member Avatar for divyakrishnan
Member Avatar for diafol
0
444
Member Avatar for new_developer

Hi everyone, I am stuck in writing Bank Account program. I want that if user wants to create an account, BankAccount class object is created. Then after this i call to its methods such as getBalance() to get the balance in the account. But its not working and I am …

Member Avatar for nullptr
0
131
Member Avatar for daniel.conlinjr.1

Hey guys I cant seem to figure out what is going on with my cms I have started on making an admin panel and I have done it befroe and now I cant remake it to where it is working correctly? Can I get some help please? this is my …

Member Avatar for daniel.conlinjr.1
0
209
Member Avatar for SMYussef

Hello to all, I missed a class for the array section at uni and have been sick couldnt really jump back into it. Could you guys help me solving this? :) Write a Java application that does the following: 1. Reads an integer from the user represents the number of …

Member Avatar for stultuske
0
135
Member Avatar for Ahmad93
Member Avatar for laguardian

Hello guys! I need help. I have two forms: Input and Output. On the Input form, the user/s will have to input their name/s and times in which they are busy. When they click "finished", the Output form is supposed to display what they typed like their names and times. …

Member Avatar for JamesCherrill
0
326
Member Avatar for christinetom

Hey... If I just built a library for any open source software for C++, what file type should the library files come in? .a OR .o files? Thank you.

Member Avatar for christinetom
0
196
Member Avatar for silvercats

what is the difference between std::cout<<"dfdfd"<<endl;//everywhere and using namespace std::cin putting above line at the top of the main function and putting the below line at the top of the main using namespace std; and + 2 bonus questions. 1.Are there any other namespaces than 'std' in c++? 2. Are …

Member Avatar for NP-complete
0
197
Member Avatar for hwoarang69

![ss](/attachments/small/3/ss.png "align-left") i am creating a pagination on my page. i dont like pagination with numbers so i went with different one. take a look at my image that i upload. as you can see if user click at last button i want to load 8 more images. to get …

Member Avatar for hwoarang69
0
165
Member Avatar for teo236

I'm using Eclipse and I made a program that reads ID3 tags. The problem is that each time I run it, it stops in this line: TagFrame * tmpFrame=new TagFrame(frameID,header.getFilename(),stream); bufferLeft-=tmpFrame->getFrameSize(); tmpFrame->readObject(); frames.push_back(tmpFrame); //This line!!! Where the variable 'frames' is a std::list<TagFrame*>. This block of code is beeing called from …

Member Avatar for teo236
0
234
Member Avatar for general2012

# 2-D string implementation # ## i am new to c.anyone please help me why this code is not working## #include<stdio.h> #include<stdlib.h> #include<conio.h> typedef struct{ char name[2][10]; }college ; int main() { college student; student.name={{"james"}, {"carter"}}; printf("%s %s ", student.name); getch(); } **

Member Avatar for general2012
0
142
Member Avatar for LONGWAY

I get these errors: Warning: fopen(tmp/::name.hsh) [function.fopen]: failed to open stream: Invalid argument in ... Warning:fwrite() expects parameter 1 to be resource, boolean given in... Warning: fclose() expects parameter 1 to be resource, boolean given in ... Can anyone advise me what is the problem? Tough is a permission problem …

Member Avatar for LONGWAY
0
95
Member Avatar for slasel
Member Avatar for Lardmeister
0
110
Member Avatar for stutego

hí friends am new to php and i know some basics in php and i want to write a calculator program and m looking for some clues please word is welcomed

Member Avatar for <M/>
0
151
Member Avatar for Beginerman

I need a little help with the below code. I am basically reading text from a .txt file and need to be able to convert the text into an array(fam6) that i can then search for a value that is typed into a text box. If said text box search …

Member Avatar for Beginerman
0
333
Member Avatar for aVar++

I have got a simple naughts and crosses game working, can someone tell me a simple def blah(): .. command to check if the player has already moved to a place on the board already taken.. E.G Player's first go = top left Player's second go = top left.. (message …

Member Avatar for aVar++
0
122
Member Avatar for faizan.saleem.96

Dear all, I would really appreciate your help and assistance with a bug i'm facing in myphpadmin Mysql table. I have a table which is named as total amount. I also have a front end php. interface where i do my data entry from. When I enter for example (100000) …

Member Avatar for faizan.saleem.96
0
216
Member Avatar for aVar++

Hey guys, i have been working on this for a while and global doesnt seem to be doing anything; help? Row1 = [" "," "," "] Row2 = [" "," "," "] Row3 = [" "," "," "] Grid = [Row1,Row2,Row3] x = False def NAC(): def check(): #only using …

Member Avatar for aVar++
0
290
Member Avatar for masocha

l need to create a realtion between EmailAddresses and Contacts through REST API. Anyone know the set_relationship syntax for those.

Member Avatar for masocha
0
161
Member Avatar for randomkid73

Hi all, I have a table on a page that is generated from MySQL database entries via AJAX request. I have a `.live()` event for the table rows in that table, `$(#myTable tbody tr).live('click', func...)`, which opens a jQuery UI dialog window with extra information from the table row. In …

Member Avatar for randomkid73
0
137
Member Avatar for opticaltim

I'm creating a XML-viewer which should be able to read **every** XML file and put it in a treeview. My goal is to create a XMLViewer control, an user should be able to change certain routines in his own implementations. I provide default implementations that offer a basic functionality so …

Member Avatar for tinstaafl
0
1K
Member Avatar for sritech97

# Converting data XML sequential rows of data to tables in another XML # Hi I have following xml which I want to convert them into different tables when it find a row with header and all following rows as table data until it finds another row with header. the …

Member Avatar for FakeTales
0
279
Member Avatar for varma51

<html> <title>Student Registration(1.html) </title> <body> <form name="fin" action="2.php" Method="post"> <table> <Caption> Student Registration </Caption> <tr> <td> Student Name: <input type='text' name='Sname' /> </td></tr> <tr> <td> Student id: <input type='number' name='Sid' /> </td></tr> <tr> <td> Student Class: <input type='text' name='Sclass' /> </td></tr> <tr> <td> <input type='submit' value='Next" /> </td></tr> </table> </form> …

Member Avatar for FakeTales
0
183
Member Avatar for cssweb

hello guys how are i have a proplem with upload files when i tring to uploading images from my script on the server it is not display all images that i uploaded althoug i upload for instance 50 images and when the upload finishe it will just display about 24 …

Member Avatar for diafol
0
206
Member Avatar for ms061210

My problem is that I have an option page which contains the button to control the background music on and off. it works fine. But when I exit the option page then go back to option page again and play the music again, there will be two sound playing and …

Member Avatar for Phaelax
0
326
Member Avatar for wavyrebellion

Hi I have to implement a game where the user has to move one object to a given goal using the arrow keys. I have to use sprites for my moving object and for your goal. Use an image as background. When the sprite touches the goal it must display …

Member Avatar for Phaelax
0
163
Member Avatar for facarroll

I have the following code which is intended to supply the family and given names of people who are in the users table but not in the quiz table. Can I even do this, and this throws an error anyway? `$query = mysql_query("SELECT quiz.userGroup AS q_userGroup, quiz.userDate, users.userGroup AS u_userGroup, …

Member Avatar for urtrivedi
0
124
Member Avatar for maaw

I would like to create a countdown column in a gridview, based on a date in another BondFiled column in the same gridview.

Member Avatar for TnTinMN
0
1K
Member Avatar for faizan.saleem.96

Dear all, I would really appreciate your help and assistance with a bug i'm facing in myphpadmin Mysql table. I have a table which is named as total amount. I also have a front end php. interface where i do my data entry from. When I enter for example (100000) …

Member Avatar for Dani
0
318
Member Avatar for sandi009

Hello,all I want to start a new website which play you tube video with lyrics. My question is that how can i prevent it from Copyright ? Please please advice me soon. I have already started working on it. Thanks, Sandip Mistry

Member Avatar for azadariz
0
93
Member Avatar for Galbatorix

Hello guys, I am a dude who used to work with vb.net until i joined college where Java rules the day. I have a project in which i have a database in sqllite and i want the db to be in the same folder as the executable file(jar in this …

Member Avatar for Galbatorix
0
97
Member Avatar for thendrluca

hi all! :) well i wrote a sample code to test threads and i don't get what i want the problem is that the thread i created is starting directly after i create it? but he must start when my j is equal to 25 and then i joining the …

Member Avatar for thendrluca
0
184
Member Avatar for hsp001

I have a table in a database that contains two columns username and bids.I want to select the unique and lowest value from the bids column.I tried using SELECT DISTINCT and then limiting with one,it shows the lowest value but the value is repeated a number of times in the …

Member Avatar for hsp001
0
152
Member Avatar for awaisahmad13

This is the code do look at it. I just want change it in switch statement. will stuck in it. it is unix code. commands[0] = (char *)"ls"; params[0] = (char*)0; commands[1] = (char *)"who"; params[1] = (char*)0; commands[2] = (char *)"date"; params[2] = (char*)"+%d/%m/%y"; commands[3] = (char *)"ps"; params[3] …

Member Avatar for rotenegg
0
218

The End.