4,124 Topics
![]() | |
[CODE]Guys I've a problem. I'm using access 2007. The file name has an extension .accdb . I created a table called 'login' in the db file named 'MySite_Database.accdb'. My HTML looks like this : [COLOR="Red"]<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="login.aspx.vb" Inherits="login_to_site._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html … | |
hi all. im looking for a tutorial or a guide to code php script for login access for mutiple use types for eg. guest member staff admin do any any of you have any tutorial or guide me through it. i know basic login creation and mysql data handling. another … | |
Hello, I have a bit of explaining to do so please bare with me. I am developing the backend of a site and it has a log in feature. I have separated all of the functions of the whole back end into classes: clients, users, ads, database, and security. I … | |
i can vncviewer and vinagre from the local machine and that makes sense... cuz its that machine... but whenever i ssh in i cant run it remotely and it seems to me that would be the point... ssh -X -l <user > <ip> is the command i use to get … | |
I couldn't register php session from mysql query. Can you tell me what is the correct method to register php session in mysql field. I tried many ways. Still no solution. [CODE] $sql=("SELECT email FROM people"); $result=mysql_query($sql); $email = mysql_fetch_array($result); echo $email['email']; //could not register this way session_register("$email"); [/CODE] | |
Hi. I am making a chat program. In the index.php file, I create a session 'session_username'. I use ajax when someone chat, so I send the message to another php file. That php file should get the session_username session and write that + the message to mySQL, but there are … | |
![]() | Hello, I am worcking with a login script, and everytime i am trying to log on, I we get my error messege "inncorect password!" And everythning is okay! Can somebody pleas cheack it? [CODE]<?php include 'connect.php'; $session_username = $_SESSION['username']; if ($_POST['login']) { // Får dataen fra databasen. $username = addslashes(strip_tags($_POST['username'])); … |
Hello All, I'm wondering if someone may help me interpret the report that Windbg has generated? This box doesn't crash very often, but it seems to if I really drive the CPU. If I'm making a dvd file from an avi which I often do with DVD flick it nearly … | |
Can somebody pls explain me this error that I am getting when I try to run my web application on Tomcat. java.lang.NullPointerException business.Cart.addItem(Cart.java:27) cart.CartServlet.doGet(CartServlet.java:49) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) The code for the Cart.java is [CODE]package business; import java.io.Serializable; import java.util.ArrayList; public class Cart implements Serializable { private ArrayList<LineItem> items; public Cart() { … | |
Hello! I want to continue a session even after the browser was closed. What I want to do is to remember the host, username, password, of mysql. Whats the trick? | |
In my ASP.NET project i have 3 web forms. Login.aspx, Signup.aspx and Default.aspx. I'm using Custom Membership Provider for the login and signup controls. When a user logs in a sessions is called. How can I save all the session variables and values into MS SQL and that particular user's … | |
Does AJAX(javascript) have user session functionality? I want to use AJAX PHP and MYSQL to dynamically update my static HTML page. I have got an example to work where I push and pull data out of an HTML page using AJAX, but now I want to break it up and … | |
[code] <?php include("conn.php"); include("session.php"); ?> <html> <head> <title></title> </head> <body> <form action="user.php" method="post"> <table border="0" align="center" width="100%"> <tr> <td align="center"><a href="editevent.php">Edit Event</a></td> <td align="center"><a href="addevent.php">Add Event</a></td> <td align="right"><a href="logout.php">Logout</a></td> </tr> <tr> <td colspan="3"><b>List of events</b></td></tr> <?php $str="SELECT * FROM eventdesc "; $res=mysql_query($str); if(mysql_num_rows($res)!=0) { while($data=mysql_fetch_array($res,MYSQL_ASSOC)) { echo '<tr> <td>'. $data['eventdesc'].'</td> … | |
Hello all - I'm having some trouble UPDATING my mysql using php. I'm working on a event planning system; the user can click on the company to see a small report that has some areas which must be editable (payment status, etc.). I get these values into a form to … | |
I have installed a software program and i am not able to call it out : Here is the error message which i do not have any clues of as i am non IT literate , that's why i come to this forum . Warning: include(../config.php) [function.include]: failed to open … | |
Hi I have a session variable I wish to display in the title of a web page. This works well with IE. However, when I switch to Firefox it only works when viewed from my personal server. And not when I view my page when I go online using Firefox. … | |
Hey GUys, im trying to include a file inside my template. My code: [CODE=jsp]String get_act = null; get_act = request.getParameter("act"); boolean loggedin = (session.getAttribute("logginname") != null) ? true : false; if( loggedin == false && get_act != "login"){ out.write("Redirecting<br>"); response.sendRedirect("?act=login"); }else{ String include_page = null; include_page = get_act +".jsp"; %> … | |
Hi, This is my first web application. I've problem in accessing my web page through IIS. Before going to my issue, let me explain about the process of my project. I've totally 4 pages in my prjt ( page 1, a,b,c ). In page1 i've a IFrame where i load … | |
The above classes provide an interface for reading the PHP session data. PHP alone only gives you access to the current users session. This class allows you to read all session files, and thus allow you to read session data across different users. This may be useful if you want … | |
i set cookies to expire at session end by just leaving time out. this works fine if i close the entire browser. but if i just close the tab w my script on it it doesn't expire cookies. I really would like for them to expire even in tabbed browser. … | |
Hi All, I have a problem in getting this update form to work. The query to call the record works fine and when clicking submit it redirects correctly and echo's (record updated) but the database is not updated. When i change the value variables in the update script it correctlu … | |
Hi, I am using xampp in xampp->tmp->[COLOR="Red"]sess_jp7bfpqaritm9ta8h3b5n40df1[/COLOR] In this file some session data,html and mysql query are written. Can any one please explain me the description of this types of file. any encrypted data format is used to store session. | |
Hi, I have some PHP code in a project which if a user is logged in the in will display the username and other options and if the user is a guest it wont. [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Home</title> </head> <body> <!-- HTML … | |
Hi, I work on PHP code with NetBeans and Xdebug. I use Xdebug for step-by-step debugging and the like. I'm able to debug the flow of the default request, but not the flows generated by specific _get/_post or Ajax requests. Anybody has an idea how can this be done? When … | |
Hello all, I am currently getting this error message: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality … | |
Hi All, I am having trouble in updating a table. The form consists of check boxes that are populated from the first query. I need the form to submit in itself and set the checked fields to 1 and the unchecked to 0. Any and all help will be appreciated. … | |
Hi, im trying to set a row filter based one fixed paramater (locationID) and a second paramater on a session variable - im not an expert in C# at all, but i think what i have done should work? Can anyone see anything wrong / offer suggestions please? :) [code] … | |
System.Web.SessionState.HttpSessionState curSession = HttpContext.Current.Session; if (curSession.IsNewSession) { if (Utils.SessionHandler.IsSessionExpired == curSession.SessionID) { Error oError = new Error(true); Utils.SessionHandler.AES_Error = oError; string strVal = "{\"array_list\":{\"list\":[{\"Source\":'SessionExpired'}]}}"; Response.Write(strVal); } } i am suddenly facing a problem the above is generating an error "{"array_list":{"list":[{"Source":'SessionExpired'}]}}" in my browser when i added watch it showed me … | |
Hi, I have made a log in script that checks the database for username and password. I have everything working for the users (they must be logged in to access member.php). Now I have admin.php redirecting to a different page, but how do i keep users OUT of that page? … | |
Hi, I am using visual studio 2008. I have a winforms app that takes data from an xml doc. I store the data in a ms sql database that I have created via a stored procedure. When Irun the app the data from the xml doc is captured and put … | |
Hi I have a session variable I wish to display in the title of a web page. This works well with IE. However, when I switch to Firefox it only works on my personal server. And not when I go online using Firefox. Can anyone tell me why? [CODE]<?php echo(ucwords($_SESSION[fullname])); … | |
Hi all, I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro2.dll it's working fine. but when i am trying to use jquery then its not working. Then in jquery script instead of `$` i have used 'jquery' keyword then … | |
I need to query data from a table accourding to user level to genarate a menu list for different user levels, the code worked well with (session->username) but when I changed to (session->user_level) it does not want to work. Any help will be appreciated. Here is my code: [CODE=php] <?php … | |
I am trying to show two hidden <div> (lines 54 & 55) depending on the value of a session variable. I know the "if" statement is working because the alert tests I have do show when the code is run. The "Viewing all whose payment has NOT been confirmed." should … | |
Hi everyone, I am new here and am in need of help. I have a laptop vostro 1500 and have windows xp. I was on the computer one night, then I turned it on on the morning to find a nightmare. after I turned it on, it asked for my … | |
Guys I have 2 files. index.php and connect.php I'm getting database connection error. This is the error i got [QUOTE]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in H:\wamp\www\index.php on line 3[/QUOTE] Then i added the error detection code in the third line. I got the following … | |
Hello Experts, I am developing application in which i use ajax.but i need to pass more than one variable to url for further processing. I can't use [CODE] var url="availabilitycheck.php?t="+value //it works var url="availabilitycheck.php?t="+value+"&hid="+hd1+"&chkin="+chkin; //not valid[/CODE] How can i send other variables.?? I tried using session that works but it … | |
i am trying to isert and retrieve the following into/from StudentData table in sql dbs using C#: (FullName,RegNumber,Sex,Level,Department,Faculty,Session,Passport) except passport, every other things were inserted. please how can i insert and retreive the 8 columns. please help me with both codes. thanx. | |
Hi guys I am taking values on a page. Clicking on a save button and on the click event want to open up a grid to show values depending on the search made. So i need to transfer these values from search page(on which im taking these values) to the … | |
hi every one, i need your help in my php code.Currently i m developing one social site. i had develop php code code for getting recent update from friends. my error is for not printing recent update from friends. i had tried my best but it's not working. i m … | |
Hi, I have a php file session.php: [CODE] <?php require_once("functions.php"); session_start(); ... ?> [/CODE] I tried to include this in one of my php scripts, but it shows me a warning: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\xampp\htdocs\cjenovnik1\uredi_profil.php:1) in E:\xampp\htdocs\cjenovnik1\includes\session.php on … | |
Hi all, 1) I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro.dll it's working fine. but when i am trying to use jquery then it throws error "Object doesn't support this property or method." 2)I have taken a fresh … | |
Hi All, I have a form that shows the list of expenses based on which category you choose from the select box. I then have links above this which allows the user to view expenses in 1st, 2nd, 3rd or 4th quarter. If I select a Category and then view … | |
Hi, I have a button control where I retreive 2 strings with 2 URL like in the code below. What I wonder how it is possible to do, is how to open up [B]1 browser [/B]window with 2 Tabs where 1 Tab is [url]http://www.google.com[/url] and the other [url]http://www.yahoo.com[/url] How can … | |
I just burned a data DVD backup around 2.5 GB without an issue, and I'm able to burn data or audio CD's all day with no problem. If, however, I try to burn a video DVD, the DVD burn completes successfully (no error messages from multiple software packages including Nero, … | |
Hi guys i can't seem to figure out whats wrong with my sql statement. its an insert statements using session variables to insert into a SQLite table. part of problem code as follows: [CODE]<?php $db = new PDO('sqlite:name.sqlite'); $submitNewSummary = $db ->query("INSERT INTO clinicalSummary(placementID,attMon1,attTue1,attWed1,attThu1,attFri1,attMon2,attTue2,attWed2,attThu2,attFri2,item1,item2,item3,item4,item5,item6,item7,item8,item9,item10,item11,item12,item13,item14,item15,item16,item17,item18,item19,item20,dateCompleted) VALUES (".$_SESSION['studentRetrievedPID'].",".$_SESSION['Monday1'].",".$_SESSION['Tuesday1'].",".$_SESSION['Wednesday1'].",".$_SESSION['Thursday1'].",".$_SESSION['Friday1'].",".$_SESSION['Monday2'].",".$_SESSION['Tuesday2'].",".$_SESSION['Wednesday2'].",".$_SESSION['Thursday2'].",".$_SESSION['Friday2'].",".$_SESSION['itemSummary1'].",".$_SESSION['itemSummary2'].",".$_SESSION['itemSummary3'].",".$_SESSION['itemSummary4'].",".$_SESSION['itemSummary5'].",".$_SESSION['itemSummary6'].",".$_SESSION['itemSummary7'].",".$_SESSION['itemSummary8'].",".$_SESSION['itemSummary9'].",".$_SESSION['itemSummary10'].",".$_SESSION['itemSummary11'].",".$_SESSION['itemSummary12'].",".$_SESSION['itemSummary13'].",".$_SESSION['itemSummary14'].",".$_SESSION['itemSummary15'].",".$_SESSION['itemSummary16'].",".$_SESSION['itemSummary17'].",".$_SESSION['itemSummary18'].",".$_SESSION['itemSummary19'].",".$_SESSION['itemSummary20'].",".$_SESSION['studentRetrievedDF'].")"); if ($submitNewSummary) { echo … | |
Hi all, I mistakingly posted this in the PHP forum but hope to find my solution here. I am trying to make a dropdown system for states and cities but the cities aren't coming up correctly. I have this on the root page: [code] <? echo "<form name=sel>\n"; echo "States … | |
I have two tables in my database, one for teachers and another for students. The students table has column for name, admission no., math’s, English, computer, agric. Different teachers are responsible for each subject. I have a gridview that shows all the columns, but I want only the teacher responsible … | |
i have a process that runs, but stops after about 3 minutes. It only processes some of the information (65 entries out of 500). i modified the php.ini, thinking this was the case. The process takes data from a mysql database and writes them to a file. register_globals = off … | |
I am having a problem looping out a value from posted data into a loop, heres some code: [CODE] <cfset tempAmount = "URL.amount_" & 1> <cfset tempQuantity = "URL.quantity_" & 1> <cfoutput> <cfif #tempAmount# EQ 1> Yes <cfelse> no </cfif> #tempAmount##tempQuantity# </cfoutput> [/CODE] That is a small test section I … |
The End.