52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for moni94

Hi. I added a file called "sldata.txt" to my Silverlight solution (which I test in an ASP.NET site) in VS 2010. But when I try to access it using stream reader: StreamReader sr = new StreamReader("sldata.txt"); I get a SecurityException - File operation not permitted. Access to path 'chatdata.txt' is …

Web Development asp.net file-stream file-system
Member Avatar for jaspreetsingh12
0
725
Member Avatar for keertg

Hai, Currently I'm writing code in ASP.NET using VB language. In my page, In left panel I have set of contents and in right there is a Calendar(Refer attachment CalendarView). I am using jquery (draggable pluggin)Drag Over and Drag Out methods to drag and drop the contents into a particular …

Web Development asp.net javascript-jquery
Member Avatar for keertg
0
112
Member Avatar for smackthat9876

Hi there, I have a question related to this topic, i dont know if I should make a new thread or how to make a new thread. I am making an adult website and I just need a disclaimer and 2 buttons one that verifies age or one that redirects …

Web Development php
Member Avatar for smackthat9876
0
1K
Member Avatar for digital_plunder

i m working with sessions.. i have problem with sessions here is my coding " <?php session_register("admin_id"); if($_SESSION["admin_id"]=="") { header("location: login.php"); } ?> " i want to register a session but when i use session_register function i got error ""Deprecated: Function session_register() is deprecated in C:\xampp\htdocs\xampp\c\admin\session_check.php on line 2"" help …

Web Development php session
Member Avatar for vidjin
0
104
Member Avatar for woopi

I have a form with checkboxes [CODE]<input type="checkbox" name="yo[1]" value=1 <input type="checkbox" name="yo[2]" value=1 <input type="checkbox" name="yo[3]" value=1[/CODE] I want to to insert values into db exactly like this create table tablename yo1 tinyint default 0 , yo2 tinyint default 0, yo3 tinyint default 0 insert into table set yo1=value, …

Web Development mysql php
Member Avatar for diafol
0
229
Member Avatar for TheHaxx0r1215

I am getting a [B] frustrating[/B] error with my PHP Code. I am not using short tags, or anything else that causes this error. I checked the brackets, they are all in place. Can you help me? [CODE]<?php require_once('recaptchalib.php'); require_once('config.php'); $privatekey = CAPTCHA_PRIVATE_KEY; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); …

Web Development php session
Member Avatar for diafol
0
106
Member Avatar for meghanetpulse7

So, i saw these websites which create graphically rich text. You put simple text , hit "start" and sysem generate completely new text with different colors. Something qhich require photoshop tobe used. I want to create a website around this same concept. I looked into some options and imagemagick came …

Web Development image php
Member Avatar for diafol
0
150
Member Avatar for titosd

Hello, I need to calculate dates, e.g: if i have this date on string "12-07-2008" and I want to add to this date 17 month. How can I calculate this date. are the a func that do this calculate ? or I nedd to write it ? Thank you

Web Development php
Member Avatar for diafol
0
145
Member Avatar for max4444

sorry if this seems silly, i am trying to learn php and mysql i have tried a few times and all i do is crash the code. What is am trying to do is change the cell background colour to green if echo $row['s1']; is "2" and red if "3" …

Web Development monitoring-software php
Member Avatar for max4444
0
95
Member Avatar for axxxpua

Hey, I am creating a website with two forms which contain checkboxes and displays and sends the values input by the user to display on the page as well as save onto a database. The languages I'm using are xhtml, php and sql. The problem for me is that only …

Web Development php
Member Avatar for axxxpua
0
205
Member Avatar for calebcook

Hi. I need a function which will convert a decimal to a fraction, so that I can put in [CODE]echo dec2frac(1.75);[/CODE] and it'll output 1 3/4. Any suggestions? Thanks

Web Development mathematics php
Member Avatar for diafol
0
3K
Member Avatar for richa kushwaha

i want the code of gridview in terms of displaying selected value in another page on textbox.............. reply me soon. .......................

Web Development asp.net
Member Avatar for dnanetwork
0
89
Member Avatar for davy_yg

I wrote the following codes: [CODE] <?php $nama = ('a' => 'John', 'b' => 'James', 'c' => 'Ray', 'd' => 'Lime', 'e' => 'Kit') sort $nama reset($nama) $i=1; do { $i++; echo "The key is " . $i . "and the value is “ .$i <br />"; } while ($i<=5); …

