DeletedUser
Gast
Kannst auch ne "ID" machen;-)Mit Primärschlüssel und auto_increment
Hallo Besucher!
Du bist neu im Forum? Dann registriere dich hier, um Diskussionen beizutreten oder eigene Themen zu erstellen. Für die Registrierung ist es erforderlich, dass du einen Spielaccount bei Die Stämme hast.
Andernfalls kannst du dich hier direkt einloggen.
Falls du dein Passwort vergessen hast, kannst du hier ein neues Passwort anfordern.
Kannst auch ne "ID" machen;-)Mit Primärschlüssel und auto_increment
name CARCHAR(20),
email VARCHAR(30),
www VARCHAR(30),
CARCHAR gibt es nicht, er wird sich da bloß vertippt haben. Es muss varchar heißen, aber folge lieber der_balrog's Links und schau dir dort alles ausführlich an.
Ist es beste onlinetut,möchte ich sagen;-)
<?xml version="1.0" encoding="UTF-8"?>
<?php include("./phpscripts/style.php"); ?>
<?php include("./head.php"); ?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>flashtime</title>
<link rel="stylesheet" media="all" type="text/css" href="./styles/style_2.css" />
<link rel="shortcut icon" type="image/x-icon" href="./pictures/favicon.ico" />
<meta name="page-topic" content="Homepage" />
<meta name="keywords" content="flashtime, Portal" />
<meta name="description" content="Es ist ein Portal mit Forum, Link und Downloadsammlung etc." />
<meta name="content-language" content="DE" />
<meta name="page-type" content="private" />
<meta name="robots" content="INDEX,FOLLOW" />
<meta name="audience" content="Alle" />
</head>
<a href="http://www.deine-seite.de/downloads/deine_datei.zip">Download starten</a>
Oder so:Du willst also auf eine Datei verlinken, sodass man sie herunterladen kann? Das geht so, mittels HTML:
<a type="application/zip" href="http://www.deine-seite.de/downloads/deine_datei.zip">Download starten</a>
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /srv/www/httpd/phost/f/com/pytalhost/flashtime/web/inc/video.php on line 28
warscheinlich ein fehlendes ';'
$sql = "SELECT
`Link`,
Datum
FROM
Video
ORDER BY
Datum DESC;";
Warning: require(options.inc.php) [function.require]: failed to open stream: No such file or directory in F:\Programme\xampp\xampp\htdocs\adress-db\index.php on line 15
Fatal error: require() [function.require]: Failed opening required 'options.inc.php' (include_path='.;F:\Programme\xampp\xampp\php\pear\') in F:\Programme\xampp\xampp\htdocs\adress-db\index.php on line 15
ja natürlich
der code wird einfach 'hinzugefügt'
kannst du mir hier weiter helfen:
die datei exestiert garantiert!
<?php
//Cookie setzen
require ("set_cookie.inc.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Klassenliste</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<?php
//options einbinden
require("options.inc.php");
if(isset($POST['pass']) && $POST['pass'] == $ca4_pw || $POST['pass'] == $ca4_adminpw)
{
//decode() einbinden
require("decode.inc.php");
//mysql connecter
require("connect.inc.php");
ok doch nicht:
PHP:<?php //Cookie setzen require ("set_cookie.inc.php"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Klassenliste</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> </head> <body> <?php //options einbinden require("options.inc.php"); if(isset($POST['pass']) && $POST['pass'] == $ca4_pw || $POST['pass'] == $ca4_adminpw) { //decode() einbinden require("decode.inc.php"); //mysql connecter require("connect.inc.php");
der teil mit den require's
komischer weisegeht die erste aber
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
die if zieht sich über die komplette seite das ist nur ein ausschnitt
der PHP teil ist auch noch nicht zu
die datei exestiert garantiert!Warning: require(options.inc.php) [function.require]: failed to open stream: No such file or directory in F:\Programme\xampp\xampp\htdocs\adress-db\index.php on line 15
Fatal error: require() [function.require]: Failed opening required 'options.inc.php' (include_path='.;F:\Programme\xampp\xampp\php\pear \') in F:\Programme\xampp\xampp\htdocs\adress-db\index.php on line 15