4,124 Topics

Member Avatar for
Member Avatar for jj.amonit

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 …

Member Avatar for jj.amonit
0
97
Member Avatar for xdg996678

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 …

0
54
Member Avatar for Ichcha

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'; } …

Member Avatar for smrict
0
144
Member Avatar for devindamenuka

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 …

Member Avatar for sDJh
0
112
Member Avatar for mwenyenia07

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'); …

Member Avatar for aquilax
0
131
Member Avatar for roachae

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 …

0
86
Member Avatar for Tunnleram

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 …

Member Avatar for urtrivedi
0
186
Member Avatar for gonidelux

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 …

Member Avatar for gonidelux
0
163
Member Avatar for sarathsshanker

[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 …

Member Avatar for Slimmy
0
192
Member Avatar for KBL

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 …

Member Avatar for vibhaJ
0
246
Member Avatar for smi ensi

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) …

0
75
Member Avatar for bluetoot

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 …

Member Avatar for satyajit das
0
400
Member Avatar for fidolas7

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) …

Member Avatar for decade
0
243
Member Avatar for (jacob_

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 …

0
60
Member Avatar for kingdeslok

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 …

Member Avatar for kingdeslok
0
537
Member Avatar for vaanipala

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 …

Member Avatar for vaanipala
0
518
Member Avatar for riteshe

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 …

Member Avatar for urtrivedi
0
135
Member Avatar for alenD

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,

Member Avatar for b89smith
0
105
Member Avatar for Buppy

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. …

Member Avatar for jkon
0
80
Member Avatar for fadeterra

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 …

Member Avatar for fadeterra
0
332
Member Avatar for an00p

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 …

Member Avatar for diafol
0
167
Member Avatar for mpw5013

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', …

Member Avatar for ddymacek
0
130
Member Avatar for klemme

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 …

Member Avatar for klemme
0
121
Member Avatar for vikaspa

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 ...

Member Avatar for urtrivedi
0
719
Member Avatar for megachip04

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 …

Member Avatar for ddymacek
0
8K
Member Avatar for facarroll

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 …

Member Avatar for vaibhav1983
0
14K
Member Avatar for Boboc

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 …

0
61
Member Avatar for jacksantho

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 …

Member Avatar for webmaisterpro
0
108
Member Avatar for atrueresistance

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 …

0
108
Member Avatar for afatn

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] …

Member Avatar for afatn
0
754
Member Avatar for sky_rider

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 …

Member Avatar for jingda
0
183
Member Avatar for mydreamgirl

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 = …

Member Avatar for mydreamgirl
0
1K
Member Avatar for hodgey87

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 …

Member Avatar for hari.sarvothama
0
366
Member Avatar for abhi10kumar

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 …

Member Avatar for ko ko
0
89
Member Avatar for wfray

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 …

Member Avatar for Shanti C
0
89
Member Avatar for sky_rider

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 …

Member Avatar for chrishea
0
77
Member Avatar for soapyillusion

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 …

Member Avatar for soapyillusion
0
128
Member Avatar for jakizak

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 …

Member Avatar for faroukmuhammad
0
110
Member Avatar for lastgame2007

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, …

Member Avatar for faroukmuhammad
0
129
Member Avatar for romilnagrani

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 …

Member Avatar for zachattack05
0
107
Member Avatar for ibakir

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 …

0
113
Member Avatar for 4789787

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 …

0
78
Member Avatar for akmal70

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, …

0
55
Member Avatar for abhi10kumar

My session variable is not preserving same value through out pages, It is working fine in local but not in server.

Member Avatar for ko ko
0
34
Member Avatar for tstory28

Is there a way to have a session use two variables instead of just one? For instance: [CODE]$_SESSION['$email.$level'][/CODE]

Member Avatar for hielo
0
100
Member Avatar for paresh_thummar

[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 …

Member Avatar for kvprajapati
0
94
Member Avatar for dzen

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. …

Member Avatar for peter_budo
0
560
Member Avatar for abhi10kumar

I am using session variables, it is working on local but I run on server, it is not running. I am using Jquery

Member Avatar for cjohnweb
0
144
Member Avatar for denmarkstan

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 …

Member Avatar for stbuchok
0
218
Member Avatar for devsaini

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 …

Member Avatar for vijay_myl
0
140

The End.