Web Development php
Member Avatar for pritaeas
0
87
Member Avatar for wright67uk

Ive been playing around with a couple of scripts both of which work well on their own. The first is a basic alertbox that uses a hotkey; [Code] <script> $(document).jkey('o', function(){ alert('Pressed o');}); </script> [/code] The second is a custom alert box which displays after clicking on a link. How …

0
143
Member Avatar for hiyatran

.innerHTML is used when you trigger an event but if you just want to display the text how would you go about do it?? I don't want to used document.writeln because it will "[B]Wipe out all the contents[/B]" of that page. So I have some HTML text and javascript text. …

Web Development display javascript
Member Avatar for LaxLoafer
0
174
Member Avatar for Virangya

hi.. i'm going to host my project and on clients site, a user always have to login to view what he can view. So the user has a user name and a password. Is there a way i can enable a user to login automatically without just entering user name …

Web Development php
Member Avatar for Virangya
0
213
Member Avatar for rakwel10

How can I make my website work like this: User forgot to logout its account to PC1. Then he goes to PC2 and login the same account he uses to PC1. User successfully logs in to PC2 while its account in PC1 is autamatically logged out. How is that?

Web Development php
Member Avatar for rakwel10
0
246
Member Avatar for naveedqadri

Hi Experts, I have visited the forum regarding this solution ,but could not get proper help. I got error : Object reference not set to an instance of an object. [code] Line 18: <% Line 19: Line 20: string proj_id=Session.Contents["proj_id"].ToString(); <-------- > pointing to this part Line 21: OleDbConnection conn=new …

Web Development asp.net session
Member Avatar for dnanetwork
0
115
Member Avatar for kenji

Hi, I have a really basic ASP.Net question regarding the life of variables. I'm following the book Beginning ASP.Net 4 by Apress. The question is this, I declare a list in the .aspx page and it is available for access by the corresponding .aspx.cs class similar to the code sample …

Web Development asp.net
Member Avatar for dnanetwork
0
148
Member Avatar for khushhappy

