199,114 Archived Topics
Remove Filter ![]() | |
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, … ![]() | |
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 … ![]() | |
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 … | |
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? ![]() | |
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 … | |
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 … | |
# 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 … | |
**<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 … | |
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. … | |
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 … | |
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, … | |
> hey guys, how to convert PDF document to plain text or .txt in php with keep formatting? | |
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 … | |
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 … | |
#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]; … | |
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; … | |
Is it possible to download the files in a directory using curl in PHP? ![]() | |
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 … | |
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 … | |
| |
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. … | |
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. | |
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 … | |
 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 … | |
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 … | |
# 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(); } ** | |
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 … | |
How can I control the position of text in a label? Thank you | |
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 | |
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 … | |
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 … | |
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) … | |
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 … | |
l need to create a realtion between EmailAddresses and Contacts through REST API. Anyone know the set_relationship syntax for those. | |
![]() | 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 … ![]() |
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 … | |
# 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 … ![]() | |
<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> … ![]() | |
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 … ![]() | |
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 … | |
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 … | |
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, … | |
I would like to create a countdown column in a gridview, based on a date in another BondFiled column in the same gridview. | |
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) … | |
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 | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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] … |
The End.