17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jamello

Hi there ladies and gentlemen! I have this code that works in ASP.NET 1.1 but I could not find its equivalent in v 2.0. I had expected it to work having the usual backward compatibility preached by microsoft in mind. But I am yet to succeed. The code 'translation' worked …

Web Development asp asp.net
Member Avatar for jamello
0
247
Member Avatar for lordx78

[code=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Test </title> <script language='javascript'> redirTime = "5000"; redirURL = "/common/index.php"; function redirTimer() { self.setTimeout("self.location.href redirURL;",redirTime); } </script> </head> <body> <script language='javascript'> onload="redirTimer()" </script> </body> </html> [/code]

Web Development javascript
Member Avatar for lordx78
0
95
Member Avatar for Venom Rush

Hi everyone I have a csv file with data such as first name, surname, tel etc and I'd like to populate a table inside my MySQL database automatically. So far I have this but I keep getting an access denied error and I don't know why: [code=php]<?php $server = 'localhost'; …

Web Development mysql php
Member Avatar for nav33n
0
585
Member Avatar for ebabes

Can anybody help me identify the code in ASP.Net that is equivalent to MessageBox (C#) or Alert (JSCript). I need a message box that will pop up when a certain condition is not fulfilled. Your response is highly appreciated.

Web Development asp asp.net
Member Avatar for serkan sendur
0
608
Member Avatar for serkan sendur

hi fellas, I set timeout for some function but within that duration if something happens i want to quit timeout and execute the function. i dont mean i need clear interval. let say settimeout will call a function 1 minute later, but about 30 seconds after i noticed that something …

Web Development javascript
Member Avatar for DangerDev
0
108
Member Avatar for gheibia

Hi, I'm quite new to Jsp. The web server is Tomcat 6 and I have a Jsp page that uses a servlet as following code shows. [ICODE]<form name='uploadSO' method='post' encType='multipart/form-data' action='UploadUnConfirmedSOServlet' > <table width .....[/ICODE] The Jsp page is located under a folder called "Shipper" under my application's root directory: …

Web Development java-jsp web-server xml
Member Avatar for gheibia
0
223
Member Avatar for vamsikgummadi

Dear friends, Hope all of U are having a great time. I need to display Excel sheets online using asp.net ,C#, MS SQL and Microsoft Office Share Point Server 2007. I need to make this Excel sheet editable to some authorized users. Do anyone of you have idea of attaining …

Web Development asp asp.net microsoft-office
Member Avatar for vamsikgummadi
0
289
Member Avatar for spring_patel

well...i'm a novice programmer in ASP.NET. i want my web application 2 send emails.i've tried couple of things using IIS smtp, but that code sends emails in the "queue" directory of localhost smtp. How to get rid of it..? and wat if i want to send e-mails in Outlook Express …

Web Development asp asp.net queue
Member Avatar for SheSaidImaPregy
0
89
Member Avatar for rickarro

I'm very new to php and am looking for help getting data out of my MYSQL database. I've made all my proper connections and all is running fine so far. What i want to do is have people get a result from the database based on their input...i.e., put in …

Web Development php
Member Avatar for nav33n
0
146
Member Avatar for shaik4321

HI, can any tell me how to develop a application to send bulk sms from computer

Web Development asp.net
Member Avatar for ivobrett
0
79
Member Avatar for pack

Hi I am not much experienced in JSP. I am facing one problem while printing a XML String on the screen. Code snippet -> String result = ab.returnResult(); result is returning a XML String..Suppose <A>123</A><B>SIR</B><C>21</C> I am printing -> <tr><td><%= result %></td></tr> I am getting 123SIR21 as output in the …

Web Development java-jsp xml
Member Avatar for ~s.o.s~
0
490
Member Avatar for alieya

hai... i have develop a website using templet (from free provider) but i have a problem when run it at localhost (i'm using php & mysql-xampp package) i edited that templet at dreamweaver, i have no problem when view it at dreamweaver but when i run that website at the …

Web Development php
Member Avatar for alieya
0
146
Member Avatar for assgar

Hi I am trying to increment the date using weekly increments. I need to determine the start and end dates and the week number of the year. If you can suggest another approache that is OK, but this is what I came up with. I am having problems getting the …

Web Development php
Member Avatar for assgar
0
2K
Member Avatar for m.cliter

Hi I don't know if this is the right place to post my problem. I m new to YUI, I ve modified the exemple listed here [url]http://developer.yahoo.com/yui/examples/datatable/dt_enhanced_clean.html[/url] well, FireFox and Opera diplay what I want, but as always the IE drive me nut, and this time IE7/IE6 gives me errors, …

Web Development javascript
Member Avatar for ~s.o.s~
0
133
Member Avatar for myth3_16

Hi All, i'm new to this board. I'm having a spot of bother with the following: Here is what i'm trying to do. From the drop down list (generated from my database) a style is selected and the image is displayed in the preview box next to it. The problem …

Web Development client-server javascript php
Member Avatar for nav33n
0
306
Member Avatar for mark2326l

Data from MySql. I used nl2br() for line breaks, but wanted paragraph breaks. I wrote [CODE]function test($text) { $text = ereg_replace("\n", "<p> ", $text ); return $text ; } [/CODE] That worked but my editor wants indents not spaces between paragraphs. I thought [CODE]function test($text) { $text = ereg_replace("\n", "<br …

Web Development php
Member Avatar for mark2326l
0
90
Member Avatar for lordx78

[code=php] if(!$_POST['username'] || ['password']) { die('Error: Username / Password field was blank'); } [/code] What is the mistake in the code above. I want the syntax to check if either one of the fields are blank.

Web Development php
Member Avatar for nav33n
0
231
Member Avatar for majestic0110

Hi there. The project I am building is an ASP.NET browser based application that has two classes. Login class main menu class now these two classes are working as they should (I.e. valid user logs in, proceed to main menu). The trouble is, I also have another class that applies …

Web Development asp asp.net xml
Member Avatar for majestic0110
0
523
Member Avatar for majestic0110

Hi all I am working on a 2 tier project and need (when the user closes the browser) to figure out a way of removing some .XML files stored in a dir on a server/local drive. any ideas?

Web Development asp.net xml
Member Avatar for majestic0110
0
61
Member Avatar for serkan sendur

i have script using nodeNames of dom elements. Script works in ie perfectly but doesnt work in firefox. How can i get nodeName in firefox? Any help would be appreciated, thanks .

Web Development javascript
Member Avatar for serkan sendur
0
101
Member Avatar for apontutul

[code] <h3>Administrator Login Here:</h3> <p>ENTER USER NAME : <input type="text" name="text2"> </p> <p> ENTER PASSWORD : <input type="password" name="text1"> <input type="submit" value="Check In" name="Submit" onclick=javascript:validate(text2.value,"admin",text1.value,"admin") > </p> </form> <script language = "javascript"> function validate(text1,text2,text3,text4) { if (text1==text2 && text3==text4) load('http://localhost:8080/vote-0.3/admin/'); else { alert("You should'nt be there"); } } function load(url) …

Web Development javascript
Member Avatar for bruceshining
1
227
Member Avatar for TaoistTotty

This is the first time I have looked at a PHP scripting (although I have done some ASP.NET) and I am looking for help with the following. Can PHP be used to update a HTML page - and if so how or where should I look? This is for a …

Web Development asp asp.net html-css php
Member Avatar for nav33n
0
1K
Member Avatar for shashipkiran

Can anyone tell me the code to refresh a JSP page onload...? <meta http-equiv="refresh" content="1"> I have used this code and this keeps on refreshing the page every second. But i just want it once...Pls help me...?

Web Development java-jsp
Member Avatar for shashipkiran
0
98
Member Avatar for lordx78

[code=php] <?php // connection to MySQL server mysql_connect('localhost','root','root'); mysql_select_db('administration'); // *** Validate request to login to this site. //session_start(); $loginFormAction = $_SERVER['PHP_SELF']; if (isset($accesscheck)) { $GLOBALS['PrevUrl'] = $accesscheck; session_register('PrevUrl'); } if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $password=$_POST['password']; //$MM_fldUserAuthorization = "level_usr"; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "index.html"; $MM_redirecttoReferrer = true; //mysql_select_db($database_connBlog, $connBlog); mysql_select_db($database, …

Web Development mysql php session
Member Avatar for nav33n
0
286
Member Avatar for ravipanwar4u

Hi guys, this is ravi. I m trying to implement sms services on my website so please help me out how i can use it, if you know any gateway for this then plz tell me thanks in advanced

Web Development
Member Avatar for ivobrett
0
117
Member Avatar for electron33

Hi. I have a little problem. i tries to connect to a datasource defined in Tomcat context. But when i run the jsp page i got an error telling that the driver i not found. I'm using the mysql jar 5.0.x whitch i have placed under Catalina common lib folder …

Web Development java-jsp mysql xml
Member Avatar for electron33
0
101
Member Avatar for justapimp

I have this ASP.NET web page that makes use of the <asp:TextBox> tag and I would like to use it with my codebehind as well as an a small AJAX code. The text box field will be use to edit/enter data into a database. at the same time, I would …

Member Avatar for justapimp
0
235
Member Avatar for ryy705

Hello, I just used the crypt command on 'password' and 'password1' and got identical output!! What are the rules concerning the crypt function? Am I not allowed to use numbers? EXACTLY what am I allowed to use? Many thanks in advance.

Web Development php
Member Avatar for ryy705
0
83
Member Avatar for eddy556

I'm having problems performing math in JSP. I have a line: double percentage = (useful / nonuseful) * 100; which is giving me an error, how do I fix this? Thanks

Web Development java-jsp
Member Avatar for eddy556
0
105
Member Avatar for rrocket

I have been looking all over trying to find a simple example of how this is done... Basically I want to send info from a form to another website API via XML and get the information they send back to me. If anyone has any examples or knows of any …

Web Development api asp.net first-post xml
Member Avatar for rrocket
0
125
Member Avatar for rrocket

Anyone have a clue what I am doing wrong here? I have tried to call this function a bunch of different ways, but here is the latest: mProfitPercent = GetProfitPercent Here is the function that I am trying to call: [code=asp] Function GetProfitPercent Dim rsRegx Set rsRegx = Nothing 'Set …

Web Development asp session vbscript
Member Avatar for rrocket
0
189
Member Avatar for kv79

Hi i sow on WC3 school [url]http://www.w3schools.com/html/html_formatting.asp[/url] and i am confused about text , there is a lot of text format like , small , strong,computer code text, keyboard text,sample text. And i am confused about text, i see the difference but i do not know why is called computer, …

Web Development asp php
Member Avatar for nav33n
0
82
Member Avatar for drsmith

I am attempting to use a function to check for a valid email address before being read in. I am attempting to use a function as well and this is something I don't have a lot of experience in. Does the following code look correct? In addition to the test.csv …

Web Development email php
Member Avatar for drsmith
0
123
Member Avatar for OmniX

Hi Everyone In a html document I declare several input tags. They all have the attribute name="input[]". So when they are intialized as input[0], input[1], etc. Now after they have been intialized I want to be able to access them using Javascript. How would I do this? The usual code …

Web Development javascript
Member Avatar for ~s.o.s~
0
85
Member Avatar for pancgom

Hi Guys, This is probably the most silliest of questions, i am still learning php and mysql :-| . I have this code below which brings up data from the database and displays it, what i want to do is to give the table headers a bgcolor how do i …

Web Development mysql php
Member Avatar for ryan_vietnow
0
136
Member Avatar for mithun_kanungo

hello , i am working on application of running an exe on client side i use following javascript for this var theShell = new ActiveXObject("Shell.Application"); var theApp = "C:\\Windows\\Notepad.exe"; theShell.ShellExecute(theApp, "", "", "open", "1"); but when i run the application on any system i got the error message is permission …

Web Development asp.net javascript
Member Avatar for mithun_kanungo
0
260
Member Avatar for palej

Hey, I have a this readblog.cs file in projects App_Code folder, and at main folder I have Blog.aspx -> Blog.aspx.cs file. And I have a Table control in Blog.aspx file, called Bloglist, and I am trying to modify it from App_Code/readblog.cs class file and I dont know how to use …

Web Development asp.net xml
Member Avatar for palej
0
248
Member Avatar for Ankita B

hi, im making login page using jsp.user names and password entered are matched wit the db. have placed db connection code in a java classlogin.java...The directory path is webapps->myfolder->all jsp and html files webapps->myfolder->WEB-INF->classes->test->login.java I entered the url in browser also perfectly fine..[url]http://localhost:8085/myfolder/mainpage.jsp[/url] i set the PATH and CLASSPATH variables …

Member Avatar for ~s.o.s~
0
180
Member Avatar for vbjenny

I searched thru all the PHP threads I could find relating to PHP & Forms and didn't quite find anything like what I asking. I am new to PHP and was wondering if someone could let me know why I am getting error HTTP 404 (Not Found) <!DOCTYPE HTML PUBLIC …

Web Development php
Member Avatar for nav33n
0
191
Member Avatar for standardt

I have a gallery of thumbnails on a webpage, and when clicking on one of the thumbnail, the full image appears in a popup. All good, but the image in the pop-up loads only after the parent page finished loading, which can take quite long. It is my understanding that …

Web Development javascript
Member Avatar for badda
0
193
Member Avatar for creativehacker

Hi I want to create a login screen which asks for username and passwor with change passsword facility. My idea is to store username and password in a php file and update them. Can anyone please tell me how to update a php file from another php file.. Thanx in …

Web Development php
Member Avatar for Walkere
0
107
Member Avatar for pi415

I cannot find documentation of this anywhere. I am assuming from context that this goes a id lookup of a dom object and returns the object. Is that correct? If someone could point me to documentation of this, I would greatly appreciate it. Thanks,

Web Development javascript
Member Avatar for ~s.o.s~
0
96
Member Avatar for sagedavis

I am having a sort of an issue with something. I am writing a script where, the user inputs some information in a form, and based on that form, a new file is created. The file which is created will actually become a webpage of .php type. The problem I …

Web Development php
Member Avatar for sagedavis
0
119
Member Avatar for creativehacker

Hi everyone, I want to delete uploaded files from the server. here I am not using database please check my code and suggest me any changes Del.php [CODE]<?php $jpgdir = "uploads/"; $file=$_REQUEST['file1']; echo $file; //echo $jpgdir; // Open a known directory, and proceed to read its contents if (is_dir($jpgdir)) { …

Web Development php
Member Avatar for nav33n
0
83
Member Avatar for dotNetDummi

Hi experts, I have a project working on C# and ASP.Net. There's a function for my users to delete a project by the project name, which is the primary key. However, it is not functioning perfectly. When the project name is two word(second word more than 4 characters), it could …

Web Development asp asp.net
Member Avatar for SheSaidImaPregy
0
71
Member Avatar for n33712

Hi Was wondering if anyone can tell me why the code below does not work! I am presuming it is something to do with the array but can't figure it out. Thanks var userpasswords = ['sooty', 'plane', 'sandra', 'football', 'laundry']; var password; password = window.prompt('Please enter your password','') while (password …

Web Development javascript
Member Avatar for ~s.o.s~
0
83
Member Avatar for eddy556

Please take a lot at this. Tomcat is reporting the variable editQuestion cannot be resolved. [code] <% String key = request.getParameter("edit"); ResultSet columns1 = statement.executeQuery("SELECT * FROM Questions WHERE ID ="+ key +""); while(columns1.next()) { String editid = columns1.getString("ID"); String editQuestion = columns1.getString("Question"); String editAnswer = columns1.getString("Answer"); String editUpdated = …

Web Development java-jsp
Member Avatar for eddy556
0
77
Member Avatar for Ankita B

hi, i have a form with 3 radio buttons and one submit button.on clicking submit i want to navigate to page corresponding to the radio button selected.How can i achieve this?..

Web Development javascript
Member Avatar for ~s.o.s~
0
83
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
76
Member Avatar for serkan sendur

i want to have my page scroll to a position smoothly, i use javascript scrollIntoView method to provide scrolling for the page, but it moves suddenly. i want the user to keep trace of where she/he is scrolling. thanks in advance

Web Development javascript
Member Avatar for serkan sendur
0
109

The End.