当前位置: 首页>>代码示例>>PHP>>正文


PHP CSRF::make方法代码示例

本文整理汇总了PHP中CSRF::make方法的典型用法代码示例。如果您正苦于以下问题:PHP CSRF::make方法的具体用法?PHP CSRF::make怎么用?PHP CSRF::make使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CSRF的用法示例。


在下文中一共展示了CSRF::make方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

					<form method="post" action="<?php 
echo $baseurl;
?>
php/admin/processor-update-password.php?lang=<?php 
echo $_GET['lang'];
?>
" id="update-password-form">
						<fieldset>
							<div class="grid-container">
								<div class="column-twelve">
									<div id="update-password-message"></div>
								</div>
								<div class="column-twelve">
									<div class="input-group">
										<?php 
echo CSRF::make('update-password-form')->protect();
?>
									</div>
								</div>
								<div class="column-twelve">
									<div class="input-group-right irequire">
										<label for="update_password" class="group label-input">
											<i class="icon-key"></i>
											<input type="password" id="update_password" name="update_password" maxlength="30" class="input-right" placeholder="<?php 
echo $lang['update_password_placeholder_password'];
?>
">
										</label>
									</div>
								</div>
								<div class="column-twelve">
开发者ID:mydos,项目名称:JBIMS-Admission,代码行数:31,代码来源:password_update.php

示例2:

			</div>
		</div>
		<div class="section inner_section">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-reference.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_reference">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_reference-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-four">
							<div class="select-group irequire">
								<label for="refreetitle" class="group custom-select">
									<select id="refreetitle" name="refreetitle" class="select">
									    <option value="">Select title of the referee</option>
										<option value="Mr">Mr.</option>
										<option value="Ms">Ms.</option>
										<option value="Mrs">Mrs.</option>
										<option value="Dr">Dr.</option>
										<option value="Prof">Prof.</option>
									</select>
开发者ID:mydos,项目名称:JBIMS-Admission,代码行数:31,代码来源:reference_details.php

示例3:

			</div>
		</div>
		<div class="section inner_section">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-score.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_scores">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_scores-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-twelve">
						    <div class="box irequire" id="qualifyingexam-box">
							    <div class="box-header" style="text-align: left;">
								    <h3>Qualifying exams appearing for</h3>
								</div>
								<div class="box-section center" style="text-align: left;">
									<div class="radio-group">
										<label for="cattest" class="group">
											<input type="checkbox" name="testappearing[]" class="checkbox" value="CAT" id="cattest">
											<span class="label space-right">CAT</span>
										</label>
开发者ID:mydos,项目名称:JBIMS-Admission,代码行数:31,代码来源:score_details.php

示例4:

&token=<?php 
echo $finalpasstoken;
?>
&lang=<?php 
echo $_GET['lang'];
?>
" id="newpassword-form">
						<fieldset>
							<div class="grid-container">
								<div class="column-twelve">
									<div id="newpassword-message"></div>
								</div>
								<div class="column-twelve">
									<div class="input-group">
										<?php 
echo CSRF::make('newpassword-form')->protect();
?>
									</div>
								</div>
								<div class="column-twelve">
									<div class="input-group-right irequire">
									    <label for="password" class="group label-input">
										    <i class="icon-key"></i>
			                                <input type="password" id="password" name="password" maxlength="30" class="input-right" placeholder="<?php 
echo $lang['form_new_password_placeholder_password'];
?>
">
										</label>
								    </div>
								</div>
								<div class="column-twelve">
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:newpassword.php

示例5:

					<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-register.php?lang=<?php 
echo $_GET['lang'];
?>
" id="register">
						<fieldset>
							<div class="grid-container">
								<div class="column-twelve">
									<div id="register-message"></div>
								</div>
								<div class="column-twelve">
									<div class="input-group">
										<?php 
echo CSRF::make('register-form')->protect();
?>
									</div>
								</div>
								<div class="column-four">
									<div class="input-group-right irequire">
									    <label for="firstname" class="group label-input">
										    <i class="icon-user-3"></i>
			                                <input type="text" id="firstname" name="firstname" maxlength="30" class="input-right" placeholder="<?php 
