4,124 Topics

Member Avatar for
Member Avatar for cyberdaemon

Good day, I am having problem with displaying my image on the my form.. the image is already uploaded and saved on the folder. so all i want is to retreive it and place it on the other form. This is web application here is my code private void GetImages() …

Member Avatar for cyberdaemon
0
158
Member Avatar for ms061210

Hello, i'm kinda starting to feel out of my mind now. I am creating a simple web game. I am now in the process of putting some php codes here in game to have scores.My problem is that, My game's top score is the person who played the game very …

Member Avatar for ms061210
0
275
Member Avatar for sk8ergirl

hi I've just started learning C# and I 'm working with excersice . There is something wrong with my add and remove button , but I don't know how to fix it here is the begining of my code and I'm sure that it correct also I have Item and …

Member Avatar for sk8ergirl
0
177
Member Avatar for diether.silverious

Hi guys, this codes works perfectly to me, except that i would like to add pricetotal in session variable. my problem is pricetotal does not display values when i use print_r. Heres the output when i use print_r to display session variable: Array ( [0] => Array ( [item_id] => …

Member Avatar for broj1
0
221
Member Avatar for sk8ergirl

hi I'm using VS express for web and I'm using C# I know how to replace value in arrraylist in java , but I found it hard to do it in c# in the designe view in VS I have add button and textBox.. first I need to get what …

Member Avatar for ddanbe
0
189
Member Avatar for scaiferw

I have a lab management webapp that lists servers on my network. With a click in IE I can open a terminal services session to that server. The code - shown below - works in IE, but not in chrome or firefox. Can anyone suggest how I can make this …

Member Avatar for LastMitch
0
290
Member Avatar for korathualex

I want to send mail to large number fast asp.net....It takes some time for me...My code as follows string s14 = "select email from CandidateReg1"; // string s14 = "select top 2 email from CandidateReg1"; DataTable d7 = cn.viewdatatable(s14); for (int m = 0; m < d7.Rows.Count; m++) { email …

Member Avatar for pritaeas
0
260
Member Avatar for gowri123

Hi, this is harika.. i am getting a great confusion in differce b/w request, session, application attribute.. can anyone help me out by giving an example in jsp in what way they differ from eachother..

Member Avatar for april88t
0
79
Member Avatar for Buppy

Hi, I have this following code: $('#content-load-target').load(location,function(response, status, xhr) { if (xhr.status != 200) { location.href = '/'; } else { //do something else } }); The response can be either an ajax page or be redirected (if the session has timed out). In case of redirect I want to …

Member Avatar for JorgeM
0
407
Member Avatar for mrbarbarik

Hi all, I just want to know if there any asp code can make auto redirect from one page to another page when the session timeout end ? Any solution for this problem ? I need a solution ASAP, so help me please. Thank You.

Member Avatar for remunance
0
131
Member Avatar for praveen_dusari

Hi All, i was just wondering that can i store the data of a form using html,javascript. firstly i thought of using localstorage or session storage in html but if i save the data in my form others cant see the data if they open that page, and if i …

Member Avatar for gon1387
0
171
Member Avatar for PriteshP23

I would like to solved out the SESSION part in ALL files. SESSION is not working properely anymore. In addition, i need to solved out the javascript errors. Objective is to access the *dashboard.php and other pages* from LOGIN.php and CREATEACCOUNT.php **WITH validation and SESSION**. There are two files: login.php …

Member Avatar for PriteshP23
0
2K
Member Avatar for PriteshP23

Session is not working. When user do Sign IN or Sign UP, after that on every page (dashboard.php and configure.php) user email should be displayed. It is not displaying any error but it is not working. I have used md5 method for password. I have problem regarding set session. Let …

Member Avatar for PriteshP23
0
470
Member Avatar for razor2890

Hey guys!!! Just found this wonderful forum.....Thanks for the guys who run this forum.. I am an Elec. & Telecom engineer... I understand Java Programming & I have more than 90% of the concepts of core-java and good knowledge of jsp,servlets,struts....I have some basic knowledge of oracle.... I have a …

Member Avatar for razor2890
0
271
Member Avatar for neoanomally

I have inherited a web site that was designed in php and perl. the code was poorly designed but it has evolved into a very complex system. I am thinking about refactoring the code to make it more readable and more efficient because there is a lot of redundancy and …

Member Avatar for neoanomally
0
179
Member Avatar for riahc3

Im trying to set a session variable using AJAX but it doesnt seem to work: This is my PHTML page: <?php session_start(); ?> //SOME CODE <script type="text/javascript"> $j(document).ready(function() { var variablecalle=$j("#listadetiendas").val(); var data = 'calle='+variablecalle; $j.ajax({ url: '../../updatesession.php', type: 'POST', data: data }) }); Then this is my "updatesession.php" page: …

Member Avatar for riahc3
0
12K
Member Avatar for jaron1611

Morning, I am new to xml with delphi. My problem is that i know how to build am xml file, the output is something like this: **<EXPORT> <IMPORTMODEL>1</IMPORTMODEL> <SESSION></SESSION> <STARTDATE>26-01-2011</STARTDATE> <ENDDATE>26-01-2011</ENDDATE> <VOUCHERS> <VOUCHER> <AUTHOR> X </AUTHOR> <INPUTDATE>1/23/2013</INPUTDATE> <REFERENCE>M1000009</REFERENCE> <ONDUPLICREF>N</ONDUPLICREF> <JOURNALTYPE>STANDARD</JOURNALTYPE> <DESCRIPTION>This is a test for the description of the voucher …

Member Avatar for pritaeas
0
219
Member Avatar for a4academics

package com.servlet.filter.UserAuthFilter ; import java.io.IOException; import java.util.ArrayList; import java.util.StringTokenizer; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; // Implements Filter class public class UserAuthFilter implements Filter { private ArrayList urlList; public void destroy() { } public void doFilter(ServletRequest req, ServletResponse …

Member Avatar for peter_budo
0
325
Member Avatar for bouncerfloridaalr

I'm sure this has been asked before but can't seem to find it. I've a (mostly) php page which has a simple button on it to print. Printing is done with a simple onClick="print.window()". Everything's fine in that it's calling the print.css correctly and what is being printed is what …

Member Avatar for rsleventhal
0
3K
Member Avatar for perfectionist91

hey guys the checkboxes aren't gettin displayed in the following code and the data isnt gettin stored as well.plz help!!!!!!! <?php session_start(); include ("menu.php"); $UserId=$_SESSION['UserId']; ?><html> <head> <title>Feedback</title> </head> <body> <table> <tr> <td> <form name="f1" method="post" action="Feed2.php"> <table cellspacing="10"> <tr> <td colspan="2"><h1>Feedback Form</h1></td> </tr> <tr> <td> <?php include ("db.php"); $sql="SELECT …

Member Avatar for broj1
0
361
Member Avatar for ziggydog

Hi Everyone I am building a site that requires multiple listings each with their own shopping cart. Items can be ordered only from that business(1)and i need a way to stop surfers from going to another business and adding items from their business to the cart of business(1) At the …

Member Avatar for CutterBlades
0
214
Member Avatar for mateusz.baran1

Hello again:) I have a problem. What iam trying to do : page where user can login/create account if dont have , if logined in success page is appearing where he can add his blood glucose from tooday and also he can check his blood glucose from previous days in …

Member Avatar for ruchi18
0
327
Member Avatar for arjani10

Hello! I need help about how can i do my content show just first time, when i click secocond time in that page have a blank page ,and latter appeard that after 1 hour, how can i do whith php code ?Can somebody help me please about it? Thank you …

Member Avatar for diafol
0
222
Member Avatar for pedal123

I also have a string stored in a session variable but can't figure out how to get it back out again... THIS CODE IS PAGE 1. <form action="page1.php" method="post" id="register-form" novalidate="novalidate"> <b>Postcode:</b> <input type="text" name="search" /> (required)<br /> <?php @session_start(); if (empty($_POST['search']) && isset($_POST['submit'])){ echo'Please enter postcode i.e. ZZZZ'; } …

Member Avatar for broj1
0
3K
Member Avatar for zjony.rashed

Hi,I can't display Multiple checkbox save value in my veiw page. Here is insert/save value details: Model --------- public function saveInstituteOfferdCourse($data = array()) { if ($this->db->insert('tbl_course_offred', $data)) { return $this->db->insert_id(); // tbl_course_offred = "Table name" } return FALSE; } ---------- Controller ---------- public function saveCourses() { $data = array(); $this->load->library('form_validation'); …

Member Avatar for veedeoo
0
277
Member Avatar for jasonmark238

Hi friends, Waht are the differences between Sessions and cookies in PHP? Please explain with examples. Thanks & Regards Jasonmark

Member Avatar for diafol
0
258
Member Avatar for Recklessyouthband

I have a Sony Vaio E series premium laptop and after upgrading to windows 8 I got the "IOLORGDF32 Program not found skip autocheck" problem that seems to be pretty common when upgrading on a Vaio. So I found this tutorial on how to get rid of it and tried …

Member Avatar for stormal1
0
282
Member Avatar for cmps

Dear Daniweb, I am facing a problem with daniweb forum, it keeps crashing randomly (only when I am browsing the website, if I am not on the website tab or not moving the mouse, nothing happens). I am using firefox mozilla OS: UBUNTU and WIN7 (same computer partition: ubuntu 14 …

Member Avatar for cmps
0
265
Member Avatar for calibi.yau

I'm thinking that maybe this just needs a fresh set of eyes, but this is my first go at using session_set_save_handler() and storing session data in mysql so who knows, maybe I've really messed something up. I've written this up according to a few examples I found online and based …

Member Avatar for calibi.yau
0
204
Member Avatar for KickingHorse

<!-- See http:kinghorsemedia.ca/bna/ Click on Trailer Configurator, pick a model and click on Accessories This is html that is loaded when tab_3 is clicked --> <div id="tab_3"> <h3><?php htmlout($model_name); ?> – Accessories</h3> <h4>Select Optional Accessories by clicking the boxes. </h4> <p>Click on underlined text to view image.</p> <form enctype="multipart/form-data" id="acc_form" …

Member Avatar for KickingHorse
0
330
Member Avatar for korathualex

I want to read data from word file without using interop.word dll..Because i don't want to install word in every server....Is it possible to deploy interop.word without installation of word in iis..If not provide a solution to read word file without it with complete code....I tried with open xml sdk …

Member Avatar for AleMonteiro
0
292
Member Avatar for HunainHafeez

i am trying to pick a Varchar field (Question) from tblUser where email = session variable , it doesn't give error but picks -1 and shows it, why ? even that column isn't empt for the matching email code: String connectionString = "Data Source=COSANOSTRA; MultipleActiveResultSets=true; Initial Catalog=Waleed_orsfinal;Integrated Security=True"; protected void …

Member Avatar for HunainHafeez
0
218
Member Avatar for google2011

# JSP Tutorials - Herong's Tutorial Examples # http://www.herongyang.com/JSP This free book is a collection of notes and sample codes written by the author while he was learning JSP. Topics include attachment, content-disposition, cookie, custom tag, debugging, expression language, file upload, header lines, HTTP, JavaBeen, JavaSever Page, JSP, JSTL, JSTL-EL, …

0
76
Member Avatar for GGreek

I've created this script that logs in to Windows Live (http://login.live.com/) but I can't tell if it works, can anyone elaborate? import requests import sys EMAIL = 'email goes here' PASSWORD = 'pass goes here' URL = 'https://login.live.com/' def main(): # Start a session so we can have persistant cookies …

0
115
Member Avatar for zjony.rashed

Hello, Happy New year please help me senior bro,I can't insert mulityple selected checkbox value into my databse.When i click SUBIT then it show me below error: *Error Number: 1054 Unknown column '0' in 'field list' INSERT INTO `tbl_course_offred` (`0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `user_id`) VALUES …

Member Avatar for diafol
0
112
Member Avatar for rahim92

This my error massage : Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\test\loginproc.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\test\loginproc.php:16) in C:\xampp\htdocs\test\loginproc.php on line 24 ======================================================================================================== <?php require_once('Connections/kgcrmis.php'); ?> <?php // Inialize session session_start(); // Retrieve …

Member Avatar for TonyG_cyprus
0
163
Member Avatar for GGreek

import requests import sys EMAIL = 'YOUR EMAIL GOES HERE' PASSWORD = 'YOUR PASSWORD GOES HERE' URL = 'https://login.live.com/' def main(): # Start a session so we can have persistant cookies session = requests.Session() # This is the form data that the page sends when logging in login_data = { …

0
51
Member Avatar for happyHacker

Playing around with WinDbg, I'm wondering how to view details of every Process object instance (I'm assuming there is more than one). WinDbg reports I have an object named: ntkrnlmp!_EPROCESS with members: +0x000 Pcb : _KPROCESS +0x160 ProcessLock : _EX_PUSH_LOCK +0x168 CreateTime : _LARGE_INTEGER +0x170 ExitTime : _LARGE_INTEGER +0x178 RundownProtect …

Member Avatar for happyHacker
0
414
Member Avatar for gaspan

Hello masters It is possible to connect two different database system like(sql server and mysql) at the same time in the same script? If yes can you give me some tips of what procedure I'm going to use. If no then thanks for reading my threads. ///////////////////////////////////////////////////////////////////////////////////// Because i have …

Member Avatar for diafol
0
1K
Member Avatar for BrickZ28

Hello< i am having an issue with IF statements displaying the right data. Im selecting from my databse the userlevel an depending on the number access they have it will show verbage as opposed to the number. Easy enough a simple IF statment and bam. SO I test it with …

Member Avatar for BrickZ28
0
145
Member Avatar for varma51

<!DOCTYPE HTML> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <!---<script src="sisyphus.min.js"></script>---> <script type="text/javascript" src="https://raw.github.com/simsalabim/sisyphus/master/sisyphus.min.js"></script> <script> $(document).ready(function(){ $('#formElem').sisyphus(); }); </script> <script> $('#formElem').submit(function() { localStorage.clear(); }); </script> <script> function my() { var x= document.getElementById("q1").value; if( x!='NULL') { document.getElementById('d1').style.background='green'; } } function my2() { var y= document.getElementById("q2").value; if( y!='NULL') { document.getElementById('d2').style.background='green'; } } </script> …

Member Avatar for Taywin
0
258
Member Avatar for petterrock
Member Avatar for alex.p.kcx

Hi, With resources on the internet I have created two versions of a login page :- one with mysql_fetch_object and the other without it. I would like to understand which approach is a better and why. Following is the code with mysql_fetch_object :- <?php session_start(); include "dbconnect.php"; if(isset($_GET["op"]) == "login") …

Member Avatar for broj1
0
385
Member Avatar for pjh1985

Hi, I have been trying to create a login facility using PHP/mySQL and so far I have managed to get everything working apart from changing/updating the stored user password. The code I have used is basically just the registration script with a few changes so that it will update a …

Member Avatar for aareyes00
0
5K
Member Avatar for varma51

hii this my code.the problem is i'm changing the background color for an header using on click function in javascript.but wen i did page refreshing the default background color is appearing.i want to dislay the changed background color of that header wen once on click function is done. please help …

Member Avatar for diafol
0
289
Member Avatar for joshl_1995

Hello Community, I want to know if there is a way to use the same session throughout my whole website (eg. main domain and sub domain) using PHP? **NOTE:** I'm using a free hosting website so my website is a subdomain of the host website (eg. "http://mywebsite.hostwebsite.com" (I hope you …

Member Avatar for joshl_1995
0
184
Member Avatar for mmonclair

I'm working on securing a form that is used for gathering info for online insurance quotes. The problem we've been having is that some insurance agents and rating services have been stealing our form and trying to use it on their sites. Well, there is info that we use to …

Member Avatar for mmonclair
0
298
Member Avatar for GraficRegret

ok so I am trying to create a login page for my website, however after following a tutorial on creating all the functions and calls and everything I need to in order to get it up, I upload it to my server and when I try to test it the …

Member Avatar for GraficRegret
0
102
Member Avatar for arctushar

Hi I want to develop a facebook apps. Where it will take quiz, then merge profile picture in a certificate image. with result. the index.php file is as below <?php include_once "fbmain.php"; //if user is logged in and session is valid. if ($user){ //fql query example using legacy method call …

Member Avatar for LastMitch
0
208
Member Avatar for dancks

My code technically works, as it registers the user, but it won't keep the user logged in. (yes, once a registration is successful, they should be logged into their new account). It should go right to the index page on success and have the user logged in. On failure it …

Member Avatar for Zagga
0
2K

The End.