Why is php used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

Why do you need php?

0 Answers  


Is php pass by reference or value?

0 Answers  


hi sir am a fresher just learning LAMP COURSE linux,apache,mysql and php .just i finished my M.C.A 2009 passed out ..can any one tell after i finish this course how much salary we expect in any php based company ? and also tell please how much salary we can demand as a fresher with my M.C.A qualification as a PHP fresher in a company ? how much we get atleast mininum as a PHP fresher in CHENNAI and Bangalore just send ur valuable suggestions to kiranpulsar2007@gmail.com please guide to me sir

2 Answers  


How cookies are trported from browsers to servers?

0 Answers  


How to fix "headers already sent" error in php

0 Answers  






What is the use of limit in mysql?

0 Answers  


i start a new session with : session_start(); then i set some session variable like this : $_SESSION['name']=$_POST['name'];\ and some another variables. at bottom of page i set header to diffrent page : header('location: index.php'); exit(); now in new page (index.php i can't access to my session variables, like $_SESSION['name']) what's wrong ? thanks. here is my files : a.php ======================================== session_start(); require ('config.inc.php'); if(isset($_POST)) foreach($_POST as $v=>$k) { $items[$v]=$k; } $sql="SELECT * FROM members WHERE username='{$items['user']}' AND pass=MD5('{$items['Password']}') "; $res=mysql_query($sql); $row=mysql_fetch_assoc($res); if($row['username']) { $_SESSION['type']=$row['type']; $_SESSION['name']=$row['name']; $_SESSION['family']=$row['family']; $_SESSION['username']=$row['username']; $_SESSION['date']=$row['date']; } header('location: admin.php'); exit(); ====================================== admin.php ===================================== <?php session_start(); if(!isset($_SESSION['admin'])) { header('location: index.php'); exit(); } require ('config.inc.php'); ?> . . . =================================

5 Answers  


How do you get the Browser information?

3 Answers   Life Infotech,


Swap two variables value without using third variable in php ?

0 Answers   MCN Solutions,


What are the advantages of indexes in php?

0 Answers  


suppose if u want to pass session value using cookies onlu.. what changes i've to made in php.ini file?

1 Answers  


can anyone explain oops concept in php or give website to learn this concept clearly?

2 Answers   Nadsoft, Satyam,


Categories