52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sam1

hi, I am trying to add a value to listbox. i use lstlistbox.items.add(new listitem(value)). this adds it fine in click event of button, but i need to use the selectedvalue of the listbox again in same event. as the listbox item doesnt show i cant use selectedvalue. is there a …

Web Development asp.net
Member Avatar for paslanmaz
0
132
Member Avatar for Ekaterina

How can I detect if ASP.NET is registered or not (programmatically)? I've read a lot of posts about checking register, for example: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\..., but I have not this key at all, and about existing the folder "C:\Inetpub\wwwroot\aspnet_client"(but it can be absent) Also I can't use the Metabase.xml because it has …

Web Development asp asp.net xml
Member Avatar for Ekaterina
0
198
Member Avatar for kardus

hallo...this is my first post.. i want to validation my registration.. if there are anyone to regis but the username is already(in database), there are message " sorry, choose the different name please" i have no idea, i have tried but always failed... o..yeah i use ms.accsess for my database..and …

Web Development java-jsp
Member Avatar for stephen84s
0
206
Member Avatar for queenc

hi i have a text area where i want to limit the number of charactersin each line. for example if the user enters more than 50 caharacters it should automatically move the cursor to the next line thanks

Web Development javascript
Member Avatar for queenc
0
89
Member Avatar for nishant52

I want to pass my form data to default file of a directory. For eg:- My default file for a directory is "Default.php". If i give, <form action="Directory"> </form> , then the form data should be passed to "Default.php". Is this possible ?? If so how ??

Web Development php
Member Avatar for xarz
0
140
Member Avatar for addsf1

I keep getting this message what is wrong with my sacript??? Parse error: syntax error, unexpected $end in /home/sites/thefieldinggallery.co.uk/web/contact_form.php on line 65 here is the php script: [code=php]<?php /* subject and email Variables */ $emailSubject = 'Crazy PHP Scripting'; $webMaster = 'info@thefieldinggallery.co.uk'; /* Gathering Data Variables */ $nameField = $_POST['name']; …

Web Development php
Member Avatar for peter_budo
0
148
Member Avatar for mmonclair

I'm having some difficulty with a query I'm trying to set up. What I'm trying to do is set up a query that will populate a table that shows a list of all tests offered on the site that are active, and then show the completion status of the user …

Member Avatar for mmonclair
0
162
Member Avatar for websurfer

Hello, all: was wandering, how can I have php create a thumb frame of a movie?? (like youtube where only a frame of the movie appears which then when you click takes you to the movie itself to play...) I am looking to create a small gallery of movies, but …

Web Development php
Member Avatar for digital-ether
0
337
Member Avatar for Aamit

[code] <?php if(isset($_POST["send"])) { $name = $_POST["name"]; $email = $_POST["email"]; $msg = $_POST["msg"]; echo(" Hello!<br />"); if(empty($name)) { echo(" - There was no name!<br />"); } if(empty($msg)) { echo(" - There was no message!<br />"); } // IF THEIR ARE NOT EMPTY if(!empty($name) && !empty($email) && !empty($msg)) { //code for …

Web Development image php
Member Avatar for digital-ether
0
123
Member Avatar for DaniVee

I have a selection field with a drop down list that is populated from a database that has over 2000 records. They're alphabetical and I want to allow the user to select the first 2 letters to move through the list. For example, BO would take them to the first …

Web Development coldfusion
Member Avatar for hhamdan
0
115
Member Avatar for Q8iEnG

Hi guys.. :) I'm still on my way on learning and seeing examples of JavaScript Codes Today I saw this code (which depends on external file called *banner.js*) [CODE] <!-- Paste this code into an external JavaScript file named: banner.js.js --> /* This script and many more are available free …

Web Development file-system javascript
Member Avatar for Q8iEnG
0
182
Member Avatar for parhs

Hello. I have downloaded some ready projects and i saw that they seperate html from php. They are echoing everything through a class.For example they make a class for <html> tag for <body> etc. This is driving me insane.Whats wrong with just having some classes and then mix html and …

Web Development html-css php
Member Avatar for parhs
0
149
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Web Development php
Member Avatar for tuse
0
81
Member Avatar for ucan_aps

hai to all.. help me to solve my problem... im dng one project..in my project i do have one database.. it wil be updated for every 30seconds.. so i have to display the data from database with thier updates.i mean i would like to display data's in the client browser..whenever …

Web Development java-jsp
Member Avatar for ucan_aps
0
168
Member Avatar for stealthmode

Hi all, I put some initial values in a form field to help the user, i use php to extract the form data and send it via email. How do i get the initial value in the text field to stop appearing in the email. example, I have a name …

Web Development php
Member Avatar for sikka_varun
0
95
Member Avatar for parhs

Hello.. I couldnt find anything for this topic. I know how to connect to a mysql database and close the connection.But that means that for every script a connection should be established and closed. Is this right and ok for big projects? About 200 concurrent users for example; Having a …

Web Development mysql php
Member Avatar for pkpandit
0
129
Member Avatar for haru-chan

