52,566 Archived Topics
Remove Filter ![]() | |
I would like to add captcha to my registration system. I searched google and i get some. There are more number of scripts in that which are little bit complex to go on. I simply took my needs from that. Now My registration page is generating captcha, but i dont … Web Development php | |
I created code for my TV guide web site, as mentioned in a previous thread ([url]http://www.daniweb.com/forums/thread247517.html[/url]). I solved the problem, in the code below. This is the new code, which works well: [CODE] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORD"); //select which … | |
Dear all, I am really stuck with inserting record into access database using ASP.net and C#, as in university I am only allowed to use access. I am trying to create new room reservation for meetings its not a hotel room, I have two time slots AM and PM and … Web Development asp asp.net c# web-server | |
Hello Iam sending mail from web page like, enquiry form mail using asp and asp.net.while send the mail i don't have any error. but the mail does't reach the destination.can some one give me a solution for this problem. ds | |
Been trying to work this out for hours I have two tables called 'Genres' and 'Films'. Genres contains two columns 'Genre_id' and 'Genre_Name'. Films contains a load of columns, the most important being 'Title', 'Year', Director', 'Genres'. Now im trying to create a page where the user can edit a … Web Development php | |
How to run a Asp.net page with database(Sql Server2000) on a browser? for eg: When I run a Asp.Net page involving login on Visual Studio 2005, the user is logged into his account but when I run the same page through a browser, user is unable to login. The error … Web Development asp asp.net visual-studio | |
What am I needing to do in order to make this work ? Please advise ? I am getting the $song_title from another part of my PHP I am just setting it as something in this example in order to post what I thought should work ? any help would … Web Development php shell-scripting | |
Hi. First of all, I am new to asp.net development. What i have is, a C# aspx page with, lets say an ordinary button. What i need is, any kind of video player that can, upon click on the button, play/stop a windows media server stream from a url. Where … Web Development asp.net | |
Hi, I am trying to make some "a la captcha" it must be simple, but not for me. my code is: [CODE] using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class _Default : System.Web.UI.Page … Web Development asp asp.net web-server xml | |
What i want is when i click upload button upload the file with progress bar [CODE] <form action="image_upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="filei" id="filei" /> <input type="submit" name="button2" id="button2" value="Upload" /> </form> [/CODE] this is my php file [CODE] <?php $name=$_FILES["filei"]["name"]; $size=$_FILES["filei"]["size"]; $type1=$_FILES["filei"]["type"]; $dirpath = "upload/"; //upload image if ((($_FILES["filei"]["type"] … | |
in jsp,i created login.jsp. in login.jsp,i created username,password and submit button. my login.jsp goes through database. i am okie BUT i want validation in login.jsp which goes through database. Web Development java-jsp | |
Hai friends First of all please excuse me if this is a answer less question. I developed a web site using PHP and MySQL and I likes to give email ids to my users along with my sites name. ie " [email]username@mysite.com[/email] ". I likes to develop a mail facility … | |
I'm working on a website that creates an object called player that can contain any number of event objects that get added to the player object from an event-driven xml parser. So what I've been trying to do is use an array but that does not working, from my understanding … | |
Hello, I am building a servlet which handles the login process after the user clicks the submit button on the previous HTML form. The servlet should get the data entered from the form then perform an SQL statement to select all the data in the registered users table. Once all … Web Development java-jsp | |
Maybe someone can help me understand what I need to do. I am trying to set up billing for a website. The processor (ibill.net) says that I need a URL for them to post to. The company who sales the script I am using for my site says they I … Web Development php | |
[CODE]<?php //Start session session_start(); //Include database connection details require_once('config.php'); //Array to store validation errors $errmsg_arr = array(); //Validation error flag $errflag = false; //Connect to mysql server $link = mysql_connect('localhost','root',''); if(!$link) { die('Failed to connect to server: ' . mysql_error()); } //Select database $db = mysql_select_db(shop); if(!$db) { die("Unable to … | |
Hello all. im new to mySQL database so dont know very much so sorry if its a daft question. I have a mySQL database with a company called 5quidhosting but my hosting is with heart internet. Can i get a web page hosted with heart to access the database on … Web Development client-server mysql php web-server | |
hai friend's how to use the bullets in HTML , we use the editor for hmtl is dreamviewer , ya i use the bullets but the aligment change's if i use the bullets' Web Development php | |
hey is there anyone out there wanna help me make a text based mafia game with me we can both be admins in the game we mite make profit in this game according 2 my plans if there is wanyone illing 2 help plz can u pm me i understand … Web Development php | |
Hi, I am reading a csv file and i read it line by line.. but there is a problem. It reads the csv line but put the spaces between each charachter.. and the line gives problem when i use it write in the mysql table.. Here is the out put … Web Development php | |
why this function display [B]sharma[/B] not love on browser [CODE] <?php $a='abc'; define("h",sharma); define("h",love); echo h; ?> [/CODE] and second [CODE] why this will show nothing on browers? <?php $a='abc'; bb(); function bb() { echo $a; } ?> [/CODE] Web Development php | |
[CODE]<script language="javascript" type="text/javascript"> function updateonlines() {alert('you are updating the online users set the user field to online');} function updateofflines() {alert('you havve to set the online users to offline when they leave the page');} window.onload = updateonlines; window.onload = updateofflines; </script>[/CODE] SORRY NEW PROBLEM! I FIXED IT IT WORKS. but i … Web Development javascript | |
I'm having a hard time with implementing SSL on this one particular page that uses asp.net wizard (The entire site does not require SSL, only a couple of pages.) My logic is such that if a page that requires SSL is not secure, redirect it to https version of it. … | |
Hello there fellow users, I have been entrusted with the task of designing and implementing a financial system for a charity foundation where I live. The charity foundation requires its work (addition and retrieval of records, for example) to be done online, using a web app. The app connects to … Web Development asp.net cybersecurity storage web-server | |
I have a dropdown list at the bottom of my page. It's populating like it's supposed to but when I choose whatever option I want and click submit it doesn't repopulate the content on the page like I want it to. I'm trying to have content of the page change … | |
hi frnds.. Here i m trying to attach the file from my webpage..it is working..but when i checking on the mail, the attachment is corrupted like this way.. [QUOTE]This is a multi-part message in MIME format. --==Multipart_Boundary_x58df1ff5254b4812160783d14198c239x Content-Type:text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --==Multipart_Boundary_x58df1ff5254b4812160783d14198c239x Content-Type: application/doc; name="resume/kishore.doc" Content-Transfer-Encoding: base64 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAACAAAAhAAAAAAAAAAA EAAAhgAAAAEAAAD+////AAAAAIIAAACDAAAA//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// … Web Development php | |
need tutorial how to display multiple tables from database. i have table (price) that holds various pricing data related to table (acc_establishments). how do i link tables together to display data (price) that corresponds to (acc_establishments). need a simple example how to do this. thanks | |
Hi! Basically, what I'm trying to do is a site for online storage of my own files, like Microsofts SkyDrive service. One thing I'm wondering about is what way that would be most effective to organize the files? My first thought was that when I upload the files to the … Web Development client-server php storage | |
i am trying to run this code but i am not getting anything from the mysql_fetch_assoc($result) it is just blank can anyone help me thanks in advance [CODE]<html> <body> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="hayden"; // Mysql password $db_name="ecng3020"; // Database name $tbl_name="students"; // Table name … | |
Hi, Assume I start session and print data stored in session and print some html stuff at the begining of php file. Then I need to use header() to download a file afterwards. When I do it i get this error: [CODE]Warning: Cannot modify header information - headers already sent … | |
Hi, Code below fails and I cannot solve it. [CODE] $folder="myfolder/files"; $file="1.doc"; header("Content-type: application/msword"); header("Content-Disposition: attachment; filename=".$folder."/".$file); readfile($file); [/CODE] The file link I get when popup opens is " myfolder_file_1.doc ". I don't know where does the underscore comes from. Any idea? Thanks Web Development php | |
hello friends.. i have a excel file which has more than 20000 rows..!!`when i upload the file i got this error ' MySQL server has gone away ' even i increase the maximum excution time to 3000..and and memory limit to 512.!! i just want to know how many rows … Web Development php | |
With regards to another thread, [url]http://www.daniweb.com/forums/thread251069.html[/url] on how to compare the current date to retrieve relevant data (Details there), now I have issue on storing this query result on a VB.net variable. It works in this way. It is an academic work to do a ecommerce website, and I need … | |
HI, I have a class that backup database but when I restore it the farsi charecter can't be shown well and If I backup from it manually from phpmyadmin it doesn't make any problem.So,the question is this;How can backup from database with whole data like tables ,data and the other … Web Development php | |
This works: -----------PrintInfo.php <?php phpinfo(); ?> -------------------------- But this doesn't: -------------PrintInfo.html <html> <head> <title> Hello World </title> </head> <body> <?php echo 'This is my first PHP web page.'; ?> </body> </html> ------------------------- I'm using Apache 2.0 on WinXP Home with php 5. Thanks! ![]() | |
Hi, Is it possible to put 2 where closes in your mysql select query. I need it because some people appear to be available twice, so I need to add from which team I want the information, so I need a where for the name and a where for team. … | |
I have a little tabbed content window that uses jquery and I have an annoying little problem: whenever I click on one of the tabs, the page resets to the top, so if you click on the last tab, you have to scroll down to see it again. Here's a … Web Development javascript | |
Hello, I'm building an intranet site for work with an autocomplete feature. I have it working to where when the user clicks on the name in the autocomplete list, it will fill that value to the text input box. What I need it to do is after it fills in … Web Development javascript javascript-jquery | |
Hello everyone. The problem: I am developing a form that i have to validate some fields against the database. For this particular scenario lets say the Part ID field, I do not want to create a dropdownlist with all part id because is too big. maybe i can let people … Web Development asp.net client-server | |
Hello there, I am trying to make a CMS using wamp. I made an uploading photos section, and when I try to delete the folder of the photos I get: Warning: rmdir(C:/wamp/www/site/images/4b4731fda156e) [function.rmdir]: Directory not empty in C:\wamp\www\site\admin\process\delete.php on line 23 Although the directory is empty and I have checked … Web Development cms file-system php | |
Hi, I want to prevent submitting a form if any of the field is empty. also if possible I would like to validate some basic things. All I want to use JQuery: How do I do that? I have no way and google points me to plugins. The things I … Web Development html-css javascript javascript-jquery | |
What is the best way to create a banner ad using information stored in a database? I have the information I was to use and already pulled from the database using PHP. How can I put this into a 460x80 banner in .gif or .png? I want to banner to … Web Development php | |
No... honestly... I mean this is REALLY dumb! I have a form with a select that looks like this: [code]<select name='toasters'> <option value='1'>Toaster 1</option> <option value='2'>Toaster 2</option> <option value='3'>Toaster 3</option> <option value='4'>Toaster 4</option> </select>[/code] In my php I read (or try to read) the value with: [code]$toaster = $_POST['toasters'];[/code] No … Web Development php | |
Are there any rainbow tables api's available for sha1, crc32 and crc32b. | |
I created a Web Service in VS 2005, I tested it by opening in the browser it worked well. I deployed it in the IIS 5.1 I'm getting You are not authorized to view this page. HTTP Error 403 - Forbidden !!! Can anyone help me in finding out where … Web Development asp.net web-browser | |
[CODE] Dim i As Integer For i = 0 To 6 e.Row.TabIndex = -1 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onfocus", "javascript:SimpleTEOnFocus(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onblur", "javascript:SimpleTEOnBlur(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeyup", "javascript:keyGridPressed('gridTESimple',this.id,event);SimpleTEHrsOnKeyUp(this,event)") 'AM 12/22/09 Modified CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeypress", "javascript:return NumericOnly(event);") CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onchange", … Web Development asp.net | |
i am trying to create a login page so the staff will be directed to one place while the students will be directed to another. this code is still in the making hence no location function was included as yet. can any one help me with this code please [code] … Web Development php | |
I want to reset the textarea cursor position after postback i.e cursor should be on last change or edited text in textarea Web Development asp.net |
The End.