52,566 Archived Topics
Remove Filter ![]() | |
hi! i m trying to write some user entered entries to a text file on server... here is my code [CODE] String news=new String(); String path=application.getRealPath("news.txt"); news=request.getParameter("news"); PrintWriter pw = new PrintWriter(new FileOutputStream(path)); pw.println(news); pw.close(); [/CODE] this just doesnt seem to work....can anyone help?News is a text are field on … Web Development java-jsp | |
Is it possible to develop a case tool for asp.net like we have case tool for UML? the case tool will guide to generate asp.net based websites or simply asp.net codes. I want it to develop using Asp.Net. Please suggest is it possible to do this? | |
I'm having trouble gaining admin access to user accounts whose names are spelled the same, with the only difference being that one is spelled in lowercase. (ex.: Bill vs bill.) When I try to bring up the lowercase account in the ACP, it always brings up the uppercase account by … | |
Well, frankly I am new to ASP.NET and am required to make a project in it. I dont think that learning it will be tough as I already know ASP. Is ASP.NET just a step further from ASP??? Also could you please suggest me some ideas of which kinds of … | |
How can I block a content from being copied and right clicked.............. please I want it fast Web Development javascript | |
Hai, I had a small doubt in my php script. I need to select 10 random numbers from a range ( for eg: 2-88) and stored it in an array. For eg: [ICODE]$number=rand(2,88);[/ICODE] This returns only one value from the range 2-88. I need 15 random numbers from the given … Web Development php | |
Hi, In Gridview, it have three Auto generated fields and one template fields (CheckBox) which Header text is Select. This Allow to paging true and Page size 10. When we have more than 10 rows, so we have to select second indexing. But i have a problem that when i … Web Development asp.net | |
Hi all, I am working on an application in php. Now my client want that when i will send mail from form then in message there should be some html code or template of html. Please tell me how i can send this through mail of PHP. Let me explain: … | |
Hello, I couldn't bind subreport's datasource which,itself is a subreport of another report. Can you guys help me out ? Thanks. Web Development asp.net | |
hellow everybody, i have created a image gallery, i am displaying a button name "[B][COLOR="Red"]Collect[/COLOR][/B]" with every image, when ever a registered user clicks on this button, the image id will be stored in the database table, but it must be behind the scene, i mean without refreshing the whole … | |
Hi, I'm trying to execute a script and I get the following php error: [CODE] Warning: require(/var/wkscript/www/admin/inc/config.inc.php) [function.require]: failed to open stream: No such file or directory in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16 Fatal error: require() [function.require]: Failed opening required '/var/wkscript/www/admin/inc/config.inc.php' (include_path='.:/usr/lib/php') in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16[/CODE] What could be the … Web Development file-stream php | |
I have one page which is placed in the Master Page. In the master page i have 1 dropdown and one GridView, dropdown is display the category , based on the dropdown list selection it will display the list of videos in the Grid. In the content page i have … | |
Hi all, I am beginner learning ASP.NET with C# as the programming language. Currently I am working with HTTPSERVERUTILITY. I have created a web form named as Default.aspx and Default2.aspx: I have written the following coding : Default.aspx: In source view [code] <body> <form id="form1" runat="server"> <div> <asp:Button ID="Button1" runat="server" … Web Development asp.net web-server | |
Hi i am assigning binary value from sqltable to byte array The error i am getting is Cannot implicitly convert type 'System.Data.DataColumn' to 'byte[]' Byte[] bytes = (Byte[])ds.Tables["Photo_Det"].Columns["Photos"]); Web Development asp.net | |
Hello people. I have a pop up window and i have 2 pages that open the same pop up window. I want to make a button hidden when one specific page opens my pop up. If the other page opens my window; i want the button to be there and … Web Development javascript | |
Hi, anybody know on how to create table like this- [URL="http://mycbr-project.net/tableEditor.html"]table editor[/URL]- in MySQL? I need to retrieve the value & compare it with the query value ( I am doing this using php). help is really appreciated Web Development php | |
Hello, I have an ASP.NET website that uses Windows Authentication to authenticate users against Active Directory. How can I implement a "Sign-On as Different User" just like SharePoint 2007? Our SharePoint site uses Windows Authentication as well and when you click to "sign-on as a different user" you are prompted … Web Development asp.net sharepoint | |
long time reader first time poster :-) Hi, i have a form that get all the info from flash and send the vars to php form all works well but hebrew.... i get some "jibrish" other experiments i made shows: a. if $content = "some hebrew characters"; embed heb-text in … | |
how do i access PHPmyadmin on the (server) system. i was given the username, password and the SFTP server for the website. is there a special url i need to go to... sorry about the NOOB question.. any suggestions? Web Development php | |
I'm trying to get multiple variables to work in the query string with PHP. This is my code: [CODE]<? $programme=$_GET['programme']; switch ($programme) { case 12578: include("http://mysite1.com/programme/TopGear"); break; case ER: include("http://mysite1.com/programme/ER); break; default: echo "page not found!!!!"; } $hPage=$_GET['hPage']; switch ($hPage) { case 1: include("page1.php"); break; case 2: include("page2.php"); break; case … | |
okay heres my code below: [code] $keys = rand(10000,99999); $fkeys = rand(100,999); $bkeys = rand(100,999); $key = $fkeys,$keys,$bkeys; echo $key [/code] this line "$key = $fkeys,$keys,$bkeys;" is giving me errors. i would like the result to be something like $fkeys$keys$bkeys. Any idea how i would be able to do that?. … Web Development php | |
Hello guys! I want to create a dropdown menu to my site and I did it with JS instead of CSS because some functionality was needed that is'nt available in CSS, so I wrote it completely in JS (the styling is in CSS of course). Now, after I've ironed out … Web Development html-css javascript | |
Hi Friends, I am very new to JSP.Just started learning few days back.I am struck with form validations in JSP.Can you pl help me as to how to validate the inputs entered by user in the form.No alerts shud be there.For example..if user doesnot enter any mandatory column(say first name),it … Web Development java-jsp | |
Hi, I'm a Php novice. I need to perform a function based on whether a sqlquery result is a float value or not. I can do it with any variable but query results. I don't know what the reason is for this and have wasted all day on it! Any … Web Development php | |
Hey guys, I have come unstuck... cost... I started using Ajax yesterday and have been pleasantly surprised by how easy to use it is... What Ive done is build a crude instant messenger, which people need to log into... however, because of how I intend on using it... I want … Web Development javascript | |
Hey guys, in my website the user uploads 3 random files. I've uploaded these in a folder on my machine using the FIleUpload Control. But now i want to give a link to the user to download the uploaded files. This is what i've done so far: [CODE]HyperLink link1 = … Web Development asp.net | |
Dear friends I am creating a php login/register form to register and authenticate users.My problem is that the form does not submit the data in the form to the database.Please see the code below: [code=php]<?Php session_start(); /****************/ //original Amaina......slowly coming of age// include 'dayta.php'; //connect $link = mysql_connect($database_host, $database_user, $database_password); … Web Development php | |
guys i need help, how could i get the id of a button? i have this code [code] echo "form action = 'sec_ph_fileMain.php' method = 'post'>"; echo "<input type = 'submit' name = 'upload' value = 'Upload' id = 'hi'>"; //variable declaration $upload = $_POST['upload']; [/code] what i want is … Web Development php | |
Hi guys, I was hoping some one could help me with a problem im having with Ajax. Im very new at Ajax and don't really understand it completely. My current situation is as follows: 1: I have a main page which loads a flowchart.gif image. 2: Along side the flowchart … Web Development javascript | |
It's day 5 of reading expert analysis, white papers and a myriad of posted mailer classes, but I seem to be so far away of constructing my PHP script to prepare and send a text and attachment email. Below is the "hash" of different codes I have been able to … Web Development php | |
hi was just wondering what the difference is between the echo and print_r commands bacause when i run this code: [INDENT][CODE]<?php $output = "this sentence"; $face = explode(" ", $output); print_r($face); echo $face; ?>[/CODE][/INDENT] it outputs Array ( [0] => this [1] => sentence ) Array so the echo isn't … Web Development php | |
Ok so i have a Function that connects to a database and runs the executeschaler() command. the executeschaler is attached to an object. When running the command it will search the database for ceartin information and return certain values, however it returns an error when i use the Try End … Web Development asp.net | |
this is a complete NOOB question but i need help. I have WAMP installed and was given a IP address, the user name and password to the site so i could edit the html. But i need to edit the PHP. I need to add a few more fields to … Web Development php | |
I am working on a website with a custom CMS built into it and on the index page of the site I am pulling two different sets of information from the database and there are read more links that I would like to have link up to two different pages. … | |
i have created a database initially and had framed only one table. The php script was working fine , i could store values and reterive from them. I again created one more table in the same database , inorder to store data in it. but the PhP script is by … Web Development php | |
Hey Guys, I have a textbox which had readonly property set to true. This textbox is used to take LongDate as it's input from a pop up calender. When i click on the button, it gives an error "String was not recognised as valid datetime" But when i set the … Web Development asp.net | |
Hi I am running on hosts shared server - windows 2003 with IIS 6 and apache but they can't redirect in IIS as its shared and I have no .htaccess rights even if I did my hosts say it is very limited. I also have front page server extensions installed. … Web Development apache html-css php seo web-server | |
how to read and write the xml file in c# and assign to a string | |
![]() | Hi, I'm looking to create a drop-down menu with rather long option titles. The problem is that I want to restrict the boxes size otherwise the size changes to the length of the longest entry. When I use the length attribute, it forces the drop-down to be a certain length, … Web Development html-css javascript |
Here i am converting image to binary and saving it in sqltable , i got this code from some website but NOW I DONT KNOW THE WAY TO RETRIEVE THE BINARY DATA FROM SQL TABLE AND CONVERT IT BACK TO **IMAGE FORMAT** AND DISPLAY IT IN WEBPAGE public byte[] FileToByteArray(string … Web Development asp.net | |
Hey guys, I'm trying to run a javscript on a page which also has a master page but it won't run. Please tell me the procedure for it. Web Development asp.net | |
Hi Guys, I really hope someone can help me out here I have a php form that submits to a database which is all fine, a portion of the form allows for more rows to be added as needed but for some reason it only allows for upto 9 rows … Web Development javascript | |
Okay this is what I am having trouble with Button "d" i want it to run in a sequence of button A, b, then c. then b, c, then a. and soforth. I've been working at it for a week now. I have button a b and c working just … Web Development javascript | |
Hi all, I'm currently developing a search engine that allows users to upload urls of educational programmes to a database as well as add their own keywords for later searching. This all works fine, i want to know if it is possible to update a single field in a table … Web Development php | |
hello experts, Can u tel me what is .net framework in 2 lines? and also definition for INTROPERABILITY, ABSTRACT, METADATA, MANIFEST ? Web Development asp.net | |
Hey peoples, im a complete newbie to ASP.NET. Basically i just need to validate a textbox so that only a 4 digit number can be inserted. Wat code should i use (im using VB as my source language and it's not a code-behind). This is the asp textbox validation attributes: … Web Development asp.net | |
asp.net c# sql server I have a web form that I use to insert data into a sql database. I want to know how to prevent inserting duplicate records into the database. Thanks. Ichu Web Development asp asp.net web-server | |
hi frnds, I have just studied html, css and javascripting. I think that though I got familiarized with the syntax and the purpose of these, I don think I am able to do something good . Can someone suggest some small projects I can work on So that I can … Web Development html-css javascript | |
hi, I'm trying to get daya into a new table via form. two fields in new table will pick up data based on look up tables. pls guide as to how do i proceed . The code is flashing conversion of Data type error. To avoid the datatype error, i … Web Development asp.net | |
after login, go to this page. client will click those button then view each recipe they click. list.php [code] <?php session_start(); if(!isset($_SESSION['myusername'])&&!isset($_SESSION['mypassword'])) { header('Location:401.php'); } ?> <!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> <!--for auto refresh--> <META HTTP-EQUIV=Refresh CONTENT="300; URL=http://localhost/recipe2/home.php"> <title>home</title> </head> <body> <div align="left"><img src="Cookie … Web Development php |
The End.