52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for achiman

Can anyone please tell me how I can write a PHP program to automatically generate bar code when a code is entered e.g 04565434782 using universal product code (UPC-A). Thanks

Web Development php
Member Avatar for achiman
0
64
Member Avatar for thebluestar

While saving the html code, I accidentally saved my code as encrypted code. I don't remember what did I do. More importantly, Now I dont' now decrypt it. Please help me make it return as html code. Thank a lot! [CODE] 3C 21 44 4F 43 54 59 50 45 …

Web Development html-css javascript
Member Avatar for almostbob
0
668
Member Avatar for satiss7pwr

[code] public CheckBox[] cb = null; int z=0; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { int count = (int)countcmd.ExecuteScalar(); Int32 k = Convert.ToInt32(Session["TZ"]); cb = new CheckBox[count - k]; OleDbCommand cmd = new OleDbCommand("Select Member_Name from Member_Master", con); dr = cmd.ExecuteReader(); while (dr.Read()) { //creating check box …

Web Development asp.net session
Member Avatar for apegram
0
103
Member Avatar for cw08

What I'm trying to do is import a list of addresses from an xml file and display them in a google map. When each marker is clicked, a window will appear with the address and a name given from the xml. So far, I've gotten the code to work, with …

Web Development google javascript seo xml
Member Avatar for pritaeas
0
156
Member Avatar for peko_peko

Hi all, I'm new to PHP and at this stage I'm still learning what is and isn't possible with PHP. I want to add a script to my website that will automatically add the file size next to any link that leads to a non-HTML document. For example, imagine I …

Web Development pdf php
Member Avatar for peko_peko
0
202
Member Avatar for embee

hello. i am designing an online library management system as my project work and im having problems with my code.. please can someone help me with the code.. using php and mysql. thanks

Web Development php
Member Avatar for Stefano Mtangoo
0
111
Member Avatar for codewalkz

Hi, i am working on a member database. I need to get all the registrations except the current week. I have a "week" field in my database. This one is fine and echos all the records from week 1 to 8: [CODE]SELECT COUNT(*) FROM agents WHERE week < 9 and …

Web Development php
Member Avatar for rajabhaskar525
0
81
Member Avatar for sheru2302

Hi, I need help on creation imap mailbox. Im new to php. This is a code where have been created by previous programmer. [CODE] if (($USER_REG_IS_LOGIN) && ($tmp_imap_server)) { if (!$user_exist) { $form_password = $tmp_emailname . "_1234"; $request_cmd = "create_imap_user {$tmp_emailname} {$tmp_imap_server} $form_password"; $request_data = UserRegSvr::send_request($socket, $request_cmd); $request_data = unserialize($request_data); …

Web Development php
Member Avatar for sheru2302
0
710
Member Avatar for LloydFarrell

Hi all, Over the last week or two i have been working on uploading images to mysql db, Whilst i have the image uploading to the correct location and the name of the image added to the database, i cant understand how to add the image location to the name …

Web Development file-system image mysql php
Member Avatar for LloydFarrell
0
204
Member Avatar for azegurb

can you help me what is here [CODE]$this-&gt;contents = $contents;[/CODE] it must be like this [CODE]$this->contents=$contens[/CODE] musn't it? thanks for attention beforehands [CODE]<?php class Box { var $contents; function Box($contents) { $this-&gt;contents = $contents; } function get_whats_inside() { return $this-&gt;contents; } } $mybox = new Box("Jack"); echo $mybox-&gt;get_whats_inside(); ?> [/CODE]

Web Development php
Member Avatar for azegurb
0
78
Member Avatar for takeshi

hi..is there anyone knows how to do that?to be able not to read by anyone my password when they want to view the username and password account..?

Web Development php
Member Avatar for almostbob
0
72
Member Avatar for takeshi

G' day! my code here was good.. [CODE] <?php if(isset($_GET['btnsubmit'])){ $can = array($_GET['pres'],$_GET['vp']); mysql_connect('localhost','root'); mysql_select_db('sample_poll'); foreach($can as $val){ $sql = mysql_query( "UPDATE candidate SET votes=votes+1 where can_id='".$val."'" ); } echo "<h1>vote complete!</h1> <a href='voteresult.php'>see all vote results</a>"; }else{ echo "<form method='get'> <h2><center>Select Candidates</h2> <h3>president:</h3> 1.) lace <input type='radio' name='president' value='1'> …

Web Development php
Member Avatar for cwarn23
0
135
Member Avatar for niro_fernando

Can any body plz help me , i want to install php apachi and mysql and configer them, can any body help me , i search on the net but the links are not working to downlonad them.plz help me

Web Development php
Member Avatar for Stefano Mtangoo
0
111
Member Avatar for OmniX

Hi Guys I have been using the DIRECTORY SEPERATOR and from time to time i get a %5C instead of the appropriate / or \ now. Any ideas what is the problem? Thanks, Regards X

Web Development php
Member Avatar for amd_k8
0
94
Member Avatar for cityboy

I am trying to find out how i would include the option to upload a picture as part of a form. i need help with the following: 1. how to add picture upload to form 2. how to store image in folder with the location stored in the database. 3. …

Web Development file-system image mysql php
Member Avatar for rajabhaskar525
0
120
Member Avatar for Reliable

hello Everyone, I am trying to test PHP mail on my local host but to no avail. I have changed the SMTP in my php.ini file to that of my ISP. I have downloaded and installed both Mozilla's Thunderbird 3.0 as well as ArgoSoft MailServer free 1.0. I have Googled …

Web Development php
Member Avatar for Reliable
0
139
Member Avatar for xuexue

please help me guys, i need to know how is it possible to make a line graph using php/javascrip/html. data will be coming from a live database, so basically the webpage will just plot the data coming from the database, but the problem is that, even the basic know-how's i …

Web Development php
Member Avatar for julzk
0
108
Member Avatar for Mike516

I made a registration script my problem is getting the errors to post in the div area. here is a picture: [url]http://screencast.com/t/OTcwNWMxN2Qt[/url] [CODE] <head> <LINK href="css.css" rel="stylesheet" type="text/css"> <title>Registration</title> </head> <div class="roundcont"> <div class="roundtop"> <img src="/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" /> <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post"> <table class="table"> …

Web Development php
Member Avatar for amd_k8
0
72
Member Avatar for sfrider0

I have been working on this a while and have tried just about way trying to delete a row from a database using a button. What I have is a list of websites and data about each on each row. Then next to the row is a Delete button. I …

Web Development html-css mysql php
Member Avatar for FlashCreations
0
9K
Member Avatar for tunde011

I have a table that accepts article and email from a user and another table that accepts the name and comments from another user. I want the first user(the person who post the article to recieve email that someone has commented on the article. I will appreciate it if you …

Web Development email php
Member Avatar for diafol
0
80
Member Avatar for veledrom

Hi, This is my URL [inlinecode]index.php?name=BSC&Subject=C++[/inlinecode] When I do [inlinecode]echo $_GET["Subject"];[/inlinecode], result is [B]C[/B] without ++ I also tried (string) and settype() functions but no luck How do I solve this problem? Thanks

Web Development php
Member Avatar for veledrom
0
165
Member Avatar for nadnakinam

hi everyone, I have designed a web site which works fine in local server. but when i upload it on to server i get this problem, which really annoying me :@ I'm getting this warning, Warning: Cannot modify header information - headers already sent by (output started at C:\...\...\Domain.com\login.php:6) in …

Web Development php web-server
Member Avatar for nadnakinam
0
103
Member Avatar for architact

Hello, I am developing a site on which upon registration the users will receive a personal site with the address username.domainname.com Please tell me how this can be achieved, I think it might b possible with the use of mod_rewrite but I am not sure. Please help me with this …

Web Development php
Member Avatar for architact
0
144
Member Avatar for balam

Hi, I have a paginations script to display data from my database but i would like to paginate someones search results. I have this script but get an error that says "syntax error, unexpected '=', expecting '}'" for this if(!$start){$start = 0;} [CODE] <?php include ("connect.php"); $per_page = 20; $start …

Web Development php
Member Avatar for balam
0
122
Member Avatar for SamiBH

Hello I want to learn how to make a script, that reads 2 tabels to find and print top 10 users Table1: postname - userid Tabel2: username - id ( userid = id ) the script needs to count and print top 10 users with most posts #1 userA 1000 …

Web Development php
Member Avatar for SamiBH
0
111
Member Avatar for php.devesh

Hi to reader, i used all the tricks. but every time failed. Let i tell u what i have and what i want. i have a website. [url]http://www.directorylistforseo.com[/url] and in this website some ulrs are exist Like a) [url]http://www.directorylistforseo.com/search.php?id=93[/url] b) [url]http://www.directorylistforseo.com/search.php?subcat=110[/url] and i want convert in into a) [url]http://www.directorylistforseo.com/search/id/93[/url] b) …

Web Development apache php web-server
Member Avatar for arunss
0
164
Member Avatar for srujan37@gmail.

i am having issues with this code its not comparing valid inputs as well, is it wrong as far as database is concern .it is always giving me invalid as out put [CODE]<%@ page language="java" import="java.sql.*" %> <%@ page import="java.util.*" %> <% String id=request.getParameter("id"); String pass=request.getParameter("pass"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection …

Web Development java-jsp
Member Avatar for musthafa.aj
0
87
Member Avatar for azegurb

Hi all; i have script below i would like to ask why there var step=1; outside the function works but inside not anyone explain me pls thanks beforehands [CODE]<html><head> <script type="text/javascript"> <!-- var image1=new Image() image1.src="bir.jpg" var image2=new Image() image2.src="iki.jpg" var image3=new Image() image3.src="uc.jpg" //--> </script> </head> <body> <img src="bir.jpeg" …

Web Development javascript
Member Avatar for azegurb
0
243
Member Avatar for fredrickme

Good day all,please i need your help . I developed servlet authentication login and now i want each of my password to be allowing only 3 times access on a particular username before it becomes invalid for ever .it will prompt an error message "sorry the password has been used …

Web Development java-jsp
Member Avatar for musthafa.aj
0
968
Member Avatar for requiem2

Hi guys, This is my first post here. Actually wanted to insert record into an sql database (using sql server 2000 and visual studio 2000) I'm using a dataview to see if the user already exists. This, i've been able to retrieve and it works. Now if the user does …

Member Avatar for somit
0
152
Member Avatar for Heila

Checkebox doesn't hold its value when i use jQuery styling plugin wich allows me to skin form elements. but when i remove the jQuery the code works !! can someone plz tell me the way to fix it ?! Code: [CODE] <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> <head> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"/> …

Web Development javascript-jquery mysql php
Member Avatar for JRM
0
313
Member Avatar for nejix

Dear all, I get the following problem: My users register on my website and enter a date of birth into the database (Mysql, DATETIME field). Now I would like to create a query that shows the upcoming birthdays within X days. For example: name [varchar(25)] :Tim birthday [DATETIME] : 1984-01-23 …

Web Development mysql php
Member Avatar for Will Gresham
0
73
Member Avatar for disc

Hi all, After moving my PHP-code from a Windows Server to a Linux one I have problems with the $_SESSION variables. When I login an click a menu option, all my $_SESSION variables get cleared and I have to login again. Does anyone recognize this problem and have a solution …

Web Development apache php ubuntu windows-server
Member Avatar for cwarn23
0
189
Member Avatar for shlesha

i want to upload pictures in a folder rather then Mysql database ,please give me direction to uploading images in a folder

Web Development image java-jsp
Member Avatar for fredrickme
0
116
Member Avatar for manjunath_praj

How can I add something at page level without inserting into the database. Thanks Manju

Web Development asp.net
Member Avatar for rje7
0
114
Member Avatar for mmxbass

Reinventing the wheel every time I need to do a site with file upload is getting a bit old. There must be a better way. I've looked for a php uploader class but alot of them seem incomplete, poorly documented, or just plain sketchy. I'm looking for something that: [LIST][*]MIME …

Web Development php
Member Avatar for mmxbass
0
75
Member Avatar for zeroge

Hi I use the following form validation and it works all fine, except my email input does not get validated. Input type = email field name = emailto this is the code: [CODE]function formCheck(formobj){ // Enter name of mandatory fields var fieldRequired = Array("emailto","from", "emailfrom","zigi"); // Enter field description to …

Web Development email php
Member Avatar for zeroge
0
191
Member Avatar for genieuk

Hi, I wanted to ask professional members who has built websites in the past wheter you include all your include files in the <head></head> section of your site. I split my design in two header-inc.php and footer-inc.php, obviously the <head></head> section will be in header-inc.php. Reason is most of my …

Web Development php
Member Avatar for almostbob
0
163
Member Avatar for GajananPund

Hello All, I want to retrieve encrypted value from database decrypt that value and again encrypt that value and save into database. above steps should be happen on single button click. Its very Urgent. Thanks.

Web Development asp.net
Member Avatar for GajananPund
0
90
Member Avatar for ayesha789

Hi I am using XAMPP . I have developed a LOG IN System. How I can check either User is ONLINE or Not.

Web Development php
Member Avatar for elisha24
0
1K
Member Avatar for shiv0013

what is wrong in the below code? i am not able to write in div er [CODE]function check() { var pass,confirm; pa=document.chg_pwd.pass.value; confir=document.chg_pwd.confirm.value; if(pa!=confir) { return true; } else { return false; } } function val() { var pass=document.chg_pwd.old.value; if(pass==="" || pass==null ) { return false; } else { return …

Web Development javascript
Member Avatar for shiv0013
0
91
Member Avatar for Venom Rush

Hi All I'm trying to build a page that has a captcha and allows for a file upload. Currently when I select a file, fill in the captcha and hit submit the file is uploaded to the server in a temp directory before checking the captcha. I need the captcha …

Web Development php
Member Avatar for Venom Rush
0
62
Member Avatar for love_dude1984

hi.. im trying to put my data on a server & work on the same from other machine..im using win2003 as OS of my server & on the other machine's XP is the OS. my problem is, when i try to run my C# applications from the other machines, it …

Web Development asp.net sql
0
81
Member Avatar for dolu

Hi all.. I have written one php code to kill a process on my shell. for this i have used shell_exec function. the code is: start.php [code] <?php echo "into php"; shell_exec ('killall -9 sshd-sim'); //sshd-sim is the process to be killed echo "out of php"; ?> [/code] the problem …

Web Development php
Member Avatar for dolu
0
2K
Member Avatar for Bloodhand

Hello everyone, I'm still pretty new to javascript and require a little help. Basically, I wrote my first script, which was designed for innerHTML, and tann I found a website which showed me a few things. It showed me how to use two links per harder, one shown, one hidden, …

Web Development javascript
Member Avatar for Bloodhand
0
162
Member Avatar for 68thorby68

I am try to put the finishing touches to a mail function, and would like to show an alert to tell the user the form has been submitted correctly. I would then like to redirect them to another page in the site. The alert works OK on its own, but …

Web Development php
Member Avatar for 68thorby68
0
163
Member Avatar for RicardoE

Hello, folks at Dani Web I'm a new to Dani Web and I hope to be helpful to a lot of people, but first I want to ask something. You see I have a huge problem, it begins with a desktop app I'm currently coding written in C# for a …

Web Development php piracy
Member Avatar for RicardoE
0
101
Member Avatar for rouse

In the following code I just want to disable the textbox if “other Amount is selected”, radio element 7. I have been working at this too long cause I can’t see the problem. Can someone point out what I am doing incorrectly [Code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" …

Web Development javascript javascript-jquery
Member Avatar for rouse
0
180
Member Avatar for rayarman

Hi, I have a problem with IE7 (Works fine in FireFox!). I'm sending a Jquery AJAX POST request to get option values from a PHP script. The php script returns a bunch of the following: [code]<option value='x'>xxx</option>[/code] Ajax also sends a value to the PHP script, so if that value …

Web Development javascript
Member Avatar for rayarman
0
82
Member Avatar for ppetree

Hi All! I found a simple star-rating system based on mootools, dhtml and css. It seems to work fine with one exception that I just can't seem to figure out. You set it up as in the following:[code] <td class='td_stars'> <ul id="price" class="rating onestar"> <li id="1" class="rate one"><a href="#" title="1 …

Web Development javascript
Member Avatar for ppetree
0
143

The End.