52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mill_22

Hi all, The following link [url]http://www.codeproject.com/KB/webforms/disableListItems.aspx[/url] disables items 1 and 2 from the checkboxlist if the user selects checkbox item 3. Can someone PLEASE tell me how i could change the code in this link to work for ListBox. So if I had 5 items in the lisr box (below) …

Web Development asp.net
Member Avatar for Ramesh S
0
880
Member Avatar for umairraja52

If i have a website in ASP code and working very well but i want to convert ASP code to ASP.net(C#) then how it is possible to do this, which software can perform easily to do this.

Web Development asp asp.net
Member Avatar for vuyiswamb
0
183
Member Avatar for SKANK!!!!!

please help meWarning: mkdir() [function.mkdir]: File exists in..xxxxx/register.php. yeah yeah what is wrong here is my code: btw im at xxxxx/register.php [CODE]$documentroot = $_SERVER['DOCUMENT_ROOT']; if(mkdir($documentroot ."/". $username , 0777)) { $profile = $documentroot ."/". $username ."/index.php" ; $filegettingcopy = $documentroot ."/xxxxx/index.php" ; if (copy($filegettingcopy, $profile)) {echo "<br> You can access …

Web Development php
Member Avatar for SKANK!!!!!
0
3K
Member Avatar for iThaos

Hello, Is there a way to create functions dynamically in PHP as such: [code=php] <?php $my_arr_conf = array( 'my_var' => 'This is my variable', 'your_var' => 'This is your variable' ); // Some code here where I can create the function // Maybe somehow with create_function(); ? // I was …

Web Development php
Member Avatar for iThaos
0
1K
Member Avatar for CFROG

I'm trying to make a list of friends that are NOT in address book. This returns all friends : [code] // Check for friends $frnd="SELECT * FROM friends WHERE my_id='$_SESSION[user_id]'"; $fres = mysql_query($frnd); $fnum = mysql_num_rows($fres); while($fr=mysql_fetch_array($fres)){ $friend = $fr['friend_name']; $friend_id = $fr['friend_id']; } [/code] This returns all friends that …

Web Development php
Member Avatar for CFROG
0
126
Member Avatar for unlimited2442

Hi, I'm new here, looking for some assistance... I am starting a new xbox clan, and I'm buillding the website for it. Normally I build my own websites and code them, but I wanted to go a bit more advanced than I usually do, and learn a little bit more. …

Web Development first-post php vbulletin
Member Avatar for Atli
0
86
Member Avatar for rajeesh_rsn

hai I am a PHP programmer and I likes to study JSP from the base level. Please advice me a right book to start. Thanks in advance Rajeesh

Web Development java-jsp
Member Avatar for peter_budo
0
129
Member Avatar for SKANK!!!!!
Member Avatar for ShawnCplus
0
120
Member Avatar for vytla

hi i am trying to change the color of selected date i used the following code but it is not working [code] <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="Black" OnDayRender="Calendar1_DayRender" Width="300px" DayNameFormat="Shortest" Font-Names="Times New Roman" Font-Size="10pt" ForeColor="Black" Height="220px" NextPrevFormat="FullMonth" TitleFormat="Month"> <SelectorStyle BackColor="#CCCCCC" Font-Bold="True" Font-Names="Verdana" Font-Size="8pt" ForeColor="#333333" Width="1%" /> <TodayDayStyle BackColor="#CCCC99" /> <OtherMonthDayStyle …

Web Development asp.net
Member Avatar for Ramesh S
0
104
Member Avatar for twilitegxa

I have the following pages, but on the verify page, it is saying these are not defined: [icode] content = "Name: " + result.FName + "<br>" + "E-mail: " + result.EmailOption + "<br>" + "Gender: " + result.GenderOption [/icode]<br> Here are the pages: addentry.aspx: [code=vb] <%@ Page Language="VB" ClassName="SenderClass" debug="true" …

Web Development asp.net
Member Avatar for Ramesh S
0
269
Member Avatar for digtokiller

Hello im looking for some kinda code, you are paying for something on this page, then when you are done you come to another page. thats not the problem, it come now. this page you come to, it should only be able to open if you come from the paying …

Web Development php
Member Avatar for digtokiller
0
139
Member Avatar for MDanz

how do i do a hyperlink to last page? this is a page url.. e.g. [url]http://www.ufaffd.com/topic.php?id=44?topic=&page=2[/url] how do i do a hyperlink to last page not specific page..

Web Development perl php
Member Avatar for smvec
0
60
Member Avatar for Ghodmode

Is there a way to act directly on an array value returned from a function without assigning it to another variable first? For example, if I just want the third value in a CSV record, I might like to do it like this: [code]$value = preg_split('/,/', "one,two,three,four")[2];[/code] But that doesn't …

Web Development php
Member Avatar for somedude3488
0
156
Member Avatar for AbsoluteCPP

[URL="http://www.daniweb.com/forums/misc-explaincode.html?TB_iframe=true&height=400&width=680"]Code View[/URL] In the linked page u can see that source code is properly formated, how to do that?? I am making my web, i want to know that how can i show the c++ source code on my web with proper format. Q: How to show a formated source …

Web Development php
Member Avatar for codejoust
0
136
Member Avatar for LaurenceJ61

Hi, I'm trying to confirm a Delete action that will remove data from a database. The code is pure php, no jscript etc as I want everything to be server side. My php file shows a form with the current data found for a venue with 1 or more 'rooms' …

Web Development php
Member Avatar for codejoust
0
141
Member Avatar for peck3277

Hi guys, So today I am trying to do something that is probably quite simple. But my head is all over the place and I can barely think straight! Something which is not good for a newb! I'm trying to display some text files on the web. These text files …

Web Development php
Member Avatar for wilch
0
130
Member Avatar for poojasweetgirl

in my college i have been asked to locate a free ftp server on the local network using softwares like ws_ftp ,cuteFTP.I have downloaded ws_ftp but it is asking for server address. I may not have access to internet in college. How do i go about it? i have created …

Web Development asp web-browser web-server
Member Avatar for poojasweetgirl
0
92
Member Avatar for ssmeshack

Hai there, I have doing php code for form data to be send to email. But it is showing... [QUOTE]Your message could not be sent at this time. Please try again. [/QUOTE] Here is my code for html form... [CODE] <body> <div id="emailform"> <form action="email-thankyou.php" method="post" name="contactForm" onsubmit="return validateForm(this);"> <p><strong>Name:</strong> …

Web Development email php
Member Avatar for Kruptein
0
104
Member Avatar for LogicWeb

I'm trying to use an if conditional inside the skin file for my ipbpro arcade mode. The problem is when I edit and reupload, I get a blank page due to the code I'm using but I'm not sure where I'm messing up. In a regular vb template it looks …

Web Development multimedia php vbulletin
Member Avatar for liamfriel
0
139
Member Avatar for SKANK!!!!!

help. i finally put together a script to upload only .png IMAGE files that are under a certain filesize. BUT. is there any way i can only upload the image if its dimensions are exactly 55x55? heres what i have so far: (i want it always be named avi.png so …

Web Development image php
Member Avatar for SKANK!!!!!
0
151
Member Avatar for sandeep_1987

I want to add one row by default that contains textboxes & checkbox. How to add it. See pic As Attachmnet.

Web Development asp.net
Member Avatar for vuyiswamb
0
124
Member Avatar for sanjaypandit

i want to search from the following table attached in zip file, my query is select * from tbl_property where acco_id='1' and count_id='1' and holi_id='1' order by add_date desc but there is a problem, i have various value in holi_id , i want to search , means want to match …

Web Development php
Member Avatar for sanjaypandit
0
78
Member Avatar for ayesha789

I need result which shows all the dates which expire after or within 90 days form now on(current date) but this query also shows results which already expire like it shows 27 sep 2009 which is before current date. I need only those which are expiring from today and with …

Web Development php
Member Avatar for ayesha789
0
96
Member Avatar for Derice

I have created an asp.net web project and deployed it in my pc with the virtual directory set to websetup1. How should i access my website? When i type my ip add in the browser, it will display my router configuration page instead. Should i include virtual directory in my …

Web Development asp asp.net web-browser
Member Avatar for vuyiswamb
0
204
Member Avatar for mrcniceguy

If any one have a script which can grab the yahoo,hotmail and gmail address book,i will appreciate to have it or Any suggestion on how to make me succeed in this. I wantto enable member in my site to import their address book directly from the site. Thankx.

Web Development php
Member Avatar for mrcniceguy
0
343
Member Avatar for ayesha789

Hi, I have inserted time in Database using CURRENT_TIME() and Data type is Time. Now I want to show the Time in AM and PM format. Please guide me. Thanks in advance....

Web Development php
Member Avatar for mick_sp
0
4K
Member Avatar for abhipro

Hi, Is there any way of storing some variables, say username for a particular session in ASP.NET. E.g, If we let a user login in a page, then I want him to stay logged in for all the pages he traverses on the server. Currently, I am trying Server.Transfer and …

Web Development asp asp.net session
Member Avatar for padtes
0
139
Member Avatar for Mapper99

Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [code] <users> <user> <fullname>PC1</fullname> <flooor>4</floor </user> <user> <fullname>PC2</fullname> <flooor>3</floor </user> </users> [/code] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; …

Web Development php xml
Member Avatar for Mapper99
0
240
Member Avatar for ayesha789

Hi, I am developing a Lease Management System, and I need to upload multiple files in a folder. and I want to name the folder where I want to upload in DB. Here is a code for upload a single file. first file is sendfile.php [CODE=php]<!-- The data encoding type, …

Web Development php
Member Avatar for ayesha789
0
351
Member Avatar for thacravedawg

Ok so I have a web app that needs to a large file (up to 100mb) and then do some server side conversions. I have built a model that works locally, but now that I'm trying it on my vps its taking an insanely large amount of time and not …

Web Development asp.net web-server
Member Avatar for kvprajapati
0
105
Member Avatar for Azriq_Rieqhael

i have develop a simple login form... using ASP.net 2.0 and vb then i have upload it into my localhost(IIS) when i tried to view the page , the page was displayed like what i want.. but when i tried to input in username textbox runtime error appeared ... please …

Web Development asp.net
Member Avatar for Azriq_Rieqhael
0
105
Member Avatar for twilitegxa

I have the following pages: UserForm.aspx: [code=vb] <!-- UserForm.aspx --> <%@ Page Language="VB" ClassName="SenderClass" %> <script runat="server"> ' Readonly property for name Public ReadOnly Property Name() As String Get Return USerName.Text End Get End Property 'Readonly Property for phone Public ReadOnly Property Phone() As String Get Return UserPhone.Text End Get …

Web Development asp.net session
Member Avatar for twilitegxa
0
141
Member Avatar for JayGeePee

I've been getting spammed by a Robot alot here lately... When a member signs up there required to fill in all of the blanks(username, name, email, etc.). I want to make it where certain characters cant be used in this area(such as < / " etc.) I also want to …

Web Development abuse email php
Member Avatar for Stefano Mtangoo
0
134
Member Avatar for Stefano Mtangoo

Hi All, I'm trying to make simple CMS and can populate my HTML (generated by TinyMCE editor) to my database. I can retrieve them as well. Now I want to add image support to My editor. What are the tricks necessary? Thanks a lot :)

Web Development cms php
Member Avatar for Stefano Mtangoo
0
83
Member Avatar for mark2326l

As the title says I want to have a text field appear using the if statement. My simplest attempt.... [CODE] <?php if($row_Recordset1['NoPages_A'] { echo<input type="text" name="firstM" id="firstM" />;} ?> [/CODE]

Web Development php
Member Avatar for mark2326l
0
127
Member Avatar for sonia sardana

SOURCE CODE [code] <asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table border="1" width="100%"> <tr bgcolor=Gray> <th>ProductId</th> <th>ProductName</th> <th>Description</th> <th>Weight</th> <th>isInStock</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td width ="10%" height ="50%"><%# DataBinder.Eval(Container.DataItem,"ProdID") %></td> <td width ="10%" height ="50%"><asp:HyperLink id="hlEdit" runat="server" NavigateUrl="Frmuser.aspx" Text='<%# DataBinder.Eval(Container.DataItem, "ProdName") %>'></asp:HyperLink></td> <td width ="10%" height ="50%" ><%# DataBinder.Eval(Container.DataItem,"Descr") %></td> <td width …

Web Development asp.net dataset web-server
Member Avatar for sonia sardana
0
505
Member Avatar for Roebuc

can someone tell me what is wrong with the following: [CODE]function connect($db_host,$db_database,$db_user,$db_pass){ global $db_connection; try { $db_connection = mysql_connect($DB_HOST,$db_user,$db_pass, true); if(!$db_connection) { throw new Exception('MYQSL Connection Database Error: ' . mysql_error()); } else { $connection = true; } catch (Exception $e) { echo $e->GetMessage(); } }[/CODE] I receive: Parse error: …

Web Development php
Member Avatar for Roebuc
0
2K
Member Avatar for nadnakinam

hi 2 all, i'm very new to this php world... if any1 can solve my prblm, help me...! an image was successfully uploaded in desiered DIRECTORY in server... i wish to resize the images which uploaded image... i couldnt found php code to do RESIZE... Thnx in advance...

Web Development image php
Member Avatar for andym67
0
78
Member Avatar for robbied81

I have a simple loginview on a webpage. If a user is logged out they are prompted with a login control. If they do, I have a label in the LoggedInTemplate with no text value. I have programmatically set a text value through the ViewChanged Event. However, when I log …

Web Development asp.net
Member Avatar for Ramesh S
0
129
Member Avatar for miskeen

Hi, I wish to put the title of each dropdownlist. For example, if I've numbers in my dropdownlist (one, two, and three) I'd like my dropdownlist to be like this: Numbers ------------ One Two Three Also, I wish to know how to add a title if I bound mu dropdownlist? …

Web Development asp
Member Avatar for LaraM
0
772
Member Avatar for Graphix

How do you acces a folder beneath the current folder? The upload script is at: htdocs/mysite/management/upload.php and i want the files to be uploaded at: htdocs/mysite/images/ What should the directory be?

Web Development file-system php
Member Avatar for Graphix
0
116
Member Avatar for twilitegxa

I was wondering if anyone can help me with this. I want to have a form that the user fills out, then when they submit it, it displays the values on the page in a summary with two buttons: Submit and Cancel. The Submit button directs the user to the …

Web Development asp.net
Member Avatar for twilitegxa
0
108
Member Avatar for phpnovice

Greetings, Would some experts show me php code to play a .wav file? Thank you very much in advance. phpnovice

Web Development php
Member Avatar for vaultdweller123
0
2K
Member Avatar for mrcb

So I have a simple login + set cookie script. After checking to see if the supplied credentials are in the db, the script sets a cookie. After this, the script forwards the user to a password protected page. I know the login + cookie placing script works fine. When …

Web Development php
Member Avatar for codejoust
0
88
Member Avatar for mIssy_ricco

im using menu item as my navigation. and im using this to remove my menu. [CODE] Private Sub RemoveItemByValue(ByVal Value As String) For i As Integer = 0 To Menu1.Items.Count - 1 If Menu1.Items(i).Value = Value Then Menu1.Items.Remove(Menu1.Items(i)) End If Next End Sub[/CODE] but i can only remove the top …

Web Development asp.net
Member Avatar for mIssy_ricco
0
101
Member Avatar for andym67

Hi All, I am processing a form that includes address info. If the user fills out the form and (address2) has an apartment number that they enter like: #1522 I have trouble later where I might contruct a link such as: [code] header("location: contact.php?address1=$address1&address2=$address2&city=$city&state=$state"); [/code] The link creates fine, but …

Web Development php
Member Avatar for diafol
0
169
Member Avatar for TLCJohn

Hi there, I am looking for a suggestion, and wondered if somebody may be able to help. I have a client, who requests that within his form there is a unique six digit generated number, I am looking for a piece of software or a Dreamweaver extension that may be …

Web Development php
Member Avatar for diafol
0
2K
Member Avatar for muralibobby2015

how to write code for rating of website in php? help me;;;

Web Development php
Member Avatar for diafol
0
76
Member Avatar for kanjigirl

I'm using a Javascript gallery (runs on Prototype library) that populates a caption field if the user has entered a caption for an image. I need a little bit of code to hide the caption's div entirely if the user hasn't entered a caption for a particular image (var 'caption' …

Web Development html-css javascript
Member Avatar for nauticalmac
0
2K
Member Avatar for rizza_f

According to thread MVC above, I create web.xml like this [CODE] <servlet> <servlet-name>addServlet</servlet-name> <servlet-class>servlet.AddServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> </servlet> <servlet> <servlet-name>loginServlet</servlet-name> <servlet-class>servlet.loginServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> …

Web Development java-jsp xml
Member Avatar for ~s.o.s~
0
2K

The End.