17,029 Solved Topics
Remove Filter ![]() | |
Here is my code: [CODE] override protected void OnInit(EventArgs e) { InitializeComponent(); base.OnInit(e); } private void InitializeComponent() { this.cmdUpload.Click += new System.EventHandler(this.cmdUpload_Click); this.Load += new System.EventHandler(this.Page_Load); } private string strConn; OdbcConnection cnn; private void cmdUpload_Click(object sender, System.EventArgs e) { OpenDatabase(); if ((File1.PostedFile != null) && (File1.PostedFile.ContentLength > 0)) { // … | |
i have built a page which loads content into a div tag from a php page using javascript. the problem i am having is that the title for eachg page is not inside the div so i keep being left with the same title on each page. i have tried … Web Development image javascript | |
hi, i want the name of the image selected by a user when uploading an image to be changed to his username. wrote this code but the image stored gets corrupt every time.. [code] protected void Button1_Click(object sender, EventArgs e) { String imagefolder="images"; String path; String savepath; if (FileUpload1.HasFile) { … | |
hi i am using asp.net (VS 2005), the password recovery control gives me the foll error.. The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. b4sm1464356tic.36 i have a gmail account, the details of which … Web Development asp.net client-server | |
hi I have designed a php script an was wondering about a way that I do not allow the customer who buys to install it on more than one domain. I am concerned about the logic of it more than the scripting, but if there is a script available to … Web Development php | |
i'm still struggling with php - its soooo confusing to me this is the code i have now - is it in the wrong order? or whats missing please to make it work - i'm trying to get a result if 'both' genders are selected and if 'any' origin is … Web Development php | |
i need to know what brand is the pocket pc that is using my website in order to show them a page accordingly. do you have any ideas? Web Development javascript | |
Hello, My intended scenario is that, there is a Button component on the visual web jsf page and someone click on the button, instantly a confirm box (javascript) is displayed. Now if the person click on the ok button of the box the form will be submitted but the form … Web Development java-jsp | |
guys when i try to run this code on pc it is fine but it doesnt work on pocket pc : [CODE]<HTML> <HEAD> <TITLE></TITLE> </HEAD> <style> .Field {color: black; border: 1px solid #FFFFFF; background-color: #FFCC00;} .Find {color:blue; font: 10px Arial;} </style> <script> var Fo =new ActiveXObject("Scripting.FileSystemObject"); var StrOut = new … Web Development javascript windows-server | |
hi guys, by default microsoft pocket internet explorer does not display javascript errors to do that, you need to add a registry key : [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "ShowScriptErrors"=dword:00000001 to edit windows mobile registry you can download this software from the following address( i used this software to edit mine, it is … Web Development javascript | |
hi guys, i need to know what should i type to my browser to access apache/tomcat webservers root web folder. there should be some config files that i could see. help please thanks. Web Development apache php web-browser | |
guys i am creating a mobile web application, i dont know how should i incorporate some javascript functionality without passing its limited javascript support, it doesnt support dhtml for example, is there any documentation for that? Web Development javascript microsoft | |
Hello, Basically I am creating a Forum system and I want to add a feature in which the the 'admin' of the forum can delete the topic created inside the forum. I know I would need the following sql statement: [code=php] $sql = "DELETE FROM `forum_topics` WHERE `id`='".$id."'; [/code] Currently … Web Development php | |
Hi, Can i use sleep() for 1 hour? I mean is there any expiry time for it or browser or session so on. Purpose is to send 2000 emails every one hour. Thanks | |
Hi there, Although I wouldn't consider myself a noob, I am still learning about the many facets of PHP. I have encountered a need to write an if statement that will generate an error if the specific criteria are not met. Here's the deal... There are four fields that a … Web Development php | |
I am using OWC 11 in my new web application for displaying charts. Is it possible in OWC 11 to combine and display a column and a line graph (Looking like they overlap each other)? I tried it using this code but it doesn' t work. [code] int width = … Web Development asp.net | |
Hi Everybody, I need some hlep for my website. Whenever i will open my website one pop is required. Can anyone tell me how to do.... please. Thanks in Advance. KavithaKesav Web Development javascript | |
Hello.. I want to compare my database date with current system date and i can do some oprations by that.. Wating ... Shanti Web Development php | |
I'm having trouble compiling my servlet, because it says the servlet classes can't be found. [code] CreateAccount.java:2: package javax.servlet does not exist import javax.servlet.*; ^ [/code] I googled a bunch and most people with this problem had their CLASSPATH set incorrectly. Here is the result when I echo my classpath: … | |
Hi,Will anyone plz suggest me on how to build a html file from rss feed and store it in a webserver or is it possible to make and store html file from the contents of mysql database using php and then store the html file in the webserver. Thanks in … | |
hi all, Donn't know much php........... i want that when user register,his registration date store in db.i want to use server date not his system date in db. thankx in adva... | |
Hello, I am quite new in ASP.NET, I am currently studying C# (still am at the beginning), and I got this task to separate the "code for the presentation part", so I would get two separate files - Test.aspx and Test.aspx.cs. i know that the .cs is actually the C# … Web Development asp.net web-server | |
Hi guys, hoping someone can shed some light. I have a script that I've been using for a while to submit a date to Mysql. Its been working fine but now I'm trying it on a site I'm building and when I hit submit NO date is entered into Mysql. … Web Development php | |
hi my html form contains a table tag <table id="MainTable">. i would like to populate this table using a javascript function. my probllem is that i created a table that contains another table inside on of the <td> tags. i tried to write the most basic code: [CODE=javascript]var myTable = … Web Development javascript | |
So I've created an array based on posted information (a big list of numbers separated by lines which has then been exploded) So this array may contain numbers from 0-100 or whatever So I have one array of numbers Now for each number I want to find out many numbers … Web Development php | |
I really need help with the below error. I dont get this when i run my asp.net c# application in VS@005, but when i make virtual directory on my office Windows server I get this error. Tell me what changes need to be done in C# code or crystal report … Web Development asp.net web-server windows-server | |
I have an .aspx file and i try to align the table to the center. But when i do this [code] <table style="text-align:center"> [/code] it does not work. It shows the table always at the left side of the page. Web Development asp.net | |
First, I searched the forums and couldn't find a thread that matched my problem. I also searched Google for my error message (in quotes) and received 9 results. If you know of a post/article that deals with my specific problem, I'd love to read it. I have a TemplateField in … Web Development asp.net | |
I have as ASP.Net 2.0 website with SQL Server as database and C# 2005 as the programming language. The website is almost complete and all the links are working fine. But I want to prevent normal users from opening a couple of pages. When any user clicks on those specific … Web Development asp.net | |
Hi, I am a beginner for the zend framework. I have viewed the screencast from the zend site and followed them. The summary of the screencasts are: [code] application controllers IndexController.php models views scripts index index.phtml library Zend public .htaccess index.php [/code] The codes are following: index.php: [code] <?php //error … Web Development php | |
Is it possible to send mail through my web application without having SMTP server? For example, the mail will be send through my existing hotmail account or yahoo account to ppl who registered in my web application. If it is viable, please provide me some resources on the method...Thanks in … Web Development asp.net web-server | |
Hello fellow members. I am having a bit of a issue with my forum edit. Here is the code to give you an idea: [code=php] <?php if(!$_SESSION['uid']){ header("Location: index.php"); } $action = $_GET['act2']; $actions = array('reply','topic','admin'); if($action){ $admin = isa($_SESSION['uid']); if($action == 'admin'){ if($admin){ // }else { echo "You are … Web Development php | |
Hi I am using the code below to validate user when they login to my website, the first part check if user have typed their username and the second part search the table to check user exist. These two parts work fine but the last part the while condition don’t … Web Development php | |
Hi, Im needing alil help with this, googled everywhere, but to no avail. I need to search several(the amount could be endless) words in a string, and replace each word with a link using the searched-for value as the text, and id in the link. To achieve this, I am … Web Development php | |
Hi Friends! I have started building my first professional project(actually a web portal). that is kind of business project. I need full membership features. now what you think? If SqlMembership Povider in asp.net is enough for a professional application or not. should i create a custom membership provider. which one … Web Development asp.net | |
hi guys, how to code this vbscript in javascript? thanks.. [code] <script language=vbscript> <!-- Sub CallMenu(n,isHidden) document.all("menu" & n).style.visibility = isHidden End Sub //--> </script>[/code] Web Development javascript vbscript | |
I found a demo version of a jQuery accordion menu that I liked. I want to implement it on my soon to be published home page, What it does not do is that it pushes and pulls the content below it, as down as the accordion expands and contracts. I … Web Development html-css javascript | |
Hi I had a database and a column called "details" in it. I need to select data from that column and show only limited characters of it. For eg: Original : The quick lazy fox jumps over a lazy dog. Display : The quick lazy ... How can I do … Web Development php | |
Hi, There is a problem with session ID haunting me for a couple of days. In Mozilla Firefox, the session ID changes every time the page is refreshed. But in IE it does not change and is working correctly. Is this because of some browser settings? Since I am checking … | |
Here's the problem: One of my scripts allows users to upload MS-Excel files. When uploading the file, users are also required to enter details related to the file - details like start date, stop date, a description of what the file contains, and the file ID#. This Excel file contains … Web Development coldfusion file-system | |
Hi everybody, I have the following URL to grab: [url]http://www.mysite.com/profile.php5?id=43534&mode=photo&pic_id=3453432#pic[/url] I need the 2 ids. But it doesn't seem to work. [CODE=JSP] var url = "http://www.mysite.com/profile.php5?id=43534&mode=photo&pic_id=3453432#pic"; var exp = new RegExp("^http:\/\/w?w?w?\.?mysite\.com\/profile\.php.?\?id=(\d+)&mode=photo&pic_id=(\d+).*?$"); if (exp.test(url)) { var found = exp.exec(url); alert("found0: "+found[0]+" found1: "+found[1]); } [/CODE] What am I doing wrong ? … Web Development java-jsp | |
Hi all, Im learning PHP & SQL very quickly, but still have issues with counting this, and incrementing that.... so if someone could help, you'd be(proverbially) teaching a man(woman in my case..lol) to fish.... Im constructing a form which in part, allows user to input instructions. I would like the … Web Development php | |
I have some product details on a page which are produced dynamically from a database. When the user makes a selection, they choose the number of items they want to purchase from a list box. Each item has a very limited stock - sometimes only 1 or 2. A form … Web Development php | |
Hi,(i post about wpf here because didn't find dedicated forum) I don't know WPF or asp.net . I do know c# well. Should i learn WPF or ASP.NET to make an intranet web application which users don't need to install (except .NET Framework 3/3.5 for wpf). If i use wpf(and … Web Development asp asp.net web-browser web-server | |
hi guys, i have one main page with two iframe elements, these two iframe elements is assigned same source file as follows : mainpage.htm : [CODE]<!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> <title>Untitled Page</title> </head> <body> <table> <tr> <td> <iframe id="leftPane" src="iframepage.htm" width="300" height="800"></iframe> </td> <td> … Web Development javascript | |
please can anyone tell me how i can create a form with check boxes and also a submit button using post. Web Development first-post php | |
Thanks for your help in the past, and this forum is great. I have a question about dates, and in searching, there are huge amounts of results, but very hard to narrow it down to exactly what I'm asking. In using PHP, I have some variables pulled from mysql databases … | |
Hello! I have a small script which dynamically creates select tags (they are placed within divs). Each select has a [B]+[/B] and [B]-[/B] sign next to it, and if you click the [B]+[/B] it adds another select below that one, or if you click the [B]-[/B], it removes that current … Web Development javascript | |
Hello fellow members....... I have been learning a forum creation video tutorial lately and I found few errors in them but the author is just NOT responding to my emails..... Anyhow these are the errors which I am facing: The Error I am facing is 'uid' which it says is … | |
Pleas help me on this i am a new one for php and i want to upload a picture to database can u plz help me to do this ................ thanx............. Web Development php |
The End.