4,124 Topics

Member Avatar for
Member Avatar for gopal_3

<html> <head> <meta name="GENERATOR" content="Namo WebEditor"> <title>Insert title here</title> <link rel="stylesheet" type="text/css" href="css/main_style.css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> </head> <body> <center> <tr> <th style='width: 3%;'> S.NO </th> <th style='width: 6%;'> Company ID </th> <th style='width: 10%;' > Company Name </th> <th style='width: 6%;' > More Company Details </th> <th style='width: 6%;'> User Details …

Member Avatar for stultuske
0
1K
Member Avatar for David_55

HI All, Im a little confused as to the best way to approach the dealings with sessions when checking out, logging in, and logging out, in some cases the session can be written into the config file which is included in every page to help follow the user, however in …

Member Avatar for DaveAmour
0
303
Member Avatar for ramsiva

Any body help me to get click value in another page using sessions my code is <table class="table table-condensed"> <thead> <tr> <th>S No</th> <th>Student Name</th> <th>Standard</th> <th>branch</th> <th>Action</th> </tr> </thead> <tbody> <?php $candarr=explode(",",$cand_id_mul); $count=count($candarr); for($i=0;$i<$count;$i++){ $cand_id=$candarr[$i]; $rt=mysql_query("select * from candidate where cand_id='$cand_id'")or die(mysql_error()); $count_rt=mysql_num_rows($rt); while($row_rt=mysql_fetch_array($rt)) { $cand_id=$row_rt['cand_id']; $_SESSION['cand_id']=$cand_id; echo $cand_id; …

Member Avatar for DaveAmour
0
181
Member Avatar for ramsiva

Any body help me. I am getting Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\ramu\Online Admission\multicand.php on line 78 <table class="table table-condensed"> <thead> <tr> <th>S No</th> <th>Student Name</th> <th>Standard</th> <th>branch</th> <th>Action</th> </tr> </thead> <tbody> <?php $candarr=explode(",",$cand_id_mul); $count=count($candarr); for($i=0;$i<$count;$i++){ $candunique=$candarr[$i]; $rt=mysql_query("select * from candidate where cand_id='$candunique'")or die(mysql_error()); …

Member Avatar for ramsiva
0
232
Member Avatar for centenond

Sessions wont work on ipage, I know there are post like this all over internet but i did try all the answers and nothing seems to work i tried this.. session_save_path("your home directory path"/cgi-bin/tmp); session_start(); tried changing the value of session.save_path from php.ini session.save_path = "N;/path" To this session.save_path = …

Member Avatar for Gaurav_20
0
937
Member Avatar for UK-1991

Hello, I have a question in my mind whene ever we create a login page why we store the variables in $_SESSION why is this done so my senior developer told me when recently i was creating cms in which I created 1 admin and 1 user page he sent …

Member Avatar for UK-1991
0
167
Member Avatar for spud91

Hi Guys! I have the following code: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>View shopping cart</title> <link href="style/style.css" rel="stylesheet" type="text/css"></head> <body> <br> <div id="books-wrapper"> <!-- #content to center the menu --> <div id="content"> <!-- This is the actual menu --> <ul id="darkmenu"> <li><a …

Member Avatar for spud91
0
10K
Member Avatar for spud91

Hi Guys, im creating a shopping cart as part of my website however whenever i try to empty my cart i get the error: `( ! ) Notice: Undefined index: login_user in C:\wamp\www\catalogue.php on line 32` login_user refers to a session that gets created when the user logs in. Line …

Member Avatar for spud91
0
2K
Member Avatar for jonlloydd

I want to filter records being displayed from a MySQL table if the value of a field = one of multiple predeclared values. I am already running a query on my table which displays records based on which option from a dropdown menu the user selects. However before the user …

Member Avatar for linus72982
0
505
Member Avatar for Taimoor Rana

Hey guys, like I said before, im new to html and css and im having some trouble with the layout of my website. I basically have 2 problems/question. 1- I am trying to align the content of my page... but i am having a hard time. I've attached a picture …

Member Avatar for jenniferjudy2
0
239
Member Avatar for spud91

Hi Guys! So i have a login form thats "supposed" to display an error if a person doesnt enter any information or they enter the wrong information I have the following code: <?php session_start(); // Starting Session include_once('config.php'); $error=''; // Variable To Store Error Message if (isset($_POST['submit'])) { if (empty($_POST['user']) …

Member Avatar for almostbob
0
247
Member Avatar for TedBoolean

hello, I want to have a button that everytime a user clicks it, his info via his session will go into a table in a database. Can anybody of you guys can help me with this problem?

Member Avatar for JorgeM
0
66
Member Avatar for Niloofar24

Hello. I'm creating a CMS. I've got this log_error. Can you explain the problem for me if the error message is clear enough for you to understand it? I'm new to PHP. the log_error says: `PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent`

Member Avatar for diafol
0
232
Member Avatar for Sudhakar_1

The Timer displayed is 1 hr (HH:MM:SS) in decrement order. I have to display a pop out when 50 minutes complete after that remaining 10 minutes one pop up should display saying 10 minutes with 0 sec. After that for every 2 minutes the pop up appear showing 2 minutes …

0
70
Member Avatar for Sudhakar_1

<head> <!-- //In header section of the page add below url code: --> <!-- Sesion time out and session expiry url starts here --> <s:url id="sessionExpirePopUp" action="sessionOutCiscoGSS" namespace=""> </s:url> <s:set name='sessionExpirePopUpNew' value='#sessionExpirePopUp.replace("&amp;","&")' /> <!-- Sesion time out and session expiry url starts here --> <script type="text/javascript" language="javascript" src="<%=request.getContextPath() %>/jsp/js/jquery.js"></script> <script …

Member Avatar for stultuske
0
209
Member Avatar for SeanKann

I'm trying to get this cronjob to work but it won't exec the the ffmpeg exec that I have in my controller file. When I try to run it via web browser it outputs the variables correctly but won't exec <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); …

Member Avatar for cereal
0
3K
Member Avatar for Riptyed

**Issue:** Several people here are having an issue. While working on Word Documents located on their local drives, the document becomes [Read Only] not at the start, but mid-session. **Attempt:** In Word, I have gone to Options -> Trust Center -> Protected View and unchecked all boxes. I have gone …

Member Avatar for rubberman
0
118
Member Avatar for Priti_P

Hello, Am new @angularjs. I am using progressbar in angular bootstarp. but for my requirement its little bit tricky. I am using progressbar for DB migrations. OnClick of button my migration process starts and bar should show progress. What I was thinking to do is : onclick call function which …

Member Avatar for Priti_P
0
231
Member Avatar for jonlloydd

I am trying to print a table of reviews based on the date they were written. I set the dates and hit search and nothing happens? There are record in the database. Any help would be appreciated! <?php include_once("includes/session.php"); confirm_logged_in(); include_once("../includes/functions.php"); include("../includes/dbopen.php"); include("../includes/mysql.php"); ?> <?php $pageTitle = 'List Orders'; $pageSubTitle='Orders'; …

0
119
Member Avatar for jonlloydd

Function is called in my functions file. function Get_Favourites($fields){ $member = $fields['fv_member']; $sql = "SELECT * FROM favourites "; $sql .= "WHERE FV_MEMBER='" . $member . "' "; $sql .= "ORDER BY FV_PRODUCT"; return FetchSqlAsObjectArray($sql); } Functions file is called in my header and is working with other functions. <?php …

Member Avatar for jonlloydd
0
9K
Member Avatar for prerit

Hi all! I'm new to Weblogic Server. I'm trying to see how sessions are persisted on Weblogic (For Load Balancing). From the official documentation I found that you have use Proxy Server like Apache or Oracle Http Server for in-memory replication(for load balancing), which will act as a proxy server …

0
71
Member Avatar for King_Of_lords

Ok Guys I have searched a lot but didnt find proper suitable content Where In a single php page 1)I want to populate 2 drop down list which display data! from 2 different tables that is table_designation and table_relation and 2)at same time am going to add one question[by textbox] …

0
104
Member Avatar for hell hansen

Hi guys i've one page which is hosted on cpanel! and on my localhost is working properly, but on cpanel is not working. The problem is about session and redirecting login, is not working how i want! my cod is: <?php session_start(); /* * To change this license header, choose …

0
87
Member Avatar for jcomputing

Since trying to install drush on my web server ssh my prompt has changed to -jailshell-4.1$. It used to be castlesw@castleswebdesign.co.uk [~] #. I dont seem to be able to change it even when i close the session and re open it still sarts the prompt with -jailshell-4.1$ once logged …

Member Avatar for rubberman
0
417
Member Avatar for jacob21

Chats table maintain chat history b/w users and agent.Type(0,1,2) indicates start and end point of chat by user/agent. Please suggest how we cam give each chat a unique session For Example Chat b/w company_id(5969) and user_id(67) has 1 unique chat id. Not Sure Is it possible in query or have …

Member Avatar for AleMonteiro
0
223
Member Avatar for manalibhadula

Hi I am trying to connect to a server, to transfer a file. I have added remote to the known host file of source server and generated public key. From terminal i am able to login to remote server without password, but here through java , i am getting below …

Member Avatar for manalibhadula
0
298
Member Avatar for Nilesh_3
Member Avatar for baloch123

Hi Hope,everyone is doing good out there. I need some help regarding which strategy to use for one of my projects. Here are the project details I want to generate PDF forms, by gathering data from user.There are different questions to ask and based on each answer,we will ask next …

Member Avatar for baloch123
0
740
Member Avatar for riwakawd

When I or user logs on it checks what permissions it has. And then on a form if has not got permission throws error. Example: <?php class Users_groups extends CI_Controller { public function update() { if (($this->input->server('REQUEST_METHOD') == 'POST') && $this->validateForm()) { // Modal stuff } } public function index() …

Member Avatar for riwakawd
0
261
Member Avatar for Samyx

Hi guys, I am trying to create a login page using apache mod_auth_form to authenticate users. Once the user is authenticated he/she should be able to access the main page. # my public directory: # C:/webroot/ regtrack_newSG.php # my protected directory: # C:/webroot/myapp/ regtrack_studysiteone.php # my password file: C:/Apache24/passwd/passwords # …

Member Avatar for cereal
0
2K
Member Avatar for anmol.raghuvanshi1

hello every one i am creating form of 15 question length for 5 questions it worked but when i increase the length of question to 15 or 18 dont work plz help me it's urgent <?php //Start session session_start(); //Include database connection details require_once('connection/config.php'); //Array to store validation errors //$errmsg_arr …

Member Avatar for diafol
0
271
Member Avatar for anmol.raghuvanshi1

I am Creating a form with some question about 3 or 4 question.answers are submitted via radio button which has to be inserted in database.I have 2 problems problem 1: in given code i have implemented for one question as we know for inserting the ans in database we have …

Member Avatar for anmol.raghuvanshi1
0
206
Member Avatar for Vb.Netter

Hi insert command works update does not do anything any help Please SqlTimes.InsertCommand = "insert into athletedata([Athlete],[Mydate],[session],[mytime]) values ('" & athletename & "','" & storedate & "','" & todaysession1 & "','" & savetim1 & "') " SqlTimes.Insert() SqlTimes.UpdateCommand = "UPDATE Members SET [Agegrade]=('" & savetim1 & "'where [Fullname]='" & athletename …

Member Avatar for Santanu.Das
0
321
Member Avatar for anmol.raghuvanshi1

[Click Here](https://www.daniweb.com/web-development/php/threads/233467/how-to-insert-a-value-from-radio-button-in-mysql) my problem of inserting data from radio-button has been resolved from above link but problems occurs when i increase the number of field from 5 to 18. //here is my php code to process form //various fields in post methods are name attribute of radio buttons <?php //Start …

0
78
Member Avatar for alaad

Hello, I'm working an application with asp.net, but I have a problem in session.. I searched a lot about how to kill a session when browser closed but it has not any solution. Thanks for help.

Member Avatar for faheemsial
0
154
Member Avatar for aquilina

i have problem when adding a subject it got two subject that need to be selected by teacher , management sub and DBMS sub.. said Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\PhpProject3\navhead_user.php:57) in C:\xampp\htdocs\PhpProject3\teacher_add_subject.php on line 104.. when i select one of them it …

Member Avatar for diafol
0
371
Member Avatar for PinoyDev

Good day! I have a page let say page1.php and page2.php. In page1.php, I have build menus which names are taken from MySQL database like the code Ive made below: <ul> <?php do { ?> <li><a href="fullwidth.html"><?php echo $row_rec_tourismmenu['menuname']; ?></a></li> <?php } while ($row_rec_tourismmenu = mysql_fetch_assoc($rec_tourismmenu)); ?> </ul> I want …

Member Avatar for PinoyDev
0
140
Member Avatar for azegurb

Hi all, i have web application and login form. i would like when i exit (logout) it automatically logs out from all devices (or browsers or PC). Can anyone help me?

Member Avatar for broj1
0
264
Member Avatar for davy_yg

dashboard.php <table border="1"> <tr> <!-- <tr> --> <?php $i = 1; if($pager->paginate()) { $result = $pager->paginate(); while($data = mysql_fetch_assoc($result)) { ?> <td></td> <td><a href="dashboard.php"><img src="images/<?php echo $data['newfilename']; ?>" height="150px" width="150px"><?php $filename = $data['newfilename']; //echo $filename; $_SESSION['class'] = $data['class']; //$_SESSION['echo $filename']; ?><br><br><?php echo $data['class']; ?></a> <a href="#" onclick="doSomething();">Click Me!</a> <?php if($i …

Member Avatar for Web Dev Rob
-1
200
Member Avatar for santhoshweb

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/wwwjjtex/public_html/contacts.php:2) in /home/wwwjjtex/public_html/contacts.php on line 2 AND my code is margin-left: 94px; margin-top: -66px; margin-left: 94px; margin-top: -66px; max-width: 100%;"/></a></h1> <nav> <ul class="menu"> <li><a href="index.php">home</a></li> <li><a href="about_us.php">about as</a></li> <li><a href="product.php">product</a></li> <li><a href="<?php session_start(); if(isset($_SESSION['login_user'])){ echo …

Member Avatar for Web Dev Rob
0
170
Member Avatar for solyana.mesfin

# Heading Here # **Design and implement a simple web application that automates few of the management aspects for the business of your liking.** ## Sub-Heading Here ## Please follow the following pattern, as this is to demonstrate and capture your understanding on the subject matter. **Version 1** âž” Use …

Member Avatar for Traevel
-4
182
Member Avatar for janicemurby

hya i have purchased a script package for my site and im having problems with the photos upload page i can upload a photo but when i go to save it im told to make a selection i cant make the selection as there is nothing to select and ive …

Member Avatar for Taywin
0
234
Member Avatar for denmarkstan

I am new to vs2012.I am trying to run MVC3 tutorial to experience the working of vs2012. I have ran thesame tutorial on vs2010 successfully and inserted new record. Now I want to run thesame tutorial on vs2012. On both cases, i am using sqlserver management studio and entity framework(dotnet …

0
103
Member Avatar for Shivam_7

type Exception report message Unable to compile class for JSP: description The server encountered an internal error that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 22 in the jsp file: /index_submit.jsp name cannot be resolved to a variable …

Member Avatar for stultuske
0
440
Member Avatar for davy_yg

hallo, I would like to create session system: page1.php <?php session_start(); ?> <p><div style="margin: 50px 0 0 240px;"><img src="../../images/<?php echo $_SESSION['$banner']; ?>"></div></p> It already works! After I click the page2.php through the navigation, then: I wonder why the banner that appears different from page1.php, I thought it suppose to be …

Member Avatar for Taywin
0
106
Member Avatar for yoyo30

i hv 3 different user,user selection is based on radiobuttonlist and then login button,but im having error that "use of unassigned local variable 'sql'.I couldnt figure out the mistake.do help me :) protected void btn_Login_Click(object sender, EventArgs e) { string sql; if (btn_user.SelectedItem.Text == "Admin") { sql = "Select * …

Member Avatar for JorgeM
0
426
Member Avatar for kks21199

Hello, I am using turbo c++ 4.0. I know its outdated but i have to use turbo c++ for this project. Here is my current code, #include<iostream.h> #include <stdlib.h> #include <fstream.h> class item { private: char name[]; int code[]; float price[]; int z; fstream datfile; public: void add(void); void delete_(void); …

Member Avatar for kks21199
0
2K
Member Avatar for aditya55

[B]Can anybody tell me that session can be use in windows Form if yes how?.....[/B][/B]

Member Avatar for ChrisHunter
0
566
Member Avatar for har58

Hi, I have created TY.py. The Ty.py file executes and runs successfully. I am trying to make its executable using py2exe and by creating setup.py. It is not able to include the requests. I think it is because 'requests' is not present in 'include' folder for python27. The path of …

Member Avatar for vegaseat
0
1K
Member Avatar for Inch

Support me in doing my very first steps, Please. Previously I've had two links to register.php and login.php. They had `header("Location: index.php");` unfamiliar to me. And I've found `header("Location: ".$_SERVER['PHP_SELF']);` **index.php:** <!DOCTYPE html> <html> <h1>Register</h1> <form method="POST"> <input type="text" name="user"><br /><br /> <input type="pass" name="pass"><br /><br /> <input type="submit"><br /> …

Member Avatar for imti321
0
239

The End.