52,566 Archived Topics
Remove Filter ![]() | |
I have users insert text on pages. When they do a copy paste from word. With a bullet point or a '. It shows up on the pages as []. Can someone help. Is there a safe html insert for coldfusion or a safe text insert. That would strip out … Web Development coldfusion | |
Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the … Web Development image javascript | |
Hello, Iam working on website, technically this is my first j2ee website .. so iam trying my best here .. I tried to make simple front-controller technique using servlets + JSP .. and this is wat i done : index.java [CODE] Map event = new HashMap(); event.put("cats", new cats()); event.put("login", … Web Development data-structure java-jsp | |
Hi guys, I cant seem to work out a way to keep my paragraphs when using a text area as part of a form. I send the form using ajax and then display the text again in a textarea to allow editing before finally displaying it on a standard page. … Web Development php | |
I had a web site ( Real Estate) and visitor can add data. But I only need to add in site only after my approval. So I make a column in database that "approved". When an user submit data then Enter the value "no" in "approved" column. When I approve … Web Development php | |
Hi All, I am developing online examination process using jsp. The questions and options are fetched from the text files. For each page i am displaying one question and four options. I am calculating the answers by using radio button. I given a next button and previous button for navigation. … Web Development java-jsp | |
Hi, Code below generates this error [inlinecode]Warning: Missing argument 1, 2, 3for MyWebpage::pageElements(): Class_for_HTML.class on line 18 )[/inlinecode] but i cannot solve the problem. Thanks [code] <?php class MyWebpage { var $header = "<html>\n<head>\n"; var $title; var $keywords; var $content; var $footer = "</body></html>"; function generatePage() { echo $this->header; $this->pageElements(); … Web Development php | |
Hi there, I am very new to ASP.net. I have just started making a website in ASP.net 2.0. In this website, i want to have a admin section which can be accessed only after the admin logs in with a login page. Now I am using custom asp.net script then … Web Development asp.net | |
hi all, when i want delete items i will show a alert to users like are you sure you want delete .now i want a X symbol or danger symbol in that alert box ,i dont have any idea how to do this any ideas! thank you Web Development javascript | |
Hi All I am new to PHP and just got a project ;) that needs me to extract links from the page, i have got the part of page that have links in a string and was wondering if i can extract all the links in that string. String is … Web Development php | |
making php code to pull data for database now it pulls most data fine with the like statment now is there anyway to make it pull both things that are lower and uper case ? [code=syntax]$query = "SELECT * FROM `users` WHERE `$lookby` LIKE '%$lookfor%'";[/code] Web Development php | |
Hey All, I have a Register.php page, whose code is as follows. On Register Me button, i want to restore values back in text boxes, when some invalid input is in textboxes. How can i do this? [code] <?php session_start(void); ?> <html> <head> <title>Login System Using PHP</title> <meta http-equiv="Content-Type" content="text/html; … Web Development php | |
I hav a program with 2 textboxes in which I hav to display data fields from sql tables and insert values in to table through these 2 textboxes. the program goes like this Dim ds As New DataSet Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load … | |
Hi I'm trying to make a file upload function for pictures. So can anyone please help me to make a simple file upload function in c#? I've tried to make one, but it won't seem to work, so I've decided to start over, just with a simple file upload funktion. … Web Development asp.net file-system | |
hi all, im new to php and im stuck with a "constant" problem. i was studying a code snippet and trying to creat a constant with define() like this: define("ABC",1,TRUE). i dont understand why it results nothing if the second parameter is 0. The consant type is boolean and it … Web Development php | |
Fatal error: Cannot use object of type DBConnect as array in C:\xampp\htdocs\class.DBConnect.php on line 28 [code] class DBConnect { // access is private for all class variables private $c_host_name; private $c_user_name; private $c_user_password; private $c_user_database; private $c_db_link; private $c_arr_errors; private $c_obj_prepared_query_statement; // class constructor public function __construct($p_arr_connection_string) { $this->c_host_name = … Web Development php | |
Guys, i have installed PHP 5 on my windows system, i am able to browse to info.php which shows a listing, but if i create another simple page with a echo statement then i and not able to browse that page. i get the HTTP 500 internal server error. i … Web Development php windows-server | |
WARNING huge php script, watch your head /WARNING :D Ok, i want to start by saying that this is part of a free script im making and therefor may be used by anyone, the script if available at: [URL="http://pctipforum.com/index.php?topic=345.0"] http://pctipforum.com/index.php?topic=345.0[/URL] next i want to say that this is a login … Web Development php | |
Hi I have the following [CODE]$_SESSION('userid') = true;[/CODE] How is it i would get the user to logout? I guess by deleting the session? Thanks | |
Hi I have this login box that drops down once clicked. I would like it so if the user doesnt click one of the fields within lets say 8 seconds then the box minimizes automatically. Here is what I have: [CODE] <script language="javascript"> function makevisible() { document.getElementById("dropform").style.display="block"; setTimeout("minimize()",4000); } function … Web Development javascript | |
hi there im a novice to PHP and have been trying to put together a form with two buttons that post a variable value. The value is tested and then php perfroms whatever action that value points to (Update or Delete). My problem is that when I click the button, … Web Development php | |
Hi I designed an online quiz site and i wanted users after mtaking the quiz, to be able to click button and their results are printed from a printer. Having trouble coming up with the source code. Could someone point me in the right direction? | |
hi im a newbie at this but im getting a error message that says: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/pickurau/public_html/classes/Lib/Query.php on line 27 and line 27 starts with the if(!mysql_affected_rows() || mysql_num_rows($this->rs) < 1) return false; does anyone know how can i fix … | |
Hi guys, i m working on matrimonial website. now a days preparing admin panel for that... in the admin panel when admin click on edit(here i m able to recieve id using $_GET), another page opens lets call it showsuboptions, with three sub options edit profile, edit desired profile, edit … Web Development php | |
Hello, Maybe I do not understand the concept behind a constant definition but I have been trying to define a default location for file uploads: [CODE] <?php // Define the upload path define('UPLOADPATH', 'C:\wamp\www\web\images_files'); [/CODE] Every time I try to run the script: [CODE] Notice: Use of undefined constant UPLOADPATH … Web Development php | |
Greetings to you .. gentleman First thanks for all ... and keep it up i'm using ASP.NET 2008 C#.NET i have controlpanel.aspx page .. this page i don't want from any user not login to see it .. when user login and user name and password is ok then show … | |
I has a login page in my web application, when the user login my web application through login page, he is redirected to the welcome page. All this is ordinary, but the problem is when the user press Back button of IE he return to the login page then if … Web Development asp.net | |
Hello, I have a form inside a form. The problem is that IE does not submit the parent form for some reason... It works very well in FF and chrome see [url="http://www.daniweb.com/forums/thread110758.html"]same problem[/url] Any help appreciated. Web Development javascript | |
Hi, Every body, I have one problem that I want to get window logged in user in asp.net, each and every time it is giving ASPNET, I want only window user. I have WindowsIdentity class, HttpRequest.ServerVariables, Environment Variable class. But still giving ASPNET, Plz help me. Thanks | |
I tried looking on Google for info on this, but not much came to light. I'm trying to do a query string that takes info from text files and renders them as PAGENAME.php?id=1 - without using a database, if possible. My file is called test.php and this is its content: … Web Development php | |
Hello all, I have been teaching myself PHP through others writting; so bear with me if you find something foolish. Having said so, I want to make a simple Music library with MySQL/PHP. I have made this very simple Login form as shown below. I want after someone successful login … Web Development php | |
I've installed coldfusion and its server. I have two major questions and am completely new to CF. 1. I copied a folder from our website (our hosting company put it together for us) into the wwwroot folder. I am able to access only one of the pages of that folder--the … Web Development coldfusion linked-list | |
Hi, i would like to programatically send the user an email of all the files they have backed up + associated file information. My question is how can i send the body in a formated way for example To: userEmail() subject: File Backup Report Body: All users files here e.g. … | |
I'm using XAMPP to test a mini-website - I have some zip files I'd like to be able to place on the server, then for them to be unzipped using PHP via a browser. How can I do this? I've tried the following... [code] <?php $zip = new ZipArchive; $res … Web Development php | |
Hello, I'm new to javascript, and need some help, why the following code refuses to do anything. [CODE]<html> <head> <style type="text/css"> .btn { background:URL("elemer.jpg"); width:200px; height:100px; display:block; } .btn.sfhover, .btn:hover { background-image:none; } </style> <script type="text/javascript"> sfHover = function() { var sfEls = document.getElementById(„btn”); sfEls.onmouseover=function() { this.className+=” sfhover”; sfEls.onmouseout=function() { … Web Development html-css javascript | |
Hi i had a php page which show thumbnail images from a database. I need to show enlarged image when mouse roll over to that thumbnail one. Pre-loading of all of that images is not possible ( it will take time to page loading ) . It must be load … | |
I have 2 combobox(select) on html page and i want to populate data in second combobox based on data selected in first combobox by user.I am using jsp and ajax for that.I have Ajax code but i dont know how to return data in combobox from server side jsp page.. … Web Development java-jsp | |
Hi Is it posible to display a list of members that are currently logged in on my website in PHP. Or should I use AJAX ? Any ideas, and if possible how would I go about doing this. Happy easter everyone :) | |
Hello all, A friend and I are working on a website and we are having some issues with the timeout functionality. We set $_SESSION['activeTime'] to the current time at login and then We are using the code below at the top of every page to set the session time every … | |
how to make a validation like vb in asp.net? I want to make a text box should only accept numeric values.... samy | |
Dear Friends, i host a website and use visual web developer for aspx ... i want to create a form , in which users will aftre logging to my page enter 10-12 fields and that will be appended in a backend database on my server eg MS Access... please suggest.. Web Development asp.net web-server | |
Hi, I am trying to display 5 pics named "pic1", "pic2"....."pic5" in one div. I have settled that the div will be visible after 5000 ms, and then i have settled cleartimeout function to make the div again hidden. I need to revise it 5 times so that 5 pictures … Web Development php | |
Hi everyone, because I've recently decided to try making a webgame, I've begun scripting an editor for it. However, I'm quite stuck on the little project and would like some help. The script works as follows, a directory of tiles is being read via PHP (however not alphabetically). These tiles … | |
hi friends, i am new to php. i have source code to logout from a page when that page is inactive for certain seconds. and it is logging out . but the thing is it is logging out even when my mouse and keyboard is active. i.e. even when i … Web Development open-source php web-server | |
Hi, I wanted to post my login system I will use for an upcoming site for rating. I want to ensure a safe login, so please, if you know anything about this and see a security leak somewhere... Please post, any remarks are welcome. How it works: the script generates … | |
Hi, I have a site which lists the basic information of CDs and allows the user to click a link to see detailed information regarding each CD. I've been doing that for a long time by just putting the detailed information in a DIV and using a script to toggle … Web Development javascript | |
Hi everyone, I am working on one application in which i am using many checkboxes for many records like we use in our mail . Like in our inbox mail folder if we want to delete more than one mail , after checking that mail in checkbox , we click … Web Development php | |
Please help me in newsletter sending , this my code the problem is the mail is send to single person is going correctly ,if the same mail send to more number of persons getting wrong mail is going but the data display only in first mail ,the other mails getting … Web Development php |
The End.