4,124 Topics
![]() | |
I want to undestand how session arrays working. can u explain below code please. $_SESSION['ddc']['price'] I want to undestand what is doing in ['ddc']['price'] . Are they separate arrays or 2-D arrays. ![]() | |
I'm trying to rename a file uploaded to the username of the logged in user. I can't seem to figure it out. I'm trying to mimic how I got the username and details on my profile pages. The pictures are uploaded to a folder, not a database. Here's my uploads.php … | |
Hello, I am attempting to to make a PHP application that is a basic online banking service. Everything is working fine separately, however for some reason I can't reference the username that is logged in on pages such as transaction and bill pay page. Here is my code for the … | |
![]() | Hi all, I've been developing a GoogleCal app for a month or so in my spare time. I've ended up with a shed full of session variables, just so I can keep all the data alive and create an import file for GoogleCal at the end of the process. I … ![]() |
hey people i wrote this code and i got a problem , i cant register a session . this is the login form : [CODE] <?php if(!isset($_POST['username'])) { $title = "- signin"; include "header.php"; include "nav.php"; ?> <form action="" method="post"> Username :<br /><input type="text" name="username" size="70" /><br /> Password :<br … | |
Hello Guys, I have an upload button (ajax) that allows users to upload multiple files to a temp directory. I am trying to figure out a way to have php/ajax count the amount of files and when it reaches say 5 images that the upload button disappears. I do not … | |
I have having a problem with a script I have wrote for resetting a members password Basically it checks to make sure the user has entered all the fields in the reset form, then it checks that the email they have entered is the same one they login with, then … | |
HI all, Normally I've been lucky to find someone who has had the same problem and applied their solution but after hours of searching I'm not able to find a solution to this one. I've got a FormView which is default mode set to Insert. When the page is loading … | |
I am kinda new to asp.net. I used asp backing flash for most of the site work i have done, but I have shied away from flash and I am having some issues understanding asp.net membership. I am currently using the web.config file to set the credentials for forms authentication. … | |
Hello Frnds, I have an application developed in ASP.Net(C#) and MS SQL, its working fine and fulfilling the requirements. Now the problem is I have a [I]MS Access Database[/I] from where I have to read some data and feed it into ASP.Net form and then save it to [I]MS SQL … | |
Hi There, I am a bit of a PHP newb :P I have developed a multi-page form which works fine at the moment - each stage is on another page (I use the session to retain the data). However I know that users don't always use these forms the way … | |
![]() | Hi, I'm having a problem where I set a session after checking login details, and then change the section respectively via ajax. The problem that I've noticed is that the session is only set once the page is refreshed - I was wondering if it would be possible to set … ![]() |
We have an oscommerce cart installed on a client's site. It uses authorize.net, and clients are seeing an error after submitting their order. The order however is going through. This is the error: Warning: Cannot modify header information - headers already sent by (output started at /home/altovine/public_html/oscommerce/includes/modules/payment/authorizenet_aim.php:921) in /home/altovine/public_html/oscommerce/includes/functions/general.php on … | |
I was recently posting information and using $_GET to move between pages. However, becasue of security concerns, I have to change this. How do you pass a SESSION variable to a new page from an array. Here is what I used to have [CODE=PHP] while($data = mysql_fetch_array($result)) { echo '<a … | |
I have a page builder that I have built. One of the form fields is for creating a filename for the page being built. This was working correctly until a few hours ago and for the life of me I cant figure out how it got messed up, nor what … | |
in the update query its giving an exception as [B][COLOR="Red"]Operand data type varchar is invalid for subtract operator[/COLOR][/B] so pls help me how to solve this [code] da7 = new SqlDataAdapter("SELECT item_name, item_quan,item_cat FROM c_item WHERE (item_name = '" + fname + "') AND (item_cat = '1')", con); da7.Fill(dt7); string … | |
i need to bounce a problem off you guys that is driving me crazy i made a php login with sessions it logins in fine then as soon as i switch pages it loges me off and i did echo the ssid out and the session id does change on … | |
I have a login page, which directs to Verification.jsp Login.jsp [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <body> <form action="Verification.jsp" method="POST"> <fieldset> <a rel="nofollow">FreeLancer? Sign up!</a> <br/> <input type="radio" name="r1" value="Admin" checked="checked"/>Admin<br/> <input type="radio" name="r1" value="Editors"/>Editor<br/> <input type="radio" name="r1" value="Staff"/>Journalist<br> <input type="radio" name="r1" value="Staff"/>Reporter<br/> <input type="radio" name="r1" value="Freelancers"/>Freelancer<br/> … | |
![]() | Hi Everyone, I've got an online form that is broken up into several different sections and some of these sections will ask questions where multiple values can be supplied. For instance someone's address or information about their education. Just for simplicity I'll focus on someone's address and I want to … ![]() |
Hi all! here i m posting my Servlet page code by using which i retrieve blob data from mysql website, but my problem is that i have to display this data to a textarea on other jsp page. Anyone can help please, its very urgent.... [CODE] /* * To change … | |
Hi, how can i count the users online on site? followed this guide [url]http://www.stardeveloper.com/articles/display.html?article=2001112001&page=1[/url] but i would like something that updates every 5 minutes and destroy the session when a user logs out | |
[code] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class TeleCare : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } protected void Menu1_MenuItemDataBound(object sender, MenuEventArgs e) { //if (HttpContext.Current.User.Identity.IsAuthenticated) //{ // Users user; // if (Session["Users"] == null) // { // Session["Users"] … | |
The problem: My Sony DRU-842a is not working it will not write the Ubuntu ISO I want to burn. My pc is a dell dimension 2350.(old as heck i know but it gets the job done)I have put in sony cd/dvds and memorex as well. I am getting frustrated. The … | |
Can someone help me insert a "white list" in this code? i already have a black list in it but thats pretty stupid when i only want these extensions; 'jpg', 'gif', 'png', 'bmp', '2bp', 'abm', 'afx', 'apd', 'art', 'arw', 'avatar', 'bm2', 'bmc', 'bmf', 'cal', 'cals', 'cam', 'can', 'cd5', 'cdg', 'cdg', … | |
I'm supposed to modify this method ([url]http://pastebin.com/6xF1pN51[/url]) to this (translated): "A faster algorithm to compute the average can be done by looping through the entire image in two passes in each session and make a one-dimensional mean value. In the first pass compute the mean value of the y-axis (one … | |
Hi all, I want some inputs from you on the following issue. I have two drop downs on a jsp page.On the selection of the first drop down the page will get refreshed and the second combo box will be loaded regarding the selection of the first drop down. Now, … | |
![]() | Hi, I am new to PHP and I would just like to know: Is there a purpose for cookies if you handle sessions with the database? I've been reading about cookies and trying to understand how they would be beneficial if I had sessions handled by the database, and I … |
I am working with jsp web project now.... In that If some user login with their own login id and password, it shoule be redirected to their own home pages... i have already done this.. but if some time their own home page is idle, it should be displayed as … | |
Hi Please help with the following. This is my code: [CODE]<%@ Page Language="C#" Debug="true" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Configuration" %> <%@ Import Namespace="System.Xml.Linq" %> <%@ Import Namespace="System.Data.SqlClient"%> <%@ Import Namespace="System.Data.OleDb"%> <html> <head> <title>Session Page 2</title> </head> <body><p>ASP.NET C# session page 2</p> <p>first name: … | |
Hi guys, I have my code and it works of filtering data by Month and year.But it seems i got a problem when using accordion. i am kinda stack of it. Can anyone please help me out? This is my codes. [CODE] <link href="../_css/getpinoy.css" rel="stylesheet" type="text/css" /> <script src="../_utility/loadFlash.js" type="text/javascript"></script> … | |
Here's a snippet of my code: [CODE]<? include("include/session.php"); //include("forum/global.php"); $con = mysql_connect($dbhost,$dbuser,$dbpass); $time = time(); $date = date("Y-n-j H:i:s"); $ip = $_SERVER['REMOTE_ADDR']; $email = $_POST['email']; $lastname = ucwords($_POST['lastname']); $firstname = ucwords($_POST['firstname']); $firstinitial = $firstname[0]; $username = $firstinitial."_".$lastname; $pass = $_POST['password']; // MYBB function generate_salt() { return random_str(8); } function salt_password($password, … | |
Hi, i'm a newbie here, I was confused when i try to create multisession Socket Server which can provide logged based system, please somebody who knows the solution, help me to solve my problem... thanks for all...:$ | |
Hello everyone, I am trying to understand this concept but its truly confusing. I know that javascript is not server side, but I would like to have an effeicient way to retreive a sessions' value, please inform of any methods, I have tried the following <script> var MyClientSideVar = <%= … | |
What is the proper way to use sessions? I have a forum on my site which I've coded from scratch but I've not been using sessions for the users and instead I've been using just cookies to determine if they're logged in or not. I know my current way isn't … ![]() | |
Hey guys. Well I'm getting that irritating warning on my site when loading up a specific page. [CODE]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/d6ayr7/public_html/webdevelopment.php:1) in /home/d6ayr7/public_html/masterpage.php on line 2[/CODE] I've encountered and solved this problem before by moving session_start() to the … | |
Hi, In a login.jsp page, I logged in by a user. Now by pressing the back button we can move to the login page also. If I log in this time by different user then old session getting reflected. How can I invalidate a session when we move to the … | |
Hello there, first of all hi everyone, this is my first post here. i'm pretty new to PHP but i do know enough about programming to understand advices at any level. Here is my question: I've done a login algorythm which is working fine, everything is managed by an idex.php … | |
Hi. I purchased some software recently but have been unable get any helpful product support with the following problem, because it's a coding matter, I guess. The purchased software is for a PayPal subscription management system, and it relies on user verification by way of a username (email address) and … | |
Hello Everybody, Right, so I would like to see whether I can store a string in my session and send that over to my database. For example, in a function that I have produced, I would like that function to return a string called "first step", I would like to … | |
OK, so I've read that it is possible to use session variables across multiple sub-domains and domains by placing the following in the .htaccess file on each of the prospective domains: php_value session.gc_maxlifetime 14400 php_value session.cookie_domain ".domain_name.com" where domain_name.com is the domain where the session was initiated. I know this … | |
I have a problem that needs fixing How do you get all open tabs shown in a KryptonListbox My fail attempt : TabpagesHtml.Items.Add(Form1.SuperKryptonNavigator.Pages.Item(0)) : :@ | |
[url]http://www.mycircle.freevar.com[/url] This is my website. Whenever a user logs in using correct username and password, a field(flag=1) in the database is updated to show that the user is online(for chat). When user logs out, it is set to flag=0 to indicate offline. This works properly. Consider the situation. The user … | |
Hi, I have created a simple shopping cart using session array, selected products are stored in the table. So far I have no problem! I wish to remove (using x) individual product from the table/array, but I cannot access it. Is anyone SESSION expert who can help? Thanks in advance! … | |
My name is Dennis, currently im doing my final year project for a system called " Records Management System" I'm using xampplite localhost phpmyadmin as my database SQL server. i face a problem in my system that shown a message: "Warning: Unknown: Your script possibly relies on a session side-effect … | |
Hello, I am having some problems with IE and Opera browsers not displaying all my form select boxes, for example: Firefox (Working): [img]http://img577.imageshack.us/img577/6810/firefoxk.png[/img] Internet Explorer: [img]http://img600.imageshack.us/img600/7190/72404597.png[/img] My upload page: [code]<?php session_start(); error_reporting(0); require '../includes/functions.php'; require '../includes/mysql.php'; require '../theme.fol.php'; loggedinorreturn(); stdheader(); block_begin("Upload Torrent"); if(isset($_POST['submit'])) { $target = "../files/"; $target = $target … | |
I have searched the forum and Google but there was nothing that would give me a clue what's wrong with my code. I'm just starting PHP and I'm trying a few things. :) I have a page with login. Logging in works wonderfully, storing sessions with username does too. However, … | |
Hi, I do not know how to pass parameters using soapclient with call method in PHP. ---------------------------------------------------------------------- [B]Description:[/B] This command is used to authenticate the user. Most of the biz functions require authentication in order to function. If the session is already logged in then a subsequent successful login will … | |
Ok so i have this login form with session and cookies, how can i redirect the user to another page if the user fails to login after three attempts, and hitting the submit button at anytime is an attempt,does using SESSION come into play here?, your help is greatly appreciated. | |
Hi guys, I am using following code for sending out confirmation email after successful transaction to the user. But, I users are not getting any confirmation emails. Can somebody help me out here. May be I am doing wrong in "$to" function as $sender_email is at previous form, So how … |
The End.