4,124 Topics

Member Avatar for
Member Avatar for |-|x

I originally posted this over on the [URL="http://wordpress.org/support/topic/incorrect-page-content-passed-to-plugin-in-firefox"]WordPress forums[/URL], and got no responses. Eventually I figured out what the problem was and fixed it, but thought I'd repost here in case anyone else is experiencing similar issues (I couldn't find any related articles in my initial search on the symptoms.) …

Member Avatar for cereal
2
206
Member Avatar for 650U

I have a mysql table named 'customer'. serialnumber (int), name(varchar), gender(varchar) are the table fields. I have a int variable a = 2. I want to fetch the value from the table when serialnumber = a. That is when the serialnumber = 2 it should display the particular customer's name. …

Member Avatar for |-|x
0
191
Member Avatar for rayidi

Dear Friends, I'm Currently using php session ( $_SESSION[''] ), I want to use $_COOKIE Because when a user didn't click the logout button and he closed the website. still he is showing Online because i write the code at the logout page. So If we use $_COOKIE it is …

Member Avatar for diafol
0
191
Member Avatar for saybabs

I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, …

Member Avatar for Biiim
0
145
Member Avatar for Danny159

Hey, I have 2 scripts, one processes an ajax request and sets a session in that script but I cant seem to get the session to work in another script... (echo the session out) on the same server just a different file? Can anyone help? Dan

Member Avatar for Danny159
0
92
Member Avatar for Giedrius

Hello guys i have a little problem with integration..Im using flashcoms WebcamChat trying to use integration so that can ppl login in to chat if they are registred on my website... The integration is work ok but the problem is password in mysql User_tabe passwords is not a simple they …

Member Avatar for Giedrius
0
229
Member Avatar for cacofonix

Hi all, I want to alert the user that his session time is expired . There are two options after session expired 1, redirect user to login page 2, ask user to extend their session time Guys , i never implement this feature in any of my project , can …

Member Avatar for broj1
0
130
Member Avatar for carlbrooks

I have a table which has the number of rows depended on what the number is in the spinner. This does work e.g If I enter 25 in spinner it comes up with 25 rows, if I enter 7 in spinner comes with 7 rows. So my problem is this: …

Member Avatar for peter_budo
-1
56
Member Avatar for BilalAKhan

Hi, In my website, Blog is a small portion. I have managed to make and insert the blog. In manage blog area I am giving a user this a authority to manage their written blogs. At this point I am getting a problem. When I am logged as 'A' (A …

Member Avatar for simplypixie
0
81
Member Avatar for abathurst

What I am trying to do is have a user enter a word into a text box and retrieve the information from a SQL database where the 'entered word' eqauls that a column. I have this working perfectly but now I would like the user to be able to enter …

Member Avatar for abathurst
0
248
Member Avatar for narekm

Hello there. I am sooo despared since I cant make this work here is what I have in my logged_in.php file. <html> <?php echo "Welcome: "."<b>".$_SESSION["username"]."<b/>"; ?> <head> <div id="ajax"></div> <script type="text/javascript"> function createXMLHttpRequest(){ var XMLHttpRequestObject=false; if(window.XMLHttpRequest) { XMLHttpRequestObject=new XMLHttpRequest(); return XMLHttpRequestObject; } // else{ if(window.ActiveXObject) { XMLHttpRequestObject=ActiveXObject("Microsoft.XMLHTTP"); return XMLHttpRequestObject; …

Member Avatar for jmichae3
0
247
Member Avatar for nizam27391

Hi. Anybody dealt with cakephp? I have this problems. The delete function is not functioning. Its not deleting the things I want to delete from the database. Heres my code./ [CODE] function delete($id = NULL){ $this->Application->delete($id); //-->this cause problems $this->Session->setFlash("Application " . $id . " was deleted"); $this->redirect(array('action' => 'index')); …

Member Avatar for jmichae3
0
243
Member Avatar for rse

Hello, How can I encrypt and decrypt a session variable using salt, what do I need to set in the header? I tried this but got error about unknow function mcrypt_ecrypt. Any ideas to help. [code=php] function encrypt($text, $SALT=null) { $SALT=SECURE_KEY; return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, SALT, $text, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)))); } …

