Click here to Skip to main content
15,894,825 members
Home / Discussions / Web Development
   

Web Development

 
Questionproject migration to different server Pin
AndyInUK18-Jul-13 5:58
AndyInUK18-Jul-13 5:58 
AnswerRe: project migration to different server Pin
Richard MacCutchan18-Jul-13 6:44
mveRichard MacCutchan18-Jul-13 6:44 
QuestionWhere will be use action code? Pin
David Kroj18-Jul-13 1:21
David Kroj18-Jul-13 1:21 
AnswerRe: Where will be use action code? Pin
Danzy8321-Jul-13 12:40
Danzy8321-Jul-13 12:40 
GeneralRe: Where will be use action code? Pin
David Kroj25-Jul-13 21:19
David Kroj25-Jul-13 21:19 
GeneralRe: Where will be use action code? Pin
Danzy8326-Jul-13 5:12
Danzy8326-Jul-13 5:12 
GeneralRe: Where will be use action code? Pin
David Kroj5-Aug-13 3:16
David Kroj5-Aug-13 3:16 
Questionsession in php Pin
chouu17-Jul-13 23:38
chouu17-Jul-13 23:38 
Hi everybody, am new in php and am trying to add sessions to a php code, i tried but i didn't knew what is the problem! i added to the first page which is login.php those lines before any code html

PHP
<?php
if ($login_valide == $_POST['login'] && $pwd_valide == $_POST['pwd']){
          s
            $_SESSION['nom'] = $_POST['username']; 
            $_SESSION['mdp'] = $_POST['pwd']; 
//			if ($login_valide == $_POST['login'] && $pwd_valide == $_POST['pwd']) {
			$nom=$_SESSION['nom'];
}
			?>
<!doctype html>


and in this page scan.php i addes those lines
PHP
<?php


if ($login_valide == $_POST['login'] && $pwd_valide == $_POST['pwd']) {session_start();  
$nom=$_POST['nom'];}
?>
<!doctype html>


PS: scan.php and login.php contain only code html and i have tow other classes .php which analyse the variables and the entred data.

am waiting for your help Poke tongue | ;-P Blush | :O
AnswerRe: session in php Pin
David Kroj19-Jul-13 0:23
David Kroj19-Jul-13 0:23 
QuestionI am using RadAsyncUpload which is defined like this Pin
Vimalsoft(Pty) Ltd15-Jul-13 10:37
professionalVimalsoft(Pty) Ltd15-Jul-13 10:37 
SuggestionRe: I am using RadAsyncUpload which is defined like this Pin
Richard MacCutchan15-Jul-13 22:16
mveRichard MacCutchan15-Jul-13 22:16 
QuestionCommerce server 2007 issue Pin
vkEE15-Jul-13 8:44
vkEE15-Jul-13 8:44 
AnswerRe: Commerce server 2007 issue Pin
Richard Deeming15-Jul-13 9:16
mveRichard Deeming15-Jul-13 9:16 
GeneralRe: Commerce server 2007 issue Pin
vkEE15-Jul-13 10:08
vkEE15-Jul-13 10:08 
GeneralRe: Commerce server 2007 issue Pin
vkEE16-Jul-13 3:14
vkEE16-Jul-13 3:14 
GeneralRe: Commerce server 2007 issue Pin
vkEE16-Jul-13 4:49
vkEE16-Jul-13 4:49 
Questioni want to learn php Pin
mohale_ephraim14-Jul-13 20:55
mohale_ephraim14-Jul-13 20:55 
AnswerRe: i want to learn php Pin
Richard MacCutchan14-Jul-13 21:22
mveRichard MacCutchan14-Jul-13 21:22 
AnswerRe: i want to learn php Pin
Killzone DeathMan9-Jan-14 1:30
Killzone DeathMan9-Jan-14 1:30 
QuestionServlet HTTP client requests Pin
Neo1010113-Jul-13 8:15
Neo1010113-Jul-13 8:15 
AnswerRe: Servlet HTTP client requests Pin
AlphaDeltaTheta15-Jul-13 6:30
AlphaDeltaTheta15-Jul-13 6:30 
QuestionBreadcrumb not showing view name Pin
astrixtech12-Jul-13 6:02
astrixtech12-Jul-13 6:02 
GeneralRe: Breadcrumb not showing view name Pin
astrixtech12-Jul-13 19:29
astrixtech12-Jul-13 19:29 
QuestionStyling links Pin
astrixtech11-Jul-13 5:21
astrixtech11-Jul-13 5:21 
AnswerRe: Styling links Pin
vbmike12-Jul-13 3:51
vbmike12-Jul-13 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.