52,566 Archived Topics
Remove Filter ![]() | |
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. | |
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 … | |
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 | |
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> … Web Development asp.net open-source visual-studio web-server xml | |
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 | |
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 … ![]() | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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, … | |
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); … | |
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 | |
[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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 ![]() | |
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 … | |
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 … | |
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 … | |
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']) == '')) … | |
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 … Web Development database-design html-css java-jsp web-design web-server xml | |
[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 | |
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 | |
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. … | |
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 … | |
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 | |
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... | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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() { … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 |
The End.