199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for moroccanplaya

[CODE] $url = $_GET['url']; echo $url; [/CODE] i dont know why i get a Undefined index error

Member Avatar for moroccanplaya
0
262
Member Avatar for gunnerone

Hi I am trying to validate a URL in-putted by the user to check whether it is syntactically correct. [CODE] #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <regex.h> printf("Enter the website URL:\n"); fgets(str, 100, stdin); if (!strcmp(str, "\n")) { printf("Empty URL "); exit(2); } regex_t regex; …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for heshanm

I have following errors in below coding. Undefined variables: fname,focu,foad,ftp,fmf,mname,mocu,moad,mtp,mmf,gname,gocu,goadd,gtp,gmf in C:\wamp\www\Student registration\manage studnt parent details\manageStudentRegistrationParentDetailsForm.php Code <?php $query="SELECT state,name,occupation,office_address,office_telephone,mobile_number FROM parent_info where admission_no='$admission_no'"; $result=mysql_query($query); while($row=mysql_fetch_array($result)){ $first=$row['state']; if($first=='father'){ $fname=$row['name']; $focu=$row['occupation']; $foadd=$row['office_address']; $ftp=$row['office_telephone']; $fmf=$row['mobile_number']; } if($first=='mother'){ $mname=$row['name']; $mocu=$row['occupation']; $moadd=$row['office_address']; $mtp=$row['office_telephone']; $mmf=$row['mobile_number']; } if($first=='guardians'){ $gname=$row['name']; $gocu=$row['occupation']; $goadd=$row['office_address']; $gtp=$row['office_telephone']; $gmf=$row['mobile_number']; } } ?> …

Member Avatar for heshanm
0
114
Member Avatar for ressaince

