52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rock9449

i am doing a project in class that you have to type in a password and have the password given back to you with astrixs which i did but the second part is i have to write an event handler that repeats the password back without the astriks here is …

Web Development asp.net web-server
Member Avatar for sknake
0
137
Member Avatar for rock9449

[code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="TxtPassword" runat="server" TextMode="Password" ontextchanged="TxtPassword_TextChanged1"></asp:TextBox> <asp:Label ID="Label1" runat="server" Text="Password"></asp:Label> <br /> <asp:Label ID="Label2" runat="server"></asp:Label> </div> <p> &nbsp;</p> </form> </body> </html> [/code] here is …

Web Development asp.net web-server
0
58
Member Avatar for harikris2007

pdf_download.php ........................................................................ <?php $file_name=$row['tcb_pdf']; header("Content-type: application/pdf"); header("Content-Disposition: attachment; filename=\"$file_name\""); $data=readfile("../new_books/".$file_name); echo $data; ?> home.php ............................................................................... <td align="center" valign="middle" bgcolor="#FFFFFF"><img src="images/rar.gif"><a href="pdf_download.php?name=<?php echo $row['tcb_pdf'] ?>"><img src="images/button_buy.jpg"></a></td> <td align="center" valign="middle" bgcolor="#FFFFFF"><img src="images/rar.gif"><a href="uploads/<?php echo $row['tcb_pdf'] ?>"><img src="images/untitled.bmp" width="43" height="17"></a></td> </tr>[code]hi, I need a help from anybody. I have a page with pdf …

Web Development pdf php
Member Avatar for guru12
0
118
Member Avatar for SammiSmi

Hi All :) A 2003 word document has a ContentType "application/msword", but what is the ContentType of a 2007 Word document? Thanks :)

Web Development asp.net
Member Avatar for SammiSmi
0
79
Member Avatar for mvt6204

Hello guys, is there a way to detect whether JS is enabled or not, using PHP codes? Thanks in advance. =)

Web Development javascript php
Member Avatar for CalmQuiet
0
199
Member Avatar for shankbond

Hi, I have just downloaded the sql server 2008 version. I am currently developing a web application which is to be uploaded on the internet Now the web application and the database both will be uploaded on the same site .To be precise I am new sql server, whenever i …

Web Development asp.net web-server
Member Avatar for shankbond
0
245
Member Avatar for smvec

hi... im trying to insert a row into the database... but the query is not run successfully.. [CODE]$sql = "INSERT INTO temp_db (fname,mname,lname,dob,gender,email,country,phno,mobile,userid,password,mti,rtime) VALUES ('$fname','$mname','$lname','$dob','$gen','$mail','$country','$phno','$mob','$uid','$pass','$mt','$rtime')"; $res = mysql_query($sql) or die("cud not add record"); echo mysql_error();[/CODE] this is the code..... im gettin the error from the Die part of the query.. …

Web Development php
Member Avatar for smvec
0
82
Member Avatar for dangari

Hi all.Am new to this forum so cut me some slack if I don't articulate my problem with utmost clarity.My problem is that I have a javascript function such as: function modReg(x,y) { <!-- var answer = confirm ("Do you really want to deregister user" +x+"?") if (answer) { document.leo["id"].value=x; …

Web Development javascript
Member Avatar for dangari
0
164
Member Avatar for geneboss

Hi Friends, I'm a newbee and trying to set up a multi step registration for my website and using the CreateUserWizard Control which should generate an automatic Unique Key assigned to the new user. This Confirmation Code(GUID) is to be substituted into the email before the message is sent. Problem: …

Web Development asp.net client-server web-server
Member Avatar for leeward
0
203
Member Avatar for davrosboy

Hello all I have never posted before and bit of a noob I have a problem i hope someone can help with... I have a wysiwig editor (nicedit) attached to a page which gets called and allows the user to edit portions of the page in a modal window. This …

Web Development php regex
Member Avatar for davrosboy
0
108
Member Avatar for van2006

hi i am new to this forum. i am able to add image file(a.jpg) to mysql databse. when i see the file in a databse . i could see the file.but when i try to retrive that file ia m getting error.can anybody help me thanks

Web Development file-system image mysql php
Member Avatar for nurnamira
0
332
Member Avatar for Terry56

Hi to all, Hope you all are fine.I have a javascript to check whether java is installed or not on your system.The code is [code=JavaScript] <body> <script language="Javascript" type="text/javascript"> if(!navigator.javaEnabled()){ alert('Enable your java to expeirience this java enhanced page or\n try install it...'); location.replace('http://java.sun.com'); window.open('instructionsforintallingjava.html'); } else{ document.write('<applet watever></applet>'); } …

