52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for achiman

Please can anyone tell me the best way to write a php login script that will encrypt the user password when an account is created and decrypt it when the user try to login. It is a localhost system so not really concern about hackers. Thanks

Web Development php
Member Avatar for Arianna
0
123
Member Avatar for vishalonne

Hi Every Body I have a samll piece of code written in php my problem is code is not deleting record from my database. Please see the code below which is calling [COLOR="Red"]deleteadministratorexe.php [/COLOR]- which is actually deleting the record. Files are attached here - [CODE] <?php require_once('security.php'); require_once('connection.php'); ?> …

Web Development html-css php
Member Avatar for mangel.murti
0
145
Member Avatar for cemoyer

I can't get any of my attempts to validate the radio button to work. If either of the buttons is clicked it works. But, if no button is clicked an the submit button is click by itself I get an error on my action page. I'm out of ideas and …

Web Development php
Member Avatar for muralibobby2015
0
87
Member Avatar for codewalkz

I am having this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''3'' at line 1 The $get1 value is 3. I tried enough but to no avail. I don't see any …

Web Development php
Member Avatar for codewalkz
0
65
Member Avatar for R3Slick

Ok I was working on this yesterday, and I couldn't get it. I have a php file called search.php and a file called searchResults.php, if a user wants to search for an employeeName/EmployeeID/team/department/manager (in a DB) specifically they will use the search.php page and then click submit and show the …

Web Development php
Member Avatar for prateekshaweb
0
166
Member Avatar for shishtawitch

if i have [ if statement ] in my php code than with jquery it is not working...........!! e.g if i have --------------------------- [CODE]<?php if(myquery){ }else{ do jquery here } ?>[/CODE] ------------------------------ but jquery in else area is gone disable how can i fix that.........!!

Web Development javascript-jquery php
Member Avatar for gamingdrunk
0
116
Member Avatar for kira4

May I know how to fix the frame in my system so that they will not shift their position? When I open my system in other computer or when I zoom it, the frames in my system will move. May I know how to fix it? I use <table>, <div> …

Web Development php
Member Avatar for nileshgr
0
96
Member Avatar for achiman

Hi please can anybody tell me if it is possible to write a code in php that will change the image being display on my website every second. In others I want three different images to display at my homepage but at intervals. Thanks

Web Development image php
Member Avatar for achiman
0
104
Member Avatar for miguel1810

Hello DANIWEB! Haven't posted before... but find this site a good info resource... but I'm pulling my hair out with my php register code - don't know what I'm doing wrong... as the code i've written doesn't send on the site i'm working on... Here's the code [CODE]<?php if(!$_POST) exit; …

Web Development php
Member Avatar for shishtawitch
0
161
Member Avatar for Carrots

Hi, I would like to display an RSS feed from a website on my website, but I want to hand code a solution rather than use a widget. Basically this is a learning task I have set myself. My question is how can I load the RSS feeds into a …

Web Development web-server xml
Member Avatar for pritaeas
0
108
Member Avatar for veledrom

Hi, I want to show the image as well as printing the id, name, time etc with it. How can I do it? First code prints all the data as it is without showing image. Second code shows image without other info. Thanks This code returns binary code of image. …

Web Development image php
Member Avatar for programmersbook
0
221
Member Avatar for garyy

Hi, I'm getting the following errors in my php code. Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 18 Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 27 Any help much appreciated. Here is my PHP code: [code] <?php include("connect.php"); // How many adjacent pages should be shown on each …

Web Development php
Member Avatar for garyy
0
493
Member Avatar for zhoufenglei

i have set "session.gc_maxlifetime = 10" in php.ini ,and is reboot apache service.but when i request the example pages after a minites ,the session is active still.the code is : [code] <? session_start(); echo $_SESSION['Login']; ?> <!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; …

Web Development apache php session
Member Avatar for Da_Lawdog
0
114
Member Avatar for firefly91

When I include these 2 functions on a page I seem to get this error: [B]Warning: Cannot modify header information - headers already sent by (output started at /home/vmtgiqlm/public_html/fftest/encryption.php:43) in /home/vmtgiqlm/public_html/fftest/check_login.php on line 40[/B] I don't know why that would happen as these functions do not output any text. Anyway …

