4,124 Topics
![]() | |
anyone please help me, whats wrong with this code: this is codeigniter, i can't upload file with this code/script: [code=php] class MUpload extends Model{ function MUpload() { parent::Model(); } function upload() { $data = array( 'my_file' => $_POST['userfile'], 'my_user' => $this->authniter->getUsername(), //this is user login name with my library 'authniter' … | |
i have a problem why this code did not function?? [CODE]Protected Sub GVPaparTugasan_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs) If e.Row.RowType = DataControlRowType.DataRow Then Dim litPurata1 As Literal = DirectCast(e.Row.FindControl("litPurata1"), Literal) Dim litJumlah1 As Literal = DirectCast(e.Row.FindControl("litJumlah1"), Literal) Dim Tugasan1 As Double = Convert.ToDouble(DataBinder.Eval(e.Row.DataItem, "Tugasan1")) Dim Tugasan2 As Double … | |
Hey everyone, I have another issue with my login page...It is in the checkuser.php and after I register, get the automated email that directs me to a page where my account has been activated..and redirects me to a log in page..I put in my info that the email gives me … | |
Hello. I'm wondering if someone could help me. I have a simple like/dislike voting voting system. Everything works fine but a user is able to click both up and down freely without checking if they have voted. So what I'm going for is 'Php sessions' because I dont want to … | |
when i try to use the exploit (ms08_067_netapi) with many payloads i get the same error everytime on any pc even mine [*]automatically detecting the target... [*]fingerprint windows 7 professional 7601 service pack-(build 1)-lang:unkown [*]we could not detect the language pack defaulting to english [*]exploit exception no matching target [*]exploit … | |
Hello - I am a student who bis mid-semester in an OOP course, with zero programming experience. I am trying to understand the concepts but this stuff is tough....I have an increased level of respect for all of the developers out there! Here is my question..in the code i am … | |
Hey looking over sessions was confusing the hell out of me but I found my solution again on this forum... now I have a session that as a time out and 'logs out' the user after 10 mins so next time they try do something it takes them to the … | |
I have finally written this code, but the prob with this is that when it is prompting for password it doesnt send any password to the ftp machine, we have to do it manually, but after typing it manually, it take the password line as command and shows that that … | |
Hi I have written the below code for ftp transfer. can u please help me how to trap whether it is successful or not. [code]ftp -n `awk '$1 ~ /db_server_IP/ { print $3 }' $CONFIG_FILE` <<END quote USER `awk '$1 ~ /db_user/ { print $3 }' $CONFIG_FILE` quote PASS `awk … | |
Hello, i need help to do the insert inside repeater, but when i debug the stock_code inside sql command is not declared. what should i do? [CODE] Protected Sub repeaterAlert_ItemDataBound(ByVal sender As Object, ByVal e As RepeaterItemEventArgs) Handles repeaterAlert.ItemDataBound Try stockCodeheader.Text = " Stock Code " plcNameheader.Text = " PLC … | |
This is basically what i need. I need users to select a manufacturer to post on a classified ad. When the users make the selection I need that information processed and sent to the page I point it to permanently for other users to see. The same for any user … | |
Am designing the page where by the user is directed after loging in. am using php code to generate the profile of the user who is in session/logged in user. below is the code that i has come up with but its not working. the problem seems to be in … | |
When I am trying to create Stateless Session Bean in Eclipse the finish button is not working(is not highlighted). Please find picture attached. Anybody knows why ? I tried many different options, looks like bug in eclipse. I showed that to friend of mine who is experienced ejb programmer and … | |
Hi there, I need help regards to my sql statement. I am developing a system using vb.net but now i'm having trouble to insert all the data (where i bind using repeater control) into the sql statement. I didn't know how to declare the stockcode.Text, year.Text, quarter.Text and total1.text as … | |
First in web form THere will appear one textbox and button. enter the number in textbox and press the button.Pressing button create Dynamically t number of dropdownlist as entered in textbox.I successful do it .But when i what use the seletedvalue of dropdownlist I cannot through anthor buttton . I … | |
hi, i created the page that it contains captcha for submitting my form and insert it inside the data base but in the main page i putted my text fields later i created iframe which is displaying my captcha images with refresh button in the insert page i need to … | |
good day could anyone solve this error ??? it occurs in the below code for (int i = supportedLocales.length-1; i >= 0; i--) { %> <a class ="langChangeOn" onclick="javascript:document.repost.locale.value='<%=supportedLocales.toString()%>';<%= session.setAttribute("userId",supportedLocales.toString())%> ; document.repost.submit();"> <%= supportedLocales.getDisplayLanguage(supportedLocales)%> </a> <% } } %> any support is highly appreciated | |
hai iam new to this domain. iam developing online quiz contest project in php (mysql,javascript,ajax) i need Automatic session timeout/logout and also i need time counter display using php and AJAX. pls refer any website. i searching for last 2 days.. advance thanks.. | |
Hi All, I am trying to create a form using sessions so that the submit button is only submitted once in a two minute duration. I need the form to still complete the onclick action so that a calculation happens, but I only want the mail() function to send an … | |
I am getting an error when it is determining whether the username is is false or not. I am using asp.net in code-behind. It is highlighted below. If someone can tell me what the error is that would be amazing! Thank you! [ICODE]using System; using System.Data; using System.Configuration; using System.Collections; … | |
hello. i need help with this coding, i need to bring the temporary parameter from set page (which is user input) to the retrieve page in order to trigger the color. seems like the session didn't carry the temporary value. [B]code in page set session;[/B] [CODE]Protected Sub ViewPara_Click(ByVal sender As … | |
I heard the best method to share session across multiple domains on same server is to use custom php session handler. (ie, domain name different like abc.com, xyz.com but single application.) But after i tried it, even custom php session handler that using SAME DATABASE ON 1 SERVER can't share … | |
hi all i am new to kohana i am getting the following error "Fatal error: Cannot redeclare class Session_Core in C:\xampp\htdocs\admin\system\libraries\Session.php on line 12" plz help me to correct it i am in a big trouble | |
hello. i need help to do session checking.and how to create temporary session by clicking on the button. | |
Hi peoples, Im new to all of this and im trying to learn this. I have found a script for picture upload to a database with a picture query. Im trying to find out if there is a way to make this script into an array so I can upload … | |
Good Morning, I am recently new to php development and have come across an issue that I can't quite get my head around and need some assistance if possible. I have been tasked to build a Task Logger in php which I have successfully done and is working fine, the … | |
Pls I need help on this validation script. Even after logout and without login, I can access the assigned webpage. What might be wrong?? [CODE]<?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['login']) xor (trim($_SESSION['login']) == '')) { header("location: login.php"); exit(); } ?>[/CODE] | |
I have a web project I've been working on in my free time using mostly jsp. It's currently set up so that if a user clicks the login button it takes them to a check-login servlet which will return whether it's a valid login or not through a session.setAttribute("loginstatus","Valid"). Everytime … | |
I want to write a shell script to automate the ftp session, in that it should take the inputs like the server ip , username , password from a different file who path i'll pass. and also the validations that if the server path exits or not. | |
Hi all, My program is proving Kaprekar's Constant - 6174. To do this I will need to store values exactly how they come out without losing any preceding 0's which int has a habit of cutting off. For example: Number to store exactly: 0147 Int stores: 147 A googling session … | |
In my application i am allowing only 3 admin users at a time to log in to the application. In case where one of the admin user directly closes the window or tab without signing out i need to invalidate the session or need to decrement the number of admin … | |
![]() | Hi, I am posting in PHP forum as I believe it is a PHP problem. I have seen examples of inserting multiple rows and it seems there are generally 2 options...to use multiple insert commands or to 'concatonate' the query. I have tried these options but with no success. So … |
Hello there, welcome to my first post :) Im having problems in my .net app with my c# code not being able to see a few labels and textboxes that I have in my wizard. I have 3 text boxes and a couple of labels I would like to reference … | |
when we access a page if it is idle for sometime automatically it should redirect the page automatically .if in btwn mouse on click i done then reset the time again . here is my code <html> <head> <title>Session Timeout Warning</title> <script> function settime() { alert("hi"); setTimeout( 'ShowTimeoutWarning();', 120000 ); … | |
Hi! So I managed to upload the picture via php to a folder BUT my problem now is that I want to INSERT the location path of the uploaded picture to the user's pic_location in the database and I don't know how the query will look if I want to … | |
when we access a page if it is idle for sometime automatically it should redirect the page automatically. if in btwn mouse on click i done then reset the time again. here is my code <html> <head> <title>Session Timeout Warning</title> <script> function settime() { alert("hi"); setTimeout( 'ShowTimeoutWarning();', 120000 ); } … | |
I had created a registration page for users to sign up an account and a database to store all information such as username and password. I had also created a login page for users to login after registering an account. How do I link the database so that I will … | |
I made a basic JUnit test to set up this oracle database on my computer with hibernate. The database works and everything, but trying to hook it up to Hibernate is proving to be a challenge. My config file is below: [code] <hibernate-configuration> <session-factory> <!-- Database Connection Properties --> <property … | |
plz somebody help with this code . i m fed up now [CODE]<?php $x=5; echo $x; session_start(); $_SESSION['y']=$x; $string = '<?php session_start(); $x=$_SESSION['y']; echo $x;?> '; $fp = fopen("6.php", "w"); fwrite($fp, $string); fclose($fp); ?>[/CODE] | |
Hi guys! I got a problem with my logging in system. I can connect to my database with the code: [CODE]session_start(); include('header.html'); $page_title = 'Home Page'; $mail = $_POST['email']; $password = $_POST['password']; $msg =''; if(isset($mail,$password)){ $con = mysql_connect('127.0.0.1','root',''); if(!$con) { die('Could not connect: '.mysql_error()); } else{ echo "Connected!"; } } … | |
hai iam new to this domain. iam developing online quiz contest project in php (mysql,javascript,ajax) i need Automatic session timeout/logout and also i need time counter display using php and AJAX. pls refer any website. i searching for last 2 days.. advance thanks.. | |
Using NetBeans IDE 7.0.1 with Java SDK 1.7.1 and Glassfish 3.x: I am trying to load an ArrayList from a database in the Servlet to be used on the JSP page in a dropdown box that would show stock symbol and company name. I get the following message when trying … | |
I have a bit of a stumper that I am hoping someone has a fresh idea on. [B]The Problem:[/B] I have a client that owns 3 domains all selling similar products. The domains are all very interlinked together for various SEO purposes. I need to be able to have a … | |
Hi, I have a web page where users can log in and then in various sections the page shows some data about the user - like email address, phone number, name, last name, etc (about 30 values in total). In your opinion, what's better - saving the data into session … | |
Hi Everyone, Can someone explain to me where I got wrong with my code. I'm trying to pass a session variable from page to page, from the first to second page the value is still there but on the succeeding page the value is gone. I have ensure that the … | |
I'm not sure how it's done, but I need a link to change an attribute so that the main content page can get the attribute and then display the appropriate content. My following code does not work...and it always seems to include home.jsp no matter what (home is set from … | |
I'm trying to creat a search procedure that will search table game and return all rows where columns title, description, platform, and gameid are LIKE parameter searchtext. This parameter is coming from many different pages as a Session("searchtext"), and I'm using a UserControl to send the Session, all pages in … | |
hi, Im am new to smack-api and im going to create a xmpp client for voice chat using smack-jingle extension.in here im gonna use ICE transport with customized Jingle media manager. problem is. smack jingle extension doesn't have proper documentation for making voice call using Jingle protocol and also the … | |
[CODE]if(isset($_POST['listingType'])) { ini_set('magic_quotes_gpc', false); // magic quotes will only confuse things like escaping apostrophe //Get the item entered $listingType = $_POST['listingType']; $primaryCategory = $_POST['primaryCategory']; $itemTitle = $_POST['itemTitle']; if(get_magic_quotes_gpc()) { // print "stripslashes!!! <br>\n"; $itemDescription = stripslashes($_POST['itemDescription']); } else { $itemDescription = $_POST['itemDescription']; } $itemDescription = $_POST['itemDescription']; $listingDuration = $_POST['listingDuration']; $startPrice … | |
I have a website where you can log in with a session or with cookies (remember me) and I can't seem to get the logout to work. I have a code that goes on top of most pages (all pages that require one to be logged in) and it goes … |
The End.