4,124 Topics
![]() | |
the problem is town and user values is not adding to the database,other than this feilds,other thuings are working down....... please,give me your suggestions. //database.php// function addReceipe($resname,$restype,$rescatg,$resing,$resmethod){ if(!get_magic_quotes_gpc()){ $resname = addslashes($resname); $restype = addslashes($restype); $rescatg = addslashes($rescatg); $resing = addslashes($resing); $resmethod = addslashes($resmethod); } $q = "INSERT INTO ".TBL_RECEIPE."(rescp_name,rescp_type,rescp_catg,rescp_ing,rescp_method) VALUES … | |
the problem is town and user values is not adding to the database,other than this feilds,other thuings are working down....... please,give me your suggestions. //database.php// <? /* The Database class is meant to simplify the task of accessing information from the website's database */ include("constants.php"); class MySQLDB { var $connection; … | |
Hi All, I m trying to send a simple mail... but not able to send because of this exception [CODE]thread "main" javax.mail.AuthenticationFailedException:[/CODE] and the problem is in this line here is the simple java class for sending mail [CODE]public class SendMailUsingAuthentication { private static final String SMTP_HOST_NAME = "tx.technoinfo.in"; private … | |
I need to select customer column my database and then insert this into a session so i can use it in the other pages of my site but nothing im doing seems to work, any ideas [CODE] <?php session_start(); include("Connections/database.php"); ?> <?php /** * Checks whether or not the given … | |
ok, I am working on a program for work and I am stuck on trying to make a new XML file from VB.NET 2010. I have the old code which was done in C# and it works but even using a C# to VB converter didn't help. I will paste … | |
Hi, I've got a form with captcha working, but I'm trying to add a 'refresh captcha' link too it. Now I already have something changing dynamically with PHP so I was wondering if something like that would work for this. Here's the one I have working: [CODE] <a href="index.php?act=generate_quotes">Generate</a> [/CODE] … | |
hi i dont know about session so tell m basic things about seeion and how can i handle it in vb.net | |
![]() | Hey i have made a basic chat application in Java using the code from killer game programming in Java. but the problem with this is its just a big open CHAT ROOM so that anyone can log in and just talk/spam. i was wondering how to make a private chat … |
Hi. I'm no expert here, and I need some help. This form does not update the database. I know it is accessing the database because the checkbox and radio buttons variables are good, but there is no result posted. Can anyone tell me what is wrong here. [code=php]<?php session_start(); // … | |
Hi, I am working on my web site and I ran into a peculiar problem... it seems that UTF-8 .php is creating some layout problems for me. Is this possble? I am creating the website in 2 version fully identical, except that one in chinese and the other in english. … | |
okay, so i have a search form that has some optional fields, so when the form is submitted using the GET method to its processing php page, the resulting URL may have blank values in it, and it gets quite long. What id like to know is is there a … | |
I am writting a large if / else tree in an existing website. My include libraries have to be put into the html program using a scripting language called SpeedScript. These includes bring in the login data that I am testing in my if tree. Instead of using the if/else … | |
Hi, I got some zip files on my server people can download and am having a strange problem. Can't remember if i ever checked in IE but in FireFox, Google Chrome, Opera everything is fine. When i download a file from my website in IE the file is getting corrupt. … | |
I have a button which starts processing. I want that when ever a button is click from page1.aspx .. a count down timer should start and displayed on page2.aspx. I am thinking of using iframe to join 2 pages. Please let me know your suggestions. Thanks | |
I want to run a function just for specific time (say 10 min). After specific time it will return successful if it is able to execute the function successfully or unsuccessful. The function does a large amount of data processing and updating the tables. I want to stop executing that … | |
I am unable to open the page in a new window when i click on the image button CAn u tell me how to make the current page open in new window [CODE] <ItemTemplate> <asp:ImageButton runat="server" ID="ImgPreviewBtn" Height="18px" Width="18px" OnCommand="onSelectAttachment" CommandName="Preview" CommandArgument='<%#Eval("QUOTATION_CODE") +","+ Eval("SUPPLIER") %>' ImageUrl="~/images/preview.gif" CausesValidation="false"></asp:ImageButton> </ItemTemplate> [/CODE] [CODE] … | |
I am working on a java applet that sends information from the applet to a gmail using JavaMail. I downloaded the JavaMail package and using the mail.jar file it [B]does[/B] send to the email from my Eclipse workspace. However, when I ftp the files (ContactForm.java, ContactForm.class, mail.jar, and test.html) to … | |
Hi, I have two datatables with studentId field and I am trying to join them using LINQ. The code is working fine in development environment but in production environment it is not giving the expected result. It is not filtering the data that I am trying to filter through LINQ … | |
Hello Friends.. i have 2 folder in root directory DEMO1 and DEMO2 containing same kind of files. when i login in DEMO1 through localhost/demo1/index.php and it will direct me to welcome.php and after login when i change demo1 to demo2 from address bar.. I Still remain in SESSION or welcome … | |
I'm trying to pass a value from a select input control on an HTML form. Here is the PHP of page1.php: session_start(); $_SESSION['invtype'] = $invtype; header("location: offerform_switch.php"); Here is the HTML: <select id="invtype" name="invtype"> <option value="0" selected="selected">Select type</option> <option value="product">PRODUCT</option> <option value="software">SOFTWARE</option> </select> This is offerform_switch.php: session_start(); echo $_SESSION['invtype']; switch … | |
i made a binary calculator... it calculates two numbers in binary code i'm new in programming so this is what i came up with, it's not the best implementation, but it might help someone known bugs: when u try to make more calculations in one "session" it doesn't clear the … | |
Hi everyone, I have an issue with IE7 not responding as it should after a log-in to a website I built for a client. This same problem also affects the add to basket or add to wish-list functionality, the checkout process, and all other Ajax requests. Here is a breakdown … | |
Got the code below for a login form to check that users dont miss a field and then to check wether or not the data user and pass fields match what is in the database but i cant seem to structure my [COLOR="Red"]if, elseif, else[/COLOR] statements correctly [CODE] <?php /** … | |
I am creating a form that you don’t actually submit in order to allow people to download files. You select different options with radio buttons and drop-down menus and then use that information to “show/hide” divs with javascript. That part works, but if the user leaves the page and then … | |
[url]http://www.dandesign.co.uk/steel/register.php[/url] above is the link to my register page, filling the form in works fine but if you leave it blank and click the submit button it removes the footer of my page, please someone help i really need to get this sorted heres the code to my page too, … | |
I have recently developed a pretty comprehensive Inventory application for my company. Today I loaded up SQL Server Profiler for the first time and started to play around in the application to see what and how many queries are really being ran. One section of my application utilizes a gridview … | |
I want to pass the selected information with a session to another page, but I couldn't get them done. The fieles are repeated becasue theay are in toggle mode so they have the same field names and values....., I am really sorry for the long code cus I am working … | |
Hello everyone, I would like to apologize now for my ignorance regarding W3C and 508 Compliance. "I'm Sorry I am ignorant in the matters of ADA web compliance. I just inherited these duties without any training or knowledge of the rules around the compliance question." I have searched high and … | |
Ive been given this code that registers users, ive got all the other parts working great with the login side but this is causing me problems. I dabble but not fluent in php. This page is my register.php page. What i need is a register page that has the form … | |
m a newbie to vb.net and aspx and m trying to validate a login (employee id and date of birth) to a sql database and comin up with the following error ([B]CommandText property has not been initialized[/B]). thanks for the help.... [CODE]Protected Sub btn_memberlogin_Click(ByVal sender As Object, ByVal e As … | |
hi Guys i'm new to ajax and jsp and i'm trying to execute some code . i'm not getting any error but i'm also not getting any result that i want i have placed code here pls make any correction if it has to be done thank you . caller.jsp … | |
Hi, I have datagrid control. In that I place textbox, insert link button in hearder template. When I click that Insert button the value from textbox should be loaded into grid. I am capturing at rowcommand() here the code: If e.CommandName = "Insert" Then Dim t1 As TextBox t1 = … | |
m a newbie to aspx vb.net and need some help...i've got a login form with staff id adn date of birth loging in credentials. m using 3 drop down lists to capture day,month and year(m populating the day month and year in the page load event). below is my login … | |
Hi all, Strange problem with one of our Win 2K3 servers. All seems to be working well, except that, having logged on via RDP, I cannot log off. (I prefer to log off RDP sessions rather than disconnect, because then I leave a session space free for another admin if … | |
I believe there may be something wrong with my PHP.ini as I can create cookies using the setcookie function but cannot access the cookie using the COOKIE function. Please note: I have enabled cookies in my browser I then have 2 very simple scripts in separate files file 1 [CODE] … | |
Hi folks, i am having a little trouble with sessions and would appreciate any help. What i am trying to do is have the user login and save the password that they enter into a session so i can use the variable in the next page. But for some reason … | |
I developed a few pages to restrict access by way of a username and password login. I keep getting an error that says my session variable "login" is undefined. here is the code in question, though it might be more so on another page. [CODE] <cfif SESSION.login EQ "No"> <cflocation … | |
Hello, I have a PHP Login Form and it works fine, but users with Fiddler2 (Web Debugging Proxy) have the ability to hide their PHPSESSID Completely. What is a good system that I can use to prevent this, as anonymous users can cause trouble on the website. | |
Hi Everyone, I was wondering can someone with Ajax experience to have a look at the following PHP script. Its a simple domain checker. I am using sessions to pass data from page to page but when I get to this domain checker page and I search for a domain … | |
I am trying to get the following functionality working which requries some SQL. The need is to be able to produce a list of general staff who are not on holiday or on other sessions on a given day. I have two sql statements that will give me the information … | |
Dear Friends I have Developed a Successful Database Software, it include Datagrid, First, Last, Next, Previous, Add, Delete, Edit, Update, Search just Every Thing is Working Nice, But I need help from one of expert from you. my problem is that every time when i Start program its all functions … | |
Hey, all Java & JSP gurus, i'm developing a website using JSP and MS SQL. Can you please tell me the code to invalidate a session object i.e. the code for logout (to be written in JSP) Following is my code for creating session object, on login: [code=java]HttpSession ses=request.getSession(true); ses.setAttribute("Name",name);[/code] … | |
I created my custom login module for that in login page i write this code[CODE]protected void Button1_Click(object sender, EventArgs e) { string user = TextBox1.Text.Trim(), pass = TextBox2.Text.Trim(); SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\my.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); SqlCommand cmd = new SqlCommand("Select * from Login", con); con.Open(); SqlDataReader dr = … | |
Hi, I have downloaded a sample jms program from the below url and try to execute it in my system.But, it shows the below error.Can any one know how to execute the Jms programs in the system. [url]http://download.oracle.com/javaee/1.4/tutorial/examples/jms/simple/src/SimpleProducer.java[/url] Error: package javax.jms does not exist [code] import javax.jms.*; ^ SimpleProducer.java:90: cannot … | |
Hi experts, I have a click button called log off , here once a user clicks it , task goes to logout servlet to end current user session . below is my code , I don't know why it works fine with mozilla firefox and google chrom but not working … | |
I need to create a file to use as a template in coldfusion, so I need to insert cold fusion code to a sql database table using cold fusion or create a file with cffile? Every thing I try to use,it doesn't work because I think it is reading the … | |
When members upload a picture to their profiles if the extension is .jpg, or .png everything is fine; however, if the extension is all uppercase .JPG or .PNG, the photo still uploads but doesn’t display. What could be causing this? I’ve pasted some code below but I’m not sure if … | |
hello pls somebody help me with this,i am trying to use a session to insert in to the database a user_id of a user who is posting a topic in to the topic table to act as a foreign key in the topic table. but i kept getting 0 in … | |
I am having a problem with uploading an mp3 file on my site. It works fine in firefox but not in IE and I cant figure out why. Here is the code i have in the tracks.php file: [CODE]if(Footprint::$Errors->Count() == 0 && $inpAction == "Upload") { //create new track Footprint::$DB->SQLCommand … |
The End.