Member Avatar for rse
0
50
Member Avatar for naveedqadri

Dear Experts, New to C# , My page is in ASP.Net with C# coding, I am getting this error, while debuging. Your help would be appriciated. ---------- System.NullReferenceException was unhandled by user code Message="Object reference not set to an instance of an object." Source="App_Web_print.aspx.c0a41cfd.e1sjotnx" StackTrace: at ASP.soft_reports_print_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) …

Member Avatar for thines01
0
446
Member Avatar for aadebayo

Hello I have managed to get the pdf working. There is a problem though, I need 2 records to be displayed on every row, instead of just one. In getting 2 records to display, I created a table with a row and 2 columns, then using a counter variable to …

0
79
Member Avatar for lordx78

auth.php [code=php] <?php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST['username']; $_SESSION['password']=$_POST['password']; } // query for a user/pass match $result = mysql_query("SELECT * FROM users WHERE username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted …

Member Avatar for markashworth
0
4K
Member Avatar for rse

Hello, I managed starting a session and store some data when a user login to the system. The user can edit his/her prifile by clicking on edit, then some of the data will show in the edit form. Now I have the form with empty fields and I need to …

Member Avatar for rse
0
139
Member Avatar for aadebayo

Hello I have got a code below that works perfectly in generating html via PHP. However, I will like to export the results into PDF or Micorsoft word, but I am struggling. Please can anybody point me in the right direction [CODE]// Get house group details for this member //$memberRecord …

Member Avatar for aadebayo
0
121
Member Avatar for waveydaveywaves

I have literally been banging my head on my keyboard out of frustration. I'm trying to display PHP sessions as values in my php form, but it's not going so well. here's what I have: [CODE]<?php session_start();?><html> <head> <title>Create An Event</title> <style> label {float: left; width: 100px;} input[type=text],textarea {width: 210px;} …

Member Avatar for diafol
0
226
Member Avatar for Undermine

Hello guys, I am using Hibernate + Spring with netbeans to make a web application. I have it working correctly and displaying data from the DB. My problem is I only know how to do one hibernate query which is shown below. How can I do insert/delete queries. For instance …

Member Avatar for peter_budo
0
309
Member Avatar for gouki2005

I want to fill a Drop-downlist with a list look heres my list code [CODE] public List ListaEmpresas(){ SessionFactory factory = HibernateUtil.getSessionFactory(); Session session = factory.openSession(); Transaction transaction = null; transaction = session.beginTransaction(); Criteria crit = session.createCriteria(Empresas.class); List empresas = crit.list(); List list = new LinkedList(); // Doubly-linked list list …

Member Avatar for gouki2005
0
134
Member Avatar for roXy101208

Hi, I'm new to asp.net and C# and I want to ask how to implement a session login using asp.net and C#. where i will connect it to my database. Please advise. Thanks.

Member Avatar for crishlay
0
234
Member Avatar for naveedqadri

Dear Experts, Thanks in advance for helping me I have installed an application (APWebGrabber) on my VPS, that application is being used in my website. APWebGrbNET.DLL is already in BIN Folder of my site. I am getting this error. Plz Help Me. ERROR CODE: Compilation Error Description: An error occurred …

Member Avatar for crishlay
0
269
Member Avatar for elbeato

Hi there, I'm using php to try and take two separate arrays ($colors and $message), write them to a single multidimensional array ($endline), and then write the resulting md array into a csv. This works fine on my localhost, but for some reason it doesn't work through my web host. …

Member Avatar for elbeato
0
386
Member Avatar for 140fulton

I'm seeing a problem where some $_SESSION variables are passed from one page to another, and others are not. The session is setup on login, with user identity held in $_SESSION["id"]. At a later date, I want to shift the identity to another, subordinate account. The change is handled by …

Member Avatar for diafol
0
315
Member Avatar for gunnerone

Hi I have a login 'box' up in the top right hand corner of my web page. When someone logs in i want this to disappear and show a message and logout link. I have got this so far, but i cant seem to get it to work. Login form …

Member Avatar for mohamedasif18
0
209
Member Avatar for naveedqadri

Dear Experts, Thanks in advance for helping me out. I am new to C# as well asp.net. I have already running appllication asp.net , needs to change in asp file with C# code. Scenario: My application is using third party software "activepdf server,webgrabber" to convert and print to pdf. BUT …

0
536
Member Avatar for mikeandike22

input and returning the input: output. Here is the assignment In the session, provide a command prompt that includes the working directory, e.g., $./logger /home/it244/it244/hw8$ Accept user’s commands, execute them, and display the output on the screen. During the session, create a temporary file “PID.cmd” (PID is the process ID) …

Member Avatar for mikeandike22
0
254
Member Avatar for thunder111

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Ayyam v3\gate.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\Ayyam v3\gate.php:16) in C:\AppServ\www\Ayyam v3\gate.php on line 36 am new with php please help me <?php session_start(); require_once('Connections/connector.php'); $uid= $_POST['uid']; …

