52,566 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 | |
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 … | |
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) … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
I am writing some code to create a google base feed and I need to remove all of the ®, ™ 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 | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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? | |
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 … Web Development apache html-css php windows-server xml | |
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 | … | |
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.. … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
Hi Frnds, Can Anyone tell me, how can I , [B] Change the BACKGROUND color of selected text in TEXTAREA[/B] sanjiv Web Development javascript | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 … |
The End.