i have an ASP web services to change byte array that given from the client and change it to a file and save it in the web server the code is like this : [CODE] [WebMethod] public string UploadFile(byte[] f, string fileName) { try { MemoryStream ms = new MemoryStream(f); …

Member Avatar for Dagar.pp
0
515
Member Avatar for flywheeljack

I believe I may have already posted a much longer explanation of this , but its driving me spare!!! I have several pieces of code that click buttons thru sendmessage commands, all the code works fine in Windows 7! But I put the app on WindowsXP and only some of …

Member Avatar for Begginnerdev
0
151
Member Avatar for TIM_M_91

Hi there I was wondering if their is anyone who can convert this statement from 'INSERT' to 'UPDATE' as I cannot seem to do is. Code can be seen below: [CODE]public static void COUNT2( ) { try { ResultSet res = stmt.executeQuery("INSERT INTO TABLE2 (VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT) SELECT VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT FROM TABLE1" ); …

Member Avatar for StephNicolaou
0
793
Member Avatar for dennysimon

hello all I create simple software say it's name K.jar ,I place it on desktop I double click it , it run nicely.I close it. I install Nokia Suite (it available on net) When I double click my K.jar ,Nokia Suite run ,my K.jar doesn't run If I uninstalled Nokia …

Member Avatar for dennysimon
0
648
Member Avatar for danielbala

Hi.. I installed WAMP server... When I go to localhost iam getting this is "NOT FOUND" HTTP Error 404. The requested resource is not found. how to solve this

Member Avatar for danielbala
0
152
Member Avatar for Raim

I'm making an alarm clock whose form's backColor should change randomlly every 5 seconds. I am not sure as to how to do this. I'm using a timer so after the alarm clock's given time matches the current time, a song will be played. But I do not know how …

Member Avatar for codeorder
0
154
Member Avatar for dvlpr30062

I am creating a web page with dynamic controls and want to add events to the controls. Specifically, I have labels and checkboxes on my web page and want to add an event to review the status of the checkboxes. In the event, I want to check to see if …

Member Avatar for mitultechs
0
578
Member Avatar for jahanruhi3@gmai

package com.batch; import java.sql.*; import java.text.SimpleDateFormat; import java.util.ArrayList; import DBConnection.DBConnect; public class Batch { @SuppressWarnings({ "unchecked", "rawtypes" }) public ArrayList BatchAction(String ik) { Connection conn = null; Statement st = null; ResultSet rs; ResultSet rs1; ArrayList al = new ArrayList(); conn = DBConnect.getConnection(); final SimpleDateFormat monthDayYearformatter = new SimpleDateFormat( "dd …

Member Avatar for stultuske
0
203
Member Avatar for subrata_ushasi

Hi all, I am trying to install a project management software "Mantis" but while installing it is giving the error [B]"BAD Does administrative user have access to the database? ( Lost connection to MySQL server at 'reading initial communication packet', system error: 111 )"[/B] urgent ,any body else thanks in …

Member Avatar for subrata_ushasi
0
1K
Member Avatar for timosoft

Hello, Am getting below error, the program cant seem to find some custom dll on my project when installed. in the setup and deployment i check only 'primary output source from myapp' Help please [code]System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not …

Member Avatar for timosoft
0
278
Member Avatar for jelly46

Hello Does anyone know how to disable the current link in a breadcrumb trail. All that i know in XSLT has failed Please help here is the XSLT code: [code] <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" omit-xml-declaration="yes" /> <!-- Variable to determine if the current open page is displayed as a …

Member Avatar for jelly46
0
217
Member Avatar for shean1488

Hi everybody. I have a question: My code produces only 1's. Does it show that processor can only do one task at a time or it is just simply becouse I made something wrong? [CODE]import java.lang.Thread; public class SleepThread implements Runnable{ public final int sleepTime = 1000; public String str …

Member Avatar for stultuske
0
138
Member Avatar for mlhazan

Dear users, I am new to PHP5. My LAMP is working just fine.I made small database connect scripts and they just worked as it should.Then I tried the following code and run the mysql.php but showing me following error: [CODE]Could not run query: Access denied for user 'www-data'@'localhost' (using password: …

Member Avatar for emclondon
0
173
Member Avatar for faithful4ever

I just have a quick question. Say I have a struct for the purpose of commenting in which it could be filled up or left blank depending on the user. Therefore, I need to dynamically allocate memory to the array comments. [CODE] typedef struct userComments { char comments; } name; …

Member Avatar for zeroliken
0
133
Member Avatar for paldss

I have this piece of code that has a jquery mobile button. When the button is clicked, a search box appears. The problem is that where the code is now, the input box is shown using regular HTML, and does not have the nice, sleek, rounded formatting. If I move …

Member Avatar for peter_budo
0
121
Member Avatar for Suzie999

Have a situation with my code, where it appears the stringstream object is not being cleared. Here is my code, this code will set an interprocess shared variable, The code is simplified to illustrate my problem, and all other variables are there to aid in that, for instance, the ints …

Member Avatar for Suzie999
0
260
Member Avatar for DesignGhosts

Hi there, I am trying to apply a Manifest file to my delphi application so that it can run with administrative permissions, I have been following [URL="http://delphi.about.com/od/delphitips2009/qt/delphi-vista-registry-run-on-startup.htm"]this Tutorial[/URL] part Faking UAC Rights - How to Request Execution Level. I have got to step 6 where I start getting problems, I …

Member Avatar for DesignGhosts
0
2K
Member Avatar for Pravinrasal

I have stored an array in database field name "[B]exp_values[/B]" like : [{"concentration":"30","answers":60},{"concentration":"30","answers":60},{"concentration":"30","answers":60}] and I want to retrieve from database I am using spring and I created pojo(bean) class like [CODE]public class ExperimentParameterBean { private String username; private String[] exp_values; public String getUsername() { return username; } public void setUsername(String …

Member Avatar for Pravinrasal
0
164
Member Avatar for madhukesh

i want to do some projects in c++ ,which topic is easy to do project please give some suggestion

Member Avatar for zeroliken
0
54
Member Avatar for bavenbabu

I have a problem while creating an xml file in php.I am not getting th root element.But all other elements are been outputted in the result.What might be the reason????Any help would be appreciated.The code is depicted below.order is my root element. <?php $url='success.xml'; //$xml = simplexml_load_file($url); $name = htmlentities($_POST['name']); …

Member Avatar for bavenbabu
0
173
Member Avatar for VenusCrystal

HI, I am new to javascript.. I have been given javascript code to understand as my assignment where i am working and it goes something like this : [CODE]PPL.getMarkup = function(a,b,c) { // definition goes here }[/CODE] I want the explaination for this line as to what PPL, getMarkup could …

Member Avatar for VenusCrystal
0
200
Member Avatar for danielsikes

Hi, [CODE] <table class="info"> <thead> <tr> <th>Mailing Address</th> <th>Location Address</th> </tr> </thead> <tbody> <tr> <td><address>123 Somewhere ST.<br/>Somewhere, CA 123456</address></td> <td><address>123 Anotherplace Ln.<br/>Somewhere Else, CA 123434</address><br/></td> </tr> </tbody> </table> </div> <h3>Information</h3> <div class="blockContent borderedContent"> <table class="entryForm"> <tbody> <tr> <th>Website:</th> <td>http://somewebsitehere.com</td> </tr> <tr> <th>Segment 1:</th> <td>SomeInfo Here</td> </tr> <tr> <th>Email:</th> <td><a class="mailLink" …

Member Avatar for pritaeas
0
245
Member Avatar for florin1

Hello guys. I made a form with 3 inputs (song name 1, song name 2 and album name). When i submit this form it calls a php script like this one: [CODE]<?php $song1 = $_POST['song1']; $song2 = $_POST['song2']; $album = $_POST['album']; $output = shell_exec('D:\\apache\\htdocs\\test\\mp3wrap\\mp3wrap.exe '.$album.' '.$song1.' '.$song2.''); echo "<pre>$output</pre>"; ?>[/CODE] …

Member Avatar for florin1
0
168
Member Avatar for GordonUK

Hi everyone, I wonder if anyone can help me? I am developing a music website where users can download songs and I have noticed that other similar websites use folders called "Compressed Zipped Folders" which are unzipped automatically by Windows Vista etc. What I want to know is how to …

Member Avatar for pritaeas
0
139
Member Avatar for tubesnube

Hi guys. Was wondering could anyone help me here. What I am trying to do is to generate a number for a document upon selection. The number can't be random. As an example I mean: User request's 'Document X', Document X appears on screen and at the top of the …

Member Avatar for tubesnube
0
92
Member Avatar for lordsurya08

I am writing a game in which I need to draw text onto the screen. As I understand it there are two main ways to do this using Graphics2D - using GlyphVector and using drawString(). Of the two I prefer the previous because it allows me to define text as …

Member Avatar for jackbauer24
0
215
Member Avatar for vijiraghs

the following is my requirement: There are thousands of RDF files in a folder in my local webserver. The following is the structure of each of the files. [CODE] <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > <rdf:Description rdf:about="http://www.wordpress.com/blogs/introduction to RDF"> <rdf:subject>introduction to RDF</rdf:subject> <rdf:object>vj</rdf:object> <rdf:value> formality</rdf:value> <rdf:value>intro</rdf:value> </rdf:Description> </rdf:RDF> [/CODE] The user will enter …

Member Avatar for cereal
0
585
Member Avatar for jdgieschen

[B]I'm trying to paginate my search results. The first page comes up just fine, but when I click to go to the next page, this happens:[/B] Notice: Undefined index: d1 in D:\Website Design Environment\EasyPHP-5.3.8.1\www\jquery_ui\process.php on line 2 Notice: Undefined index: d2 in D:\Website Design Environment\EasyPHP-5.3.8.1\www\jquery_ui\process.php on line 3 Notice: Undefined …

Member Avatar for jdgieschen
0
911
Member Avatar for bilal_fazlani

[ICODE]listbx.Items.Add(New _ ListItem(BorderStyle.None.ToString(), BorderStyle.None)) listbx.Items.Add(New _ ListItem(BorderStyle.Double.ToString(), BorderStyle.Double)) listbx.Items.Add(New _ ListItem(BorderStyle.Solid.ToString(), BorderStyle.Solid))[/ICODE] can anyone please tell me how to do this in asp code.. in vb.net it adds the borderstyle as value... when i try that in asp.net it just adds string value. [ICODE]<asp:ListItem Text=Solid Value=Solid></asp:ListItem>[/ICODE] do I have to …

0
113
Member Avatar for Arpssss

I have a Hash Table like, HashTable ht = { (1, 1), (2, 1), (3, 1) } Now, I implement it like, Integer foo = Integer(1) and declare hash table like, HashTable ht = { (foo, foo), (2, foo), (3, foo) } Now, as per I understood from [URL="http://www.kdgregory.com/index.php?page=java.refobj"]this[/URL], it …

Member Avatar for JamesCherrill
0
189
Member Avatar for jayadan

How to convert these inputs as regular natural numbers 1) 0x000F 2) 0x2222 and similar inputs likes this. Guys i want the coding part and also the simple manual regular calculation part too. Thnks in advance.

Member Avatar for JamesCherrill
0
133
Member Avatar for Perlie

Hi! I'm working on a Perl code since two weeks without found anything so, I'm asking for your help. I have two files: The first is like this: [CODE] 141374_at AttA 141559_at sec5 141691_at spz 141930_at imd [/CODE] These datas were selected before according to a criteria. And the second …

Member Avatar for Perlie
0
167
Member Avatar for TIM_M_91

Hi guys I have a loop that increases my setsize to 1100 which works fine. My question is is it possiable for when I click my button the loop executes then if I click the button again it does not execute the loop and carry's on with the rest of …

Member Avatar for stultuske
0
98
Member Avatar for naveedqadri

Dear Experts, Thanks for your time. I have to creat a dynamic table through asp.net in database. On page there is a table Row with text and column with text. There is button Edit above the table: User press + to add a row or colum Column and row is …

Member Avatar for naveedqadri
0
124
Member Avatar for saneeha.nust

The following code line is working fine... XmlNode sslNode = appHostNode.SelectSingleNode("sites/site[@name = 'www.wow.com']/ftpServer/security/ssl"); Now I want to pass a variable instead of 'www.wow.com'... please guide how can I do it....

Member Avatar for saneeha.nust
0
65
Member Avatar for technoknol

Hi friends, I have one file in PHP this file is remote upload script. But when i run this file, it's not downloading specified file in URL. Below is a script is there anyone who can solve my problem then pleases help me. [CODE]<?php define('BUFSIZ', 4095); $url = $_GET["t1"]; // …

Member Avatar for weekendrockstar
0
144
Member Avatar for phpbeginnerx

Hi experts, below are codes i learn from php video tutorial : <?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php if(isset($_GET['subj'])) { $sel_subj = $_GET['subj'] ; $sel_page = ""; } elseif (isset($_GET['page'])) { $sel_subj = ""; $sel_page = $_GET['page'] ; } else { $sel_subj = ""; $sel_page = ""; } ?> …

Member Avatar for urtrivedi
0
147
Member Avatar for izeko

Can any one tell me why i would need i GUID in my project. I see it is in the properties of my project under Application/Assembly information. Do i need to make sure this is unique for every project i create. I usually use one project as my starting point …

Member Avatar for dwarvenassassin
0
78
Member Avatar for dburris

Hello, I am attempting to call a method from a click event on a form and not having much luck. public void xbuttonValidateUPC_Click(object sender, EventArgs e) {//Validate UPC Button Click UPC_JDB UPC1 = new UPC_JDB("123"); string temp = (xtextBoxValidate.Text); UPC1.ValidateUPC(temp); xtextBoxValidateAnswer.Text = temp; }//end Validate UPC Button Click Program is …

Member Avatar for dwarvenassassin
0
166
Member Avatar for bmichael89

I have been working on this all day can someone please tell me what I am doing wrong. using System; public class ArrayManagement { public static void Main(string[] args) { int[] myArray; myArray = new int[7]; myArray = fillArray(); int sum, avg; arrayMath(myArray, out sum, out avg); displayArray(myArray); } public …

Member Avatar for thines01
0
133
Member Avatar for pseudorandom21

Is there some trick to networking between LAN machines? I want a client/server system on the network but I haven't a slightest about the IP. I'd like to avoid dropped packets, so from my limited knowledge I'd go with TCP. Etc. How do I locate another machine via IP on …

Member Avatar for BobS0327
0
124
Member Avatar for manaila

I have a MySQL table table with two fields: id and name. id is primary key with auto_increment. The thing is when I insert a record and then empty the table, and insert a record again, the id value does not start from 1, it keeps increasing even though the …

Member Avatar for hericles
0
156
Member Avatar for vired

hello all! i need help regarding my C programming homework of the Conway's game of life. i have to make a C program that will read a textfile containing a 25x25 matrix of 'X' or 'blank space' and will print its content. This will serve as the initial generation and …

Member Avatar for zeroliken
0
950
Member Avatar for gopi17

helloo....guys need a favour from you....okay this is the scenario i have a attribute called document_no, now i would like to append running numbers behind it to fill in a new attribute eg: document_no = 123222 serial_no = 12322201 12322202 12322203 now the number starts from 01 and go on …

Member Avatar for gopi17
0
103
Member Avatar for stanley87

Hi,guys,i cant solve this insert query into ,this is my query,i want it to insert it to another new table.How to solve this query?thank Q very for the help...cheers [CODE] SELECT adp.adsPageId,adp.adsSpaceId, DATE_FORMAT(adp.dayClick, '%Y-%m-%d') AS dateReport, (SELECT COUNT(*) FROM ads_display att WHERE att.adsSpaceId = adp.adsSpaceId AND att.adsPageId = adp.adsPageId AND …

Member Avatar for stanley87
0
134
Member Avatar for C0ding

Hello everyone, Is been a while since i've been trying to rename a file using the ren batch command, but for some reasons is not working for me. could some one please give me an idea on how to reanme a file with a batch file? Thanks in advance. This …

Member Avatar for C0ding
0
254
Member Avatar for ilearnz001

Looking To learn how to send data from a program to a webservers webpage. More specificly sending the data to <form> tag within a html file. Trying To Find out how to do this, code examples would be prime. Also Any Guides on connecting proxies -- who then connect to …

Member Avatar for ilearnz001
0
235

The End.