52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for claudiu_is

I'm having a session problem with jsf. I've googled abut sessions and none of the results answer this question: what happens when a user logs in, copies the link, logs out and pastes the link in the browser? They say that I should validate the user when the page loads …

Web Development java-jsp session
Member Avatar for claudiu_is
0
99
Member Avatar for sandy183

hi, i'm trying to build a web page which permits the user to login before accessing the contents of the site. the login works fine (i did it using jsp), but i am not able to logout properly, that is, when i click on a "logout" hyperlink, it sends me …

Web Development java-jsp javascript
Member Avatar for shajidbasha
0
230
Member Avatar for kings

hi i have a database ..it contains employee details like name,emil,phno.....when admin sents a mail it must be forwrded to all the emp in the table..plese do tell me how to do tat

Web Development email php
Member Avatar for kings
0
71
Member Avatar for kings

hi this is not working.how to do that..... form1 <form method="get" action="email2.php"> <table> <tr><td>Subject:</td><td><input type="text" name="subject" size="70"></td></tr> <tr><td></td><td><textarea name="body1" cols="70" rows="20"></textarea></td></tr> <tr><td><input type="submit" name="send" value="submit"></td></tr> </table> </form> php page <form> <?php $subject1=$_REQUEST['subject']; $message=$_REQUEST['body1']; $hostname = "localhost"; $username = "splendor_lydia"; $password = "jesus"; $dbid = "splendor_aletheia"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or …

Web Development email php
Member Avatar for kings
0
118
Member Avatar for dotNetDummi