I have a string that should control if the checkbox array is checked or not when i open the page... I made a string which contain a value of 0 & 1 and deal with the string as an array if 1=checked note: I retreive my checkbox values from the …

Web Development php
Member Avatar for haru-chan
0
71
Member Avatar for jobojo

I was wondering if someone could explain to me how to merge two arrays so that one is not simply appended to the other, but they need to be merged into one sorted array. I could simply append the two arrays and then sort the result, but that would be …

Web Development javascript
Member Avatar for jobojo
0
182
Member Avatar for Yipyo

I've got a simple function that that toggles the display of certain form fields. When I refresh the page, or post back, the display.value goes back to the original state. I don't know how to keep it on the selected state for refreshes and post backs. Please help. It's driving …

Web Development display javascript
Member Avatar for Yipyo
0
166
Member Avatar for asifkamalzahid

if i have file name "file" on my ftp server in some folder and i want to upload a new file with same name "file" at the same folder. so it will create problom or it will modifiy the existing file. i have the following error message 1 Warning: ftp_fput() …

Web Development php
Member Avatar for asifkamalzahid
0
125
Member Avatar for Omer.Registry

:'( Hi to all I'm new in the forum and this is my first post, I hope, you can help me with the following problem, I have a blank page with a flash object (swf) that plays a FLV movie. I'm trying to remove and return the object when the …

Web Development flash html-css javascript
Member Avatar for Luckychap
0
128
Member Avatar for KilluaX

Hi, all What I am trying to do is to put a hyperlink on my jsp page. Then, when I click on the link, I will come to the linked page and as well the page can get some info from the jsp page. How is the code like? thanks.

Web Development java-jsp perl
Member Avatar for missalexa
0
4K
Member Avatar for nil_gh_80

Hello friends, I'm in a serious problem....... I have a change password application for registered users......I've applied javascript to check wheather fields are blanks or not but incase if someone press spacebar in new password and retype new password fields then it accept it . Now I want to block …

Web Development php
Member Avatar for nil_gh_80
0
122
Member Avatar for frank754

