473,382 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Need help with errors

Sl1ver
196 100+
I read some stuff on google but nothing that really could help me here is the problem

Notice: Undefined index: id in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\demo.php on line 18

Expand|Select|Wrap|Line Numbers
  1. line18: if($_SESSION['id'] && !isset($_COOKIE['tzRemember']) && !$_SESSION['rememberMe'])
  2. {
  3.     // If you are logged in, but you don't have the tzRemember cookie (browser restart)
  4.     // and you have not checked the rememberMe checkbox:
  5.  
  6.     $_SESSION = array();
  7.     session_destroy();
  8.  
  9.     // Destroy the session
  10. }
  11.  
another one

Notice: Undefined index: submit in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\demo.php on line 39

Expand|Select|Wrap|Line Numbers
  1. if($_POST['submit']=='Login')
  2.  
Oct 28 '11 #1
1 1328
johny10151981
1,059 1GB
make sure your index 'id' in _SESSION exists using isset function
Oct 29 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Simon Wigzell | last post by:
I'm on a different computer running win 95 with IE 5 my website on a new dedicated server and I'm getting "Done, but with errors on page" appearing in the browser status area which I have never...
1
by: Gordon Sanderson | last post by:
I have been working with for two days on a database with no problems(changing forms and adding code to the forms and a module). Shut down last night was fine, with no errors generated. This...
1
by: Srinivasa Ra via .NET 247 | last post by:
(Type your message here) I am writing an application that does lot of read/write's withcomputer's serial port. The application as a whole is workingfine. Current Approach: I have a Timer that...
1
by: Grant Allen | last post by:
Hi all, I've been hunting around the techdocs site looking for a comprehensive listof error codes for certain errors. The only thing I can find is a list ofa few (textual) errors - nothing that...
2
by: gene kelley | last post by:
I'm using the VB2005 WebBrowser control. On occasion, a page that is navigated to contains script errors. These errors keep displaying a message box asking if I want to debug. If I manage to...
2
by: Andrew | last post by:
Hi, I am trying to write a program to solve roots using the Newtonian method of roots, and I am recieving several errors which I cannot figure out... if anyone could give me a point in the right...
2
by: peterkay | last post by:
MyBean bean = new MyBean(categoryForm, PriceForm); request.setAttribute("valid", bean); System.out.println(bean); List vids =MyBean.getVideos(categoryForm, PriceForm); I have a servlet...
5
by: mknoll217 | last post by:
I am a newbie at XML. I have been given an xml document that I need to write the schema for, for a class assignment. The xml given to me is <?xml version="1.0"?> <Vendors> <Vendor> ...
0
by: Lloyd Sheen | last post by:
I just add a new event to a usercontrol. In the event I put a parameter but after realized that the event handler was going to call a subroutine in another usercontrol which did not need this...
9
by: tsushio | last post by:
hello,i'm a student and i'm in my first year. i had an assignment using borland c++ and this is what i made #include <iostream.h> #include <conio.h> int main () { int...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.