3,454 Topics
I'm looking for a php/mysql customer service module that will do two things: [LIST=1] [*]manage user login/session without self registration [*]allow customer to download document packages in pdf [/LIST] Our customers are overseas. We want to provide documents to them online to save document shipping costs. Ideally, I will provide …
Can anyone explain the concept and guides and show some codes as how one does use only signup.php only for getting different information only by passing at the example: first page: [COLOR="Green"]signup.php?fer=1[/COLOR] Example: Username: Password: [Button:Save AND Next] next page sequence: [COLOR="Green"]signup.php?fer=2[/COLOR] Example: Please Input Your Personal Information: Address: Zipcode: …
Hi, I'll explain my problem so you could picture it clearly. I do a complex query to fetch some information from the database and the problem is that the query takes some time. Fortunately, the result of the query doesn't change often, so I thought of a solution to store …
import javax.mail.*; import javax.mail.internet.*; import java.util.*; import javax.activation.*; import java.io.*; public class SimpleSender { public static void main(String args[]) { try { String smtpServer=args[0]; String to=args[1]; String from=args[2]; String body=args[3]; send(smtpServer, to, from,body); } catch (Exception ex) { System.out.println("Usage :\njava SimpleSender server to from body"); } System.exit(0); } public static …
Hi what i want to do is create a session scoped bean in my servlet and also get the values in that same servlet i have created a bean in my servlet with a session scope(not sure if it really is in session scope) using this code: [CODE] HttpSession session …
Hi! I'm trying to create a page with dynamic controls, and I'm having difficulty wrt the liffe cycle. The page has some static controls, but also a table which has dynamic rows, cells of which contain dynamic controls, including a DropDownList. The idea is that the page has an "Add" …
Hi i have a code that runs really well.. unfortunately im really new and to get to here was also quite time consuming.. however i am on a short time line now and need help fast!. can someone please tell me how i can get my page to list results …
I have a web page which I can login to with a user name and password and when the page reloads of the first time after the signin the session loads and has my status correct but just navigating to another page (all done through the same php file with …
[CODE]Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/car/publ/testing/detail.php:1) in /home/car/publ/testing/detail.php on line 2[/CODE] i'm getting this error.i dont have any empty whitespace in my code. [CODE]<?php session_start(); ?> <html> <head></head> <body> <form> <?php //code ?> </form> </body> </html>[/CODE]
Hi, I have created a ASP.net webservice. This web service will be called from SAP XI. This web service works fine if it is invoked once. But when it is invoked multiple times with the existing session is on then i am getting the following error for some transactions [B]System.InvalidOperationException: …
Hi, I wish to save value entered by user in textbox in a session variable.my form contains many elements and i need to navigate back and forth.so i want to save the value once entered by the user in a session variable so that i can retrieve it and display …
hi all.. i had this problem when i click submit at a form..this things comesout [B] Warning: session_start(): Cannot send session cache limiter - headers already sent [/B] but the data submitted available in db table. whats the error actually??? fyi,this mini system have login..but for the form,i didn't set …
I have what I thought was a basic form with multiple text boxes and one select box. The form submits and info is updated in a database. However, it fails because of the select box. The select box is automatically selected to the user's organization if they have one. The …
Hello To Every One I have transformed xml document using servlet now i need to know how can i transform xml document using jstl. I have found this code very often but it doesn't work with a relative or absolute url. I need to pass parameters dynamically. [CODE]<c:import var="xml" url="<%=xmlFile%>" …
Hi, I am trying to use sessions to display information from one page to the next one but I am having the following problems. Could anyone plz help me??????????? Here is my code: <?php $pnm1=$_POST;/////////name of text box from previous page include("db_connect.php"); $sql="SELECT * FROM new_party WHERE party_name='$pnm1'"; $result=mysql_query($sql); $count=mysql_num_rows($result); …
Hi all, I am not able to get the session in IE.Its Working Fine in Mozilla.I tried a lot to Overcome this Problem.Session registration was Successfull.After Successfull login i am redirecting to some Other page.Here Session is Not Coming.Anybody can help me for Doing this? Rajeev
[B]When i try to extract the data from a datbase and display it in text area i get the following error message inside the text box:[/B] [code=html]<font face="Arial" size=2> <p>ADODB.Field</font> <font face="Arial" size=2>error '800a0bcd'</font> <p> <font face="Arial" size=2>Either BOF or EOF is True, or the current record has been deleted. …
Im getting a NullReferenceException when I goto add a product to my cart, i get the error when i come to this part [CODE]cart.AddProduct(productnumber, name, price, prodQty, knobColor, finishColor)[/CODE] I use extremely similar code in another one of my projects and do not come across this problem, I have also …
Hello, I had a login page developed in asp(not .net), in which if user login details are OK, then usercd and other details are stored in session. Now, I had developed one page in .net (aspx.cs) in which I want to access usercd defined in session variable(on asp page). How …
Hi, I have a problem in catching window close event in safar. If the user close the browser window without logging out, i have to invalidate the session. The problem is that , how to catch the window close event in safari? Unload cannot be used, since unload will be …
when i'm passing value through $_SESSION in frames first time i'm not getting value.when i execute second time i'm getting value.why the values are not passing first time.
Is there a difference in handling between Session.Add("SOMETHING","somevalue") and Context.Items.Add("SOMETHING","somevalue")?
Hello does anyone know how to bring details from a database into a textbox? becuase ive got the login working and it displays whos logged in but i want the postcode to appear in a textbox, the postcode is kept in mysql table called address. /after connecting to mysql [code=php]$query …
[CODE]<?php session_start(); if(!isset($_SESSION['un'])) { header('Location: web_login.html'); exit(); } else { ?> <html> <body> <?php print "<table align='center'><tr><td>Thank u</td></tr>"; echo $_SESSION['un']; print "<tr><td><a href='http://www.examples.com/fram.php'>View Order</a></td></tr>"; print "<tr><ta><a href='http://www.examples.com/web_job.php'>Search </a></td></tr>"; print "</table>"; } ?> </body> </html> [/CODE] when i execute this code even though my $_SESSION['un'] is present in the database it's …
i have a table displayed with bookisbn , booktitle and bookauthor etc..in which i have to make the bookisbn column values as hyperlink to a page name bookinfo.jsp which will diplay all copies of the book under the clicked isbn number . i am attaching the code below: {code viewbooksforsale.info …
Hello ive got a login form and when each person log's in i want there details to appear automatically in textboxes what kind of code do i require?? is it sessions not sure, there details are stored in a table called students in mysql database table :)
Hi, I have got a login page whose code is as follows ... [CODE]<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/testing.asp" --> <% ' *** Validate request to log in to this site. MM_LoginAction = Request.ServerVariables("URL") If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" + Request.QueryString MM_valUsername=CStr(Request.Form("EmailAddress")) If MM_valUsername <> "" Then MM_fldUserAuthorization="" MM_redirectLoginSuccess="/pass.asp" …
is it possible to alert session variable.is the syntax is correct... [CODE=php]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login() { alert($_SESSION["un"]); } --> </SCRIPT> </head> <body bgcolor="#f1f3f3"> <form> <?php print "<input type='submit' value='submit' onClick='javascript:login();'>"; ?> </form> </body> </html>[/CODE]
i created a databases with name,lastname,username,password,email,country and proffesion. Also created a registration form. apart from from i also created a Login Form in which only username and password. Now I need when Someone is logen in To view all of his Datas supplied while registering. How can i Do this?? …
how can i set limit to my sessions in php so that if a page remains idle for certain time, the user is logged out?
Hello i created this and i dont know how to debug it because when ever i create a script the part i hate is teh debuging so can some one please help me out and thank you very much --> [code=javascript] <HTML> <HEAD> <TITLE>JSP Debugging</TITLE> </HEAD> <BODY> <% import java.io.*; …
Hello i want 2add the name of the person who logged in at the top of the page, but the name comes from a SQL database called details, but the username and password is kept in another table called member they both are linked by id, this code below luks …
Hello to every one !! I m working on asp application . and i embed 3rd party Newsletter in it, when user log in in the system ..the session created and when user click on Newsletter page.it redirected to first page of newsletter applciation. ..but i need to check..if the …
Hello ive got this code of the net just wanted some1 2check it 2make sure, also ive got these two peices of code the ones ive highlighted them in red, but dnt understand wa it means by saying put this code in first line of web page any ideas, ive …
hi all my login is working,but when my url of the third page is typed it is displaying .i want to autheticate using session but it is not working z-login(1st page) [CODE] <form name="form1" method="get" action="z_login1.php"> User Name<input type="text" name="myusername" style="width: 10em;"> Password</strong></td><td><input type="password" name="mypassword" style="width:10em;"> <input type="submit" name="submit" value="Login"> …
i need some advice.. I am doing a login function, which the login page (which contains session) was in aspx. After successfully login, the user will be redirected to a html page (which i want to retrieve session from the login page). After the session expires, the user will be …
i need some advice.. I am doing a login function, which the login page (which contains session) was in aspx. After successfully login, the user will be redirected to a html page (which i want to retrieve session from the login page). After the session expires, the user will be …
I not a real user of Linux but have used Knoppix live cd ,I burned Puppy to cd boot to it and then made a dvd multisession folling instructions on the link below .,I liked it a lot,still fooling with it from time to time [url]http://www.goosee.com/puppy/multi-puppy.htm[/url]
just wanna ask..if session cant be use, i try setcookies() to get the variable pass through the pages, however i get this error message: Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\VertrigoServ\www\logincheck.php:2) in C:\Program Files\VertrigoServ\www\logincheck.php on line 3 i put setcookie($username, time()+3600); right …
hi...i am doing form for bill redemption, and juz wanna ask is there any function in php used to check for expired date? like current month is march, if user enter due month to be january, then it will be invalid. Any function to detect current date? By the way, …
During the webpage posting to the server, the textboxes,the uploaded files is cleared(because the server recreating the webpage,my solution to this problem is storing varibles values in session varibles and retriving the varibles values after page recreation...I want some webdeveloper to confirm me the correctness of this solution or advice …
hi, i want to send e-mail using jsp. when i run my code no error is shown but the message is not sent to email address. here is the code [code=html] <html> <body> <form method=post action="aa.jsp" > sender<input type=text name=text1><br> Reciever<input type=text name=text2><br> Subject<input type=text name=text3><br> Message<textarea name='area1' rows=5 cols=30> …
hi Im doing a website at the moment, basicly its like; bebo, myspace sort of style style (but franticly reduced in users). I would like to know how to hold the time in which users have signed on so i can include a "last active" box for other users to …
I have a small problem with this select box. This one loops out [year-month] in 12 month periods starting from the current month. When a selection has been done, a month value is sended back to this select box so that the selected month then stays selected. That works, as …
Hello Frds, I have a doubt regarding Querystring, Actually my requirement is, I have a report page which contains the print option. If we click the Print then the same data will be visible accoring to the main Page. In the mainpage two textbox and a dropdown is there, after …
I have an example the [I]x.java [/I]is a servlet which is being called by a jsp.-(may be a.jsp b.jsp ...any one) If i need [I]to get the name of the jsp [/I]- I have to find the solution without touch the base files(can't use the session trackers or any other …
HI All! m very much new for designing Database. Actually i want to draw use case for my project. m developing the site consisting of questions,Answers session , than video/Podcast, etc. as this daniweb site is working m having different categories and all that. but basically i want how to …
Hi, I'm having a problem where by when i type in e.g localhost/capat/tutors/forms it gives me what i want but the side menu which has the links directing to other pages isn't what is meant to be there. The link i have for all the tutor pages is showing links …
I am updating a site for a company. The site was at one time working, and has since been pulled offline. All the php, js and .sql files were sent to me and I should have just been able from the beginning to load and run the site. unfortunately this …
The End.