23 Topics

Member Avatar for
Member Avatar for ryan.legow

So I am trying to make my own version of chmod using C, the modifications are to make lowercase add permissions while uppercase remove permissions (instead of using + or - to add and remove). Also, I am trying to print a help message and exit if the command cannot …

Member Avatar for ryan.legow
0
264
Member Avatar for mexabet

I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP …

Member Avatar for cereal
0
341
Member Avatar for raviranjanim

login.php <?php session_start(); ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="main.css" /> <link rel="stylesheet" type="text/css"href="menu.css" /> <title>iWebTechnik</title> <link rel="shortcut icon" href="image/favicon.ico" type="x-icon" /> <link rel="icon" href="image/favicon.ico" type="x-icon" /> <style type="text/css"> <!-- .style1 {font-family: Arial, Helvetica, sans-serif} --> …

Member Avatar for diafol
0
624
Member Avatar for k.prabhu

I'm a beginner to vb6.. I'm doing a attendance project. I'm using datagrid to view the details from database. i'm trying to update the database through datagrid. can any one help please.. i've searched every where data adapter is used to update. i can't find anyother sources..

0
175
Member Avatar for eburlea

Hi! I have a form in Drupal that is filled up by an user and sent as email to the server. I have created a new module to modify the values in the form after the user submit it and to send them to the server with new values. Here …

Member Avatar for pritaeas
0
183
Member Avatar for softwaretime

Hi, I would like to know how I would modify the close (X) button in the GUI. For example, I would like to be able to have the user click on it and the program to bring up a message box from the MessageBox::Show() function that I type in. This …

Member Avatar for deceptikon
0
228
Member Avatar for thammalatha

#include <iostream> #include <windows.h> #include <fstream> #include <string> using namespace std; class Entry { public: char name[50]; int id; float sal; bool b; Entry *next; void clear(Entry *head,Entry *tail) { while(head!=NULL) { head=tail->next; delete tail; tail=head; } } }; int main () { ifstream myfile1; ofstream myfile2; char *buff="",temp[256]=""; int …

Member Avatar for thammalatha
0
131
Member Avatar for rakibtg

I am using PHP Simple HTML DOM Parser * [Manual] to fetch data from websites. Now what i wanna do is to remove first three words from all span which has `class="yeah"` from the fetched content So i have implement this code but it has a problem: foreach($html->find('span.yeah') as $xdat) …

Member Avatar for rakibtg
0
230
Member Avatar for DaveyMoyes

Hi All, I have the following mobile re direct script working on one website, but not another, For some reason I am getting the error - Can not modify headers information - header already sent - etc etc On line 20 Any ideas why this would work for one website …

Member Avatar for hakeemtunde
0
313
Member Avatar for krosty4782

Hello, im new to asm, and im trying to code some kind of notepad. At the moment, my program create a file, and open a file. Now i want to be able to edit the opened file. I ve thought in one option: When i open the file, it shows …

0
160
Member Avatar for rakibtg

i have a script which will fetch content from a website, what i wanna do is modify all that links. Suppose: $html = str_get_html('<h2 class="r"><a class="l" href="http://www.example.com/2009/07/page.html" onmousedown="return curwt(this, 'http://www.example.com/2009/07/page.html')">SEO Result Boost <b> </b></a></h2>'); so, is it possible to modify or rewrite it in this way> <h2 class="r"><a class="l" href="http://www.site.com?http://www.example.com/2009/07/page.html">SEO …

Member Avatar for rakibtg
0
541
Member Avatar for kumarprashant

can anyone kindly help me in writing a program for creating an address book. Its kinda urgent and I ll be really grateful. program description: develop a program for an address book.single entry in an address book is called a contact, which can have any of the following fields, 1. …

Member Avatar for JGorard159
0
233
Member Avatar for kumarprashant

can anyone kindly help me in writing a program for creating an address book. Its kinda urgent and I ll be really grateful. program description: develop a program for an address book.single entry in an address book is called a contact, which can have any of the following fields, 1. …

Member Avatar for deceptikon
0
4K
Member Avatar for jonjacob_33_0

Write and test a function to meet this specification: squareEach(nums) nums is a LIST of numbers. Modifies the list by squaring each entry. [CODE]def squareEach(nums): for number in nums: number = number ** 2 return number def main(): nums = [3,4] print(squareEach(nums)) main()[/CODE] The output in this case is 9... …

Member Avatar for TrustyTony
0
2K
Member Avatar for tofugames

Hello, I am working on a program for school and this is my first experience with arrays of objects. I am passing the array of objects into a function, and from within that function I am running another function that takes an individual object from the array as an arguemnt …

Member Avatar for thekashyap
0
241
Member Avatar for Tango2010

Hi, I am attempting to read in a CSV file, modify certain arrays and output it into a new file. It works fine on a mac, however on Windows it does not do anything. Any ideas what im doing wrong? Code posted below; [CODE] open(FILE,"file.csv") or die $!; open(TARGET,"> newfile.csv") …

Member Avatar for d5e5
0
301
Member Avatar for seularts

I need some help with sizing an image in height. My page is tzr.ro, and as you can see in some browsers such as explorer and chrome the image height differs. So i have this small piece of code that i need to adjust: img { max-width : 350px; height …

Member Avatar for scottloway
0
185
Member Avatar for cousinoer5

I'm taking an advanced C++ class now, and everything up to now has been pretty simple (mostly review stuff), but now we got to binary file io and it's kicking my butt. This program is supposed to read from a file called "Hardware.dat" (or create it if it doesn't exist), …

Member Avatar for cousinoer5
0
471
Member Avatar for abhay1234

Hello i have created a webpage for a project using jsp in netbeans. I have created a listbox. I want it to display data from database(MS-access) and I should then be able to modify data in database like I should be able to change an entire record through the listbox …

Member Avatar for abhay1234
0
180
Member Avatar for mrexp21

Hello , I would like to modify this script a bit . It is a video upload script for my site . The php content contains all the neccessary fields and upload via browse files only . I would like to make it another optional such as remote/url upload . …

Member Avatar for diafol
0
254
Member Avatar for cavpollo

Hi there, I got this annoying problem... I have to create dynamically an image control that has got to be accesses later through javascript. In other words, I got an image that was created in the page code, and using javascript I got to be able to work with it …

Member Avatar for cavpollo
0
670
Member Avatar for knan

I have a set of text files in a folder. I want to read each file, convert the contents of the file to lowercase, remove punctuations and save them all in another directory with the same filenames. How can i do that???

Member Avatar for griswolf
0
318
Member Avatar for RobotFX

Hi! I'm looking for a way to search and replace certain strings in a database table I have. Those are the commands I execute now from within phpmyadmin: [CODE]UPDATE `feeds` SET `title` = REPLACE(`title`,"ă","a") UPDATE `feeds` SET `title` = REPLACE(`title`,"î","i") UPDATE `feeds` SET `title` = REPLACE(`title`,"ÅŸ","s") UPDATE `feeds` SET `title` …

Member Avatar for RobotFX
0
2K

The End.