52,566 Archived Topics
Remove Filter ![]() | |
Hi, i have successfully made my registration and login page. Now i need help. When i click on login by using specific username and password that i had created, i want my next page to show details about that person, this details are stored in Mysql when they register and … | |
pls i want how to upload and retrive only pdf files in php and mysql code or any links.. | |
Hi i am working on a server sent event script to be sent when the user has logged out, but in the network tab the server sent pages are being sent every couple of seconds with no data. Client-Side script var source=new EventSource("include/updates.php"); source.addEventListener('logout',function(event){ $("#notificationsContainer").append(event.data + "<br />"); source.close(); },false); … Web Development client-server php | |
Hello Everyone... Am little bit confuse whether this post is come under Jsp or MySQl... but am posting in JSP because am thinking that it jsp..not Mysql query I created one report but the report is not coming perfectly so i need your help My actual report format is like … | |
I need help!! What I want is when I add a new teacher, it will search the tblteacher_info. If there is already a record of that teacher, it will just update his/her record. If there is no record of that teacher, it will add his/her info in the tblteacher_info. I … | |
Hello, I'm building an application with asp.net. And I need to send emails to selected customers. What is the best way to send email ? Is it by using System.Net Class or to send it by using MS Sql Server ? Thank you Paul Web Development asp.net client-server email microsoft sql | |
Hai everybody. what is the problem onclick javascript function not working anybody plz help me. function getColor(block) { var s_url=block.href; var pColor=s_url.substr(s_url.indexOf("#")); document.getElementById("colorText").style.backgroundColor=pColor; document.getElementById("colorText").innerHTML=pColor; } <img src="/images/palette.gif" usemap="#color_palette" /> <map name="color_pallete" id="color_pallete" > <area shape="rect" coords="7,7,31,30" href="#003300" onclick="getcolor(this);return false" /> <area shape="rect" coords="35,7,59,30" href="#003366" onclick="getColor(this);" /> <area shape="rect" coords="63,7,87,31" href="#000080" … Web Development javascript | |
i have few pages in asp.net , when a user logs in then i want t give him access to 4 out of 10 pages, mean he can only view 4 pages out of 10, else are for admin + superadmin, so how could i assign him authority to few … Web Development asp.net | |
Hi friends! i'm currently work on a chatting system that requires me to list all the user friends, so i need a code that will help me navigate throw the freinds list one after the other. thanks! Web Development php ![]() | |
Hello guys, Working on a stock market table with rates of different currencies. What I would like to achieve is that i have an array of rates and would like the difference of today and the previous day, and it works, but i'm getting an empty value for the first … Web Development php | |
i want to hash my password to SHA1 algo, in asp.net code and then want to compare it with hashed password in sql 2008 db, for login so how to hash it in asp.net code ? | |
Hi all, I have a problem with the date in javascript.I have a date which is in string format Like this: 10/5/2012 6:00 PM and what i need to do is at 5:00 PM on date 10/5/2012, i need to add a class to the td. <table width="100%" border="0" id="datetime"> … Web Development javascript | |
I cant use a cron for this task as the script should always be running. I have a loop that does the following: 1) Gets a SQL row 2) Runs the values through some functions 3) stores new values 4) gets the next row and repeats This script has to … | |
i have a code files in php + mysql database , so now i want to make them online on some free hosting site. i am totalyy blank about this, so how to make it online so the world could see Web Development php publishing | |
i'm working on a script and I want to make the links such as www.mysite.com/signup. this link for registration. www.mysite.com/user/username and this link for user's profile. the links without any php extension. also when someone request link such as www.mysite.com/signup.php should redirect him to www.mysite.com/signup what I know is I … | |
Hi, Ive already started a thread similar to this but for a different form format. this one is as follows... Im struggling with the correct code to do the following... probably something simple to many but im new to PHP and learning as I go. I have a simple php … | |
I have a simple form that uses a bit of jquery, <form action="" method="post" enctype="multipart/form-data"> <label for="file">Upload File:</label> <input type="file" name="userfile" id="userfile" /> <input type="button" value="Submit" onclick="uploadfile()"/> </form> the uploadfile() in my .js file looks like this: function uploadfile(){ var userfile = document.getElementById('userfile').value; var username = document.getElementById('username').value; $.post("php/upload.php", {userfile: userfile,username: … Web Development file-system javascript-jquery php | |
what are rss feeds ? benefit and scope of it ? and how to integrate it within my asp.net website ? | |
Hi, im new to PHP programming and ive tried a few forums on the net with this question and so far no answers. I have a php form that is working fine with a pre-determined email address, part of the code is as follows: $data_email_sender->AddToAddr("name<name@website.com>"); I also have a variable … | |
Hi I read a text file using PHP, the file gets uplaoded, and what I want to do is read the file take some information out of it and post it to mysql. Problem is that when reading the file it removes the spaces, I cannot count where the data … Web Development file-system mysql php | |
Hello, I want to submit multiple records into a mysql database, and I have hit a snag. I am developing a web application that displays student records, and upon displaying student records per class, I want to be able to add marks for beginning of term, mid term and end … | |
Hey I want to do something like this: <script language="javascript"> function calculatesha() { var name = document.getElementById("firstname").value; var last = document.getElementById("lastname").value; var complete = name+last; var hash = <?php echo(sha1(?>complete<?php));?>; } </script> I hope the code is understood even if it is wrong. Thanks. Web Development javascript php | |
check the image or chk Hot Jobs section in this link: http://www.bayrozgar.com/ i am working in asp.net and want to put exactly same thing whitin my website, and all text fields + images should b from database, sql i have all entries in database for advertisement section, but i want … Web Development asp.net | |
hi! i'm having a hard time figuring out how to add two values(numbers) retrieved from a table. They should be added and displayed. how can i do this? here's the code snippet: require('connect.php'); $result = mysql_query("SELECT * FROM `order` where date = '$date' "); while ($row = mysql_fetch_array($result)){ echo "The … Web Development php | |
Tablesorter (currently v2.0.5) includes an "update" method. This method keeps a Tablesorter object up to date with dynamic changes made to its table(s). Like other Tablesorter methods "update" is implemented in the form of a custom event. A typical method call would be $table.trigger("update"); , where $table is a jQuery … Web Development javascript javascript-jquery | |
<script> function get_input(id) { var value_id = id.split('_',2); var index = value_id[1]; var input_id = 'input_'+value_id[1]; var value = document.getElementById(id); var input = document.getElementById(input_id); var num = <?php echo $_SESSION['max_num']; ?>; var i= 0; while( i< num) { if(i==index) { // alert(index); //alert(i); // alert(input_id); $("#"+input_id).css({"display":"block" , "width":"106px" , "height":"20px"}); … Web Development javascript | |
Hi I'm trying to send a request to a my webservice using curl $content = '<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.travelledia.it/XHI" xmlns:ns1="http://localhost/test/soap2/" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> <env:Header/> <env:Body> <ns1:OTA_HotelAvailRQ> <AvailRequestSegments> <AvailRequestSegment AvailReqType = "Room" ResponseType = "RateInfoDetails"> <HotelSearchCriteria> <Criterion> <HotelRef HotelCode="5095">xxx</HotelRef> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </ns1:OTA_HotelAvailRQ> </env:Body> </env:Envelope>'; // Assign headers $headers = array("Content-type: … | |
I have php script that was writtin in 2009, it was working fine on my server even 1 year ago. i have upoloaded same script on server now, main page is seems to working ok and i can do anything in backend. is it due to php4 - php5 or … Web Development php ![]() | |
Hi, pls can any one tell me how to configure zf2 on wamp. I have downloaded zf2 minimal package. But there is no zf.bat,zf.php,zf.sh files. And i am getting fatal error as Zend/Application.php not found. Pls can any one explain in detail.......... Thanks in advance Web Development php | |
hello all, please help me, how to make email broadcast in our website? ar u can help me to share it`s php source code? i need reference for my homework... please thanks before | |
hi every body i want to show in each row 4 items from my db and go to another row (++row) in each row 4 items until end of items of db instead of in each row 1 item please help me here is the code <?php $sql=mysql_query("SELECT * FROM … | |
The turotials online all say to access elements in javascript with document.getElementById(id). But I found I could negate this step and just type in id.attribute. I wanted to know why I didn't actually have to document.getElementById(id) my HTML attributes. Any ideas? <!DOCTYPE html> <html> <body> <p id="p1">Hello World!</p> <p id="p2">Hello … Web Development javascript | |
i stored few ads details in sql database & made connection between my asp.net website and sql database , now i want to update my page automatically with ads after every few days, mean if i have 50 ads details in my DB and i only show 10 ads per … Web Development asp.net | |
Hi, I'm trying to implement some php code that I have in one document into another document. However when I do that I get this error: Parse error: syntax error, unexpected $end in /home/www/wearecrunch.dk/gammelsjuf/ajax/class/phUploader.php on line 470 I think it has something to do with where I'm placing the code, … Web Development php | |
hi everybody i got this page form some template that shows items in the page with pagination system but i want to keep this method without any pagination i dont want to spilit number of items i just wanna see all of the items that it read from db in … | |
I figure out how to write all the entries from my database onto a text file. header("Content-Type: text/plain"); header("Content-Disposition: Attachment; filename=test.txt"); header("Pragma: no-cache"); exit; How do I modify the text file?? Each entries (or row) have 5 elements in it and there are multiple entries in my database. How do … Web Development php ![]() | |
Im making a top 10 leaderboard and ive added an option to hide yourself from the table if you dont want to be shown. This option removes you from the table completely. What I want to happen is instead of being removed from the table, have your username be replaced … Web Development php | |
![]() | Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= … Web Development mathematics php ![]() |
i want to do something exactly like this in ASP.net , i am working on online reqruitment website, developing it for customer so i want to put a part like one mentioned in below link http://www.bayrozgar.com/ and chk the attached image to check that i am talking about . . When I try to send email thorugh my asp.net code, I am not abe to do so, reason most probably being the ports being blocked by our ISP. To confirm, I fired telnet command for ports 25, 465 and 587, but in … | |
Hi All.. This Code Write On aspx file .This Code set the value in hidden field..But This Code Does not Work Properly <html><head></head> <body> <script type= "text/javascript"> function showDialogue() { var a = Screen.Width; var b = Screen.hieght; document.getElementById('HiddenField1').value = a; document.getElementById('HiddenField2').value = b; } </script> <form id="form1" runat="server" > … Web Development asp.net | |
Hello everyone, I'm just wondering if there is another of calling functions in a different php file without making the app run strangley. So what I have got are a few forms without specifying their action. <?php 1- checking for the fields 2- if they are not empty and so … Web Development php | |
( ! ) SCREAM: Error suppression ignored for ( ! ) Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 3 Call Stack # Time Memory Function Location 1 0.0010 183576 {main}( ) ..\admin.php:0 2 0.0015 185696 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:3 <?php session_start(); if( !session_is_registered("ulogin")) { header("Location:login.php?invalid=2"); } … | |
I'm trying to add a "checked statement" based upon the users value already entered into the database. I've designed the database side as q1,q2 etc and have a single varchar with an "a","b", or "c". I basically want the code to retrieve the answer and put it into the checkbox … Web Development php | |
Hello, I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back > HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; … Web Development apache file-system php | |
Ok I have a program that uses HTML to get some values from a user using a form and then it is passed into a javascript function that does some calculations with these numbers and creates a new variable name. What I need help with is that I want to … Web Development javascript php | |
i want to give sms sending service through my website plz tell me how to send sms through php tell me in detail | |
If you post a status update or share a link on facebook there is an option to tag your friends as being 'with you'. It's not the same as tagging them with @ symbols. here is an example: [http://www.facebook.com/karin.ohara....11246132363889](http://www.facebook.com/karin.ohara.98/posts/111246132363889) I'm trying to code this myself in php. It works for … Web Development api php social-media ![]() |
The End.