Web Development javascript
Member Avatar for Terry56
0
189
Member Avatar for valonesal

I would like to be able to open a php file and edit it from a browser window. We need to easily add website to this file. We will have a hidden, password protected area that we will use to edit this file. Is there an easy way to do …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for Ghostenshell

New to JavaScripting and copying information out of a book. I understand the concept of the code but I do not know why it is not working. I can type info in both boxes but the information does not add. Tried it in three browser FF, IE, and Chrome. [CODE]<html> …

Web Development javascript
Member Avatar for Ghostenshell
0
115
Member Avatar for filch

Ho, I am building a large registration form. In this form, a sponsor/educator must register himself or herself and then may add up to 6 more " delegates" in pairs. The first two pairs registration info on the form is shown by default. I need to hide the other two …

Web Development javascript
Member Avatar for filch
0
133
Member Avatar for austin-khoi

i can't do this form, the button will be disabled when page load and only be enabled when one tick in the checkbox ( if the checkbox is unticked , the button will be disabled again). anyone help me ? thanks

Web Development php
Member Avatar for Dasjetta
0
816
Member Avatar for husna_

[B]Hello. I have a gridview which takes in data from 3 tables. And this gridview also have an additional column called "Role" which is not included in the database. Currently, without adding any logic but simply using the findcontrol to the label, "Role", i can show out "ML" But, when …

Web Development asp.net c#
Member Avatar for husna_
0
191
Member Avatar for djsl

I have setup a site with a login that works fine. What I need to do is have the primary user log in -Then he would invite about 20 max people to join with the same username that he setup. They would have full access to his database. What is …

Web Development php
Member Avatar for cwarn23
0
63
Member Avatar for diafol

I'm trying to sort an array which contains objects, but have hit a wall. I have a number of feeds that are placed into objects (WM). The feeds are placed in the order that they're loaded. I want them to be ordered w.r.t. pubDate. I'd rather not recode the whole …

Web Development php unix
Member Avatar for diafol
0
81
Member Avatar for debuitls

Hi all, Just wondering if anybody can spot the syntax error with the below. [CODE] '<button type="button" onclick="window.location='bookview.php?id='. $row['bookingref'].'&hn'. $row['hotelname'].''">Book Now</button>' [/CODE] It works fine when I just append one row to the URL like this [CODE] '<button type="button" onclick="window.location='results.php?id='. $row['proposalid'] . ''">Book Now</button>' [/CODE] The button only stops workin …

Web Development php
Member Avatar for smartness
0
144
Member Avatar for cheapterp

Hi all, All right, here's what I am trying to achieve but have no idea how to do it: My site requires users to login and every page is password protected. As part of preventing hacking (to a small extent, though) I am trying to [B]TEMPORARILY[/B] disable the user's account …

Web Development coldfusion
Member Avatar for arrgh
0
565
Member Avatar for dp_neo

Hi, I have the following code that should create a dropdown when the value in the another dropdown changes. So dropdown2 is created when value of dropdown1 is changed. And dropdown2 is also programatically associated with a datasource which is access in this case. The dropdown gets created, but for …

Web Development asp.net
Member Avatar for serkan sendur
0
83
Member Avatar for titos97

hi i made a login page and created some user. now i like to make a sql queries with that user name. suppose username joe so he enter joe as a user name then login page sent to another page where sql qeries will be execute for that user: joe …

Web Development asp.net sql
Member Avatar for lucyoop
0
115
Member Avatar for Schoorsteen

Hi all, I had a short question, I am busy making an UML Class Diagram for my future text-based browsergame, and I was wondering if I do it right yes or no. Please give me your critic and comments. [URL="http://img87.imageshack.us/img87/667/umln.jpg"]Click here for the diagram.[/URL] Kind regards, Schoorsteen

Web Development php
Member Avatar for Schoorsteen
0
82
Member Avatar for eligmatic

I have this script: [url]http://snipplr.com/view/19692/g-or-y-search-hilite/[/url] but it won't search for chars like ')' . How should I adapt it? Thanks.

Web Development javascript regex
0
74
Member Avatar for gk0110