Normally, arriving at a PHP page with a data entry web form, you would have to click on any field you wish to change to go into data entry mode (the first field or any successive one), and then you can tab between fields (TAB to go forward or ALT-TAB …

Web Development javascript
Member Avatar for frank754
0
142
Member Avatar for Bob Arctor

Hello all, Newbie and running out of steam here. I have a form passing the checkbox value to a db. The db is essentially 2 fields news and id (auto-increment). I'm pretty baffled as how to extract the data. Ideally I would like to give each form submission a unique …

Web Development php
Member Avatar for Bob Arctor
0
440
Member Avatar for VernonDozier

I have some simple php code. It worked fine on the old server, but now I am getting an error on the new server. Both former and present servers are Linux. [code=php] <?php function ConfirmationEmail () { $from = "mo@abc.com"; $recipient = "bill@yahoo.com"; $cc1 = $from; $cc2 = "mo@gmail.com"; $subject …

Web Development php
Member Avatar for blocblue
0
193
Member Avatar for almualim

hi friends, i want to get backup from MySQL DB by use php code.

Web Development mysql php
Member Avatar for PomonaGrange
0
163
Member Avatar for mapidea

I have a basic question in .Net Why there is a need for .Net Framework supporting different languages? Is it not better to train everyone in a single language? Thanks.

Web Development asp.net
Member Avatar for jbennet
0
113
Member Avatar for Venom Rush

Well the title pretty much says it all. I'm reading through a php OOP book and I'm having trouble understanding why you'd want to create an abstract class. Can anyone perhaps shed some light on this for me as I haven't found any resources that explain this well enough.

Web Development oop php
Member Avatar for digital-ether
0
159
Member Avatar for devon.philip

A cookie is a flat file that stores tiny bits of information. It is stored on the client’s machine and is passed to the client when they visit your site. Each cookie can store anything from usernames to number of visits to a site. This tutorial will teach you how …

Web Development client-server php
Member Avatar for digital-ether
0
126
Member Avatar for RuneMan

I am developing a website which encrypts every user's password with sha1() method and is stored in the database. Now the problem is I want to offer a recover password function for my users. but i dont know how to get the password from the salted string Help me!!!

Web Development encryption php
Member Avatar for digital-ether
0
110
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax with PHP. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Web Development javascript
Member Avatar for tuse
0
176
Member Avatar for Enjoy

Hi all, I want to retrieve selected item from listbox in a jsp page and send it to a servlet. I am not able to get selected value. Can u please tell me how to get selected value. In servlet i am trying to get the selected value by using …

Web Development java-jsp
Member Avatar for stephen84s
0
537
Member Avatar for freshfitz

I am pulling info from zillow and then setting a price based on sq ft of the house. I am also using zillow to pull lat and lon to pull up a google map on the property the problem in some homes don't have sq footage and my cold fusion …

Web Development coldfusion xml
Member Avatar for freshfitz
0
172
Member Avatar for dizid

hi :icon_neutral: , I want to make a radio button checked if the form is already submitted. The form and output are on the same page. I have 2 (later more) radio buttons and i want the form to 'remember' the state of the button, e.g. insert a checked="checked" text …

Web Development php xml
Member Avatar for dizid
0
120
Member Avatar for b007

Hi, I just add a GridView with Edit option. I connected it to DataSource. Now, one field is a date, so I convert it's column to a template and added in the editItem template an ajax calendar extender which connected to the Texbox and works by clicking a button which …

Web Development asp.net
Member Avatar for b007
0
152
Member Avatar for dewhickey

I have code to propagate a drop down list that displays people's names. The problem is that the first name and last name are separate fields in the database, and I can only get the drop down list to display one of them. Here's my code: [code=php]<?php $result = mysql_query("SELECT …

Web Development php
Member Avatar for dewhickey
0
123
Member Avatar for rooparaj

I am facing problem in asp.net. Problem is : Session objects is not working properly.in the sense some times it will work some times not(getting empty). Plz Can anyone help me in this . Its very urgent !!!!!! Eg: In web.config - In <Sessionstate timeout=30>,but before 30 minutes only its …

Web Development asp asp.net session
Member Avatar for johnly
0
334
Member Avatar for Dick Kennedy

I'M running a site on PHP 5.2.6, Apache 2.2.9 (shared hosting). Most of the site uses a CMS (MODx) but I have one section using home-rolled scripts. I have a file that gets included into these that checks user status by looking for the MODx session vars. On one script, …

Web Development apache cms php session
Member Avatar for Dick Kennedy
0
118
Member Avatar for serkan sendur
Member Avatar for macokovac

hello guys i need put banner on 'my account table'. banner should included reflink of member or user who's accessing this page. here is banner picture: <img src="http://i35.tinypic.com/349ciza.jpg" border="0"> and here is all php code of my account table: [ICODE]<?php include_once('header.php'); if(isset($_COOKIE["usNick"]) && isset($_COOKIE["usPass"])){ $user = $_COOKIE["usNick"]; $myDb->connect(); $sql = …

Web Development php
Member Avatar for macokovac
0
176
Member Avatar for krany18

hai friends, i am developing a application like a job portal. but in that i am getting a error whilw i am writng the program.. please clarify my doubt.. the error is: please tell me the how to delete a record from database using asp .net and C#. please send …

Web Development asp.net sql
Member Avatar for dickersonka
0
118
Member Avatar for sm3128
Member Avatar for stephen84s
0
157
Member Avatar for nice_true

Hello! I have a small problem in asp.net ... I wish to create a pdf file and write text entered into a textbox into it using asp.net. The following lines of code work properly for creating and opening pdf files [code=asp.net] Dim fs As FileStream = File.Create(Server.MapPath("files/newfile.doc")) Dim sw As …

Web Development asp.net pdf
Member Avatar for peter_budo
0
127
Member Avatar for kamrag

I am having a problem when reading xls file. I dont want to upload the file on the server. I just want to read the file which the user is going to post. Note: This file in not on the server and i want the file format as .xls (not …

Web Development asp first-post
Member Avatar for arunguptadch
0
291
Member Avatar for leki

I try using this code: [code]File wd = new File("/sx04a1/jakarta-tomcat-5/webapps/maltixa"); String sscp = "scp /sx04a1/jakarta-tomcat-5/webapps/maltixa/index.jsp [email]jipbekok@fff04.ff.ff.es:/sx04a1/jakarta-tomcat-5/webapps/maltixa/index5.jsp[/email]"; p = Runtime.getRuntime().exec(sscp,null,wd); try { p.waitFor(); } catch (InterruptedException e) { e.printStackTrace(); } out.println("Exit value: " + p.exitValue()); BufferedReader reader =new BufferedReader(new InputStreamReader(p.getInputStream())); String s = reader.readLine(); out.println("scp said [ " + s + …

Web Development java-jsp
Member Avatar for leki
0
161
Member Avatar for krany18

hai friends i am writing the code for search button; while i am wrote and complied that it gives the following error. so many times i checked and posting into the forum now please clarify this problem.. code is: [code=asp.net]using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using …

Web Development asp.net dataset web-browser
Member Avatar for Murtan
0
100
Member Avatar for aneeshkurup

Hai all, <span >Test_Ajax</span> On mouse over of Test_Ajax I want display a tooltip which display the value of a variable (which is declered in php file). For doing this task how should I co-ordinate ajax, js, php and html files

Web Development javascript php
Member Avatar for ~s.o.s~
0
238
Member Avatar for vssp

Hi I am trying to open the explorer window using php code .But i got the security issue .Please help me how to solve the issue. [code]<a href="file:///opt" target="_blank">adas</a>[/code] I got this error message Please help me how to fix the issue Security Error: Content at [url]http://localhost/test.php[/url] may not load …

Web Development php
Member Avatar for vssp
0
148
Member Avatar for raul15791

Hi, I need to reset all the values of elements in my form to empty string. But the problem is that the form can be reset but the variable still holding the value of y previous input. For exp, Input 5 value at first time. Input 2 value at second …

Web Development asp
Member Avatar for raul15791
0
121

The End.