Hi experts, I need a linkbutton/button to download the files which my clients have uploaded. Below is my upload method and it works. [CODE]protected void uploadFile() { String projectID = (String)Session["projId"]; //change the file name if (!FileUpload.FileName.Equals("")) { // Create a new folder in Docs folder (folder name = projectID) …

Web Development asp asp.net pdf session
Member Avatar for Fungus1487
0
182
Member Avatar for shweta797

hi, my problem is that i have a database where i have stored information month wise of various user and i want that user details in month wise and its shows too but when its move to another column like means in next month like jan to feb its creats …

Web Development java-jsp
Member Avatar for shweta797
0
118
Member Avatar for Rankenian

I have been working through an "Introduction to PHP" book that has been very useful but i'm stuck on the mail() function. The syntax looks pretty simple but when i actually try and run the code on my pc and try to send an email to my hotmail account i …

Web Development abuse apache php
Member Avatar for maiese
0
160
Member Avatar for hemgoyal_1990

Hi Frends, I am Working on a Database Project. I am New in PHP. I Want to Create a Search Page for My City Web Directory. How Can i Use MSAccess Database with PHP. Can Any one Give me Script for Accessing Database in PHP. I am Using Linux Hosting …

Web Development php web-server
Member Avatar for nav33n
0
294
Member Avatar for Dani

Is it possible to make an entire [INLINECODE]<div>[/INLINECODE] into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :(

Web Development javascript perl
Member Avatar for tracedef
0
582
Member Avatar for vardhani

In a form if i have a radio box say yes n no... on clicking on yes i want a text area to pop up how do i do this

Web Development php
Member Avatar for vssp
0
120
Member Avatar for Taffd

Greetings all, I'm in the process of writing my own forums. I'd like to insert a 'teaser', showing a few lines of a post, displayed when a user rolls over a thread link. Much the same as happens here on daniweb. Can somebody please explain how this is done. Thanks, …

Web Development php
Member Avatar for Taffd
0
101
Member Avatar for gooky9

Hi, I need to calculate the number of working days between 2 dates entered in a page using PHP. The dates and the calculated number then need to be put into a MySQL database. I am new to PHP, but understand the linking to the database and basic fnctions within …

Web Development php
Member Avatar for gooky9
0
133
Member Avatar for Roebuc

G'morning, afternoon, night wherever you are ;) I have been working on a website with Coffee Cup and godaddy. I created a form with Coffe Cup's form creator thinking it would be easier, and I am having problems loading it. The first time I tried, it told me I forgot …

Web Development xml
Member Avatar for Roebuc
0
119
Member Avatar for simmy7

I am writing some code to create a google base feed and I need to remove all of the &reg;, &trade; etc from the product descriptions. My problem is that I need a regular expression that I can use to look for the pattern: & [any series of characters]; (ampersand[any …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
64
Member Avatar for pritia

i need some help here i have design a gridview which contains two columns with dropdown list first is emp_id column n second is orderofwork column...when i try to update database with selected values in dropdown it gives me the following error Conversion from string "update subj_emp_assign set emp_i" to …

Web Development asp.net database-design
Member Avatar for SheSaidImaPregy
0
77
Member Avatar for killer007

[B]Well Guys i really need you guys help. I want to Show (display) Last 10 Categories Here is Sql Table for Categories.what i think is it can be done with 'cat_id',but i am not really getting this .anybody can help me ?[/B] [code]CREATE TABLE `categories` ( `cat_id` int(10) unsigned NOT …

Web Development php
Member Avatar for killer007
0
124
Member Avatar for jsmith9990

Hai . I'm Smith. In this section We have to discuss about JSP. I want to know more about JSP.I thnk the people interested in JSP will help me out to find out some answers. How is a JSP processed ?

Web Development java-jsp
Member Avatar for samtben111
0
88
Member Avatar for Nareshp_123

Hi I need to make application similar to excel sheet .like i have 4 columns where in (1 row will be static to display header) and below 1 column will have a dropdownlist and remaining 3 columns are textboxes user should be able to add as many rows as possible …

Web Development asp.net
Member Avatar for Nareshp_123
0
170
Member Avatar for dgarbarino

I am looking for the easiest way to set up a table on a page that needs a password to see. The table needs to be able to be sorted by clicking the header of the column you choose. Alternately, or inclusive I would like to search for data on …

Web Development php sharepoint
Member Avatar for jenishkottaram
0
93
Member Avatar for AnzJ

Hi, Can anyone tell me if it is possible to edit the native web-parts that come with sharepoint? if so, where do i find the code for these webparts? I would ideally like to make a copy, and edit that to provide extra functionality. The webpart in question is the …

Web Development asp.net sharepoint
Member Avatar for AnzJ
0
93
Member Avatar for jay64

I contacted the host of my project for a problem I was having with inserting data from a form into a db on their server. One of the answers they gave me was: [quote]...for future reference, never declare a prefix, always leave this option blank.[/quote] I understand what a prefix …

Web Development php
Member Avatar for jay64
0
1K
Member Avatar for scru

Is there a mechanism for counting requests to specific files on a server. What is it? Also, what if the file is not php? What if I wanted to count how many times an image or xml feed is requested? How do I do this?

Web Development php xml
Member Avatar for w_3rabi
0
113
Member Avatar for amylawson

Hi, i am very new to php so please forgive me if i sound stupid.i have a tell friend php code [B]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>iTell from urQuiz</title> <style type="text/css"> <!-- .style2 {font-size: 12px} --> </style> </head> <body> <form action="<? echo …

Member Avatar for nav33n
0
134
Member Avatar for ybn1197

PHP newbie here again looking for some more help. I am trying to create a html table using information queried from a database. I would like three columns and the number of rows would be dynamic based on information gathered during the query. Briefly, it would look like: picture1 | …

Web Development html-css php
Member Avatar for Nick Evan
0
851
Member Avatar for thanigaimani83

Hi guys I can used arraylist.I want to use that arraylist values in many places of my pages .. i putting arraylist values in session state . if my page is postback that arraylist getting values are incorrect,until page is not postbak arraylist getting correct value. whats problem in page.. …

Web Development asp.net session
Member Avatar for shaulf
0
77
Member Avatar for miguel40

How can I put "text" directly next to a variable in a URL? My variable is $bandodd. It will have a numeric value. In the resulting URL, I want the value of $bandodd to be right next to the text - "AA" - so it will look like this: "?size=32AA" …

Web Development php
Member Avatar for nav33n
0
102
Member Avatar for erichn

I am stuck to know how to design a database for an asp.net 2.0 project. I have a table with many fields. In addition to all the other fields (mainly text fields) I would like to keep track of 4 values: alt, sy, LaF, ord. Any combination of these values …

Web Development asp asp.net database-design
Member Avatar for erichn
0
98
Member Avatar for tony.willson

We struggle to come up with a decent error handling function. I thought that I use a global variable $live to easily make a switch from testing to live. I will keep the function in an include file. I kind of got there to print a "user-friendly" message when the …

Web Development php
Member Avatar for hielo
0
104
Member Avatar for dotNetDummi

Hi experts, I need a validator in my gridview. When the user update a field in the gridview, I need to check if the email is valid. How can I do that? Below is my gridview. Please help. Thanks! [CODE]<asp:GridView ID="gv_retrieve" runat="server" AutoGenerateColumns="False" CellPadding="3" ForeColor="Black" GridLines="Vertical" Width="751px" OnRowEditing="gv_retrieve_RowEditing" OnRowUpdating="gv_retrieve_RowUpdating" onRowCancelingEdit …

Web Development asp asp.net
Member Avatar for dotNetDummi
0
106
Member Avatar for DaitoTsu

Hi again, This time am outputting some html using a switch statement, but the outputted html code is not acting as coded, seems a very strange error as in both the case statements (first and third) its plain html but the link is just not acting correctly, but the main …

Web Development php
Member Avatar for DaitoTsu
0
85
Member Avatar for ryy705

Hello, I need to create dynamic consent forms, meaning the admin should be able to upload a file and the visitor should be able to read the file and then hit the consent button. I don't have any experience with this. I don't see any such example in my text …

Web Development php
Member Avatar for ryy705
0
137
Member Avatar for Taffd

Hi everyone, Can anyone tell me the security issues when passing url parameters for a forum. I'm building my own forums using dreamweaver and as I understand it, using url parameters make the site susceptible to sql injection. Regards Taffd

Web Development php
Member Avatar for nav33n
0
102
Member Avatar for AskLeo

I have a client who's attempting to support a file upload script on several servers. All appear to have PHP configured with file_upload turned on, however *some* act as if it's not. This is an area I've not got a lot of experience in (yet) ... Any hints on what …

Web Development client-server php
Member Avatar for Dsiembab
0
329
Member Avatar for smilyswapna10

how to disable the parent window when we open the child window. i have written this code but its working only one time.any one can help me s.html <html> <head> <SCRIPT > function popuponclick() { my_window = window.open("p.html", "mySelect", "status=1,width=750,height=450,resizable=no"); } </script> </head> <body> <form name="formSelect"> <P> <A HREF="#" onclick='popuponclick()' …

Web Development javascript
Member Avatar for ~s.o.s~
0
225
Member Avatar for johnson7767

I am working on this program that will show interest in an account for each year for 10 years. I want to click on a button and it display the interest for each year for 10 years. The box shows up but the calcuations do as well. It all comes …

Web Development javascript
Member Avatar for ~s.o.s~
0
175
Member Avatar for chauhansanjiv

Hi Frnds, Can Anyone tell me, how can I , [B] Change the BACKGROUND color of selected text in TEXTAREA[/B] sanjiv

Web Development javascript
Member Avatar for MidiMagic
0
107
Member Avatar for HailttRedskins

I got the coding for uploading files to my website throug a simple browse option off a page. I choose the file upload size to be 150mb, but it wont allow anything under 10mb it seems. I am real good friends with my host, he told me something like, it …

Web Development file-system php
Member Avatar for Dsiembab
0
165
Member Avatar for johnson7767

I am not a computer programmer but have an assignment that involves javascript. I need a program that will display the interest in a savings account if I deposit $1000 at 5% interest for 10 years. I need it to show the interest each year for each of the 10 …

Web Development javascript
Member Avatar for hielo
0
130
Member Avatar for javan96

hi i want to integrate my gallery with my phpbb forum. i have some instructions that came with gallery1.5 but i don't know how to do some of the steps. here is the instructions. this a very little description what you have to do to make Gallery >=1.4.3 work with …

Web Development php phpbb
Member Avatar for javan96
0
127
Member Avatar for jay64

Ok, I thought I had gotten all the answers I needed and marked my thread as solved. But now I am having problems trying to put the code into use. I tried to insert the data from my form into my data base and got an error message. I obviously …

Web Development mysql php
Member Avatar for jay64
0
390
Member Avatar for jay64

I have an html form from which I am trying to insert the data into a MySQL db. I have heard that the date needs to be in a specific format for inserting into the table, I believe it was YearDayMonth (20070612) Is this true? Because of that, I broke …

Web Development php
Member Avatar for TopDogger
0
105
Member Avatar for ruman_eee

hi everyone, I am in problem to get the array data from php to use it in js. $data[0]=88; $data[3]=44; $data[4]=2232; I want to use those data in js. Can anyone help me ??

Web Development javascript php
Member Avatar for adorosh
0
112
Member Avatar for jay64

Ok, I am trying to insert the data from a form into a table on my MySQL database. I have been going through some tutorials on how to do this, and have found slightly different answers. I'm assuming that they both kind of do the same thing, but what would …

Web Development php
Member Avatar for jay64
0
103
Member Avatar for mortalex

Hey guys, I'm trying to write a peice of code that basically checks if the input field have been submitted, it is an update code so I have designed it so that when the user clicks "update" another page displays saying "well done object updated". However when i do this …

Web Development html-css php
Member Avatar for Dani
0
159
Member Avatar for toddalan111

I own a website build in .net and I want to make simple changes, including pictures, headlines and nav bars, from time to time. What software do I need. I have used Contribute (CS) on other sites (.php) I am involved with and it provides a visual reference while making …

Web Development asp.net
Member Avatar for alc6379
0
113
Member Avatar for greeny_1984

hii, can any one guide me to buy which book for asp.net 2.0. i heard of two books step by step and other programmer to programmer by wrox any have different suggestions iam not a newbie ,i have some exp in asp.net with vb r there any ebooks on asp.net …

Web Development asp asp.net
Member Avatar for alc6379
0
113
Member Avatar for Dennis_Phils

Hi Guys... I'm having problem with XML transformation. I have this code where I click a link that will open a new window that is referenced to XML. It works fine in IE but in Firefox, a new window is opened and the contents are not displayed. Here's a code …

Web Development xml
Member Avatar for hielo
0
503
Member Avatar for kings

hi, i am new to java script but my code is not working...please do tell the error in my code <script language="javascript"> function validateform() { valid=true; for (var i=0; i < document.userdetails.elements.length; i++) { var element = document.userdetails.elements; switch (element.name){ case "cname": if (element.value.length==0) valid=false; break; case "address": if (element.value.length==0) …

Web Development javascript
Member Avatar for hielo
0
103
Member Avatar for vardhani

i am new to php.... please send me a code tat will help me create a form n direct it to my home page and send the information of the form to my email

Web Development php
Member Avatar for vardhani
0
144
Member Avatar for kingflux

Hello, all-- Our ASP.NET 2003 app's primary screen uses a datagrid with clickable headers for sorting by column. There is a "user control" with two list boxes from which the user filters the datagrid rows. I added a textbox in the user control -- changed nothing else* -- and now …

Web Development asp asp.net dataset
Member Avatar for alc6379
0
135

The End.