52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for surajmatekar

I Want to Store User Name and User Role In Some Way That I Can Used On My Every Page But I Have Already used Session And Cookies So Guys If You Have Any Diffrent Ways Then Show Me Please Thanks

Web Development asp.net session web-browser
Member Avatar for surajmatekar
0
100
Member Avatar for Aser Gado

Edit: I fixed the problem! Someone please delete this or something!

Web Development php
Member Avatar for Daniel Liwonde
0
198
Member Avatar for andrewliu

Hello, I've been trying to figure this out and I'm not sure why my code does not work? [CODE]$(function(){ $('ul.ldd_menu li.topLink ul').hide(); $('div.ldd_submenu').hide(); $('div.submenu_top').hide(); $('li.topLink').hover(function(){ $(this).find('ul').show() $(this).css({'color':'#FFF','background-color':'#000000'}); $(this).find('div').show() },function(){ $(this).find('ul').hide(); $(this).css({'color':'#000','background-color':'#ffffff'}); $(this).find('div').hide(); }); });[/CODE] That is my code, and the background-color works. But why doesn't my font color change colors …

Member Avatar for andrewliu
0
123
Member Avatar for yamot47

[CODE]echo ("<tr bgcolor='B0C4DE'>"); $value=$row['idbook_code']; $author=$row['b_author']; $book=$row['b_name']; echo ('ISBN : '.$row['idbook_code'].'<br/>'); echo ('Title : '.$row['b_name'].'<br/>'); echo ('Author : '.$row['b_author'].'<br/>'); echo ('Books Available : '.$row['b_avail'].'<br/>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("Available".'<br/>'); }else { echo("<input type='hidden' name='idbook' value='$value'>"); echo("<input type='hidden' name='author' value='$author'>"); echo("<input type='hidden' …

Web Development php
Member Avatar for yamot47
0
107
Member Avatar for remshad

hey , yesterday i installed fresh apache and php in CentOs 5.5 pc , my problem is my php is not working well ,, every time showing errors .....how i solve this error please help me ... for eg: while i run a simple code snippet [CODE]<?php echo "php execution …

Web Development apache html-css php
Member Avatar for remshad
0
123
Member Avatar for breakid

Hi, I am using tomcat to run jsp file, my question is how can force my server to create log file ? I'm new into tomcat, so please be gentle. Thanks

Web Development java-jsp
Member Avatar for stephen84s
0
143
Member Avatar for madval88

I have a Mysql database and I am trying to import multiple records with multiple columns into Flash AS3 using PHP. My problem is I am able to make it work with a single column and multiple records but for multiple columns I am not being able to format it …

Web Development actionscript flash php
0
103
Member Avatar for nats01282

im trying to create a form that redirects the user to anther page and also stores the information in the database. here is the code [CODE]<?php mysql_connect("localhost", "DBname", "Password") or die(mysql_error()); mysql_select_db("DBname") or die(mysql_error()); // Retrieve all the data from the table $result = mysql_query("SELECT * FROM players") or die(mysql_error()); …

Web Development html-css php
Member Avatar for nats01282
0
189
Member Avatar for jacob.irwin

I am getting the Error Registration message... why? [CODE]<? session_start(); include("database.php"); /** * Returns true if the email has been taken * by another user, false otherwise. */ function emailTaken($email){ global $conn; if(!get_magic_quotes_gpc()){ $email = addslashes($email); } $q = "select email from users where email = '$email'"; $result = mysql_query($q,$conn); …

Web Development php session
Member Avatar for diafol
0
165
Member Avatar for andrewliu

Hello all! I have a problem with my jquery. I have hidden some parts of my menu, but I can't seem to hide the div tag. How do I accomplish this? This is my jquery: [CODE]$(function(){ $('ul.ldd_menu li.topLink ul').hide(); $('li.topLink').hover(function(){ $(this).find('ul').show() $(this).css({'background-color':'#000000', 'color':'#ffffff'}); },function(){ $(this).find('ul').hide(); $(this).css({'background-color':'#ffffff','color':'#000000'}); }); });[/CODE] This is …

Web Development html-css javascript
Member Avatar for andrewliu
0
124
Member Avatar for mbarandao

good day: I'm using an ajax script that receives a value into an input box and thus performs a function. I need to invoke the function immediately after the input box has a value. Currently the box has to lose focus in order for the function to work. What is …

Web Development javascript
Member Avatar for mbarandao
0
326
Member Avatar for oxenjo30

hi guys, i'm having this kind of problem Warning: Cannot modify header information - headers already sent by (output started at /home/deleted/public_html/affiliateomega.com/face-fans/style.php:4) in /home/deleted/public_html/affiliateomega.com/face-fans/facebook.php on line 378 i really don't know why what's wrong, i've already check if their is a space or blank line but i got no clue …

Member Avatar for oxenjo30
0
216
Member Avatar for rkayd

This seems like it should be a simple thing to do but I can't seem to find any information on what codes to use. I want to be able to enter a record, submit it through php to a database then continue entering more records using the same form - …

Web Development php
Member Avatar for rkayd
0
2K
Member Avatar for morteza_ipo

Hello everyone. I have a folder with TEST name. In this folder I have 3 files : index.html , Untitled.swf , Untitled_toolbar.swf When we open index.html file we can see that video! Clearly I can say , we have 2 address: [url]http://...........com/TEST/[/url] [url]http://...........com/TEST/Untitled.swf[/url] I want to lock this address! [url]http://...........com/TEST/Untitled.swf[/url] …

Web Development php
Member Avatar for morteza_ipo
0
145
Member Avatar for bangla

1. Welcomecaller.php <form name="myForm" action="/send.php" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="thankyou.html" /> Name: <input type="text" name="fname" /> Email: <input type="text" name="email" /> Phone No: <input type="text" name="phone" /> <input type="submit" name="submit" value="submit"/> </form> 2. Send.php <?php $to = "safiullah12@hotmail.com"; $subject = "Brought to you "; …

Web Development php
Member Avatar for bangla
0
128
Member Avatar for Majdaa

Hi, first post here, anyways\s here's the deal... My dad owns a clothing company and we have 3 local shops. He is going to be buying a POS system that uses Windows XP and a barcode scanner. I don't really know anything much about barcodes, but the local cd store …

Web Development first-post image php windows-xp
Member Avatar for chayan.cjee
0
704
Member Avatar for puvi

hi ppl, i am having issue updating the table with details from edited form, and it turns out to be foreign key constraint issue. the error i am getting is, ================================ Cannot add or update a child row: a foreign key constraint fails (`****`.`purchase_order_detail`, CONSTRAINT `purchase_order_detail_component_item_id_component_item_id` FOREIGN KEY (`component_item_id`) REFERENCES …

Web Development php
Member Avatar for mschroeder
0
342
Member Avatar for haoth

[CODE]<?php include 'menu.php'; echo "<br>"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php include "config.php"; // Get values from form $IDTrabalho = (isset($_GET['idtrabalho']))? $_GET['idtrabalho'] : ''; $IDCliente = (isset($_GET['idcliente']))? $_GET['idcliente'] : ''; $Descricao=$_POST['Descricao']; $Quantidade=$_POST['Quantidade']; $Preço=$_POST['Preço']; echo"$IDTrabalho"."<br>"."$IDCliente"."<br>"."$Descricao"."<br>"."$Quantidade"."<br>"."$Preço"."<br>"; …

Web Development php
Member Avatar for haoth
0
98
Member Avatar for Arcrammer

I have no idea what AJAX is -- other than the fact that it has something to do with JavaScript :yawn: I'm not that talented with JavaScript other than variables, functions, alerts, confirmation boxes, and simple stuff like that. Any links that would help me learn AJAX would be greatly …

Web Development javascript
Member Avatar for McLaren
0
167
Member Avatar for Jay Johengen

My hosting provider assigns the server name, database name, user name and password after I import/upload my SQL server database to them. When I run locally for testing it will be different. How can I effectively test and publish my site without having to change this all the time?

Member Avatar for Fortinbra
0
133
Member Avatar for shajan.lnt@gmai

I have 4 <div> element first one is Header, 2nd and 3rd is Middle as right and left panel in the same row with fixed width and heigh and 4th <div> is footer. How can I align the middle two <div> in the center [code] <div align="center" style ="background-color :Lime; …

Web Development asp.net
Member Avatar for Fortinbra
0
656
Member Avatar for showman13

Good Morning, I have a membership site and to date haven't been gathering information of the sensitive nature. But now I need to get SSN and DL etc... We bought an SSL Cert, and now my challenge is this: Do I secure only the pages that relate to gathering this …

Web Development php
Member Avatar for pixelsoul
0
81
Member Avatar for rajeesh_rsn

Hi friends, I likes to implement "Remember Me" Option while sign in to my web site. Please advise me a secure tutorial for doing that . I did all the part of coding ie, at the time of login process 2 sessions will creates named "username" and "password" . and …

Web Development php
Member Avatar for diafol
0
86
Member Avatar for jacob.irwin

Earlier today I created simple database (user and login fields), login, and registration PHPs. Now I need help going about the following enhancement: In a nutshell: I am trying to create a registration form like facebook's with php code (and link it a mysql database)... 1.) My updated registration.php has …

Web Development mysql php
Member Avatar for jkon
0
299
Member Avatar for N4JRY

With things slowing down now for Christmas I wish I was the other side of this issue... I believe this is an ASP.net config / web server config issue and I don't quite know where to go from here. I have a two virtual servers; SQL1, WEB1. A web site …

Web Development asp asp.net web-server
Member Avatar for N4JRY
0
230
Member Avatar for samuelhenry

hi... i have multiple buttons in a jsp page .. consider a department page where i have 3 textboxes--- 1- dept number 2-dept name 3-dept location below these i have 7 buttons--- 1)next 2)previous 3)last 4)add 5)edit 6)delete 7)save when i click on the button how do i get results …

