4,124 Topics

Member Avatar for
Member Avatar for aidine.rivera

I downloaded Malwarebytes Anti-Malware. I ran a scan and this is what I got back. Can someone help please? :) Malwarebytes' Anti-Malware 1.44 Database version: 3569 Windows 5.1.2600 Service Pack 3 Internet Explorer 8.0.6001.18702 1/15/2010 1:01:57 PM mbam-log-2010-01-15 (13-01-57).txt Scan type: Full Scan (C:\|) Objects scanned: 237765 Time elapsed: 58 …

Member Avatar for jholland1964
0
156
Member Avatar for takeshi

hi...My friend of mine told to use this code [CODE]if($session->isAdmin()) the check if the user is logged in & has admin privileges if($session->logged_in) to check if the user is logged in (simple user) [/CODE] in login system.but it doesnt work at all..i want that if i login into the system,my …

Member Avatar for takeshi
0
93
Member Avatar for aditi_19

Hi, I have uploaded all my php pages to the server and everything runs perfectly fine. There is just one problem. When i click the refresh button on any page, the user is automatically logged out (session destroyed) and is directed to the login page. When i was refreshing the …

Member Avatar for harshbavaliya
0
123
Member Avatar for omnis
Member Avatar for silayse

added checkbox on gridview this method: [CODE]<asp:TemplateField> < ItemTemplate> < asp:CheckBox runat="server" ID="CheckBox1" /> </ ItemTemplate> [/CODE] I want to save selected values another table but I did not achive.First I try this code and then I will convert this delete statement to select statement ,it deletes checked value but …

Member Avatar for silayse
0
127
Member Avatar for mangel.murti

hello all,,,, i want suggestion is it be possible to create a samll shopping cart system with only php session no database no txt file for storing values....? thnx in adve.

Member Avatar for kireol
0
59
Member Avatar for dazlerd

Hi I am currently working on a web site which I had to modify to add the option of either using pounds or euros forthe pricing. I have two image input types which onclick I want to set the session variable $_SESSION['currency'] to GBP or EURO, and then refresh the …

Member Avatar for FlashCreations
0
174
Member Avatar for asadzaheri

Hi everybody, would you please tell me what's wrong with this code that generates the following error: Warning: fopen(C:\Documents and Settings\Sando\Desktop\boys.gif) [function.fopen]: failed to open stream: No such file or directory in /home/domain/public_html/webs/divisions/chek.php on line 108 [B]data inserted without any picture[/B] although it works fine and great @ localhost MySQL …

Member Avatar for FlashCreations
0
423
Member Avatar for pmorris1

I have an ISP who gave me this basic config and it does not make sense to me. What I am looking for is someone to tell me I am not crazy. Overview: An MPLS network to connect multiple sites together and provide one site with internet. All other sites …

Member Avatar for gelgin2k
0
128
Member Avatar for :Francis:

I have a web application that I upload an image to, the image is subsequently saved to the server's temp folder and displayed via a webhandler on the aspx page. the code for the aspx: [code]<img src="PreviewImageQualityHandler.ashx" alt="Picture not loaded" runat="server" id="imagePreview" />[/code] The code for uploading the picture and …

0
73
Member Avatar for ronaldpaul

[CODE]<?php //Start session session_start(); //Include database connection details require_once('config.php'); //Array to store validation errors $errmsg_arr = array(); //Validation error flag $errflag = false; //Connect to mysql server $link = mysql_connect('localhost','root',''); if(!$link) { die('Failed to connect to server: ' . mysql_error()); } //Select database $db = mysql_select_db(shop); if(!$db) { die("Unable to …

Member Avatar for cwarn23
0
233
Member Avatar for veledrom

Hi, Assume I start session and print data stored in session and print some html stuff at the begining of php file. Then I need to use header() to download a file afterwards. When I do it i get this error: [CODE]Warning: Cannot modify header information - headers already sent …

Member Avatar for veledrom
0
108
Member Avatar for rajalingam22
Member Avatar for madmax007

Hi, I am trying to write some code in order to communicate with a telnet clent from a c++ application. My idea was to open a telnet session with popen and to use the input/output pipes to communicate but it does not seem to work. When I test, the program …

Member Avatar for madmax007
1
1K
Member Avatar for DellOutreach

I work at Dell on a team that manages content on our [URL="support site for home users"]support site for home users[/URL]. Over the last 18 months we’ve been working hard to make sure the site features tools and content to help you solve technical issues. Now it’s time to give …

0
114
Member Avatar for bevssi

I'm trying to display a .jpg photo into my report. I receive this error: ADODB.Recordset error '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal I'm using this code: strSQL = "SELECT oPeople.People_ID, oPeople.oPeople_TGCKFD,oPeople.Preferred_Name FROM oPeople Where oPeople.People_ID="& Session("ccpeopleid") & "" Set rs = …

0
56
Member Avatar for tunde011

I have a post a comment code that validates input but submits on page refresh. so i added session unique id to the form validation. but it won't let me post on any of the detail.php pages after i have posted on one(detail.php is a dynamic page that gets the …