Member Avatar for Biiim
-1
254
Member Avatar for Loveleen Kaur

i am using jquery code and it is being called inside while loop. the output is correct for the first time but the output is already displayed for the second tym. plz help me solve this prblem. here is the code. [CODE] <html> <head> <script src="jquery-1.6.4.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( …

Member Avatar for pzuurveen
0
216
Member Avatar for vaanipala

i'm getting the following errors: Notice 8: Undefined variable: student_info [APP\controllers \motor_developments_controller.php, line 7] i'm getting the same notice in \motor_developments\search.ctp as well. The student_info data in $this->redirect is not getting passed from merry_parents_controller's login function to motor_developments_controller's search function. Does anyone know on why student_info is not getting passed? …

Member Avatar for ThLFR
0
2K
Member Avatar for usboy2903

Hi, well im working on a project for school but I can't seem to get it to work. Its an app that is connected to a DB with 3 tables, this is my sql syntax of the db: [CODE] Table structure for table `income` CREATE TABLE `income` ( `idincome` int(11) …

Member Avatar for niranga
0
221
Member Avatar for stephenaura

Hello guys.. im new to php and this is the first time im making a php website for my project i made a php code for login but its not working.. the error message pop up everytime i tried to log in [CODE]Warning: Cannot modify header information - headers already …

Member Avatar for simplypixie
0
135
Member Avatar for abathurst

I have a drop down menu on a page where the user can select between, All, House, Unit and Rural which send the selection to a stored procedure which access' the database and returns the information with the selection eg. House from the category column. It all works great when …

Member Avatar for abathurst
0
128
Member Avatar for naveedqadri

Dear Experts, I have installed Activepdf Server 2009 and APWebgrabber 2009 to convert my document to PDF then Print. NOTE: My website is already compiled with .net v-2, OS: server 2003 .Net 3.5 and .Net 4 are also installed I am getting this error. CS0246: The type or namespace name …

0
103
Member Avatar for Dani

This is a very quick 'n' simple vBulletin SEO hack. It's easy to apply and it's the one I have been using here on DaniWeb for the past couple of months. I was going to wait until we went vB 3.5 to release it but I might as well do …

Member Avatar for Dani
0
5K
Member Avatar for jon4321

I'm trying to pass a guid to the WHERE statement in a gridview. It works for the Select parameters section, but inserts a null value when I try to update the data. [CODE] <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:EDUFormConnectionString %>" SelectCommand="SELECT OSSPERSON.PERSONID,OSSPERSON.FIRSTNAME, OSSPERSON.LASTNAME, OSSPERSON.AorC, OSSPERSON.AGE, OSSPERSON.GENDER FROM OSSPERSON INNER JOIN OSSREGPERSON …

