Jump to content
php.lv forumi

Vajadzīgs scripts


ravelis

Recommended Posts

pirms session_start(); ir tikai

 

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>Virsraksts</title>

 

<meta http-equiv="Content-Language" content="lv" />

<meta http-equiv="Content-Type" content="text/html; charset=Windows-1257" />

 

<meta name="author" content="Marcis Kalnins, marcis@itmedia.lv, http://none.sytes.net" />

 

<style type="text/css">

p {

font-family: Arial;

font-size: 11px;

color: #808080;

}

input {

font-family: Arial;

font-size: 10px;

color: #808080;

border: #808080 1px solid;

width: 200px;

height: 18px;

background-color: #FFF;

}

input.login {

width: 120px;

}

input.button {

width: 80px;

cursor: pointer;

}

input.logout {

width: 120px;

background-color: #E0E0E0;

cursor: pointer;

}

</style>

</head>

<body>

<div align="left" style="margin-top:160px;margin-left:200px;">

<?php

 

// Konfigurācija

$DBHOST = "*****"; // Datubāzes serveris

$DBUSER = "******"; // Datubāzes lietotājvārds

$DBPASS = "****"; // Datubāzes parole

$DBNAME = "*****"; // Datubāzes nosaukums

$DBTABL = "*****"; // Datubāzes tabula, kurā glabājas dati

 

$ADMINNAME = "admin"; // Administratora lietotājvārds

$ADMINPASS = "admin"; // Administratora parole

// Autorizēties kā administrators var URL joslā aiz linka ierakstot ?admin

Edited by ravelis
Link to comment
Share on other sites

×
×
  • Create New...