52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kumarbhc85

hi, i try to write a word doc at runtime through bookmark and it work in local system. But "COM" was not working in Linux server.. pls give me some other code to do this operation. i search in google but i cant find the exact code.. Thanks Kumar.

Web Development php
Member Avatar for hphiri
0
528
Member Avatar for nonshatter

Hi all, I'm need to devise a server-side method of preventing multiple form submissions. The form is submitted to the same page. I have read about generating a unique value in a session and insert a hidden input field to detect multiple submits, but would this work with a same-page …

Web Development php session
Member Avatar for JRM
0
126
Member Avatar for sau_shilpa

Hi, When I try to connect a jsp page with MS Access database, it gives an error "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified " What does that means?

Web Development java-jsp microsoft-access
Member Avatar for patel_amul
0
241
Member Avatar for gdp_87

Hi i have a simple custom member ship provider: Can anyone help me with a simple if statement or switch case where i can route administrators to one page and users to another? I am currently using the asp.net login controls and dont see how i can specify two different …

Web Development asp.net
Member Avatar for gdp_87
0
98
Member Avatar for whiteyoh

Hi all, Im wanting to have an "upload picture" button, that on clicking will upload the picture into a directory, but then capture only the filename of the picture to be stored in the database. This is for creating a catalogue entry. Im fine with the form information and disabling …

Web Development php
Member Avatar for whiteyoh
0
82
Member Avatar for phingko

Hi guys, I'm using ajax to display the xml file. On my html i put [CODE]<body onload="sendRequest(Display)">[/CODE] so everytime users go to the main.html, all the information in xml will be displayed after transformed by XSL Now the problem is it gets the error [I]Display is not defined[/I] While i …

Web Development javascript xml
Member Avatar for phingko
0
362
Member Avatar for qariella

