Opens a file for reading and/or writing. This file can be
stored on the server's hard disk, or PHP can load it from a URL just like a Web
browser would.
| ||
Tells PHP you're finished reading/writing a particular file
and releases it for other programs or scripts to use.
| ||
Reads data from a file into a PHP variable. Allows you to
specify how much information (i.e. how many characters or bytes) to
read.
| ||
Writes data from a PHP variable into a
file.
| ||
Performs a run-of-the-mill file copy
operation.
| ||
Deletes a file from the hard disk.
Through examination of server logs, you'll probably find that this is one of the most requested pages on your site. If you ask yourself some of the questions above, you'll realize that this page doesn't have to be dynamically generated for every request. As long as it's updated every time new content is added to your site, it'll be as dynamic as it needs to be. With a PHP script, you can generate a static snapshot of the dynamic page's output and put this snapshot online, in place of the dynamic version . By converting high-traffic dynamic pages into semi-dynamic equivalents, which are static pages that get dynamically regenerated at regular intervals to freshen their content, you can go a long way towards reducing the toll that the database-driven components of your site take on your Web server's performance. Website, you probably see site traffic as something you'd like to encourage. Unfortunately, high site traffic is just the kind of thing that a Web server administrator dreads—especially when that site is primarily composed of dynamically generated, database-driven pages. Such pages take a great deal more horsepower from the computer that runs the Web server software than plain, old HTML files do, because every page request is like a miniature program that runs on that computer.
|
PHP file functions
PMA05:13
Govt Job At AIIMS Bhuvaneswar Recruitment 2014
PMA00:05
Govt Job At AIIMS Bhuvaneswar Recruitment 2014
AIIMS BHU Recruitment 2014 – Various Vacancies. All India Institute of Medical SciencesAIIMS, Bhuvaneswar invites Online Applications on the prescribed pro-forma from suitable
candidates for recruitment of Group A and B posts on Direct Recruitment Basis.
Eligible Persons apply on the prescribed format on or before 31st March 2014.
Location: Bhuvaneswar.
Post details: S.No Name of The Post No of Posts Qualification Pay or Salary Age
Limt 1 Lecturer in Nursing 04 Master’s Degree in Nursing from a recognized
Institution/University.Registered Nurse Midwife.
Five years’ experience with a minimum of two years teaching experience in Nursing. Rs.15,600-39,100 /- 50 years 2 Blood Transfusion Officer 01 A recognized Medical Qualification included in I
or II schedule or part II of the 3rd schedule other than the licentiate qualifications
to the Indian Medical Council Act 1956. Holders of educational qualifications include
in Part-II of the 3rd Schedule should fulfill the conditions stipulated in sub-section 3
of the section 13 of the Indian Medical Council Act 1956. Rs.15,600-39,100 /- 30years 3
Child Psychologist 01 M.A. with specialized training/Ph.D in psychology/ or any other
equivalent qualification. Rs.15,600-39,100 /- 35 years 4 Clinical Psychologist 01 Master Degree
LDC Junior Stenographer Jobs Vacancies
PMA00:02
LDC & Junior Stenographer Jobs Vacancies
Post details: S.No Name of The Post No of PostsQualification Pay or Salary Age Limt 1 Lower Division Clerk 01 12th Class pass
or its equivalent qualification from a recognized Board or University with
typing speed @ 35 w.p.m. in English or @ 30 w.p.m. in Hindi on Computer
corresponds to 10,500/9,000 KDPH respectively Rs. 5200-20200/- below 33 years
2 Junior Stenographer 01 12th class pass or equivalent from a recognized Board
or University with speed @ 80 w.p.m. in English Shorthand and typing speed @ 40 w.p.m.
in English 40 w.p.m. corresponds to 12,000 KDPH on computer. Stenography
transcription in 50 minutes in English on Computer.
One year experience is desirable. Rs.5200-20200/- below 30 years Selection Procedure:
Skill tests for both LDC and Jr. Stenographer shall be conducted only on Computer.
How to Apply: Applications format available
at the Website www.ncsm.gov.in or www.ncsm.org.in .
Engineering Job At UPSC
PMA23:15
Engineering Services At UPSC
Engineering Services At UPSC
Post:582
Age:21-30 years
Category I - Civil Engineering
Category II - Mechanical Engineering
Category III - Electrical Engineering
Category IV - Electronics & Telecommunication Engineering
Qualification:Candidate must hold a degree in Engineering or equivalent. Provided that a
candidate applying for the posts of Indian Naval Armament Service
Electronics Engineering Posts and Engineer Group A in Wireless Planning &
Coordination Wing/ Monitoring Organisation may possess M.Sc.Degree or its
equivalent with Wireless Communication, Electronics, Radio Physics or Radio
Engineering as a special subject. Candidates who qualify on the results of
the written part of the examination will be summoned for personality test.
Fee: Rs.200
Apply Online: http://upsconline.nic.in/mainmenu2.php
Last Date:21/04/2014
The Motorola Moto X
PMA06:09
The Motorola Moto X- speedy camera
Nice voice command well-crafted design.
Great battery.
Easy customized designs
Amazon phone
Job At Shaheed Bhagat Singh College
PMA05:55
Post For Assistant Professor in Shaheed Bhagat Singh College
Total Post : 48 posts
Pay Scale : Rs. 15600 - 39100 grade pay Rs. 6000/-
Applications Address:
Shaheed Bhagat Singh College, University of Delhi, Sheikh Sarai,
Phase-II, New Delhi – 110017 within 21 days from the date of advertisement,
complete in all respect with self-attested copies of certificates, marksheets, testimonials etc.
with a demand draft of Rs.250/- for General /OBC and Rs.100/-for SC/ST/Pwd
in favour of the Principal, Shaheed Bhagat Singh College, Delhi, Payable at Delhi
Last Date: 25/03/2014
View Details http://www.sbsc.in for application form.
Total Post : 48 posts
Pay Scale : Rs. 15600 - 39100 grade pay Rs. 6000/-
Applications Address:
Shaheed Bhagat Singh College, University of Delhi, Sheikh Sarai,
Phase-II, New Delhi – 110017 within 21 days from the date of advertisement,
complete in all respect with self-attested copies of certificates, marksheets, testimonials etc.
with a demand draft of Rs.250/- for General /OBC and Rs.100/-for SC/ST/Pwd
in favour of the Principal, Shaheed Bhagat Singh College, Delhi, Payable at Delhi
Last Date: 25/03/2014
View Details http://www.sbsc.in for application form.
SBSC Delhi wants Assistant Professor
PMA03:53
Applications are invited on the prescribed application forms for the
posts of Assistant Professor in Shaheed Bhagat Singh College in various
subjects :
Bhagat Singh College, (University of Delhi), Sheikh Sarai, Phase-II,
New Delhi – 110017 within 21 days from the date of advertisement,
complete in all respect with self-attested copies of certificates, marksheets,
testimonials etc., along with a demand draft of Rs.250/- for General /OBC
and Rs.100/- for SC/ST/Pwd in favour of the
Principal, Shaheed Bhagat Singh College, Delhi, Payable at Delhi on
Last Date: 25/03/201.
View details http://www.sbsc.in for details and application form.
- Assistant Professor : 48 posts in various subjects,
- Pay Scale : Rs. 15600 - 39100 grade pay Rs. 6000/-
Bhagat Singh College, (University of Delhi), Sheikh Sarai, Phase-II,
New Delhi – 110017 within 21 days from the date of advertisement,
complete in all respect with self-attested copies of certificates, marksheets,
testimonials etc., along with a demand draft of Rs.250/- for General /OBC
and Rs.100/- for SC/ST/Pwd in favour of the
Principal, Shaheed Bhagat Singh College, Delhi, Payable at Delhi on
Last Date: 25/03/201.
View details http://www.sbsc.in for details and application form.
Job At National Institute of Foundry and Forge Technology
PMA03:49
National Institute of Foundry and Forge Technology
Hatia, Ranchi – 834003, Jharkhand
1. Foundry Technology
2. Forge Technology
3. Manufacturing Engineering
4. Materials and Metallurgical Engineering
5. Applied Science and Humanities :
View Details
http://www.nifft.ernet.in/Faculty%20Recruitment%20Application%20Form_modified.pdf
Hatia, Ranchi – 834003, Jharkhand
1. Foundry Technology
2. Forge Technology
3. Manufacturing Engineering
4. Materials and Metallurgical Engineering
5. Applied Science and Humanities :
- Assistant Professor : 39 posts, Pay Scale : Rs. 15600-39100 Grade Pay Rs 6000/-
- Associate Professor : 11 posts, Pay Scale : Rs. 37400-67000 Grade Pay Rs 9000/-
- Professor : 07 posts, Pay Scale : Rs. 37400-67000 Grade Pay Rs 10000/-
View Details
http://www.nifft.ernet.in/Faculty%20Recruitment%20Application%20Form_modified.pdf
Management Trainee Job At Coal India
PMA03:46
Coal India Limited requires Management Trainee
Posts:339
Environment-72, Sales & Marketing -31,
Personnel-26, Finance -73,
Community Development-120, Materials Management-17
Pay Scale : E2 grade Rs.20600-46500 and on successful completion of training will be posted in the E3 grade Rs.24900-50500,
Age : 30 years. Relaxation in age as per rules.
Application Fee :
Rs.500/- by means of a Bank DD in favour of Coal India Limited
payable at Kolkata. No fee for SC/ST/PH
How to Apply : Apply Online at Coal India Website from 17/03/2014 to 14/04/2014.
Take a printout of the system generated application form and send it with application fee, relevant documents and pasting a recent passport size photograph on it in an envelope superscribed as with post applied for on or before 28/04/2014 to : General Manager (Personnel/ Recruitment), Coal India Limited, 10, Netaji Subhas Road, Kolkata - 700001.
http://www.coalindia.in/career/en-us/CurrentOpening.aspx
Posts:339
Environment-72, Sales & Marketing -31,
Personnel-26, Finance -73,
Community Development-120, Materials Management-17
Pay Scale : E2 grade Rs.20600-46500 and on successful completion of training will be posted in the E3 grade Rs.24900-50500,
Age : 30 years. Relaxation in age as per rules.
Application Fee :
Rs.500/- by means of a Bank DD in favour of Coal India Limited
payable at Kolkata. No fee for SC/ST/PH
How to Apply : Apply Online at Coal India Website from 17/03/2014 to 14/04/2014.
Take a printout of the system generated application form and send it with application fee, relevant documents and pasting a recent passport size photograph on it in an envelope superscribed as with post applied for on or before 28/04/2014 to : General Manager (Personnel/ Recruitment), Coal India Limited, 10, Netaji Subhas Road, Kolkata - 700001.
http://www.coalindia.in/career/en-us/CurrentOpening.aspx
PHP registration form-code-demo
PMA06:08
PHP registration form-code-demo
//error_reporting(0);
session_start();
include "include/connection.php";
include "include/functions.php";
$fname='';
$lname='';
$dob='';
$email='';
$phone='';
$capital_city='';
$locality='';
$pwd='';
$repwd='';
$msg='';
if(isset($_POST['registration']))
{
$fname=trim($_POST['f_name']);
$lname=trim($_POST['l_name']);
if($_POST['dob']!=''){
$dob=getRevDate($_POST['dob']);
}
$email=trim($_POST['email']);
$phone=trim($_POST['phone']);
$capital_city=trim($_POST['capital_city']);
$locality=trim($_POST['locality']);
$pwd=trim($_POST['pwd']);
$repwd=trim($_POST['repwd']);
$confirm_code=md5(RandomString());
if($fname=='')
$msg='please enter first name';
else if($lname=='')
$msg='Please enter last name';
else if($dob=='')
$msg='Please enter date of birth';
else if($email=='')
$msg='Please enter email';
else if(!filter_var($email, FILTER_VALIDATE_EMAIL))
$msg='Please enter valid email';
else if(chkEmailExist('users',$email))
$msg='Email allready register';
else if($phone=='')
$msg='Please enter phone no';
else if(!is_numeric($phone))
$msg='Phone no should be numeric';
else if($capital_city=='')
$msg='Please enter capital city';
else if($pwd=='')
$msg='Please enter password';
else if(strlen($pwd)<6)
$msg='Password lenght should be minimum 6 character';
else if($repwd=='')
$msg='Please enter repassword';
else if($pwd!=$repwd)
$msg='Password and repassword should be same';
else{
echo $sql="insert into `users` set `email`='$email',`password`='$pwd',`status`='3',`confirm_code`='$confirm_code'";
$res=mysql_query($sql);
echo $user_id=mysql_insert_id();
if($res){
echo $sql1="insert into `user_profile` set `userId`='$user_id',
`firstName`='$fname',
`lastName`='$lname',
`dob`='$dob',
`email`='$email',
`phoneNo`='$phone',
`capital_city`='$capital_city',
`locality`='$locality',
`status`='2'
";
$res1=mysql_query($sql1);
$_SESSION['userId']=$user_id;
$_SESSION['UserName']=$fname;
if($res1){
$email_content_rg=getEmailContent(1);
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$subject=$email_content_rg['subject'];
$message ="Hi,<br/> ".$fname." ".$lname."<br/><br/><br/>";
$message .=$email_content_rg['content'];
$message .="<br/><br/><a href='http://".$_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF'])."/confirmation.php?act=confregis&a=".urlencode($user_id)."&b=".$confirm_code."' >Please Click the link to activate your registration.. </a>";
mail($email,$subject,$message,$headers);
/*header("Location:index.php?m=rs");*/
header("Location:profile.php");
}
}else{
$msg='Registration unsuccesful';
}
}
}
//echo $msg;
?>
<?php include "include/header.php"; ?>
<div class="container">
<div class="row" align="center" style="margin-top:30px;">
<div class="span12">
<div class="row">
<div class="span6">
<div class="thumbnail">
<h4>Registration</h4>
<p>
<form class="form-horizontal" name="reg" id="reg" action="#" method="post">
<div class="control-group">
<label class="control-label">First Name</label>
<div class="controls">
<input type="text" name="f_name" id="rf_name" value="<?php echo $fname; ?>" placeholder="First Name">
</div>
</div>
<div class="control-group">
<label class="control-label" >Last Name</label>
<div class="controls">
<input type="text" name="l_name" id="rl_name" value="<?php echo $lname; ?>" placeholder="Last Name">
</div>
</div>
<div class="control-group">
<label class="control-label" >Date of birth</label>
<div class="controls">
<input type="text" name="dob" id="r_dob" value="<?php if($dob!=''){ echo getRevDate($dob); } ?>" placeholder="Date of birth">
</div>
</div>
<div class="control-group">
<label class="control-label">Email</label>
<div class="controls">
<input type="text" name="email" id="r_email" value="<?php echo $email; ?>" placeholder="Email">
</div>
</div>
<div class="control-group">
<label class="control-label">Phone</label>
<div class="controls">
<input type="text" name="phone" id="r_phone" value="<?php echo $phone; ?>" placeholder="phone">
</div>
</div>
<div class="control-group">
<label class="control-label">City</label>
<div class="controls">
<!--<input type="text" name="capital_city" id="r_capital_city" value="<?php //echo $phone; ?>" placeholder="phone">-->
<select name="capital_city" id="r_capital_city" onChange="return getLocalityList()">
<option value="">Select capital city</option>
<?php echo getCapitalCityList($capital_city); ?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Locality</label>
<div class="controls">
<!-- <input type="text" name="related_city" id="r_related_city" value="<?php //echo $phone; ?>" placeholder="phone">-->
<select name="locality" id="r_locality">
<option value="">Select locality</option>
<?php if($capital_city!=''){ echo getLocalityList($capital_city,$locality); } ?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Password</label>
<div class="controls">
<input type="password" name="pwd" id="r_pwd" value="<?php echo $pwd; ?>" placeholder="Password"><span id="result"></span>
</div>
</div>
<div class="control-group">
<label class="control-label" >Re-type Password</label>
<div class="controls">
<input type="password" name="repwd" id="r_repwd" value="<?php echo $repwd; ?>" placeholder="Re-type Password"><span id="result"></span>
</div>
</div>
<div class="control-group">
<div class="controls">
<input type="hidden" name="registration" id="registration" value="registration" >
<button type="button" class="btn btn-primary" onClick="subRegistraiton()">Sign in</button>
</div>
</div>
</form>
</p>
</div>
</div>
<div class="span6">
<div class="thumbnail">
<h4>Already Registered</h4>
<p>
<form class="form-horizontal" name="loginForm" action="index.php" method="post">
<div class="control-group">
<label class="control-label">User Id</label>
<div class="controls">
<input type="text" name="userName" id="l_userName" placeholder="Userid">
</div>
</div>
<div class="control-group">
<label class="control-label" >Password</label>
<div class="controls">
<input type="password" name="password" id="l_password" placeholder="Password">
</div>
</div>
<div class="control-group">
<div class="controls">
<input type="hidden" name="login" value="login" >
<button type="button" class="btn btn-primary" id="LoginButton" onClick="return subLogin()">Login</button>
</div>
</div>
</form>
</p>
</div>
</div>
</div>
</div>
</div>
<?php include "include/footer.php";?>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/bootstrap.js"></script>
<!-------------------------------------------------For Date Picker----------------------------------------------------------->
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<!------------------------------------------------------------------------------------------------------------>
<script type="text/javascript">
$(function() {
var $j = jQuery.noConflict();
$j("#r_dob").datepicker({ dateFormat: "dd-mm-yy",changeMonth: true,changeYear: true,yearRange:'-90:+0'}).val();
});
</script>
<script>
$.noConflict();
function subRegistraiton()
{
var fname=$('#rf_name').val();
var lname=$('#rl_name').val();
var dob=$('#r_dob').val();
var email=$('#r_email').val();
var phone=$('#r_phone').val();
var capital_city=$('#r_capital_city').val();
var locality=$('#r_locality').val();
var pwd=$('#r_pwd').val();
var repwd=$('#r_repwd').val();
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(fname=='')
{
alert('Please enter first name');
$('#rf_name').focus();
return false;
}
else if(lname=='')
{
alert('Please enter last name');
$('#rl_name').focus();
return false;
}
else if(dob=='')
{
alert('Please enter date of birth');
$('#r_dob').focus();
return false;
}
else if(email=='')
{
alert('Please enter email');
$('#r_email').focus();
return false;
}
else if(!filter.test(email))
{
alert('Please provide a valid email address');
// $('#r_email').val('');
$('#r_email').focus();
return false;
}
else if(phone=='')
{
alert('Please enter phone no');
$('#r_phone').focus();
return false;
}
else if(phone.length!=10)
{
alert('Phone number should be 10 digits');
$('#r_phone').focus();
return false;
}
else if(capital_city=='')
{
alert('Please select capital city');
$('#r_capital_city').focus();
return false;
}
else if(pwd=='')
{
alert('Please enter password');
$('#r_pwd').focus();
return false;
}
else if(pwd.length < 8)
{
alert("Please enter at least 8 characters");
$('#r_pwd').val('');
$('#r_pwd').focus();
return false;
}
else if(repwd=='')
{
alert('Please enter re-password');
$('#r_repwd').focus();
return false;
}
else if(pwd!=repwd)
{
alert('Password and repassword does not match');
$('#r_repwd').val('');
$('#r_repwd').focus();
return false;
}else{
document.reg.submit();
$.loader();
// setTimeout( "$.loader('close');",20000 );
}
}
function subLogin()
{
var userName=$("#l_userName").val();
var password=$("#l_password").val();
if(userName==''){
alert('Please enter username');
$("#l_userName").focus();
return false
}
else if(password=='')
{
alert('Please enter password');
$("#l_password").focus();
return false;
}else{
document.loginForm.submit();
$.loader();
// setTimeout( "$.loader('close');",10000 );
}
}
function getLocalityList()
{
var capitalCity=$("#r_capital_city").val();
$.ajax({
type: 'POST',
url: 'ajax/ajax_cityList.php',
data: {'capital_city' : capitalCity ,'action' : 'locality'},
success: function(data){
$("#r_locality").html(data);
}
});
}
</script>
<script>
<?php
if($msg!=''){
?>
alert('<?php echo $msg; ?>');
<?php
}
?>
</script>
<script>
$(function(){
$(window).keypress(function(ev){
if(ev.charCode == 99)
{
$.loader('close');
}
});
$('#test1button1').click(function(){
$.loader();
setTimeout( "$.loader('close');",3000 );
});
});
</script>