Web Development encryption php
Member Avatar for firefly91
0
96
Member Avatar for polegon

Script for register your web site to 3 SE: [CODE]<?php // The following code is required to properly run Web Human Emulator require("../../Templates/xweb_human_emulator.php"); // This script submit your site to 3 Search Engines // Google // MSN // Yahoo // for request more SE please write to humanemulator@gmail.com // ======================= …

Web Development php web-browser
Member Avatar for polegon
0
201
Member Avatar for prophetboy

Hi everyone I'm more than a little stuck and would appreciate a hint. I'm struggling to read files in a folder and then pass the variable to the following: </body> <OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject"> <PARAM NAME="FileName" VALUE="video/RC Radio Controlled Model Airplane [from].wmv"> <PARAM NAME="AutoStart" Value="false"> <PARAM NAME="ShowControls" VALUE="true"> …

Web Development javascript video
Member Avatar for johnvarenda
0
107
Member Avatar for love_dude1984

hi im trying to upload a file with the help of fileupload control. im using following code to save the file in to the database [code] upPic.SaveAs(Server.MapPath("Images/") + txtPrdId.Text.Trim() + ".jpg");//System.IO.Path.GetExtension(upPic.PostedFile.FileName)); [/code] the file gets saved perfectly..but when i try to display the same image somewher else, it shows a …

Web Development asp.net file-system
Member Avatar for Sals
0
133
Member Avatar for sam023

error_reporting(0) is used to hide error message..!! i want to hide server message but i what to show other error msg in place of server message..!! that can be possible..? Thanks,,!!

Web Development php
Member Avatar for network18
0
130
Member Avatar for nayal_dani

I am using two dropdown list and one GridView. I have taken two update panels. In first update panel i have placed second dropdownlist in which data is coming based on the value selected in the first dropdown list In second update panel i have placed gridview in which data …

Web Development asp.net
Member Avatar for kvprajapati
0
701
Member Avatar for Xamas

I'm build a huge xml->mysql data importer ar parser from outer server. And I need a script example, what to do with big [CODE=PHP] $xml = simplexml_load_file('plane.xml'); if($xml) { for($lvl1=0; $lvl1<(count($xml->Trip)); $lvl1++) { for($lvl3=0; $lvl3<(count($xml->Trip[$lvl1]->Hotels->Hotel)); $lvl3++) { // Fill an array with the travel data $element['trip_id'] = (string)$xml->Trip[$lvl1]['id']; $element['description'] = …

Web Development php xml
Member Avatar for digital-ether
0
440
Member Avatar for nickora

has anyone installed wordpress on a joomla website and tried to integrate users? Im weighing up the pro's and cons of doing this to a couple of sites, I dont need the users to be integrated just yet, but it is something I think might come up in the future …

Web Development php wordpress
Member Avatar for digital-ether
0
152
Member Avatar for Longoro

Can someone help me with this please? I’m playing with a stat tracker, and with the code snippets below I’m trying to get the total result for each page stored in the database. The problem is that I get this warning when I run the script: [B]Warning: mysql_result() expects parameter …

Web Development mysql php
Member Avatar for antonkejr
0
431
Member Avatar for Stefano Mtangoo