Member Avatar for tunde011
0
150
Member Avatar for dmotah

hi i wrote a code in php which enables login with session. So that i can retrieve info of the loged user. It works fine in Firefox but not in IE8. What is probably the matter?

Member Avatar for cwarn23
0
93
Member Avatar for billybobc

Hi all, I was hoping somebody might be able to help me out w/ a pretty basic question. I'm creating a web app and trying to use the MVC pattern where I have a controller servlet that intercepts requests, does some work (like say reading from a database), possibly setting …

Member Avatar for billybobc
0
139
Member Avatar for EvilOrange

Today went to use GD within PHP and a simple check of phpinfo() showed it wasn't installed, but running php -m show that both (pdo_mysql and gd) where installed. Does anyone know how to sort this? [INDENT] [CODE] - PHP Modules ctype curl date dom exif filter ftp gd <-- …

Member Avatar for EvilOrange
0
216
Member Avatar for billybobc

Hello, I've a newbie to JSP so I apologize if this is an obvious error on my part. I've been banging my head against this problem for a while and I can't seem to figure it out, though. Any help appreciated. I'm trying to create a web app that so …

Member Avatar for billybobc
0
3K
Member Avatar for skor

Hi all, I'm new here so forgive me if this has been asked before. I have installed oscommerce for the first time and I'm trying to configure it but I getting the next errors at the top of the browser: [COLOR=blue]Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script …

Member Avatar for wohoo
0
271
Member Avatar for jpegny

Hi, I'm using visual studio 2008 and it's built in development webserver, with C# as the codebehind language. I'm trying to make a simple webapp in which you click a button which sets a session var (that part is working) and in the pageload i'm checking to see if it's …

Member Avatar for Ramesh S
0
81
Member Avatar for BzzBee

I am using same login information for three sites at different hosting servers. I am using same database for three of them but i just want if i am login at one site and then move to second site then my i should be already loged in. how can i …

Member Avatar for kireol
0
116
Member Avatar for buranda

Hi. I'm totally new to php and I want to impliment the login class using session. Assume that there are only 3 fields being user ID, password, and member's class in the Database and the three member's class are President, Vice President and citizens. Also if the user is logging …

0
51
Member Avatar for mahela007

I was using the datetime module for the first time today. When I typed [CODE]now = datetime.date.today() now [/CODE] I got the output [CODE] datetime.date(2009, 12, 27) [/CODE] Now, I found out that [CODE]datetime.date[/CODE] is a class and that[CODE] datetime.date.today[/CODE] is a method. But I can't figure out what the …

Member Avatar for snippsat
0
1K
Member Avatar for jino

Hi everybody, In my project i am using ajax and jquery. After going to a page via ajax without page reload i want to see the same page if the user refresh the browser. I used the cookie plugin inorder to solve. As it is not safe i am trying …

Member Avatar for hielo
0
746
Member Avatar for JimmyLloyd

Heya guys, i just had a quick situation i wanted to ask about. I've got a form created and when i submit it, $_POST contains 4 identical sets of data. Basically i had 3 separate table forms. One to collect information and enter a query, one to post the results …

Member Avatar for JimmyLloyd
0
137
Member Avatar for dmorrison2

Hi, im having a mental breakdown, iv created a script where a user will type a password into a box and if it matches the one in the config file then it creates a session. on all of my pages i have the following code. [CODE]<? session_start(); if(!session_is_registered(admin)){ header("location:login.php"); } …

Member Avatar for SKANK!!!!!
0
159
Member Avatar for futhonguy

Hi, I am tryin to store the time a user logged in into a session. However everytime the user logged out, the time stored is the logged out time. Can someone advise me how i should done it in order to store the time the user logged in? Thanks [CODE] …

Member Avatar for SKANK!!!!!
0
71
Member Avatar for fishyking

First, before i start posting this thread, i just want to say I'm sorry if there is already a similar thread or exactly the same topic with same contents with mine. OK, let's start. [B]SPEED UP YOUR XP NEVER THAN BEFORE[/B] [B][U]NOTICE[/U][/B] In this XP SpeedUp, it includes XP Tweaks, …

Member Avatar for yaduks
1
2K
Member Avatar for ultras1

Hello to all. I have application where users are able to login. I use database for users. I want to get real-time currently logged users.For example if there are 5 online users and one of them close web browser, at the same moment online users to be 4. If I …

Member Avatar for ultras1
0
93
Member Avatar for dcads

Hi there, I am trying to create a session based on a field from a datareader. the code I have so far is [CODE] string sqlStmt = "Select Member_Username, MemberID from Members where Member_Username='" + UserName.Text + "' and Member_Password='" + PassWord.Text + "'"; SqlConnection sqlConn = new SqlConnection("server=********;"); SqlCommand …

Member Avatar for dcads
0
116
Member Avatar for fawkman

Hi Guys I am working on a php page that allows the user to upload files to thei proile. I managed to fina an open source upload class. Currently I have the code uploading the file to an images folder on the web server and that file is renamed to …

Member Avatar for fawkman
0
129
Member Avatar for t0wel