Hi, I am stuck with a problem being un-solved. Basically i want a solution in which when a User signup , he to be asked a secret Code which is only known by the [B]CS WING staff[/B]. If the user signup as other then CS WING staff section member (options …

Web Development php
Member Avatar for chrishea
0
100
Member Avatar for davy_yg

[CODE] $nama = array('a' => 'John', 'b' => 'James', 'c' => 'Ray', 'd' => 'Lime', 'e' => 'Kit'); //sort ($nama); //reset($nama); $i=1; do { echo "The key is " .$i. " and the value is " .$nama[$i]; $i++; } while ($i<=5); Echo "newline"; ?> [/CODE] The following error appears: Notice: …

Web Development php
Member Avatar for diafol
0
619
Member Avatar for komanche

I have written a login page but each time I login it returns a blank page even with a wrong password please help: the login page is as follows: [CODE] </head> <body> <div id="wrapper"> <form action="methods/login.php" method="post"> <ul> <li><label>Username:</label><input type="text" name="username" size="10" value="<?php echo htmlentities("$username"); ?>" /></li> <li><label>Password:</label><input type="password" name="password" …

Web Development php
Member Avatar for karthik_ppts
0
788
Member Avatar for jackparsana

Hi, Please help me to do this. I have application for send bulk SMS. But when i send SMS, like : "Hello Word" then it will message me like : "HelloWord" it remove space. so how can i manage. help me thanks in advance. jack

Web Development asp.net
Member Avatar for jackparsana
0
192
Member Avatar for himmat.m4

Hi, In our project I am using ajax with jquery. here I have applied some code of java script on splitting response which comes from server side. This code is working fine for small data. Whenever same application used for large data, script gives problem. This problem is value is …

Web Development java-jsp javascript
Member Avatar for himmat.m4
0
131
Member Avatar for SagarSe7en

Hello Everyone! A new thread i have started and this is how the problem goes... I want to display record of a user something like profile details based on the user who has logged in to member's page! So when the user has logged in and clicks on the view …

Web Development display java-jsp
Member Avatar for SagarSe7en
0
6K
Member Avatar for fabzster

Hi I have a script that is scheduled to run with task scheduler will download a file via FTP and import it to a mysql DB How would I go about handling the retries if there is either a problem with the connection or something. I tried going about it …

Web Development php
Member Avatar for fabzster
0
660
Member Avatar for naraza

how can i use to show the selected value from data set i think there is a problem of dataset use to take out value from data set my code is [code] protected void Page_Load(object sender, EventArgs e) { SqlDataAdapter adap = new SqlDataAdapter("SP_selectallbooks", con); adap.SelectCommand.CommandType = CommandType.StoredProcedure; //DataSet ds …

Web Development asp.net dataset sql
Member Avatar for naraza
0
340
Member Avatar for naveedqadri

Hi Experts, I have asp.net application already published with x86 ( i am not sure but can not working properly on windows server 2008 64 bit with oracle), through googling i found that i need to change application to Specific CPU through VS2005. There is also solution: To explicitly set …

Web Development asp.net oracle windows-server
Member Avatar for kvprajapati
0
191
Member Avatar for CodeBoy101

Hi all! I am using Visual Studio 2008 and I was wondering is there a way to get the colour of text in a menu item to change color during a mouse over. So for example, if I was cycling through a list of items, the item that was currently …

Web Development asp.net visual-studio
Member Avatar for kvprajapati
0
166
Member Avatar for buvanarajamani

i need a sample program to implement synchronization concept for a website... i have an application connected with oracle database. i have to open the same application simultaneously in two visual studio ide to perform the same operation or different operation accessing the same database in a synchronized manner using …

Web Development asp asp.net c# ide oracle visual-studio
Member Avatar for kvprajapati
0
108
Member Avatar for krabz01

how can encrypt image path thats in the database

Web Development image php
Member Avatar for Sanjib Ganguly
0
66
Member Avatar for Virangya

hi i made an image slider. it loads all the images from the data base using php and for sliding and timing intervals i used javascrpt and ajax. through back end of the systems can edit these images and upload new , update and delete. i want to reflect the …

Web Development image javascript
0
150
Member Avatar for skylove

please help me. this my trouble Notice: Undefined index: p in C:\wamp\www\index.php on line 7 and soure [CODE]<?php session_start (); include ("function.php"); $title = "Trang chủ"; include ("header.php"); $p_now = intval($_GET ['p']); $total = mysql_result ( mysql_query ( "SELECT COUNT(id) FROM baiviet WHERE kieu='post'" ), 0 ); $numofpages = $total …

Web Development php
Member Avatar for karthik_ppts
0
90
Member Avatar for olybobo

Dear all; I have the following code below and I have been spending time trying to debug it but I can't understand why I am getting the illegal character error message. See my code below. Thank you. workheader.master.cs [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using …

Web Development asp.net
Member Avatar for olybobo
0
156
Member Avatar for Dante2

Ok, working on a blog engine. Small and somewhat unimpressive, basically following along with a tutorial. The tutorial basically has me write a little MySQL to query some test fields that we filled in manually. And here is what I get. (see attachments) The first one shows the read out …

Web Development html-css mysql php web-browser
Member Avatar for Dante2
0
309
Member Avatar for tonydeleon

Hello Can you please help me with this easy cake, On a form I have 4 listboxes listbox1 listbox2 listbox3 listbox4 What I need is to count the listboxes which values selected are = 1. and display the result in a textbox1 For example : if listbox1 and listbox3 are …

Web Development javascript
Member Avatar for Taywin
0
94
Member Avatar for maimihits

hello i wanted to display the nultiple image in the webpage from mysql database. I am new to php. till now it only displays one image at a time. Please help . Here is the code snippet: [CODE]<?php $db = mysqli_connect ('localhost', 'username', 'pwd', 'databasename'); $query = "select * from …

Web Development image php
Member Avatar for diafol
0
361
Member Avatar for xshmrz

[CODE]<?php $datax = $db->get_results("SELECT katid, katparentid, katadi, katsira, katdurum FROM sql_kategori WHERE katparentid='0'");?> <form action="index.php?menu=com.kategori:ekle.kod" method="post" name="formx" id="formx"> <table id="tablexcaption" width="600" border="0" cellspacing="2" cellpadding="2"> <tr id="caption"> <td width="40" align="center" valign="middle">Id</td> <td width="40" align="center" valign="middle">P.Id</td> <td>Kategori Adı</td> <td width="40" align="center" valign="middle">Durum</td> <td width="40" align="center" valign="middle">Sıra</td> <td width="40" align="center" valign="middle">Düzenle</td> <td width="40" …

Web Development php
Member Avatar for diafol
0
107
Member Avatar for praveen_dusari

hi, Iam developing the website in ipad,using html5 database and html5 concepts...i am facing trouble in integrating my website which is developied in php and xslt..here we are using soap to get the articles and displaying it using xslt and php...here iam loading those articles in html5 database in php …

Web Development html-css ipad javascript
Member Avatar for kws.mumbai
0
158
Member Avatar for bowmaster

i have the folowing code in my jsp page: [CODE]String[] name = null; String[] manufacturer = null; String[] description = null; String[] category = null; String[] price = null; String result = null; String connectionURL = "jdbc:mysql://localhost:3306/syte"; Connection connection = null; Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection(connectionURL,"root",""); Statement statement = null; statement …

Web Development java-jsp
Member Avatar for bowmaster
0
190
Member Avatar for chand8

Hi, I have two servers. The question is i want to select the information form one server's table and insert it into other server's table. for that how many files i need. I am able to select table data form server one but i don't know how to insert it …

Web Development php
Member Avatar for diafol
0
209
Member Avatar for bala2111

I want to display last 6 months from the current month. For example This month is september, I want to display April, May, June, July, August, September Can anyone help me with this ?

Web Development php
Member Avatar for diafol
0
3K
Member Avatar for mary_forum

hi friends how to send post value in url code is: header('Location:edit_products.php?catid=$_POST[catidHd]&catname=$_POST[catnameHd]'); the $_POST[catidHd] value coudnt taken how to give this $_POST[catidHd] in url tnx

Web Development first-post php
Member Avatar for ddymacek
0
1K
Member Avatar for tawboiid

This question is in regards to the little dynamic image that you can link to in your Daniweb profile (see profile page, bottom right). I was curious how Daniweb is set up to dynamically create these images. I would like to do something similar on my site. Could Dani share …

Web Development image php
Member Avatar for tawboiid
0
136
Member Avatar for raghu.ndu

Hi, I have this PHP code to send mail with attachment... when I send mail without attachment I am getting the message but when I attach something I am getting the attachment but the message body is blank... please help!! Below is the PHP code : [CODE] <?php // Your …

Web Development email php
0
111
Member Avatar for mary_forum

hi frns how to remove & and space from a string.i just gn in url. wn i get this name using request only the door comes rest will be cut.how to remove & and space prod.php?name=Door%20&%20Window%20Hardware tnx

Web Development php
Member Avatar for diafol
0
288
Member Avatar for akasekaihime

can I ask a question? how can I accept inputs in PHP...... here is the code..... [CODE]<html> <body> <h4>Grade Form</h4> <form action="testingform.php" method="post"/> Grade: <input name="Grade" type="text" /> </form> <?php if ($grade>="75") { echo "PASSED"; } else($grade<="75") { echo " FAILED"; } ?> </body> </html> [/CODE] [B]the condition is if …

Web Development php
Member Avatar for divyakrishnan
0
108
Member Avatar for alltech

i have website and the XML from another site gives booking info within the CDATA and i want to extract the content of this CDATA using PHP and also create a button so when this is clicked this CDAT content is retrieved. Please help

Web Development php
Member Avatar for alltech
0
393
Member Avatar for Buppy

Hi, I have a MySQL database and an array with ID's. For example: $q = array(4,7,9,34,12,3,...etc); The ID count in array can be over 100. What's the best way to select only those rows matching those ID's in array? The usual SELECT * FROM table WHERE ID = '$q[0]' OR …

Web Development mysql php
Member Avatar for urtrivedi
0
287
Member Avatar for davy_yg

When I run the following code: [CODE] <?php $firstname = "First Name"; $middlename = "Middle Name"; $lastname = "Last Name"; $name = $firstname .“ “. $middlename .” “. $lastname echo $name ?> [/CODE] This errors appears: A sharing violation occured while accessing C:\xampp\htdocs\php_exercise\exercise1.php why is it?

Web Development php
Member Avatar for cossay
0
136

The End.