17,029 Solved Topics
Remove Filter ![]() | |
I am so confused, I want to add some anti-spam security to my upcoming register page but something is really wrong. Note that my server is Coldfusion MX7 (i can not afford better) and because of that i can not use cfimage(captcha). This is what i have: [code] <cfset strLowerCaseAlpha … Web Development coldfusion | |
I'm making a PHP forum script But, when ever i try to add a new topic it gives me this error: [QUOTE]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc) VALUES (Test, General … Web Development php | |
[CODE]include"../../pages/config.php"; $selectrow = mysql_query("SELECT * FROM members"); $query = mysql_fetch_array($selectrow, MYSQL_ASSOC); //Run business removal if ($query['Enable'] == "true"){ if ($query['autoRemove'] <= "0"){ $removeSQL = "DELETE FROM AccLink WHERE autoRemove <= 0"; mysql_query($removeSQL); echo "Business Removed. {$query['username']}<br>"; } $remove1 = "Update AccLink SET autoRemove = autoRemove -1"; mysql_query($remove1); echo "Run Sucessfull … Web Development php | |
Hello, I'm using easyPHP to locally test some scripts I'm building, but I came across a problem that I can't seem to resolve. Within one of my PHP scripts, there's a segment where I end the PHP ([icode]?>[/icode]) and output a form in HTML, then resume the PHP section ([icode]<?php[/icode]). … | |
First post for me, hope this is right place rather than c# I have a form. When it is completed, it redirects the user to a thank you page. <%@ Page Language="C#" masterpagefile="../../../msrtpage/hra2.master" title="Sign Up Here" %> <asp:Content id="Content1" runat="Server" contentplaceholderid="hra1"> <script runat="server"> protected void FormView1_ItemInserted(object sender, FormViewInsertedEventArgs e) { … Web Development asp.net | |
hi, i'm trying to edit something on a site i didn't code myself so i downloaded the files and set them up on a virtual host on my local machine. i am using wamp server with php v 5.2.9-2. the problem is when i go the page on my local … Web Development php | |
I am new to asp.net though not to asp. I want to display two gridboxes, the first with master records and the second with child records linked to the master table id. The idea is to change the child records when the parent record is selected, or ideally, when the … Web Development asp.net | |
Hi, I'm playing with javaScript and AJAX and using the source code used in this page: [url]http://www.codeproject.com/KB/webforms/MultiSelectDropDown.aspx[/url] (Actually I copied the code on the Default.aspx to the page I was working on, which has a MasterPage and translated Default.aspx.cs from C# to VB.NET) However, I'm having an "Object Required Error" … Web Development javascript vb.net | |
I know you can use the if/elseif to make php compare values [code=php] if ( $Quantity != 0){ $a = ( $b * $c ); } elseif ( $Quantity == 0){ $a = ( $b + $c ); } [/code] but what if you want it to do something only … Web Development php | |
Hi, I have the following jsp file which receives an audio file from the form. I am receiving the form data as Multipart and saving the uploaded file as temp.wav. The uploaded file is in uLaw audio format. I want to convert it to PCM format and save it as … | |
Hi All, I have used eval function before this. But I am not sure why this one is not working for me. I do have one function which returns me some filter string. It returns string something like this. [CODE]AND TM_ID=$row_tMain[TM_ID] AND TM_DATE=$row_tMain[TM_DATE][/CODE] I want to use this string in … Web Development php | |
Hi here is another question: I searched the internet for information about the radio tag, and this is all I found so I put it in my code [CODE] <s:radio name="..." list="myArray" /> [/CODE] The above displays all the elements of the array with radio buttons. My problem is that … Web Development java-jsp | |
I did some JSP development a few jobs ago (7 years ago) and remember having the toughest time with jsp debugging especially. I used JBuilder back then. I'm getting some jsp stuff going again in this job and was wondering if you could give me opinions on the best tools … Web Development java-jsp | |
Hi, In the page I’m developing, I have two textboxes, and two CheckBoxLists. Each CheckBoxList is being populated according to what the user types in the respective TextBox. In the Page Load, I’m doing the following (VB.NET): [CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load FirstTextBox.Attributes.Add("onkeyup", … | |
Hi can anyone tell me what's wrong with this? Thx in advance. [code=php]$meta_tags = '<meta name="keywords" content="' .$meta_keywords' . "> <meta name="description" content="' .$meta_keywords . '">';[/code] Its throwing the following error: PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING Web Development php | |
Hi I need some help with the following problem: This is the source code: [CODE]<html> <body> <?php //Retreiving mail messages from mail server $server = 'localhost'; $port = 110; $mail = imap_open("\{$server:$port/pop3}INBOX", 'admin', 'password'); ?> </body> </html>[/CODE] This is the error message (exception): Warning: imap_open() [function.imap-open]: Couldn't open stream \{localhost:110/pop3}INBOX … Web Development open-source php | |
Hi, ASP .net is totally new area for me. I am trying to build one web application to be accessed internally by my team through local network. So, I am trying to add one login page in my project asking for user's username and pwd. Now, I want my application … Web Development asp.net | |
Alright so im trying to write a simple temperature conversion but i can't seem to get it to work 100%. My problem seems to be that I want to check to see which field has had a number entered in it, and then run the correct conversion function accordingly. I'm … Web Development javascript | |
Heres my code, which is in the head section of the page(yes, its saved as .php): [code] <?php if (isset($_GET['category'])) { if ($_GET['category'] == "property" ) { $property_link = "<span>Property</span>"; $rentals_link = "<a href="listingstest.php?category=rentals">Rentals</a>";} else { $rentals_link = "<span>Rentals</span>"; $property_link = "<a href="listingstest.php?category=property">Property</a>"; } } else{ $property_link = "<a href="listingstest.php?category=property">Property</a>"; … Web Development php | |
Hi i have a table which i was using with a datagrid using hyperlink to maintain a simple menu to browse a internal site. but now i decided to create a horizontal menu with the Menu Component of asp.net, i know there is a different way how to do this, … | |
I have tried to get my php scrip to work but it doesn't. can someone maybe help me to get it working please. Here is my script: [code=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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <?php if(isset($_POST['mail'])) { $email_to … Web Development php | |
Hello! I was wondering if I could get some assistance with something that is probably easy for even an amateur javascript coder, but, I just can't seem to get after trying every iteration of code I can imagine. The deal is, is that I'm trying to put together a PHP … Web Development javascript php | |
I wrote code below it open me a new window and show current time but I want it will show it in same window and chnge each second here is my code (i think I must use [COLOR="Green"]setInterval function[/COLOR] to change time each second but if I put the call … Web Development javascript | |
Hi all :) Does anyone have or know of any examples of how to store and upload .pdf files through a c#/asp.net web application? Thanks :) | |
Hi, I a real newbie on WCF, and I want to implement a service that reads from a DB some data and returns generic lists of custom objects to the client. So I implement the service like this: Interface: [CODE=vb] <ServiceContract()> _ Public Interface IRepositorio <OperationContract(Name:="ListarAlmacen")> _ Function ListarAlmacen() As … Web Development asp.net | |
Hi all, I'm having some fun with the good old "object expected" error from IE and was hoping you guys could help me out. I get the error message Object Required : Line 86. mmm cryptic as there is only 67 lines on that page but after some digging I … Web Development javascript xml | |
Hi, There is this nice upload ajax script which I would like to use on my site, it's called "Fancy Upload". You can a see demo&code here: [url]http://digitarald.de/project/fancyupload/3-0/showcase/single-file-button/[/url] The demo shows only one upload form instance on the page. However I want to have three upload form instances so that … Web Development javascript | |
My query has two parts: 1. Can I pass an audio file from one jsp to another using form submit. 2. If yes, then how do I write this file to another file in the next jsp page. I was going through the AudioInputstream class but couldnt make much head-through. … | |
It's been a long night and maybe I'm so tired I'm overlooking something simple, but this has me dumbfounded. I know for a fact - 100% that these variables contain a value : $receiver_id $myid $receiver_username I defined them at the top of the page and echoed them and they … Web Development php | |
Okay First off i cant figure out where my code is wrong i have stored the ID of the records i want to delete to an array called todelete[] these values are taken from checkbox called delete (stored the ID of the record to the value parameter of the checkbox) … | |
| |
I am seeking help to create a html search form that has a drop down box listing tables within a mysql database that contain parts for different makes of buses. The idea is that the drop down list would select the table and the part would be found within the … Web Development php | |
Hi All, am a new web developer in ASP.NET, am developing an application that involves user Interface. In my application am assuming that there is already a database which consists of user profile e.g Username, password, Firstname etc., so I created a database and I manually put in values. the … Web Development asp.net html-css user-interface web-server | |
:'( i want know that i have developed a web site with using sql database backhand in asp.net nw how can i deploy it i mean i want to know process how to register it or host it from where ?? Web Development asp.net | |
hi guys, in asp.net page i have designed a registration page few textbox are in that page i have set field validators on them but problem is that there are two buttons one is for register and the other is to go back to main page when i am clicking … | |
Hi all I am new in php, I want to block the user to return on the previous page? suppose I have page1 when he/she goto page2 he/she cannot return to page1 (session of page1 expired) thanks to all. | |
Hi, I am showing my output using this. It shows all the records on web page where month is July(07) But I want it show all the records like: there are 29 records found, I also need 3 records per page, How I will do paging for these. please guide … | |
Hi I have a small app, my first real ajax project, which gives you details for product availability, for each day. The user selects a day (from a calendar) and then a time slot within the day. The app then displays how many slots are available for purchase, on that … Web Development javascript | |
Hi, I had this working but after a few code revisions it has stopped. I am trying to set a variable; lets say I have [ICODE]$var[/ICODE] and am trying to set it to [ICODE]$_SERVER['REMOTE_ADDR'][/ICODE] with the code: [CODE]$var = $_SERVER['REMOTE_ADDR'];[/CODE] When I do this I receive a fatal error in … Web Development php | |
hi there could anyone please tell me how i would change this html to use php to email without opening microsoft outlook please? this is my html [code=html]<FORM encType=text/plain action=mailto:recipient@mydomain.co.uk> <TABLE border=0 cellSpacing=0 cellPadding=4 width="90%"> <TBODY> <TR> <TD width="30%"> <DIV align=right><B><FONT color=#ffffff face=Candara>Name:</FONT></B> </DIV></TD> <TD width="70%"><INPUT name=name> </TD></TR> <TR> <TD> … | |
Hi peoples. I have a button: [icode]<asp:Button ID="nextView4" runat="server" Text="View Summary" CommandName="NextView" />[/icode] ...a label... [icode]<asp:Label ID="LastNameResult" runat="server" Text="">[/icode] ...and a textbox... [icode]<asp:TextBox ID="TextBoxLastName" runat="server"> </asp:TextBox> [/icode] And basically i need to get the text written in the textbox into the label when the button is pressed. As you can … Web Development asp.net | |
i'm generating a dynamic form using php. but my problem is how to store each field values into a multidimension array of unknown size. to be clear: 1. i enter the number of entries i wish to submit 2. php will then generate a single form, but with specified number … Web Development php | |
I have two textboxes textbox1 & textbox2..I use compare validator,Suppose I enter 12992 in textbox1 & textbox2 text is left blank,& when i click on button, then y the page is postback.Cz page is not postback,untill all the validators are satisfied!!!!!!!!!!! Web Development asp.net | |
Hi Folks !! i have a string like this. [ICODE]"../images/gallery/New-Goa-Park-in/86ffbca77051448489aec640d288153a.jpg"[/ICODE] from this path i want only [ICODE]../images/gallery/New-Goa-Park-in/[/ICODE] how can i do it? Please help Thanks. Web Development php | |
I have one custom validator, one textbox & one button..I m checking the length of data entered in textbox. VB CODE [code] <asp:CustomValidator ID="CustomValidator1" runat="server" OnServerValidate="ValidateThis" ErrorMessage="The username must be 8" ControlToValidate="TextBox4"></asp:CustomValidator></td> [/code] [code] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script … | |
Hi there I am currently completing a uni assignment using php and I thought it was finished until the lecturer dropped a bombshell and added another requirement. I have a contact us page which was basically just a shell (dead) page, he nows tell us that we have to do … | |
Hi, I am having a problem forcing a download from PHP. I am running 5.2 Stable. I have followed numerous tutorials and still can't figure it out. What I'm trying to do is force-download a file I made, because the browser likes opening it up inside, but it won't let … Web Development php web-browser | |
Hi. This should be simple for the experienced. This code pulls the first record twice, but the rest are fine. I can't figure it out! Thanks for looking! -------- [code=asp]<% set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open(Server.Mappath("products.mdb")) set rs = Server.CreateObject("ADODB.recordset") sql="SELECT Model, Volts_Hz, BTUH, Max_Amps, Max_Temp, '<a href='+Drawing+'>'+Model+'</a>' AS Drawing FROM VAirConditioners … Web Development asp |
The End.