Jump to content

rajmohan

Members
  • Posts

    169
  • Joined

  • Last visited

    Never

Everything posted by rajmohan

  1. Hi All, Do any one aware of UNO framework. I came to know that Uno stopped supporting when I gone through this link http://unophp.com/. Pls let me know where I can get the framework help material.
  2. Hi Friends, I am having a .flv file. Now I have to find how long the user has viewed the video. For example: abc.flv file total duration is 30 sec. Now if the user is viewing the video for 10 sec. I want to get this 10 sec.. I want to do using PHP or javascript.. Any one know how to do this.
  3. I am using the storage engine "MYISAM".. Whether because of this may occur some problem...
  4. Hi All, I am having one table which is having more then 100 millions of records... I have written a query like this.. for example.. SELECT COUNT(*) FROM tbl_name where user_id='XXXX' (The use of this query is to count how many hit happen by this users. ) When I execute this query it crashes my database.. please help me. Now I need a very best solution to solve this problem..
  5. Can you please give some Manual options rather then using some third part tool to find it.
  6. As i'm a web developer, the biggest problem to me always is to test the website i coded, test its security and how much is it safe. Please let me know how to hack my site. I tried with few of the things such as ' or 1=1 -- in the username area. I am most welcoming the peoples to share the SQL injection as well as how to hack the site to secure more my site.
  7. Ok fine. I will try with this and let you know but I have to request my client to check it because it is working fine for me. Thanks kratsg.
  8. From that page he needs to process further. In that site there is an option called send mail to all. When they click that link it will ask them to enter the message then submit it. I will collect the users from database and loop those users and send the message for all that time this problem occured. If it is time out problem then can you please suggest me some code to check this condition. So that if the condition is true it will through the massage that time is out.
  9. I've noticed this occasionally and think it must be a server issue, as other pages from the same server load fine
  10. Yes it is installed. One of my client using mac system there he is facing this problem. When I tried with mac system it is working fine for me. I have tried with windows as well as in Linux. In all the places it is working fine.
  11. Actually I am not facing this problem in online, it is working fine for me. But one of my client is facing this problem when he try to submit the form. Sorry to say this I should not mention the site name. Please let me know if you have any Idea.
  12. I am seeing the download php files instead of loading those files as web pages. Can any on suggest me what is the problem in php code. One of my client told me that he is facing this problem. For me it is loading correctly. Please let me know if any one have any Idea.
  13. Hi All, I am using MAC System. When I try to send a mail it is showing me the script file (index.php) for download. In Windows, Linux it is working fine. Any Idea?
  14. ------------------------- price name --------------------------- aa one bb two cc one dd two ee two ff two ---------------------------- I want out put as --------- sample ---------- one aa cc two bb dd ee ff -------- Any one guess it with
  15. whats the relation between php and Ruby on Rails
  16. Hai guys, most of the company asking for Ruby on Rails What is the use of this one any help please
  17. Hai here is the senioro. i am having a .doc file called one.doc it contain a CV of the student. now i want to display it in the browser. that is this is your CV preview. check it. how to achive this please help me
  18. great man really nice it is working keep in touch
  19. how to get second hightest record in table is there posible in mysql
  20. if I put the recieved data from the PHP file I recieve all the info but as soon as I put it into a drop-down list the list does not populate. it just shows up blank.
  21. my table CREATE TABLE `suburbs` ( `city_id` int(11) NOT NULL, `suburb_id` int(11) NOT NULL, `suburb_name` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # # Dumping data for table `suburbs` # INSERT INTO `suburbs` VALUES (1, 1, 'one'); INSERT INTO `suburbs` VALUES (1, 2, 'two'); INSERT INTO `suburbs` VALUES (2, 1, 'ha'); INSERT INTO `suburbs` VALUES (2, 2, 'va'); INSERT INTO `suburbs` VALUES (3, 1, 'asd'); INSERT INTO `suburbs` VALUES (3, 2, 'asdf');
  22. here is the file called HHAajaxResponse.php <?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = ""; $dbname = "testing"; //Connect to MySQL Server mysql_connect($dbhost, $dbuser, $dbpass); //Select Database mysql_select_db($dbname) or die(mysql_error()); // Retrieve data from Query String $subregion = $_GET['subregion']; // Escape User Input to help prevent SQL Injection $subregion = mysql_real_escape_string($subregion); //build query $query = "SELECT * FROM suburbs WHERE city_id = '$subregion'"; //Execute query $qry_result = mysql_query($query) or die(mysql_error()); // Insert a new row in the table for each person returned while($row = mysql_fetch_array($qry_result)){ $display_string .= "<option value=".$row[suburb_id].">".$row[suburb_name]."</option>"; //$display_string .= "<option value=\"$row[suburb_id]\">$row[suburb_name]</option>"; } echo "$display_string"; ?> and html file as index.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>ajaxForm</title> <script language="javascript" type="text/javascript"> <!-- //Browser Support Code function ajaxFunction(){ var ajaxRequest; // The variable that makes Ajax possible! try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser broke!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function(){ if(ajaxRequest.readyState == 4){ var ajaxDisplay = document.getElementById('suburbs'); ajaxDisplay.innerHTML = ajaxRequest.responseText; } } var subregion = document.getElementById('subregion').value; var queryString = "?subregion=" + subregion; alert(queryString); ajaxRequest.open("GET", "HHAajaxResponse.php" + queryString, true); ajaxRequest.send(null); alert } function syncbox() { sexlist = document.myForm.sex.value; document.myForm.sexupdate.value = sexlist; } function sync(){ interval = setInterval("syncbox()",1); } //--> </script> </head> <body> <form id="form1" name="form1" method="post" action=""> <label>area <select name="select" id="subregion" onchange="ajaxFunction()"> <option value="0">select</option> <option value="1">durban</option> <option value="2">joburg</option> <option value="3">capetown</option> </select> </label> <label></label> <p> <label>sub area</label> <select name="suburbs" id="suburbs"> </select> </p> </form> </body> </html>
  23. see i am having cities in that cities i want to list out the areas so thats why i am asking for example india has a,b,c us d,e,f uk g,h,i now ---- india ---- a b c --- us --- d e f --- uk --- g h i thats all
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.