Web Development gui java-jsp
Member Avatar for masijade
0
149
Member Avatar for puvi

hii ppl.. i have a edit form, which is populated from the database, things work fine till here. now i want to update the table with editted details. if i echo the details from $_POST variables it prints fine. but if i update the table it doesnt.. this form is …

Web Development php
Member Avatar for puvi
0
152
Member Avatar for selvis

Hii, After performing a logout action, my index page is continously refreshing, or it tries to load that page. Can you suggest a solution for this. It happens only on IE and I'm using struts1.3.8..... Thanks in advance

Web Development java-jsp
Member Avatar for selvis
0
271
Member Avatar for accra

[CODE] Pls, can any one tell me what is worng with this code? when i run it , this is what i get [There was an error with the database. It has been logged.] any help? Thanks. <?php session_start(); $navtype = $_GET["nav"]; include "config.php"; ?> <?php if($navtype == "mail") { …

Web Development php
Member Avatar for Javvy
0
188
Member Avatar for kgenn

[CODE] Dim connection As OleDbConnection connection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; " _ & "Data Source=" & Server.MapPath("~/Database/dbLupon.mdb") & ";") Dim command As OleDbCommand Dim commandPos As OleDbCommand commandPos = New OleDbCommand("Select POSITION_C FROM tblLupon_C WHERE POSITION = 'C' REGION_C = '" & lblRegion_C.Text & "' AND PROVINCE_C = '" & lblProvince_C.Text …

Web Development asp.net open-source
Member Avatar for kvprajapati
0
96
Member Avatar for CathInfo

I can't seem to capture keystrokes (via onkeydown) in Firefox. Now before you judge too quickly, here is a snippet that DOES work in Firefox -- but only by itself; not when pasted into my program: ------------------------------------------------------------------------ [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <script language=javascript> <!-- function vProcessKeyboard(e) …

Web Development javascript
Member Avatar for CathInfo
0
137
Member Avatar for jacob.irwin

Well, it is probably simple for most of you. But it is returning errors for me. Just a heads up, I am creating registration with mySQL database and I am using "email" in place of normal "username" during registration. Here is code for page after registration has been attempted: [CODE]?> …

Web Development php
Member Avatar for jacob.irwin
0
108
Member Avatar for anoopkh

Hi Sorry for my bad english. I am using a <tbody> section and I had set height of Tbody .But When the number of rows are small the height of the row will increase. I have tried to use max-height instead of height. But it doesn't works. I am using …

Web Development javascript
Member Avatar for anoopkh
0
104
Member Avatar for coervivekmca

i have sms gateway but i dont know how to implement it. i have a usr path which i have to pass from browser without seeing to user..can u send me code and tell me how to implement and solve this problem

Web Development java-jsp
Member Avatar for coervivekmca
0
154
Member Avatar for herkfsu

I have an idea for a web site and would like to build one. I know nothing about HTML, PHP etc, but am willing to read and learn as I go. I want the web site to have users and I want the users to be able to participate in …

Web Development php
Member Avatar for chrishea
0
159
Member Avatar for mikeflash

Hey all, I'm developing a web app for a school, and among other options I need to generate PDF files from a pdf template, those pdf files must include personal info from clients, so they require to take the values from mysql which is easy to do. However, I don't …

Web Development pdf php web-browser
Member Avatar for chrishea
0
310
Member Avatar for bkimbriel

Hey, I have basically zero knowledge of javascript, ajax, etc so any help is much appreciated. Basically I'm making a site that has an html option drop down list. I was wondering if there was a script out there / if one of you could write the script for me …

Web Development html-css javascript
Member Avatar for bkimbriel
0
115
Member Avatar for peterbata

Hello all. First time post. A little background before I ask my very first NEWBIE question. Have committed myself to the design of a business software solution for an existing client. For approx 10 years, they have been using a custom MS Access database to keep track of their magazine …

Web Development lan-wan mysql php web-design
Member Avatar for peterbata
0
387
Member Avatar for bluetoot

hello people I Have this error mssg can anybody help me see what i am not seeing here that is wrong? thanks Parse error: syntax error, unexpected $end in /home/www/t.php on line 434 this is my php page [CODE]<?php session_start(); /****************************************************************************** * * * * * * ******************************************************************************/ /****************************************************************************** * …

Web Development html-amp legal php session xml
Member Avatar for cilivili
0
261
Member Avatar for trevoray

I am trying to use a VB.NET AJAX Timer control within a Repeater. I cannot figure out how to get this to work. The timer needs to constantly check the server to see what time it is and then display a live countdown clock based on a given time. I …

Member Avatar for trevoray
0
522
Member Avatar for tomjrjones

hi i need help deleting files via php, i can delete files using php, but i want to be able to delete a file by typing in the name of the file. the directory i want to delete a file from is "users/" here is the unlink script i have …

Web Development php xml
Member Avatar for 84hd0ns
0
132
Member Avatar for FBG

I'm fairly new to PHP and I'm trying to create a simple database that gives the description and urls to articles I have put in my database. The problem is, when I put the column 'link' (with the resulting urls) between <a href> and </a>, the link is not yet …

Web Development php
Member Avatar for FBG
0
192
Member Avatar for doomfrawen

Hello friends, this is the first time that i deal with cookies, i'm creating only one cookie for my site. This is the problem i want to validate one thing in my main page, that the user will be able to just click once a link, so in my cookie …

Web Development php
Member Avatar for diafol
0
194
Member Avatar for Adoshev

Hi everyone. In my application i would like to have some kind of custom fields, which can be defined by administrator. For example, we have two types of goods: food and toys. Those two types has common fields, e.g. name, price, amount. I'm planning that administrator can create custom fields …

Web Development mysql php
Member Avatar for diafol
0
364
Member Avatar for pinkygirl

I have a multiline textBox control called "Post." I also have a singleline textBox called "Comment" and a Button called "btnPost." Whatever text I type in "Comment," It should display in "Post." Further more, the texts should be saved permanently in "Comment." And also, the texts shouldn't be overrided after …

Web Development asp.net
Member Avatar for pinkygirl
0
78
Member Avatar for waveydaveywaves

I'm very stressed out right now and cant seem to fix the problem with this php/mysqli script. I will pay $10 through paypal to anyone who duplicates my code, (and its fixed) as a reply to this thread. My deadline is very close, and I need it within a day. …

Web Development mysql php
Member Avatar for waveydaveywaves
0
445
Member Avatar for hotice47

hi i need help here i have a form which will be filled by user his name email phone number etc...and then that information will be submitted into my ZOHO CRM account and using that information i like to fill a Proposal and Generate a PDF of that Proposal and …

Web Development file-stream pdf php
Member Avatar for hotice47
0
153
Member Avatar for Naveed_786

Can any body help me how can i design my first page in PHP and database sql server2008 which should have four textboxes in the center of the form like this Name Naveed FatherName Akhter DOB - NIC NO - and two buttons one for exit and one for changing …

Web Development database-design php
Member Avatar for diafol
0
123
Member Avatar for phplover

Hi, I basically have two functions; the first one below [b]GenerateFormTokenHash()[/b] is placed in a hidden field on my form and echoed out in the hidden field plus it stores the token in a session called [b]token[/b]. The second function below [b]IsValidFormTokenHash()[/b] is called straight after the check is made …

Web Development php session
Member Avatar for phplover
0
229
Member Avatar for LWS

Hi, i facing a problem with update data in database... i had create 3 files [CODE] //list_records.php <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); …

Web Development mysql php web-browser
Member Avatar for LWS
0
177

The End.