echo $lang['form_register_placeholder_firstname'];
?>
">
										</label>
								    </div>
								</div>
								<div class="column-four">
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:register.php

示例6:

			</div>
		</div>
		<div class="section inner_section">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-contact.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_contact">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_contact-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-four">
							<div class="input-group-right irequire">
							    <label for="email" class="group label-input">
								    <i class="icon-envelop"></i>
	                                <input type="text" id="email" name="email" maxlength="30" class="input-right" placeholder="Email Address">
								</label>
						    </div>
						</div>
						<div class="column-four">
							<div class="input-group-right irequire">
								<label for="mobilenumber" class="group label-input">
开发者ID:mydos,项目名称:JBIMS-Admission,代码行数:31,代码来源:contact_details.php

示例7:

			</div>
		</div>
		<div class="section inner_section" id="academic-clone">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-academic.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_academic">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_academic-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-twelve">
						    <div class="box">
							    <div class="box-header" style="text-align:left">
								    <h3>Class Xth</h3>
								</div>
								<div class="box-section center">
									<div class="column-four">
										<div class="input-group-right irequire">
										    <label for="tenthinstitutename" class="group label-input">
				                                <input type="text" id="tenthinstitutename" name="tenthinstitutename" class="input-right" placeholder="Name of Institution">
											</label>
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:academic_details.php

示例8:

			</div>
		</div>
		<div class="section inner_section" id="workex-clone">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-workex.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_workex">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_workex-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-twelve">
						    <div class="box">
								<div class="box-header" style="text-align:left; border-bottom:0; background-color: white; margin-bottom: 25px;">
								    <div class="column-four">
										<h3 style="color:#777;">Do you have any work-experience?</h3>
									</div>
									<div class="column-four">
										<div class="input-group-right irequire">
											<div class="radio-group" style="margin-left: 20px;">
												<label for="workexyes-radio" class="group space-right">
													<input type="radio" name="isworkex" class="radio" value="Yes" id="workexyes-radio">
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:workex_details.php

示例9:

			</div>
		</div>
		<div class="section inner_section">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-payment.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_payment">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_payment-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-twelve">
						    <div class="box irequire">
							    <div class="box-header" style="text-align: left;">
								    <h3>Fees</h3>
								</div>
								<div class="box-section center" style="text-align: left;">
									<div class="column-twelve">
										<h4 style="color:black;">For General Category, Application fee is Rs 1200 per candidate per course and for Reserved Category from Maharashtra, it is Rs 950 per candidate per course.</h4>
									</div>
								</div>
							</div>
开发者ID:mydos,项目名称:JBIMS-Admission,代码行数:31,代码来源:payment_details.php

示例10:

			</div>
		</div>
		<div class="section inner_section">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-personal.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_personal">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_personal-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-four">
							<div class="input-group-right irequire">
							    <label for="firstname" class="group label-input">
								    <i class="icon-user-3"></i>
	                                <input type="text" id="firstname" name="firstname" maxlength="30" class="input-right" placeholder="First Name">
								</label>
						    </div>
						</div>
						<div class="column-four">
							<div class="input-group-right">
								<label for="middlename" class="group label-input">
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:personal_details.php

示例11:

" id="login-form">
						<fieldset>
							<div class="grid-container">
								<div class="column-twelve">
									<?php 
if ($error) {
    echo $error;
} else {
    echo '<div id="login-message"></div>';
}
?>
								</div>
								<div class="column-twelve">
									<div class="input-group">
										<?php 
echo CSRF::make('login-form')->protect();
?>
									</div>
								</div>
								<div class="column-twelve">
									<div class="input-group-right irequire">
									    <label for="username" class="group label-input">
										    <i class="icon-user-3"></i>
			                                <input type="text" id="username" name="username" maxlength="30" class="input-right" placeholder="Enter your Application Id">
										</label>
								    </div>
									<div class="input-group-right irequire">
									    <label for="password" class="group label-input">
										    <i class="icon-key"></i>
			                                <input type="password" id="password" name="password" maxlength="30" class="input-right" placeholder="<?php 