Member Avatar for jon4321
0
205
Member Avatar for fairy1992224

I need to capture the logout time and login time. I can capture the login time already but I cannot capture the logout time. I would appreciate all the help that you had given me. Thank you. This is the coding in the logout button: [CODE]protected void logoutButton_Click(object sender, EventArgs …

0
69
Member Avatar for pote86

The following is my code for login function. I save the password as MD5 but inside the url after logged in it shows the full word instead of showing MD5. I'm still very new to Java EE and any help I can get will be very much appreciated. [CODE]<%@ page …

Member Avatar for pote86
0
2K
Member Avatar for lcfjoertoft

Hi all. I have a problem that I haven't found a solution for on the web, so maybe anyone here can assist. Om our server at work we use excel, but it always starts in "Excel wasn't started correctly last session. Do you want to start in safe mode", wich …

Member Avatar for cguan_77
0
159
Member Avatar for mitee

Hi, I am new c++ programming and I need some help with my code. I am supposed to create a Hangman game with a file and your supposed to be able to write new words to the file etc... But I have problems with the code after the user have …

0
62
Member Avatar for violette

can anyone help me..how to do a loop in my code here..I want to do a loop for one year only..after another year it will create a new column. For example when column A already fill with year 2008 and another column B will create fill with year 2009. [CODE] …

0
70
Member Avatar for mwenyenia07

I wanted to implement an ERP using joomla, and the open source CK-ERP module. i followed the instructions properly but when it reaches to the point of trying to access it from address bar(URL) as per installation instruction, it says and i quote "You Must Login To Access CK-ERP".It is …

Member Avatar for diafol
0
82
Member Avatar for jobojo

Learning about asp.net slowly, but surely. I have a question for those much more experienced than I. How do I make one of the items in my checkboxlist automatically selected upon page load? The items in my checkboxlist come from a SQL DB and I want one of the fields …

0
103
Member Avatar for SteboCSC

I have a SQL database that I use, tor the information within my chart. The SQL query populates 5 gridview controls for each week. Each Gridview control contains Total amount and the weekday name. I populate the charts series from each gridview. The X axis is set for the weekdays …

0
55
Member Avatar for kaosjon

Hi, i am trying to create my login script for my website, however when i enter my details it does not do anything, it just goes to the same screen. I have used the same script roughly as i used for another website of mine, but i cannot figure this …

Member Avatar for Treasurepet
0
300
Member Avatar for violette

Hi all. i have a problem on my coding here. it should insert the new triggered alert into database but it does not work. please have a look and tell me which part i've done wrong. thank you :) [CODE]Protected Sub repeaterAlert_ItemDataBound(ByVal sender As Object, ByVal e As RepeaterItemEventArgs) Handles …

Member Avatar for bluehangook629
0
158
Member Avatar for BorisBox

I get this error im trying to setup my PTC site :S Parse error: syntax error, unexpected T_CASE in /home/a9378945/public_html/index.php on line 72 [CODE]<?php # CHECK SESSEION COOKIE if($_SERVER["SERVER_NAME"] != 'localhost'){ if($_SERVER["REQUEST_METHOD"] == 'GET'){ if(strpos($_SERVER["HTTP_REFERER"], 'google') !== false){ if( isset($_COOKIE['r']) || isset($_GET['r']) ){ setcookie('r', '', time()-3600); header("HTTP/1.1 301 Moved Permanently"); …

Member Avatar for diafol
0
140
Member Avatar for IQof20

I have a scenario with a VB ASP.NET application where the calling application must send a session identifier in as a Parameter within the URL. I do not have control of the calling legacy applications (which are not web pages but automated server applications). So for example, it must be …

0
53
Member Avatar for MrJody

Hello, I would like to use a button as a link and pass the session variable in a jsp! The below code should work. Any help is appreciated. Thanks. I use encodeURL if the user has cookies off. This works with links but not when using an input button with …

Member Avatar for sarathpetec
0
1K

The End.