I have afunction to retrieve data and it gives error. Please correct me! [CODE=php] public function getswachapter($book, $chapter){ //SELECT * FROM table1 INNER JOIN table2 ON table1.id=table2.id; //remember to sanitize inputs $sql = mysql_query("SELECT * FROM kiswahili WHERE Chapter = '{$chapter}' AND Book = '{$book}'")or die(mysql_error()); $limit = mysql_num_rows($sql); $query …

Web Development php
Member Avatar for Stefano Mtangoo
0
115
Member Avatar for basilabraham

Hi, I am trying to load dynamically a consolidated view of different pages. I am using prototype.js to do the ajax loading. In one of my page there is an option button to change the option. and this component should be embedded inside a form to work. As I am …

Web Development javascript
Member Avatar for Airshow
0
119
Member Avatar for muralibobby2015

hello, i want to do chat script in php. actual requirement is user chat with only with admin. if admin is in online user chats directly. otherwise that chat msg will go to admin mail. at this time another user may come to chat with admin another chat box will …

Web Development php
Member Avatar for muralibobby2015
0
88
Member Avatar for vishalonne

Hi Every body Once again I'm in problem and want some help from you all I have written a small code to search a particular value in MySql database and then to display the record based on that value - Like to search a Employee code in database and then …

Web Development mysql php
Member Avatar for venkat0904
0
153
Member Avatar for whitestream6

How do you get this to work? - well, for more than simple <strong> and <i> tags - I'm trying to get a HTML table in as an array, if this is possible! Any advice is appreciated!

Web Development html-css php
Member Avatar for Airshow
0
97
Member Avatar for naziatarannum

Hi All, I have a question. How to track the how many times a link is clicked (by any user across the web) in a day? If I use onClick() on href, its of no use because it is only for a single session. Please advise.

Web Development javascript session
Member Avatar for naziatarannum
0
82
Member Avatar for codewalkz

I can't seem to limit the result to a desired number. I have this code: [code]//GET THE TOTAL OF LEVEL 2 $result = mysql_query("SELECT COUNT(*) FROM agents WHERE (sponsor = '1' or sponsor = '2' or sponsor = '3') LIMIT 0,1")or die(mysql_error()); while($row = mysql_fetch_array( $result )) { $lvl2parent = …

Web Development php
Member Avatar for pritaeas
0
145
Member Avatar for sleign

ok I know there's a way around this otherwise radio buttons and checkboxes wouldn't ever be used in forms...so I've been trying to figure this one out... I have a dynamic form that consists of an associative array. Each row in this form consists of: name, id, 3 radio buttons …

Web Development php
0
112
Member Avatar for loveisblind

hello. I have a drop down menu that pulls from a mysql database. I know its connecting fine and there is actual items in the drop down menu because I echoed them. However when I look at my drop down box, you cannot see the options! I know the items …

Web Development php
Member Avatar for venkat0904
0
154
Member Avatar for R3Slick

Hello, Im having trouble with creating page that will search a database for the values entered. I have a Search.php file that has this [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Payroll and Timesheet Management Website</title> <link rel="stylesheet" type="text/css" href="styles.css"/> </head> <body> <?php writeHeader(); ?> …

Web Development html-css php
Member Avatar for nav33n
0
311
Member Avatar for Cruize_Invades

HI currently I am studying asp.net, how ever I manage to view my image just in my test.aspx page using this code [CODE]<img src="img/image.jpg" >[/CODE] but when i use it on my login.aspx using the same code no image shows up. can anyone help me about this?

Web Development asp.net
Member Avatar for Cruize_Invades
0
70
Member Avatar for shankbond

Hi, Is there some way by which a web application design view should remain the same even if the resolution of the screen is changed? Please reply Thanks

Web Development asp.net web-design
Member Avatar for kvprajapati
0
77
Member Avatar for powersstuff

I am redesigning a CF site vo2maxtesting.net in html and need to move it to the other server with minimal/no downtime or loss of Page One ranking. Could anyone help me with redirecting script and tell me if I need to make up a page for each .cfm page or …

Web Development coldfusion
Member Avatar for freshfitz
0
137
Member Avatar for fatlip

I am building a site for my hockey league. I have been dealing with CF for a number of years, but would in no way class myself as any sort of expert. I am not sure if I am just having a brainfart, or what with this one! I have …

Web Development coldfusion sql
Member Avatar for freshfitz
0
121
Member Avatar for vkkreddy

Hi, I would like to capture the image using WebCam and store it in database. I am using ASP.NET 3.5, C#, Visual Studio 2008, SQL Server 2008, Windows Vista Business (O.S), IIS 7.0 and IE 7.0. I want to integrate WebCam functionality in my Web Application. My requirement is, the …

Member Avatar for sathishkumar.j
0
567
Member Avatar for xuexue

pagination works well, it even displays the rows i wanted, however, my problem now is that i cannot access or it does not display the next rows from my database, i think there is some problem with regards to my next/previous/last/first links,, please help me asap, tnx! [code=php] $result = …

Web Development php
Member Avatar for futhonguy
0
245
Member Avatar for sachinarora

hi, i have seen a code through some body on this site and apply it , it was working correctly but it no not on the site know can anyone please tell me the code of it ,the code was about 60 lines long

Web Development java-jsp
Member Avatar for kvprajapati
0
98
Member Avatar for sleign

I've been working at this most of the day, trying to figure out how I can accomplish this sort of form, even looking through countless sites for anything vaguely close to what I'm trying to do for help on logic or syntax behind this (to little to no avail, of …

Web Development mysql php
Member Avatar for sleign
0
139
Member Avatar for sim_pack

hello.. i'd like to confirm if the printer function "printer_open()" without parameters opens the printer connected to the user/client computer? or does it look at all network connections including the web for the presence of a printer? thanks..

Web Development php printer
Member Avatar for sim_pack
0
242
Member Avatar for mcx76

Hi, I am making php from.Everhting is working fine.I am receving result as below.I want to space before Tel no.Please be advice how i can do. Thank you. --------------------------------------------------- Email Result -------------------------------------------------- General Info Request Name: Khan 1665 Bloor Street Mississauga L4X3T4 Tel:647-290-0000 Email: [email]hanyon@gmail.com[/email] Best Time To Contact:11am Message …

Web Development php
Member Avatar for mindful123
0
213
Member Avatar for calina

Hi guys I was wondering whether someone could help me with a slight issue I have. I'm trying to set up a quick poll using AJAX which all works fine when using Firefox but running into issues via IE. [CODE] $(function() { $('.error').hide(); $(".button").click(function() { var userid = $("input#userid").val(); var …

Web Development javascript javascript-jquery
Member Avatar for Practicality
0
164
Member Avatar for ibanez270dx

Hey guys, I've very new to JSP, Java, and Netbeans and I'm having an issue... So I've got an ArrayList of User objects and I'm trying to iterate over the list in a JSP page to display the info. I've included the JSTL 1.1 jstl and standard libraries. Here is …

Web Development apache java java-jsp java-netbeans
Member Avatar for ibanez270dx
0
5K
Member Avatar for sanna.s

hello...i m new to the web designing field, currently i m working on wordpress themes for my website, the exact link of the theme for which i m working is{*"http://www.press75.com/the-folio-elements-wordpress-theme/"*},the theme "folio elements" has a image slider and when we click on a particular image it gives us the details …

Web Development file-stream javascript wordpress
Member Avatar for WHHG_InMotion
0
152
Member Avatar for davil

I found a great client side image resize solution: [url]http://www.resize-before-upload.com/[/url] but the free version doesn't have form integration, so I copied some ajax code off the internet and integrated it into my PHP - so it just keeps checking for a specific file to be uploaded and then the PHP …

Web Development client-server javascript php
Member Avatar for Airshow
0
591
Member Avatar for alsoumhi

Hi all , I am trying to map a user to a jsp page when he tries to enter to a directory of my application using URL. let say my web directory is called school and it has a directory called pages . now I need to map a user …

Web Development java-jsp xml
Member Avatar for ~s.o.s~
0
314
Member Avatar for umairraja52

I use ASP with IIS 6.0 but i face error, ASP page not displaying in Interent Explorer while HTML code is working properly. What problem this can be.

Web Development asp
Member Avatar for naziatarannum
0
108
Member Avatar for djscratch

I've new to .NET. I'm trying to add a button dynamically with an event. Initially, I have a button with a click event. The original button's click event response writes a test message and adds a button. The new button has a click event attached with a test message. Unfortunately, …

Web Development asp.net web-server
Member Avatar for djscratch
0
112
Member Avatar for vgkarthi

Hi one of my friend have this problem.. it will be helpful if we can give him a solution. The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so …

Web Development php session xml
Member Avatar for vgkarthi
0
115

The End.