Hi all , I have to sort a table where few columns are dynamically generated .I searched the net and came out with sorttable.js included in my jsp file . then called this function in <body>onload event as initTables('id_of the table"); It was working out for me.. But with some …

Web Development javascript
Member Avatar for SAMAEL
0
81
Member Avatar for Froger93

Hey guys, I have been working on some code and have struck a problem, I tried to make the code as easy as possible to edit at a later date. The issue comes when I include a config file from a directory for a certain page, this config file decides …

Web Development html-css php web-design xml
Member Avatar for SAMAEL
0
170
Member Avatar for sudharani

Hi friends, I am doing a small project.In that the user can order for some products.when the user clicks the oreder_submission Button one conformation dialogue Box should appear with the message of confirmation with two buttons "Yes" and "no". Pleae give me the code in C#.

Web Development asp.net
Member Avatar for serkan sendur
0
92
Member Avatar for Barefootsanders

Hi all. I'm attempting to output all of the possible combination from "a" to "zzzz" and I'm wondering if theres an easy way of doing that. As an example output would be ... a b c .... z aa ab ac .... az ba bb ... and so on.. Is …

Web Development php
Member Avatar for Barefootsanders
0
239
Member Avatar for StrikeFreedom

hi I'm trying to find a way to create a dynamic form from mysql database and update multiple rows from it. For example let's say I have a database with email and the owner's name. How do I build the script to make php grab the data from the db …

Web Development display email php
Member Avatar for guru12
0
3K
Member Avatar for deadmancoder

hello all, i am new to ajax.. unfortunately, i was given an assignment before i complete ajax.. i need help, someone pls direct me where i can learn to solve the following thing!! Consider a web page has 3 frames, the top has the header, the left has the actions …

Web Development javascript
Member Avatar for Thirusha
0
118
Member Avatar for sam023

i was wondering how i can convert my fetch data from database into XML..!! actually i want to use idea on pagination..!! when first time user search for data...!! a XML file will creating containing data from database..!! and further data will be listed from XML instead of database..!!! can …

Web Development php xml
Member Avatar for diafol
0
96
Member Avatar for kwesiaryee

Hi there, Can some one help me with the following problem. I need to pass the date to 2000-02-02 date format so that mysql will accept it. The following code is as follows; [CODE]function checkdate() { var begDate = new Date(document.demoform.now.value); var endDate = new Date(document.demoform.later.value); var difDate = endDate.getTime() …

Web Development javascript
Member Avatar for kwesiaryee
0
137
Member Avatar for Studio

I am developing a ASP.NET Web site and am looking to add a hyperlink or something similar to a repeater that will retrieve the path directory from a database table to PDF documents, so that when the user clicks the hyperlink they will be able to download the PDF File. …

Web Development asp.net pdf web-server
Member Avatar for serkan sendur
0
875
Member Avatar for EpicDewd

Hi everyone. I have a php mysql class and was wondering how I declare a varialbe kinda thing. Here is the code in the mysql class.... [code] <?php // class stuff public function fetch_array_from_query($query) { $this->debug_write("Fetching array from given query"); if(!$this->is_connected()) $this->setup_connection(); $result = $this->query($query); $this->debug_write("Finished fetching array from given …

Web Development php
Member Avatar for Schoorsteen
0
116
Member Avatar for Mahsa_C++

Hello to all, I'm just starting off learning PHP programming.As for the beginning i managed to download Apache 2.2 and PHP 5.3.0 , but i gave up frustrated after browsing several pages googling how to add the PHP to the Apache so that the server uses the php interpreter and …

Web Development apache php web-server
Member Avatar for Mahsa_C++
0
328
Member Avatar for jen140

Good day. I want to create a small app that would take out the content from a rss feed and posteriorly from the url . I know that would be easily done in perl with regular expressions, but in php it seams a bit more difficult. So i want to …

Web Development perl php
Member Avatar for jen140
0
114
Member Avatar for click here

i want the best php class to work with mysql hi i want the best and the simple php class to work with the mysql thanks

Web Development mysql php
Member Avatar for smartness
0
196
Member Avatar for julio gomez

Hi, I have a corn.php file that runs automatically every day and one of the functions is to send an e-mail to certain users. The problem is that the e-mails are being sent twice. I can't find anything wrong with the cron file, but checking the access_log.processed file of the …

Web Development apache file-system php
Member Avatar for julio gomez
0
157
Member Avatar for tekwriter

I have inherited a website that was abandoned by it's designer, the guy started with a CMS called Simple Content Management. The core of the system works fine and i am figuring out all the ins and outs of the admin slowly, but surely. My issue is his page nav …

Web Development cms php
Member Avatar for SAMAEL
0
234
Member Avatar for gsd

Hii frnds, I want to know how to insert data into a table through JSP when u have the table name as a variable...Pls help me out. [code] Statement stmt5=con.createStatement(); String qry5="insert into t1(id) values('"+dat0+"')"; int u5=stmt5.executeUpdate(qry5);[/code] I know this stuff. Wat I want to know is how do we …

Web Development java-jsp
Member Avatar for peter_budo
0
136
Member Avatar for cwarn23

Hi and I have been looking around and found that google has a few search api's but haven't yet found one that returns the results as a javascript/ajax array. Is it possible to at least get the google api to send the results to my website as a variable/array in …

Web Development api javascript php seo
Member Avatar for cwarn23
0
190
Member Avatar for deadmancoder

using ajax/javascrtipt, how to browse for a folder and get *.xml files in the given folder path.?? :?:

Web Development javascript xml
Member Avatar for deadmancoder
0
77
Member Avatar for ofir0803

Hi i created a small program that does connection to db and perform a select. that's works fine for me. now,i want to make it a web service, but how can i return the result of the select query from it? please help... this is my code... [CODE] using System; …

Web Development asp asp.net open-source
Member Avatar for Ramesh S
0
162
Member Avatar for karthikanov24

hi In the following function, to modify a product in a shopping cart, [CODE]function modifyProduct() { $productId = (int)$_GET['productId']; $catId = $_POST['cboCategory']; $name = $_POST['txtName']; $description = $_POST['mtxDescription']; $price = str_replace(',', '', $_POST['txtPrice']); $qty = $_POST['txtQty']; $images = uploadProductImage('fleImage', SRV_ROOT . 'images/product/'); $mainImage = $images['image']; $thumbnail = $images['thumbnail']; //echo $thumbnail; …

Web Development php
Member Avatar for karthikanov24
0
120
Member Avatar for arunajasmine

Hi, i am having a query like [CODE]$report_attrid=$this->Report->find('all',array('conditions'=>array('Report.report_id'=>$report_id,'Report.user_id'=>$userId))); foreach($report_attrid as & $reportattrid): $reportattrid['Report']['attr']=$this->Attribute->find('all',array('fields'=>array('Attribute.id','Attribute.label'),'conditions'=>array('Attribute.id'=>$reportattrid['Report']['attribute_id'],'Attribute.form_id'=>$report_form_id),'order'=>'Attribute.sequence_no')); $reportattrid['Report']['value']=$this->Result->find('all',array('fields'=>array('Result.label','Result.value','Result.submitter_id','Result.submitter'),'conditions'=>array('Result.attribute_id'=>$reportattrid['Report']['attribute_id'],'Result.form_id'=>$report_form_id),'order'=>'Result.id')); endforeach; $this->set('Report_attrid',$report_attrid); [/CODE] 1.the first one for $report_attrid will gives me the all the datas needed for my report as id Report_id title form_id attribute_id 1 1 r1 24 69 2 1 r2 24 72 2.And …

Web Development php
Member Avatar for smartness
0
121
Member Avatar for davidjennings

Hi all, I am trying to pass values to the cart. When I select add to cart the values show up in the url but does not direct the user to the shopping cart. url output. http://214.146.126.103/streetwise/result.php?itemname=CITROEN&returnurl=http%3A%2F%2F214.146.126.103%2Fpassenger.php&price=123.00&storeid=xxxxx&quantity=1[/url] [code=php]//passing variables from db $m_id=$row{products_make}; //echo $m_id;// test out put valid $p_id=$row{products_price}; //echo …

Web Development php
Member Avatar for davidjennings
0
175
Member Avatar for atplerry

I want to send the vertical scroll bar to the bottom of a textbox as yahoo chat does but learnt that Textbox1.ScrollToCaret() could do that but in my VS 8 intellisence will not popup the scrolltoCarret part and is giving me a error pls help

Web Development asp.net
Member Avatar for Ramesh S
0
107
Member Avatar for sunilsinha

I need to rotate text by 90, 180 and 270 degrees. How can i achieve this in firefox2. In brief, what i am doing is, there is one main container div whose background is set by 600x400 image. There are 4 inner divs each having some text. Now i have …

Web Development javascript
Member Avatar for rhand
0
173
Member Avatar for wael12211

(Credit card number validation) Credit card numbers follow certain patterns. A credit card number must have between 14 and 16 digits. It must start with: • 4 for Visa cards • 5 for Master cards • 37 for American Express cards. • 6 for Discover cards In 1954,Hans Luhn of …

Web Development algorithm asp.net
Member Avatar for sknake
0
377

The End.