echo $lang['form_login_placeholder_password'];
开发者ID:mydos,项目名称:JBIMS-Admission,代码行数:31,代码来源:login.php

示例12:

					<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-forgot.php?lang=<?php 
echo $_GET['lang'];
?>
" id="forgot-form">
						<fieldset>
							<div class="grid-container">
								<div class="column-twelve">
									<div id="forgot-message"></div>
								</div>
								<div class="column-twelve">
									<div class="input-group">
										<?php 
echo CSRF::make('forgot-form')->protect();
?>
									</div>
								</div>
								<div class="column-twelve">
									<div class="input-group-right irequire">
										<label for="useremail" class="group label-input">
										    <i class="icon-envelop"></i>
			                                <input type="email" id="useremail" name="useremail" maxlength="70" class="input-right" placeholder="<?php 
echo $lang['form_forgot_placeholder_useremail'];
?>
">
										</label>
								    </div>
								</div>
								<?php 
开发者ID:mydos,项目名称:JBIMS-Admission,代码行数:31,代码来源:forgot-password.php

示例13:

			</div>
		</div>
		<div class="section inner_section">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-docs.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_docs">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_docs-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-twelve">
						    <div class="box">
							    <div class="box-header" style="text-align:left">
								    <h3>Document Uploads</h3>
								</div>
								<div class="box-section center">
									<div class="column-twelve" style="text-align: left; margin-bottom: 30px;">
										<h3 style="margin-bottom: 10px;">Instruction for uploads</h3>
										<ul>
											<li style="margin-bottom: 10px;"><b>Photo</b> Digital or scanned passport size photograph. Dimension: 2 by 2 inches. Resolution: Min 600 x 600 pixels, Max 1200 x 1200 pixels. File Formats Supported: GIF, JPEG, JPG & PNG. Maximum file size : 400 Kb</li>
											<li style="margin-bottom: 10px;"><b>Resume/CV</b> File Formats Supported: DOC, DOCX & PDF. Maximum file size : 400 Kb</li>
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:document_details.php

示例14:

			</div>
		</div>
		<div class="section inner_section">
			<form method="post" action="<?php 
echo $baseurl;
?>
php/processor-additional_info.php?lang=<?php 
echo $_GET['lang'];
?>
" id="section_additional_info">
				<fieldset>
					<div class="grid-container">
						<div class="column-twelve">
							<div class="input-group">
								<?php 
echo CSRF::make('section_additional_info-form')->protect();
?>
                                      
							</div>
						</div>
						<div class="column-twelve">
						    <div class="box">
							    <div class="box-header" style="text-align:left">
								    <h3>Additional Information</h3>
								</div>
								<div class="box-section center">
								    <div class="column-twelve">
										<div class="textarea-group irequire">
										    <label for="rolemodelinfo" class="group label-textarea">
				                                <textarea rows="5" id="rolemodelinfo" name="rolemodelinfo" class="textarea resisable" placeholder="Who is your role model? Explain the reasons behind your choice. (Max 200 words)"></textarea>
											</label>
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:additional_details.php

示例15:

php/processor-complete-social-register.php?provider=<?php 
echo $_GET["provider"];
?>
&lang=<?php 
echo $_GET['lang'];
?>
" id="complete-social-register-form">
						<fieldset>
							<div class="grid-container">
								<div class="column-twelve">
									<div id="complete-social-register-message"></div>
								</div>
								<div class="column-twelve">
									<div class="input-group">
										<?php 
echo CSRF::make('complete-social-register-form')->protect();
?>
									</div>
								</div>
								<div class="column-twelve">
									<div class="input-group-right">
										<label for="useremail" class="group label-input">
										    <i class="icon-envelop"></i>
			                                <input type="email" id="useremail" name="useremail" maxlength="70" class="input-right" placeholder="<?php 
echo $lang['form_complete_registration_placeholder_useremail'];
?>
">
										</label>
								    </div>
								</div>
								<div class="column-twelve">
开发者ID:architbakliwal,项目名称:Vedicascholars,代码行数:31,代码来源:complete-social-register.php


注:本文中的CSRF::make方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。