4,124 Topics
![]() | |
I have a system where there is a list of items. each has these three fields id - unique to each item. The index field for the db name - not unique date - not unique I just started using arrays, and am not that proficient. Also, I haven't worked … | |
Hi there I am writing/revising an asp.net (vb) website the main function of the site is to fetch data from a SQL server and present it to users based on 'filters' that they apply (It for football statistics) currently a session variable is used to store the unique match_id's, and … | |
am getting [COLOR="Red"]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent[/COLOR] while running the following code. please help to fix it.. thanks. <html> <!-- centermain.php is a frame, user redirected to frame if tried to access from url--> <SCRIPT LANGUAGE='javascript'>try { if (top == self) {top.location.href='centermain.php'; } … | |
hi all, i am new to php. i am developing a login where i compare encrepted password and set session to the user and login to the system. but I need mote to do with this. I need to know how to lock IP if a user try more than … | |
i have written an application(login page) using codeigniter 2.02. when i try to load the page, it displays the following message: Fatal error: Class 'Controller' not found in /var/www/Files_Manager/application/controllers/login.php on line 2 this is the script: [CODE]<?php class Login extends Controller { //constructor function login() { parent::Controller(); $this->load->helper('url'); $this->load->helper('form'); $this->load->library('form_validation'); … | |
I'm a complete beginner when it comes to JSP, so I'm really not sure what I'm missing here. I'm trying to add some fields to a form in an existing webapp, but when I try to use html:text for my input fields, the complete form and the rest of the … | |
I'm missing something stupid so I need another set of eyes. I have a session value set that's a group concat of a few ids and I want to check to see if an id found by a query is in that group concat. The group concat variable is $session_unitidgrouping … | |
Hey first of all THX ;) @ add product.php wen i browse image and go save i have this error : [B]Fatal error: Call to undefined function imagecreatetruecolor() in C:\wamp\www\plaincart\admin\library\functions.php on line 228[/B] [CODE]<?php /* Check if a session user id exist or not. If not set redirect to login … | |
[code]import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.ServletException; import javax.servlet.http.HttpSession; import java.util.ArrayList; import java.util.StringTokenizer; import java.io.PrintWriter; import java.io.IOException; import java.text.DecimalFormat; public class ShoppingServ extends HttpServlet { String link; String[] books; String[] music; String[] computers; String<ArrayList> selitems; // JAVA.STRING.LANG doesnot take parameters error String<ArrayList> cartitems ;// JAVA.STRING.LANG doesnot take parameters error … | |
Hey I have a slight problem here, I got my php login script, But it doesn't do what I want it, anyways when I enter details into the login box, if it is invalid I want it to refresh the page and say invalid login, but all it does, is … | |
utilisateurs.java [ICODE]package Model; import Model.base.BaseUtilisateurs; /** * This is the object class that relates to the utilisateurs table. * Any customizations belong here. */ public class Utilisateurs extends BaseUtilisateurs { /*[CONSTRUCTOR MARKER BEGIN]*/ public Utilisateurs () { super(); } /** * Constructor for primary key */ public Utilisateurs (java.lang.Integer _iduser) … | |
Hello! please i need help with this,after sumiting my form i get this error message on line 111 any help i will appreciate, thx [CODE]<?php session_start(); include("../Connections/recruit.php"); echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; //check certification $certification = $HTTP_POST_VARS['certification']; if($certification != "accept") { echo(" Your application has been terminated as a result of … | |
i just store session in my register page for use it in different files when someone get registration but i dont know y in other pages when i try to call my session,i get error that the variable are undefined. my code at register.php <?php $con = mysql_connect("localhost","root",""); if (!$con) … | |
Greetings everyone, This is my first post in this forum. I have been having an issue for a few weeks now and would appreciate all the help you can provide. Some forums out there have been deleting my post for no reason, so please, if you find there is anything … | |
So I'm creating a backup GUI in Python which basically asks the user for their username/password and source directory so it can be rsynced over to a remote server. The only trouble I'm coming across is passing the password (entered in the GUI) to the server after I execute the … | |
I'm trying to populate the city select box based on the selected state (which is also a select box) using Ajax. When i select state, the city select box is not being populated. There are 5 models below: Student, MerryParent, MerryClass, State, City. All of them are related to one … | |
Hi, I'm new here. i have a problem with forms, i have forms divided in sections, 3 forms in total. 1st for general information, 2nd for company information and the 3rd one for finance information. i want to save all information in database only when 3rd form is filled, i … | |
Hi, When a SELECT query is executed does MySQL store the resultset in some table? If it does, is there a way to find out that table and access it later before the session is closed? thanks, | |
Hi, I have an app on cake php that, when user logs in on mydomain.com, it should be redirected to user.mydomain.com. However, the session variables are not being passed. How do i pass the session information from the main domain to the subdomain? The session is stored in mysql db. … | |
I searched in this forum, but it didnt help my solve my problem. Please help me. This is my code [I]int intOrderNo = (int) Session["sOrderNo"]; DetailsViewRow row0 = DetailsView1.Rows[0]; string strProductId = row0.Cells[1].Text; DetailsViewRow row6 = DetailsView1.Rows[6]; string strUnitPrice = row6.Cells[1].Text; float floUnitPrice = float.(strUnitPrice); string strQty = DropDownList1.Items[DropDownList1.SelectedIndex].ToString(); int … | |
Hello Friends, I want the following issue to be resolved: 1. page results.php shows the users list (sql query results). This page also stores all user_id to an array $_SESSION['user_ids']. And when I click to view details of a user, user_view.php shows the details of that user. 2. I want … ![]() | |
Good Morning, I'm receiving a SOAP error when I try to pull all of my products (20k) into an array. So, I want to limit the script and only grab 1/3 of the database. How would I do that? Here is the code that is erroring: [CODE]$products = $client->call($session, 'catalog_product.list', … | |
I have this script which works fine, and changes the password. Admin is logged in and has a session id. After admin has changed the password, i want to email the new changed password, but it doesnt send the email - can someone see why? The form inputs are: current … | |
Dear All To conduct online exams we need to set timer for say 60 minutes or 90 minutes after this time the user should be logged of fiocrcefully Please help me for the code in php Can I use session for this ... | |
![]() | I have a form in account.php that is prefilled with the user's current info but can be changed and then when you submit, it updates the database. However, when returned to the page after the update, the prefilled text is not updated. It only updates if you re-log in. At … |
Hi members. I am working on a couple of pages that present me with the same problem. I have set up a log in that puts member data into a session variable. Then the logged in member proceeds to alter some of their own data using a form, and the … | |
Hi, wonder if anyone could help me, I have taken an image slideshow from dynamicdrive.com and would like to use my own photos, the location of these images are stored in a php array, and I am struggling to get the images out. Its a matter of sticking the $code_array … | |
why am facing this error? [B]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 and this warning by … | |
Hello all, I am trying to transfer some variables to another page for editing. I am having troubles with the checkboxes. [CODE]GridView1.Rows(e.NewEditIndex).Cells(12).Text & "~\/~" & _[/CODE] is a checkbox and when passed and split it comes up as a empty string. I know there has to be a way to … | |
I'm new to php mysql. i'm creating website for my community. help me out... My web page has one search page. user to feed few letters in the search box. it is proceesed and the result displaced in a table. here is my code [COLOR="Red"]for getting input : search.php[/COLOR] [CODE] … | |
Hi, This is me called Malik. I want someone serious help. I have given a task to make the Learning Session of a software, same as the learning softwares available in the market. Unfortunately I am unable to find the appropriate software and also stays still unable to complete the … | |
I have unicode for Simplified Chinese. I would like to send an email with Chinese subject and content. The content works fine-which converts unicode to Chinese, however the subject alwasys shows unicode instead of Chinese. Can anybody help? Enclosed you can see a part of my code: [code] session = … | |
I apologise in advance i know this has been done to death but i cant find an answer. im currently getting this error: [QUOTE] Warning: Cannot modify header information - headers already sent by (output started at /home/sites/test.com/public_html/index.php:9) in /home/sites/test.com/public_html/login.php on line 5[/QUOTE] my index file is as so: [CODE]<?php … | |
I have a page with three different modules (I am including) and I am using session to store values in sessions. I am using Jquery, where user clicks on link, a pop-up form appears and user have to fill some information like email, phone, after filling a code will send … | |
I've developed a few systems in a PHP-5.3.3 development environment. I'm now implementing them on an iPage host site. Their PHP level is 5.2.12. Two problems occur on their site. (1) when my code [code=php]if (session_id() == "") session_start;[/code] executes on their site it fails. It works fine on my … | |
Hi, This is me called Malik. I want someone serious help. I have given a task to make the Learning Session of a software, same as the learning softwares available in the market. Unfortunately I am unable to find the appropriate software and also stays still unable to complete the … | |
Hey everyone I just started using a new hosting service called 1and1 all the normal pages are going fine that use the simple html extension. However one of my php pages that uses the session_start() and header() functions isnt working correctly and I get an error. Now I know an … | |
Hi guys, having a bit of trouble with the following piece of code, [CODE] <?php if (strcmp($pubinfo_username, $_SESSION['username'] ) == 0) { echo "<img alt=\"Remove this post\" height=\"20\" src=\"../images/btns/x.png\" width=\"25\">"; } ?> [/CODE] What I need this code to do is compare the string from the variable $pubinfo_username and compare … | |
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\samples\htmls\login.php:7) in C:\xampp\htdocs\samples\htmls\login.php on line 39 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\samples\htmls\login.php:7) in C:\xampp\htdocs\samples\htmls\login.php on line 39 Warning: mysql_num_rows() expects parameter 1 to be resource, … | |
Hello, I have a textbox, a previous button (<<), a plus button (+) and a next button (>>). When a user clicks a plus button, he can enter the date in textbox. He could enter unlimited number of dates this way. Now user, if he clicks previous button (<<), the … | |
i have received message from Daniweb to my email talking about a list of threads that you've recently viewed on DaniWeb i like it very much, so i'm asking how can i do it from zero . using Adobe Dreamweaver cs5 and zendFrameWork Beside if i can write a function … | |
There is one file: Login.php and another, checkcookies.php, the login.php is meant to have a remember me button but I dont want that anymore, I just need a cookie to be added when they login for as long as possible, but its confusing me on how to do this. Here … | |
hi i am in great trouble. problem is i create a Servlet and code is HttpSession session = request.getSession(); session.setAttribute("employee", employee); "employee" is bean and now i am access that in jsp page like this: <LI><B>First Name:</B> ${employee.name.firstName} it work fine but if i use this bean in java code, … | |
My session variable is not preserving same value through out pages, It is working fine in local but not in server. | |
Is there a way to have a session use two variables instead of just one? For instance: [CODE]$_SESSION['$email.$level'][/CODE] | |
[CODE] string sid = Session["id"].ToString(); string q1, q2; q1 = "select count (*) from All_msg where target_id = '" + sid + "'"; SqlCommand cmd1 = new SqlCommand(q1, cn); int v1; v1 = (int)cmd1.ExecuteScalar(); q2 = "select count (*) from All_msg where target_id = '" + sid + "'"; SqlCommand … | |
I have follwed the tutorial on [I]JSP database connectivity according to Model View Controller (MVC) Model 2[/I] for login servlet. I use ServletConfig servlet and init- parameters from web.xml according to the tutorial. I am using Netbeans IDE. Bu I receive this exception whan I try to use login form. … | |
I am using session variables, it is working on local but I run on server, it is not running. I am using Jquery | |
Please good people, i need your help. I having been trying to solve this problem, but no way. what is the best method to insert data so that this error of data truncation will be avoided in C#/asp.net. Here is what i have been trying to do: [CODE]public class BuildTable … ![]() | |
hi, i have a table stu_record and a field name is image_student as a image type and image save in it in binary form. nor when i'm login i want to store this image into a session variable. and on other pages this session value store into another table as … |
The End.