Hi, i have a big problem trying to make my table sort things.. Table information is cooming from mysql db.. [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>Min telefonbok</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1>Telefonbok</h1> <form id="form" method="post" action="phonebook.php"> <fieldset> <legend>Skapa ny kontakt</legend> <table> …

Web Development html-css php
Member Avatar for qariella
0
174
Member Avatar for Erco21

Hi! I want to insert an elelent (textbox) under another textbox that already exists, and then retriever the value from it for later use i tried with this, but no success: [CODE]function newtxtbox(){ var box = document.createElement("<INPUT TYPE='TEXT' NAME='RADIOTEST' VALUE='First Choice'>") document.body.insertBefore(box, existingbox); } [/CODE] Thanks in advance!

Web Development javascript
Member Avatar for fxm
0
131
Member Avatar for chandruswami

In ASP.Net, when i entered the url in address bar,.. it redirects to the main page without going to login page,.. It should go to the login page,.. then by after getting the login information only it redirects to main page,.. can anyone help me?

Web Development asp.net
Member Avatar for dnanetwork
0
72
Member Avatar for krunalkakadia

hello you all, thanks you all for solving my problems and helping and guiding me. i have news titles with hyperlink in one page when i click on one of the news title then it will navigate to other page and will display news title and content there. now i …

Web Development asp.net display session
Member Avatar for kvprajapati
0
109
Member Avatar for surya_nar

I have a database containing records which I want to edit. I populate a list box which gets populated with the records in the database and I select and click on one of the records for editing. I find that I am able to select the record from the listbox, …

Web Development html-css mysql php
Member Avatar for qazplm114477
0
4K
Member Avatar for sarithak

Hi frnds, I m using the below code...it is working fine...nothing prob in it.. just i want change the visibility of that div....here by default div is visible...but i want default div should be hidden.....plz look into the below code.. [CODE]<html> <head> <script language="javascript" type="text/javascript"> function showHideDiv() { var divstyle …

Web Development javascript
Member Avatar for rajarajan2017
0
227
Member Avatar for vibhaJ

Hi all, i want to know that 'Is mysql support chinese language?' If yes then any changes require in configuration? My site is in english. Let if any user have inserted their information in Chinese and if anyone search using Chinese keyword, then it should match with mysql and if …

Web Development mysql php
Member Avatar for colweb
0
71
Member Avatar for StaticX

Hi, Like the title says I am having a little difficulty connecting a JSP page to database.Here is my code containing the setDataSource, I am pretty sure that this is whats causing the problem. [CODE] <%@ taglib prefix="sql" uri="htpp:/java.sn.com/jsp/jstl/sql" %> <sql:setDataSource var = "labdb" scope = "session" driver = "sun.jdbc.odbc.JdbcOdbcDriver" …

Web Development java-jsp session
Member Avatar for peter_budo
0
195
Member Avatar for Erco21

Hi! I want to write some text to a textbox (using a greasemonkey script to be exact...) but i cant get the right element (textbox) as it somehow doesnt have an id. This is source that is relevant for the textbox (from original page) [CODE] <input name="WebGridBuilder$ctl04$ctl01" type="text" value="something" maxlength="32767" …

Web Development javascript
Member Avatar for Erco21
0
133
Member Avatar for albertkao

I want to call a C++ program from PHP with apache server on Fedora 12 linux. testprog is put in the same directory of the test php program. I see the output of exec('ls -lrt') but not exec("testprog"). Please help. The following are my php and cpp test programs. [CODE]<html> …

Web Development algorithm apache c++ php
Member Avatar for mutirelover
0
2K
Member Avatar for sharathk60

i am calling applet jar file like this [code] out.println("<APPLET code = com.Sample.class " + "codebase = /WebContent/WEB-INF/" + "archive = SamplePassword_signed.jar " + "WIDTH = 200" + "HEIGHT = 350>" + "</APPLET>");[/code] but it gives me a error that class path : class com.Sample.class not found. i have stored …

Web Development ide java-jsp
Member Avatar for sharathk60
0
273
Member Avatar for niths

hi all, is there anything wrong in this. i need hav the value in the radio button to display in the next page. so please can anyone. thank u. ---------user.php-------- [CODE]<tr> <td><input name="radio" type="radio" value="projectassign"></td> <td><?php echo $row['projectassign']?></td> <tr> <td><input name="radio" type="radio" value="projectassign"></td> <td><?php echo $row['projectassign']?></td> [/CODE] ---------upload.php--------- [CODE]<?php echo …

Web Development php
Member Avatar for rajarajan2017
0
193
Member Avatar for MDanz

i have a div that is a pop-up, and it is in a loop. I want to add a form to the below code so i can send the data in the textarea to the next page. Because it is a pop-up, the style changes from display:none to display:block, but …

Web Development php
Member Avatar for rajarajan2017
0
89
Member Avatar for MDanz

i have a textarea with alot of words in it. Is there an alternative way to send the words in the textarea to another page without using a form and submit button?

Web Development php
Member Avatar for vibhaJ
0
947
Member Avatar for futhonguy

Hi I am trying to join 2 sentences together using php and mysql. How can i do so? I am doing this as i need to add an update of a new remarks to the existing remarks. For example, $first = '[B]Hello[/B]'; $second = '[B]world[/B]'; To get the string '[B]Hello …

Web Development php
Member Avatar for futhonguy
0
90
Member Avatar for gymangel812

I want the program to update or add to a database. If an item is selected from the dropdown menu (filled with the product names already in the DB), they I need to update the fields with the information typed by the user or update the picture that is uploaded. …

Web Development php
Member Avatar for sallecpt
0
96
Member Avatar for Helleshtern

I'm trying to could backup one of tables from database using php only. I'd like to save result in some directory at my server or (the best) send it via e-mail. My problem is that: - [B]exec()[/B] is disabled - [B]system()[/B] is disabled I'm tried to use "[B]SELECT * INTO …

Web Development php
Member Avatar for sallecpt
0
126
Member Avatar for gauravchauhan

Only Single image is display .guide how i display multiple image in our page in php i am sending coding . there are two file1.php and file2.php .guide me file1.php [code] <?php header("content-type:image/jpeg"); $con=mysql_connect('localhost','root',''); if(!$con) { die("colud not open"); } $d=mysql_select_db("test1"); if(!$d) { die("colud not open"); } $q1=mysql_query("select * from …

Web Development display image php
Member Avatar for sallecpt
0
171
Member Avatar for sallecpt

Could someone help me with this - I've cracked my head since. When i submit a form and then retrieve the data, there is no paragraphs. Yes I am aware of HTML encoders like TINYMCE but I'd like to submit in plain text. I tried htmlentities and htmlspecialchars but nothing …

Web Development php
Member Avatar for sallecpt
0
186
Member Avatar for AliHurworth

Hi, I am running the scripts below which should return a string containing a URL. So far, it cannot find the form contents in Firefox, but displays the non-dynamic data such as [I]?Location=[/I]. It won't work at all in IE. Can any one help? This is the form: [CODE] <!DOCTYPE …

Member Avatar for BlueIceStudios
0
201
Member Avatar for vishalkhialani

Hi, I want to write a script which will search the net based on a few parameters. They are: 1) Find sites which high pr. 2) Sites should have the feature to allow users to register. I know very basic php and I was wondering how I should go about …

Web Development php seo
Member Avatar for vishalkhialani
0
198
Member Avatar for boet

Hi everyone, This is the error I get for this project. Been through the code all day and no problems found, still I get this error: DB access error(You have an error in your SQL syntax;check the manual that corresponds to your MySQL server version for the right syntax to …

Web Development client-server php ruby web-server
Member Avatar for JRM
0
106
Member Avatar for nsutton

This doesn't really have anything to do with Php but I'm following a php tutorial so...I've NEVER used any database system before... Anyway, I'm following this tutorial, [url]http://buildingbrowsergames.com/2008/04/15/designing-your-database/[/url] I'm up to the part where your making the user sql table in the tutorial. I have no idea where to input …

Web Development mysql php
Member Avatar for JRM
0
206
Member Avatar for kseling

can anyone tell me why this is getting a runtime error? [code=html] <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="windows-1251" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.Odbc" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register TagPrefix="uc1" TagName="links1" Src="/includes/_header.ascx" %> <%@ Register TagPrefix="uc2" TagName="links2" Src="/includes/_nav.ascx" %> <%@ Register TagPrefix="uc3" TagName="links3" …

Member Avatar for kseling
0
190
Member Avatar for danielkull

Hi, I want my cookie was changing like that: 1,2,3,4,1,2,3,4,1,.... after each time I refresh the page. but it is changing somehow randomly. [CODE=php]if (!isset($_COOKIE["bbb"]) && empty($_COOKIE["bbb"])) setcookie("bbb", "1", time()+3600); else { switch ($_COOKIE['bbb']) { case 1: setcookie("bbb", "2", time()+3600); break; case 2: setcookie("bbb", "3", time()+3600); break; case 3: setcookie("bbb", …

Web Development php web-browser
Member Avatar for danielkull
0
105
Member Avatar for wewehalim

Hi, I am making a form validator which has some field like "credit card number" and "credit card security code" I need to make sure that those fields only contain digit, no alphabet and any others characters like "." , "," , etc. I don't have any idea on how …

Member Avatar for d5e5
0
176
Member Avatar for wewehalim

Hi, i am making 3 forms, let's say, form1, form2, form3. In form1, there is a field "givenname" and a submit button that link to form2, and i want to pass this field to form2, i can pass this without any difficulty. However, i also want to pass the field …

Web Development php
Member Avatar for gotschai
0
141
Member Avatar for zilonox

First, let me start off by saying I am using ASP.NET 2.0 with VB as the default language using Visual Studio 2005. I have a form that has an asp:panel on it that is seeded with an iniitial control. Through the use of the form, additional controls may be dynamically …

Member Avatar for zilonox
0
461
Member Avatar for prem2

Hi Daniweb Team, I saw the below code in following url.When i implement this code i does not receive any email.I need to send email via error_log function.Can any one tell me how to do this .For your reference i mentioned the code below. URL: [url]http://www.w3schools.com/php/func_error_log.asp[/url] [CODE] <?php $test=2; if …

Web Development email php
Member Avatar for pritaeas
0
142
Member Avatar for Hammond

I'm having troubles getting a userlogin validation up and running. The login itself works fine, but i need some form of errorhandling on logging in with wrong credentials. My code so far looks like this: [CODE]<%@ Master Language="C#" MasterPageFile="/masterpages/PageWithoutLeftmenu.master" AutoEventWireup="true" %> <%@ Import Namespace="System.ComponentModel" %> <script runat="server"> void OnLoginError(object sender, …

Web Development asp asp.net
Member Avatar for Hammond
0
299
Member Avatar for niths

[QUOTE]hi all, i had a upload page and a down load page. so when we upload a file that wil get displayed in a table and a download link wil be beside that file. everything is fine wit upload but wen i click on download link i am getting an …

Member Avatar for colweb
0
145
Member Avatar for krunalkakadia

hi guys, this is kk here. i want to bind gridview/database data in accrodin panel so which is the way for the same??i have my news categories food,music and business.when i click on news then the titles from the db/gv comes under respected categories and if i click on any …

Web Development asp.net
Member Avatar for rohand
0
99
Member Avatar for maria_mj

I have problem when saving data from gridview into SQL database. When i save the data, only certain data was saved. I want to save all the data. Data that was not saved is from the column where i display a drop down list while editing from the gridview. Another …

Web Development asp.net xml
Member Avatar for rohand
0
130
Member Avatar for jellybeannn

I've got a DataSet that shows a table through Gridview, and the same DataSet also creates a graph. But my problem is that e.g. Date format is different for both, so I was wondering can you change format in a GridView populated by a DataSet? For the graph date has …

Web Development asp.net dataset open-source
Member Avatar for rohand
0
109
Member Avatar for dougancil

I have almost finished a site that I've been working on but have one last thing that I don't know where to add. I have a bulk insert sql query that I want to insert into the .vb code behind and have no idea where to put it. Basically, the …

Web Development asp.net sql web-server
Member Avatar for rohand
0
141
Member Avatar for Reliable

Hey everyone. I wanted to use an HTTP reference within an image tag inside an XML file as opposed to having the image in a folder . Is that feasible?

Web Development javascript xml
Member Avatar for fxm
0
84
Member Avatar for capoon

Hi every one, i try to upload form field into database along with the image but i want the the image name to be in my database as a link while the image itself will be in a directory. I have use something like this code before it works i …

Web Development image php
Member Avatar for siamsoft
0
125
Member Avatar for niths

[QUOTE]hi, i had written two programs and those are working fine but my Team Lead wants that two programs to be in one single page. i used post method so if i place it in single page i am getting error. so can anybody... Thank u.[/QUOTE] -----projectcreation.php-------- [CODE]<html> <body> <script …

Web Development php
Member Avatar for rajarajan2017
0
110
Member Avatar for niths

[QUOTE]hi all, i need to echo the value obtained in the mysql query. so can any one .. Thank u.. [/QUOTE] [CODE]$sql2="select reportingto from users where username='$_SESSION[username]'"; mysql_error(); $result2 = mysql_query($sql2);[/CODE]

Web Development php
Member Avatar for niths
0
97
Member Avatar for galam2009
Member Avatar for rickymartin3
0
78
Member Avatar for kaylors

I don't get what's wrong. The text box is there and the button is there, but nothing's happening. [CODE]<html> <head> <title>Test JavaScript</title> <script> var col=3; fucntion randy() { col++; col%=10; col+=4; col*=45; col/=10; } function funny(num) { if(num=>10){num=num%10;} if(num>=5){num=num-5;} if(num==0) {return "Marry had a little lamb.";} else if(num==1) {return "Ba …

Web Development javascript
Member Avatar for rajarajan2017
0
92
Member Avatar for uberznoob

I am stumped on a javascript that is driving me crazy. I would really appreciate any help. The purpose of the website is to get the birthdate and wedding date from the user. Display the age, number of years married and the days of the week that they were born …

Web Development javascript
Member Avatar for rajarajan2017
0
117
Member Avatar for bsewell

Hi all, I'm trying my first bit of jQuery code but am familiar with Java programming. I'm trying to create a function that loads a div with an image in it, which will fade in and then after 4 seconds move onto the next image. I want it to create …

Web Development javascript javascript-jquery
Member Avatar for rajarajan2017
0
236
Member Avatar for phingko

Hi guys, I have a xml file that contains all the articles with few authors for each of them. something like this; [QUOTE]<authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors>[/QUOTE] I can display them in HTML well the problem is, the way I want to display is …

Web Development javascript xml
Member Avatar for rajarajan2017
0
121

The End.