17,029 Solved Topics
Remove Filter ![]() | |
[code=jsp]<%@ page import="java.lang.,java.util.,javax.mail.,javax.mail.internet., javax.activation.*" %> <% String p_to = "abc@hotmail.com"; // Please fill in your email here String p_from = "abcd@yahoo.com.sg"; // Please fill in receipient’s email here String p_subject = "Testing"; String p_message = "This is a test email"; String l_host = "smtp.mail.yahoo.com.sg"; // Gets the System properties Properties … | |
Hi frnds..... i have small doubt.. here i am copying code..plz see once.. till the table ends..it works fine..the page moves to thanku page....but the feed back is not moving to the mail(mail function )........ [B][U]feedback.php[/U][/B] [CODE]<? $contact_name=$_POST['contact_name']; $contact_phone=$_POST['contact_phone']; $contact_email=$_POST['contact_email']; $contact_comments=$_POST['contact_comments']; $mail_body='<style type=text/css><!--td {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}--></style> … Web Development html-css javascript php | |
I found out that somebody is sending e-mails with my domain name eg= [email]xx@mydomain.com[/email].. How could you stop them from doing that? Web Development | |
Hello: I am using a hardcoded user name and password to let users access a specific web page. It is coded in asp. However, I now need to have users input their email addresses, but still use the hardcoded password to access the specific page. I need to either have … Web Development asp web-server | |
[code=Java]protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); String name = request.getParameter("name").toString(); ArrayList a = new ArrayList(); int y =a.size(); Connection con = null; String url = "jdbc:mysql://localhost:3306/"; String db = "test"; String driver = "com.mysql.jdbc.Driver"; String user = "root"; String pass = null; try{ Class.forName(driver).newInstance(); con … Web Development java-jsp | |
Hello all.. Can anybody clearly explain about web 2.0??? And tel me about mashup also.... Web Development php | |
this is not my code >.< I found an online rpg engine thing online and d/l'd it when I try to start it I get this error, another problem is the writer is french so I found no english readme or anything usefull as to if I need more then … Web Development html-css javascript php xml | |
Hi, I am creating a real estate site, and I need a thumbnail and full size image to display. I'd like to store the images in respective folders under the Images folder on the server, and store the file name in the database. I can't get the images to display … Web Development php | |
Hi all i have this problem with my ajax script that it is working with IE but not on firefox.this script is updating database. following is AJAX Script:: [code] <script type="text/javascript"> function ajaxpost(){ var mypostrequest; try { // Firefox, Opera 8.0+, Safari mypostrequest = new XMLHttpRequest(); } catch (e) { … Web Development javascript | |
I need some help. I am modifying a script that I wrote some time ago that uses JavaScript to calculate a return on investment. The script works pretty well but it sometimes returns values with an infinate number of digits past the decimal. Since this calculator is dealing with money … Web Development javascript | |
I am (obviously) extremely new to javascript. I need to have this script execute once, then quit. I've tried several commands but I must be an idiot...could someone please help me modify it? Thanks so much... [code] <!-- Begin var speed = 5; var cycledelay = 1000; var maxsize = … Web Development javascript | |
Prolog: I have an INPUT tag on the web page I currenty developing. This input field observes 'onkeydown' event and handler for this detects keyCode for ENTER. After that it replaces itself with SPAN tag. Simple and clear. ---- Problem description: But sometimes (not frequently) after pressing ENTER and making … Web Development javascript | |
Hello, When I pass variables 'contentA','contentB','contentC', etc... into the tabs() function, it does not work in Internet Explorer. When I pass variables contentA,contentB,contentC, etc... into the tabs() function, it works perfectly in Internet Explorer but not in firefox!!!! This is the last bug that I need to fix in my … Web Development career javascript | |
I would like to have a price field populate with a price, based on conditions of a series of dynamic dropdown boxes. I have the dropdown boxes populating, but I cannot figure out what the function should be to add a value to a text box rather than a dropdown … Web Development javascript web-design | |
Hi, I have 2 tables in each page. when i have more than 1 page, tables are breaking into other pages. Like, end of the one table appear in next page. How can i do it stable. Because, when i print, i want each page have 2 tables without any … Web Development php | |
Hi! I have to merge two pdf file in to one pdf file using TallPDF.Net 3.0 any one can guide me on this issue. Please reply anybody as early as possible. Thnks | |
In this management software I'm working on, I've built a messenger for the employees to use to IM each other. Recently we moved to a brand new server and upgraded from PHP4 to PHP5. Now the instant messenger won't work. I've opened port 7357, which is the port it uses … | |
Hello, I'm new to Javascript and I'm trying to write a code that when a user enters three numbers will tell if the numbers can form a triangle or not, or if the triangle is a right triangle. I can't see why the code won't work but I bet someone … Web Development javascript | |
I am new to building web applications and I am developing my skills in programming. I have a few questions about JavaScript that I cant find the answers too easily. 1. People seem to think that there is a cold war going on between Adobe's Flash, Microsoft's Silverlight, and JavaScript. … Web Development adobe flash javascript javascript-jquery web-browser | |
Hey Guys Can anyone help me with JavaBeans The error says my Bean cannot be resolved to type. Any solutions? Thanks in advance | |
hi , PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Domains\eazygurus.com\wwwroot\courses.php on line 45 im getting this error please help me out from this. im attaching the php file and copying my database values........ Table structure for table `course` -- [code=sql]CREATE TABLE `course` ( `id` … Web Development data-structure php | |
I've just started on my first AJAX project and I've just run into my first problem. Basically I have a textarea field generated by ajax and it needs to submit that value to itself using post. I tried using a getElementById but it always returns null. Here is the code: … Web Development javascript | |
hello guys i have small proplem i use macromedia dream weaver cs3 in developing application but when write a js code with error , nothing happen - no message of the error line or any usual message like php- quistion is ( is there any built in debugger in DW … Web Development javascript microsoft-windows | |
I am currently using a great javascript based image viewer and wish to use it as a menu to navigate pages on my website . Wondering if someone could take a look at this great menu and modify the javascript for me ? As i know nothing about javascript but … Web Development html-css javascript | |
hello everybody, In my project, i have used frames in one web page.and whatever javascript i have written in that page is not executed...why...? Thank you Web Development javascript | |
Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or … Web Development html-css javascript php | |
I have Installed apache http server 2.2.4 [COLOR="red"][B]on[/B][B] Windows [/B][/COLOR]and configure the doc_root to my htdocs directory and its working fine. But when is add these lines in httpd.conf file it gives error. [COLOR="green"]LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/php" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps[/COLOR] It gives error like"[B][COLOR="Green"]server cant load … Web Development apache php windows-server | |
Hi. I'm trying to modify some PHP code (actually, the HTML section inside it) to set the background as transparent, so the displayed text shows the website's template's background beneath the text. It works great in Firefox, Safari and even Chrome, but in IE7 the background is solid white no … Web Development php | |
Hello all! I have been googling US maps using Javascript until I'm blue in the face and still can't find what I'm looking for. I want to learn how to create a US map like the following: [url]http://www.websitedesignerslist.com/[/url] Can anyone point me in the right direction? Thanks bunches, ~Amy Web Development javascript | |
i am going to purchase a laptop, do you guys know which version of vista is recommended for app. developers? Web Development asp.net | |
Greetings, Within my jsp I have HTML code (see below) which accepts input, one of these fields sequence unlike the others is an Integer and within the HTML FORM the INPUT TYPE is set to "int". [CODE]<FORM ACTION="wk465682AddFAQ.jsp" METHOD="POST"> Id: <INPUT TYPE=TEXT NAME=Id><BR><BR> Category: <INPUT TYPE=TEXT NAME=category><BR><BR> Question<BR><TEXTAREA NAME=question COLS=100 … | |
hi, :p i am trying to achieve a registration page in JSP. i am using tag library to do this. c tag library and Sql tag library. [CODE] <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <c:if test="${param.submitted}"> <c:if test="${empty param.name}" var="noname" /> <c:if test="${empty param.pw}" var="nopw" /> … Web Development first-post java-jsp javascript session sql | |
hello guys, just want to ask some newbie questions. i have a table named "students" in my database, the field names are "Lastname", "Firstname" and "Highschool". i want to sort my query by highschool field. i want to show that query results in table form. how can i sort by … | |
Hello all, I have this strange problem. During registration if user chooses to have '.' in his username, eg: sam.leo then i am getting this wierd problem . -respective tables with the given username are not getting created in the Database. Everything is working fine if usernames are having no … Web Development php | |
So I want the code to allow the user to login and then direct them to their page, I'm just not sure how I can do that. Here's the table and code I have, is there a way to make "header("location:/instacp.htm");" pull the location from the table in the database? … Web Development php | |
Hi. I need to create an RSS file from one table in my database. I'm using PHP5 and MySQL. I have searched on this and tried to do it myself but i'm not sure what path to take. Should I use SimpleXML to do it? I am hoping someone might … Web Development php | |
I`m trying to load the contents of a php file, change some variables through a replace, and save it again, but upon loading, the file_get_contents doesn`t parse the start of the file for some reason. I tried this on my server and on the local server. Example : filesample.php : … Web Development php | |
Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or … Web Development javascript | |
Hi and I am expanding one of my websites which requires me to write a script which has a language syntax highlighter (the gml/gamemaker language). So to do that I am using mainly preg replace and str replace. I have been working hard at it for the last 29 hours … Web Development php | |
can i create dynamic array variable names in php? my requirement is... i want a no: of 1-d arrays like $c1[],$c2[],$c3[]. and i need to dynamically create the arrays like this.. for($i=1;$i<$var;$i++) $c.$i[]=$r; is there any way to do this? Web Development php | |
Dear Sir I want to develop an application that will get the current market price of the stock using jsp. Web Development java-jsp | |
Hi, In the code below, when I click on the link [I]Colour[/I], it needs to connect to javascript function and display "Hello" or alert message. For some reason, it does not do it. If anyone spots a mistake, pleeese let me know - I'll be here. Appreciate! [CODE] <!DOCTYPE html … Web Development javascript | |
Hi everyone, I tried to embed a video from YOUTUBE to my website with autostart. The suggested code is [code]<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>[/code] I modified it [code]<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0"></param> <param name="allowFullScreen" value="falce"></param> <param name="allowAutoPlay" value="true"></param> <embed src="http://www.youtube.com/v/52_wba_dzKs&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="falce" allowAutoPlay=”true” … Web Development flash javascript video | |
Hello, i have created a HTML table dynamically using javascript and JSP, i have to store the values inside the table to database. Thanks in advance. Ananth Web Development html-css java-jsp javascript | |
Hi, I have a web form that uses an objectdatasource to select and update the data that is displayed on a gridview. the select is working great, but the update keeps coming back with this. " ObjectDataSource 'objdsIntake' could not find a non-generic method 'UpdateCompleted' that has parameters: Completed, LName, … Web Development asp.net web-server | |
Hello Friends, i return a database connectivity like this. [code=php] function db_conn() { $mysqli = new mysqli("localhost", "root", "", "test"); if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } return $mysqli; } [/code] with this upto now i used to insert records successfully. but now i have an problem with … | |
Hi, I've been working with PHP for about 6 or 7 years now, and recently I came across a problem that I really couldn't figure out. At my work, we have management software that has been worked on for years and years by a lot of different programmers. It is … Web Development html-css mac-software php ubuntu | |
Hi - Can someone please help me? I have a html table generated by php mysql and have a header to download it to excel. My problem is, I have this cell/table data that displays .10 in html and when I exported it in excel it displays as 0.1. The … Web Development php | |
What's wrong about this code? ($matches is a 2 dimensional array) for($i = 0; $i < count($matches); $i++) { [INDENT]echo $matches[$i][0]->getName_team_home()."<br />";[/INDENT] } It's not the actual code, it's just an example, originally it has to put the names of a team playing home in a table. It only shows … Web Development php | |
Hi there all, I am brand new to php (3 days under my belt). I am trying to modify a webmail.php script that came on this cd that I got with the learning php book. I am having difficulty getting the new fields I added to work. I am getting … Web Development php ![]() |
The End.