52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ilokana

Can you divert one database to another database if the former has crashed? My site crashed and would like to have a backup database if this happens again (hopefully not!). Thanks.

Web Development mysql php
Member Avatar for SoN9ne
0
72
Member Avatar for sugumarclick

Hi all I like to display the next and previous content's teaser for every node in drupal(PHP CMS) . .Is there any module available for this issue.. next and previous content's teaser should be of the same taxonomy of same content type.. Suppose if i a news is displayed in …

Web Development cms php
Member Avatar for sugumarclick
0
128
Member Avatar for facadie

Hi I'm new to asp.net I'm using a login view as a login view but has converted to just a template. and I have a problem that how come when i view in browser it already log in as my laptop user account. how can i make it the way …

Web Development asp.net
Member Avatar for guru_sarkar
0
113
Member Avatar for adam1991

Ive just created a login system using a tutorial, but it doesnt say how to protect the admin page, just logs you in.. Here first is my HTML, Login form [CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="login.aspx.vb" Inherits="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 runat="server"> <title></title> …

Member Avatar for guru_sarkar
0
115
Member Avatar for CelestialDog

Hi all, I have a problem where i want two images loaded as backgrounds for seperate divs on my master page. I have created a seperate stylesheet and used the appropriate background-image: url() style tag. All the other css styles i set such as border size, color and so on …

Web Development asp.net
Member Avatar for guru_sarkar
0
91
Member Avatar for toad78

I would like to convert information from a MySQL dbase table to PDF, but only certain columns within the table. I've heard about many PDF class programs, but the people who've recommended them can't seem assist me with using the program. I may be a novice with PHP, but would …

Web Development pdf php
Member Avatar for diafol
0
130
Member Avatar for shuchi.vishnoi

There is a jsp page on which I have to access the selected value from a dropdown list and then compare it's value with the field 'role' stored in mysql database. I have to comapre both values to authenticate the user. I can access the role from dropdown list but …

Web Development java-jsp session
Member Avatar for Thirusha
0
173
Member Avatar for bvaz

I know this must be simple because I cannot find a reference to it. I would like to use javascript to load the background-color value of a table row into a css file. The background will vary depending on which menu option is chosen. To hopefully clear this up, the …

Web Development html-css javascript
Member Avatar for bvaz
0
100
Member Avatar for fawadkhalil

Hi I have an image converted to binay and saved in SQL database. Below is my line of code where application is throwing above exception that im using for showing image [CODE] Dim mem As New IO.MemoryStream(CType(io.File.ReadAllBytes(imgfilepath), Byte()))[/CODE] Does anybody knows how can i fix this? Thanks and regards, f

Web Development asp.net vb.net
Member Avatar for fawadkhalil
0
120
Member Avatar for thilinam

Hello every body. I'm trying to connect my asp.net website with SQL server 2005 database. I have two copies of my site. One in File system and other one in local IIS. When I try to connect website in file system it is OK. But I am unable to connect …

Web Development asp asp.net sql
Member Avatar for thilinam
0
132
Member Avatar for archanaj39

hi, I have developed website "Job requisition and Interview System". In this website I offer products for accessing resume of Job Seeker . After buying the product they can accesses resumes by activing status.After one month validity of product get over.And status become inactive.In this I did active status but …

Web Development asp.net
Member Avatar for reach_yousuf
0
121
Member Avatar for ritu verma

I want to ahve td border,But there is no property border,Can somebody tell me how to set td boder?

Web Development asp.net
Member Avatar for reach_yousuf
0
111
Member Avatar for Boronia

Hi I got a online reservation website and I am having a problems with reservation forms. Forms were ok until couple of months ago. When you submit the reservation form it doesn't go to the admin e-mails but all reservation are kept in the database. it's a php/ mysql database …

Web Development php
Member Avatar for Boronia
0
165
Member Avatar for lcyew

Hi. I'm doing exporting from .php to .pdf now and face a little problem here. I've found something like below and I think it might be helpful for me to do exporting to pdf. [CODE]<?php $mypdf = PDF_new(); PDF_open_file($mypdf, ""); PDF_begin_page($mypdf, 595, 842); $myfont = PDF_findfont($mypdf, "Times-Roman", "host", 0); PDF_setfont($mypdf, …

Web Development pdf php
Member Avatar for digital-ether
0
143
Member Avatar for sanjanaa

Hi, ASP.Net does not shows Save As dialogue box while converting Datgrid into Excel/Pdf. My code has no errors. It Doesn't do anything. I am using this code: Response.ClearContent(); Response.AddHeader("content-disposition", "attachment; filename=Sample.xls"); Response.ContentType = "application/vnd.ms-excel"; System.IO.StringWriter sw = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter htw = new HtmlTextWriter(sw); dg.DataSource = dmpset; dg.DataBind(); dg.RenderControl(htw); …

Web Development asp asp.net pdf
Member Avatar for sanjanaa
0
317
Member Avatar for Inny

Help my blog comment form and button are not appearing. Whats wrong? [url]http://codisarc.blogspot.com/[/url] <a href="http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comments"location.href=http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comment-form;> 0</a> </style> <link rel="me" href="http://www.blogger.com/profile/11763506196893470340" /> <link rel="openid.server" href="http://www.blogger.com/openid-server.g" /> <!-- --><style type="text/css">@import url([url]http://www.blogger.com/static/v1/v-css/navbar/697174003-classic.css);[/url] div.b-mobile {display:none;} </style> P.S I get this Error... [quote]Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; …

Web Development html-css javascript
Member Avatar for Inny
0
359
Member Avatar for grr

[CODE]function fafaconnect($db_host, $db_user, $db_pass, $db_name) { @mysql_connect($db_host, $db_user, $db_pass); @mysql_select_db($db_name); } if ($link = @mysql_connect("localhost", "admin", "pass")) { echo "pass-"; } else { echo "fail-"; } if ($select = @mysql_select_db("zushee")) { echo "pass-"; } else { echo "fail-"; } if ($newlink = fafaconnect("localhost", "admin", "pass", "zushee")) { echo "pass"; } …

Web Development php
Member Avatar for Stefano Mtangoo
0
131
Member Avatar for cmills83

Hi I have a page with a bunch of divs set to display:none with 70kb background images. As buttons are clicked the divs are displayed. The background images are specified in an external stylesheet, pc firefox, mac ff, mac safari and every real browser ignors them until the div is …

Web Development javascript
Member Avatar for Troy III
0
105
Member Avatar for drewj

Hi, I am not sure if what I am trying to do can be done, but basically I want to add/edit/delete information in a text area from inputs. I know how to add from inputs to text area but I am struggling with the edit and delete. [CODE] <script language="javascript" …

Web Development javascript
Member Avatar for abxyij
0
317
Member Avatar for amail

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in activation.php on line 11 Invalid Validation Code what is wrong here? [CODE]<?php session_start(); include "mysql.php"; $c; if(!$_GET['code'] || !$_GET['act']) { die("Invalid Use Of System."); } else { $code=$_GET['code']; $cq=mysql_query("select * from confirm where code=$code",$c); if(mysql_num_rows($cq)== 0) { die("Invalid …

Web Development mysql php
Member Avatar for CFROG
0
266
Member Avatar for egturnkey

Hello friends, let us cosider [CODE]$a[1]['en'] = "ok";[/CODE] and we have a form with submit option as following [CODE] <form method=post> <tr> <td>name :</td> <td><input type=text name=PlanName></td> </tr> <tr> <td><input type=submit name=submit value="xx"></td> </tr> </form> [/CODE] and its php code [CODE] if(isset($submit) && $submit == 'xx') { $q1 = "insert …

Web Development php
Member Avatar for omoabobade
0
87
Member Avatar for shadwickman

Hello, I know you probably get quite a few threads asking this, but the DaniWeb search didn't pull up what I was looking for. So here we go: I have a page that I've made as "private" by including my access control script at the top. The access control script …

Web Development php session
0
102
Member Avatar for neeraj20gupta

i m a stater with jsp .... have installed Tomact 5.0.28. Its displaying server page when i type [url]http://localhost:8080[/url] now i have made a simple context.jsp file----> [code=JSP]<HTML> <HEAD> <TITLE> Context </TITLE> </HEAD> <BODY> <% out.println("First JSP APPLICATION"); %> </BODY> </HTML>[/code] placed it in a folder ch in webapps folder …

Web Development java-jsp
Member Avatar for neeraj20gupta
0
196
Member Avatar for Kruptein

I got a table that is made up as followed: [icode=table]region_id,...nation_id[/icode] the regions are countries, the nations are names users choose. I want to have a world map showing which nation has which region, Is this possible? I'm not sure how to do this, but maybe something with <map> and …

Web Development php
Member Avatar for diafol
0
80
Member Avatar for MORACOM

I have this JSP code that i found online and it seems to work cuz it loops thru the xml file and writes the HTML code for the TRs and TDs but for some reason is not displaying the data. Am i missing something? [CODE]<%@page import="org.w3c.dom.*, javax.xml.parsers.*" %> <% DocumentBuilderFactory …

Web Development java-jsp xml
Member Avatar for peter_budo
0
135
Member Avatar for amail

hi. I have been working on this page for a while and all I get is errors...(this time: Parse error: syntax error, unexpected $end in /header.php on line 291) can someone please help to fix this? [CODE]<?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE html …

Web Development html-css php
Member Avatar for pritaeas
0
165
Member Avatar for arindamtech

Hello Php Champs, I am new in php , I am getting this problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent I have written the following code at the top of header.php [code=php]<?php ob_start(); session_name(); session_start(); ?>[/code] I am new, failed to understand what could …

Web Development php session
Member Avatar for cwarn23
0
73
Member Avatar for j_limboo

Please advice once the session is created by A client and B client logs in with the same username and password I want to logout A client Is this possible? [CODE] <?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) …

Web Development php session
Member Avatar for j_limboo
0
72
Member Avatar for ceyesuma

Topic The topic of this question is: JSF_navigation and database connection Hello and Thank you in advance for any assistance. [b] System info: [/b] Netbeans6.7.1,jsf1.2,two MySQL databases.(one for login one for searches) [b] The purpose of this post is: [/b] Try to get the login jsp to switch to the …

Member Avatar for ceyesuma
0
163
Member Avatar for nadnakinam

[CODE] <?php //CONNECTION TO DATABASE! $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="accounts"; // Database name $tbl_name="login"; // Table name $tbl1_name="details"; // Table1 name $con=mysql_connect("$host","$username","$password"); mysql_select_db("$db_name",$con); $show_all=$_POST['rg01']; // Show All //echo $show_all; if($show_all!="") { $sql="SELECT * FROM $tbl1_name WHERE sex='$show_all'"; $result=mysql_query($sql); } else { echo …

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

Hello! I need help.. please.. i'm new at php... but i need to make this: i have a database (postgreSQL) on a server... now on my webpage, i want to insert (manually-in my webpage) like with a text box, i insert there the client name (and other box's for the …

Web Development client-server php postgresql sql
Member Avatar for gpss
0
141
Member Avatar for 123468743867143

Need instruction. Please. [B][COLOR="red"]Situation:[/COLOR][/B] Most of my site pages start with the following: [COLOR="Green"]<? include("include/common.inc.php"); top(); left(); middle(); bottom(); function middle(){ ?>[/COLOR] My include/common.inc has the head, title, meta tags which means they look the same on EVERY single page of my site (hundreds of pages!). Not good for SEO. …

Web Development php seo
Member Avatar for Eng.h
0
456
Member Avatar for genieuk

Hi, Can someone tell me if i can use the below query. When i click submit button SQL says: [QUOTE]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 'WHERE username = 'genieuk'' at line …

Web Development mysql php
Member Avatar for genieuk
0
65
Member Avatar for mansi sharma

Suppose there are two buttons named button1 & button2.I wnat that when the user presses enter key,button2 click event will fire? How to do dat,Can somebody tell me?

Web Development asp.net
Member Avatar for nverma
0
122
Member Avatar for sakhi kul

hi to all I am developing website in ASP.NET 2.0 using VB. I want to use AJAX controls in my website so I download AJAX control tool kit from official AJAX site but I don't know how to use it. Plz explain...

Web Development asp asp.net
Member Avatar for nverma
0
110
Member Avatar for Graphix

I am currently working on a small script that allows people to insert BB-codes to edit their text. They are able to click a button (for example underline) and then the bb-code will appear at the end of the textfield-value. How can i retrieve the current position of the cursor …

Web Development javascript
Member Avatar for Graphix
0
182
Member Avatar for ibrahim_hl

hello friends i make a site using asp.net2008 and i want to publish it on local server which connect to other client computer through LAN can any one tell me how to do that please how can i publish my website on the server and can i use IIS6 or …

Web Development asp asp.net client-server
Member Avatar for ibrahim_hl
0
118
Member Avatar for moon_isha1

i m using windows, xampp, with appache sever. plz tell me from the first how to send mail in php on localhost ... this is really pizzing me ... plz its very urgent plz help me thank you...

Web Development php
Member Avatar for network18
0
357
Member Avatar for punithapary

Hi, I uploaded all php files to the ftp all files are working but some links are showing error, 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. Please can anyone help me to solve this issue thanks …

Web Development php
Member Avatar for network18
0
63
Member Avatar for nishanthaMe

I want to run an infinite loop,as soon as my web server start up.I can write php loop but how i start it from the start of the server without user request for starting.

Web Development php web-server
Member Avatar for network18
0
152
Member Avatar for exactprecisions

I see these sites with PHP files that have for example here it is ?do=. I wanted to make an array of documents names: $navigation[0] = "index.php"; $navigation[1] = "page1.php"; $navigation[2] = "page2.php"; So on and so forth. I'm probably not making any sense, but as I said in the …

Web Development php
Member Avatar for exactprecisions
0
146
Member Avatar for cavpollo

I know this might sound dumb or you might think that its pointless, but I need to do it this way. So here it goes, is there any way of placing a master form inside other master form's content place holder (or another kind of object)?

Web Development asp.net
Member Avatar for Ramesh S
0
79
Member Avatar for abrocketman

Hi, I have looked throught his code for about 2 hours now and i cannot seem to find the error. Pelsaae could you tell me where i am going wrong. Parse error: syntax error, unexpected $end in CreateAccount.php on line 112 [CODE] <?php class CreateAccountPage { public function __construct() { …

Web Development html-css php
Member Avatar for abrocketman
0
287
Member Avatar for diya0076

hello.. i am making website on "electronics products" in asp.net in the product table i have product id product name product price product image bt problem is how to give features for each product?? what are the options for that?? i mean should i add new field for that? or …

Web Development asp.net
Member Avatar for diya0076
0
158
Member Avatar for Susan.LK

Hi there, If users want to be able to see more than one image for a searched book which would be the best way for the database table to be designed? Book table : Isbn, year, title, image_1, image_2, image_3, image_4 or Book table Image seperate Each book will in …

Web Development php
Member Avatar for djjjozsi
0
113
Member Avatar for sakhi kul

Hi to all, I format my laptop and installed VS2008 . after running my webpage it gives me error that "compiler executable file csc.exe not found" (It is for previously build website) and if I create new website and run then It gives error that vbc.exe not found" why this …

Web Development asp asp.net
Member Avatar for sakhi kul
0
98
Member Avatar for JonJacobs

I have a Web page named Menu.aspx on which I have a (gasp) Menu control. It is bound to an XMLDataSource control, which is bound to an XML file. My problem is that clicking the menu item does not navigate to another page. It just flickers and re-displays the current …

Web Development asp.net web-server xml
0
103
Member Avatar for Pleasant Day

My web site will be on their hard disk, but the font I use will not be added to their C:\WINDOWS\FONTS But I want them to be able to see my non default font, Though I can put the font in the directory of the web page. Can this be …

Web Development hard-drive javascript
Member Avatar for Pleasant Day
0
142
Member Avatar for mr.dangerous

I am able to insert MP3 files on web page but I want to display a list of 10 songs and user may select anyone. The selected song must be played in the player on the web page(I dont want separate player for every song. is this possible?) am posting …

Web Development audio php
Member Avatar for almostbob
0
94
Member Avatar for aditi_19

I have a question : When i combine php and javascript as in the code below, my current php page does not navigate to timesheet.php until i write document.write() in my javascript code? Why is it so? It slows down reloading the form and a white screen also flashes before …

Web Development javascript php
Member Avatar for aditi_19
0
148

The End.