- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 18
- Posts with Upvotes
- 16
- Upvoting Members
- 18
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Solution Architect
137 Posted Topics
Re: Hi, I am not sure what is stored in your database, I am assuming only image name is stored there. I have tested this any worked fine for me, <?php //Retrieves data from MySQL mysql_connect("localhost", "root", "", "dawat") or die ("Could not save image name Error: " . mysql_error()); mysql_select_db("dawat") … | |
Re: Hi, you can create function like this. <?php ob_start(); session_start(); include "connection.php"; function loginFunc($username, $password){ $result = mysql_query("SELECT * FROM new WHERE Email='" . $username . "' and Password = '" . $password . "'"); $row = mysql_fetch_array($result); if(is_array($row)){ $_SESSION["ID"] = $row['ID']; $_SESSION["Email"] = $row['Email']; $_SESSION["Title"] = $row['Title']; } else … ![]() | |
Re: Hi there, Try This Code this May Help you ;) [B]CSS:[/B] [CODE]<style type="text/css"> .links { font-family:Verdana, Arial, Helvetica, sans-serif; display:block; /*This Cover Full TD */ background:url(link.png) center top no-repeat; /*This Will Set the Link background */ height:25px; /*This Will Make Fixes Size Link (Use Image height)*/ width:100px; /*This Will Make … | |
Re: To edit an existing HTML page, add the WMODE parameters to the HTML code. 1. Add the following parameter to the OBJECT tag: <param name="wmode" value="transparent"> 2. Add the following parameter to the EMBED tag: wmode="transparent" :cool: ;) This Will Work With All Browsers :idea: Rahul [URL=http://www.katarey.com]http://www.katarey.com[/URL] | |
Re: Hi there, first i am agree with tgreer, well but you can use JavaScript to do this functionality, [B]here the is Code:[/B] [B]page.html :[/B] [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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Random Css Using Javascript</title> <script language="JavaScript" type="text/javascript" src="randomCss.js"></script> </head> … | |
Re: Hi, I hope this code may help you to get the solution you want [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Calc</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript"> <!-- $(document).ready(function() { $('#calculateTotal').click(function() { var shirtsPrice = 10.50, perColorPrice = 5.99; var … | |
Re: [QUOTE=unamoo;268553]Hi there, I was wondering if anyone could help me. I need to build a website which will display a streaming window when a link is clicked and stream video files saved in a different location. I am a little clueless about multimedia and web development so any help or … | |
Re: Hi There, well there is not any specific way to remove the client side history, but you can use this function, use this function body onload Write in <head> [code] <script language="JavaScript"><!-- function DisablingBackFunctionality() { var URL; var i ; var QryStrValue; URL=window.location.href ; i=URL.indexOf("?"); QryStrValue=URL.substring(i+1); if (QryStrValue!='X') { window.location=URL … | |
Re: Hi, download this file and place with html page [QUOTE][url]http://www.xs4all.nl/~peterned/htc/csshover3.htc[/url][/QUOTE] and add this style in css [code=css] body { behavior: url("csshover3.htc"); } [/code] you menu will work in IE and FireFox hope this will help you Rahul Dev Katarey | |
Re: you can use "onfocus" [code]<script language="javascript"> <!-- function clearinputText() { document.frm.name.value= ""; } //--> </script>[/code] [HTML]<input type="text" name="name" value="Click here to clear text" onfocus="clearinputText();">[/HTML] but this will clear the text every time when you get focus on this field, Its a simple example only best regards Rahul | |
Hello Friends, I have developed a windows application using C#, its installed on [code]C:/program files/application folder/application.exe[/code] I have not used Data base so i have used files (CSV/TXT) for storing data, there is many types of files generated by application and some application setting variables are also stored in a … | |
Re: Hi, you may use JFileHelpers [url]http://www.jfilehelpers.com[/url] this might useful Thanks Rahul Dev Katarey | |
Re: Hi there, I hope this code will help you! [code] <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% database = Server.MapPath("/files.mdb") set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open database SQL = "SELECT * FROM Files WHERE FileID = 3" Set Rs = conn.Execute(SQL) Response.BinaryWrite Rs("BinaryData").GetChunk(Rs("BinaryData").ActualSize) %> [/code] Best regards, Rahul Dev | |
Hi, I have developed a web application using PHP + MySQL on Apache 2.2.17 what should be the recommended server specification application if +10000 users access at same time. I am looking for recommendation on these points Server specifications: Software: • Server Type: Apache/2.0.52 (Red Hat) • Apache 2.2.x • … | |
Re: [quote]picture i need it in the circle area how can i get it there and what do i need to do?[/quote] Please clearify what is the quetion is :?: | |
Re: Hi ejr74, I tried to run the code and its working here no window is opening. what actually the problem is? Rahul | |
Re: what is the Code in your file? These Articles may help you [url]http://support.microsoft.com/kb/251254[/url] [url]http://tutorials.aspfaq.com/8000xxxxx-errors/80004005-errors.html[/url] [url]http://www.fullrevolution.com/kb.asp?action=viewarticle&categoryID=14&articleID=43[/url] | |
Re: [QUOTE=eihd;238101]I want my drop down menu to display over a flash. It's something like [URL="http://www.sothink.com/campaigns/winselect.php3"]this[/URL] . What methods do you use to solve this problem? Any help will be appreciated much.[/QUOTE] [url]http://www.daniweb.com/techtalkforums/thread15188.html[/url] hi To edit an existing HTML page, add the WMODE parameters to the HTML code. 1. Add the … | |
Re: Hi there, Well I am not a good tutorial writer but I am trying to explain how to make the connection with database (Ms Access) using asp, [B]Assumptions: [/B] Running IIS 6 First here the directory plans: [B]Folders:[/B] Websiteroot Includes Database Websiteroot: - this folder will contain the full website … | |
Re: [QUOTE=zafs;269731]Can anybody pls help.. I need the script to upload image in ASP... Thanks in advance...[/QUOTE] you can try this [url]http://www.asp101.com/articles/jacob/scriptupload.asp[/url] or Search on google, there is some free scripts on web, or find a pro. to do this ;) Regards, Rahul | |
Re: Graphix is right! and you can use something like jQuery, which makes JS programming easier. Something like: [code] $(document).ready(function(){ // Your code here }); [/code] | |
Re: try this JavaScript [CODE] <script type="text/javascript"> function sendform(){ //verification script. // if ((document.getElementById('variable1').value=="") || (document.getElementById('variable2').value=="") || (document.getElementById('variable3').value=="")) { //Update the sending status. document.getElementById('statusindicator').value='Please fill in all forms.'; alert("Please fill in all forms. Thanks."); return false; } else { //Update the sending status. document.getElementById('statusindicator').value='Sending...Please Wait.'; document.getElementById('frm').submit(); } } </script> [/CODE] HTML … | |
Re: see this it may help you [url]http://msdn.microsoft.com/en-us/library/cc793139%28SQL.90%29.aspx[/url] | |
Re: I am not sure what actually you wanna do but hope fully this may help, 1st problem: localhost is not in "" (quots) that should be like this mysql_connect("localhost",$username,$password); 2nd: <input name = "date" value="<? echo $row['date']; ?>" type="text" /> is out side of loop so that $row have no … | |
Re: you can use QueryString | |
Re: Yes display:block; will solve your problem you may use this code :) [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Navigation</title> <style> <!-- body{ background:#000; } div#Navigation{ width:150px; } div#Navigation ul{ list-style:none; margin:5px 0; padding:0; } div#Navigation ul li{ display:block; border-style: … ![]() | |
Re: Hi, Just Add [CODE]multiple="multiple" [/CODE] in Select tag and you can select multiple selections in it and for make more easy to select more options add [CODE] size="4" [/CODE] now your code should look like this [CODE]<form name="form1" method="post" action=""> <label> <select name="service" id="service" multiple="multiple" size="4"> <option value="service1">service 1</option> <option … | |
Re: [B]Paging Recordsets with ASP JavaScript[/B] Hi there, Here the code for Paging RecordSets with ASP JavaScript, I Hope this will be useful for you and others :) [CODE]<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <!--#include file="adojavas.inc" --> <% var thisPage = new String(Request.QueryString("thisPage")) var isthisPage = (thisPage != "" && String(Request.QueryString("thisPage")) != "undefined"); if (isthisPage … | |
Re: I don't know its useful for you or not but you can find here, [url]http://www.dynamicdrive.com/dynamicindex4/preloadimage.htm[/url] [url]http://javascript.internet.com/page-details/percentage-progress-bar.html[/url] Regards, Rahul | |
Re: Hi there, you have made mistake here [CODE] document.getElementById('contentbox a').style.color= "#d05048"[/CODE] that should look like [CODE] document.getElementById('contentbox').style.color= "#d05048"[/CODE] Example: CSS: [CODE] <style type="text/css"> #contentbox, #contentbox a{ font-weight: bold; color: #c8a468; cursor: pointer; } </style> [/CODE] JavaScript: [CODE] <script type="text/javascript"> function changeColor(){ var divID = document.getElementById('contentbox'); divID.style.color= "#d05048"; } </script> [/CODE] … | |
Re: Hi, Well, Go to Start > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager Then right click on Default web site > then select Properties > in Home Directory Tab > check Read, Write, Directory browsing Thanks Rahul | |
Re: HI, or you can use this http://www.katarey.com/XML-flash-mp3-player/ and you can also Download this from here http://www.katarey.com/XML-flash-mp3...r/download.rar Best Regards, Rahul http://www.katarey.com | |
Re: you cannot open FLV, Video or any HTML pages in lightbox, you can try these UI dialog widgets for required functionality [B]ThickBox [/B] [url]http://jquery.com/demo/thickbox/[/url] or [B]GreyBox[/B] [url]http://orangoo.com/labs/GreyBox/[/url] there are some more on web you may find by searching on google or other search [B]Tip:[/B] for FLV File you should use … | |
Re: HI Arvind, well as I understand you want to set the input (Form element) "in_backgroundColor" value as same as div "pageSurround's" background color or javascript variable "color", if I am right then you can add these Lines in setColor function [CODE=javascript]var inputName = document.getElementById("in_backgroundColor"); inputName.value = color; [/CODE] or [CODE=javascript]document.formName.in_backgroundColor.value … | |
Re: Hi Ina, What type of data you are retrieving from database ? you can use FCKEditor or TinyMCE for WYSIWYG Editing. TinyMCE : [url]http://tinymce.moxiecode.com/index.php[/url] FCKEditor : [url]www.fckeditor.net[/url] Hope this will help you, Rahul Dev Katarey | |
Re: hi, which web server you are using ? do you have installed IIS or Apache with PHP? Rahul | |
Re: [QUOTE=!Unreal;796032]I need to use ajax to make this whole process smoother. Here is a demo: [url]http://www.theflickzone.com/dev/[/url] If anyone can do this for me I will pay a few $ via paypal to say thanks :) Contents of index.html [code=html] <form action="return.php" method="POST"> <p>IMDB URL: <input type="text" name="imdb" autocomplete="off"></p> <p>Links(line by … | |
Re: Hi there, i have seen you code and there is some errors in code, see this code block, hopefully this will helpful for you [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="style.css" rel="stylesheet" /> <script> function add() { … | |
Re: post your code here so that we can help you, | |
Re: hi, you can use AJAX for the same, or you can send the QueryString to the page which will have the id or other tables image, like yourPage.asp?ID_of_table1Image=2& current_imageID_of_table2=5 post your code here so that we can help you in more detail... Rahul Dev Katarey | |
Hi, My computers Hard disk was crashed last month then i have taken all the backup of data from computer on CD/DVD And my laptop. and replaced the hard disk and reinstall the XP but now some of the CD/DVDs are not readable by XP, i mean now some CD/DVDs … | |
Re: Hi there, try this code("Function") this may help you [B]JavaScript:[/B] [CODE] <script type="text/javascript"> //<![CDATA[ <!-- function addDate(){ var d=new Date(); var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear(); var selectBox = document.getElementById("test1"); var optn = document.createElement("OPTION"); optn.text = TODAY; optn.value = … | |
Re: Hi there, please post your code here... so that we can see whats going wrong in function or in html where you are calling the function... Rahul Dev Katarey | |
Re: Well its seems that from your IIS Active Server Pages are not allowed in web services extensions, to Allow the ASP Go to IIS Manager and see left side in tree view you'll find "web services extensions" Click on it and you now the right side window there look for … | |
Re: Hi, are you asking [B](search engine friendly)[/B] :icon_question: if yes then I don't think that search engine care about margins! because search engine not render html but read html Rahul Dev Katarey | |
Re: Hi There, I have Seen your Code and found that you are using frm.submit() function, in this function "frm" is the name of the form which you want submit, but you haven't define any name in form tag, This Code Will Work [CODE]<form name="frm" action="test.asp" method="post"> <select name="optval" onchange="frm.submit()"> <option … | |
Re: Post your Code here that will help to know what is the problem there! Thanks | |
Re: Hi there, This Post may Help You :[url]http://www.daniweb.com/forums/post154444.html#post154444[/url] | |
Re: Hi There, Try This Code JavaScript: [CODE] <script type="text/javascript"> function valueChange(){ textBox1 = document.getElementById('textBox1'); description = document.getElementById('description'); textBox1.value = description.value.length; } </script> [/CODE] HTML: [CODE]<input type="text" name="description" maxlength="30" id="description" onkeyup="valueChange()" /></td> <input type="text" class="counter" readonly="readonly" id="textBox1" />[/CODE] Rahul Dev Katarey | |
Re: Hi There, I have Made Very Basic Example for you that will help you to understand how to use confirmation Box (confirm() JavaScript) in PHP here is the code : test.php [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>PHP Page</title> <script … |
The End.