Hello DaniWeb members! I am using wininet for communicating with HTTP protocol.Everything goes right expect one thing: Cookies. Problem is that all cookies are not saved.Some of them are but no all.For example ASP.NET session id cookie doesnt get saved when i visit page with wininet but i need its …

0
35
Member Avatar for AndrewMori

Hi. I am looking for support from the cakephp environment but i thought i would try DaniWeb out too :) I am learning how to add, edit and delete entries in database tables from cakephp script. So far i can add and delete just fine, but i am struggling to …

0
51
Member Avatar for moerpheus

Hi guys, I use wamp for development, i kinda use it for multiple projects development! I have one problem, one site cannot remove session (cant destroy sessions) i dnt know why!... When I log out from other sites in my server can destroy all session variables (I can understand that!) …

Member Avatar for moerpheus
0
82
Member Avatar for mruthyunjaya

Hi all, i am designing a web interface for a system for which I was forced to use C for CGI application. as you all know, no session management in C, i am using cookies after normal validation. my issue is, with 2 or more people accessing the website from …

0
92
Member Avatar for praveen_dusari

hi all, how to destroy sessions when user once closes browser without logout, i mean when i logged in and close my browser again when i open browser i keep getting as login so, i want to destroy session upon clossing browser i want this without changing my php settings …

Member Avatar for quadrant
0
216
Member Avatar for culebrin

Hi, There's not much to add to the title... after I assign the complex object to the session object, the following response.redirect method stops working and hangs the development server. (I tried without it and it works great) maybe there is some considerations to care about session objects, I don't …

0
98
Member Avatar for brimble2010

Hi all, I am currently developing a webpart that works as a submit for many web parts at once. When the Submit button is pressed, it sets a session variable and then when the page is realoded, each form on the screen responds to this and calls their own Submit …

0
63
Member Avatar for SheSaidImaPregy

I posted earlier on this site for help on where to set a command when a user session timesout. I posted this in the global.asax file: [code]Imports System.Web Imports System.Web.SessionState Imports System.Diagnostics Public Class Global Inherits System.Web.HttpApplication Sub Application_Start(ByVal Sender As Object, ByVal E As EventArgs) Application("CurrentUsers") = 0 Application("TotalSessions") …

Member Avatar for jaredclinton
0
1K
Member Avatar for ceyesuma

The name of this question jstl_var_message Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans, JSF, glassfish [B] The Purpose of this post is: [/B] To set a variable to use to map the stylesheet.css to messages [B] The functionality of this code is: [/B] …

Member Avatar for ceyesuma
0
1K
Member Avatar for styles_p

Hello I'm a newbie of nhibernate And i would like to use the NHibernate Mapping here is my mapping file <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="HibernateCollaborator.Core" namespace="HibernateCollaborator.Core" default-access="property" default-cascade="none" default-lazy="false" auto-import="true" > <class name="User" table="Users" lazy="false"> <id name="ID" column="ID" type="Int32" unsaved-value="0"> <generator class="native" /> </id> <property name="ForeName" type="string" length="30" not-null="true"> …

Member Avatar for styles_p
0
96
Member Avatar for help_lucky

Hi All, Terminate session on closing the browser/tab. I am designing a site for the internal use of company employees at the client place, which contains some important secured data. Whenever a user logs in, modifies the data and they directly close the browser instead of logout. so the session …

Member Avatar for help_lucky
0
203
Member Avatar for adamwilden

Hi Folks, Really desperate for help here as I've spent days trying to resolve this one. We have a VB 2008 web browser app using a webbrowser control on our Kiosks at our uni - it works very well and locks down the workstation so teh students can only use …

Member Avatar for me655321
0
627
Member Avatar for Tommy_101

Hi, I am kind of new to php, and have run into a problem. Whenever I try to pass on values from one page to another, using hyperlink, the variables in the session don't carry on. Any ideas as to why? Variables get passed when I use header(location:) code in …

Member Avatar for Tommy_101
0
75
Member Avatar for vikasj

Hi, I want to display data which i have entered through form(html or jsp) into database. I have a servlet and a bean with a function of database retreival. I have got one attribute value in servlet through session transfer into bean's method to retrive data with respect to that …

Member Avatar for peter_budo
0
67
Member Avatar for styles_p

Hello I'm a newbie of nhibernate And i would like to use the NHibernate Mapping here is my mapping file <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="HibernateCollaborator.Core" namespace="HibernateCollaborator.Core" default-access="property" default-cascade="none" default-lazy="false" auto-import="true" > <class name="User" table="Users" lazy="false"> <id name="ID" column="ID" type="Int32" unsaved-value="0"> <generator class="native" /> </id> <property name="ForeName" type="string" length="30" not-null="true"> …

0
78
Member Avatar for Alibeg

I'm new to this editor, i used Dev-Cpp, and i heard this is a better tool to program with. Problem is that Code::blocks wont compile this: [code=CPP] #include <stream.h> main () { cout << "Hello world!\n"; } [/code] I switched to Code::blocks mainly because i'm using linux and i cannot …

Member Avatar for chris_mccabe03
0
609

The End.