Gegen Bilderklau - Das Original (https://www.gegen-bilderklau.net/index.php)
- Design, Website, Copyright (https://www.gegen-bilderklau.net/board.php?boardid=80)
--- Homepagehilfe (https://www.gegen-bilderklau.net/board.php?boardid=27)
---- Homepagehilfe - Archiv (https://www.gegen-bilderklau.net/board.php?boardid=139)
----- [PHP & MySQL] PHP Problem - erst funktionierts - dann nichtmehr (https://www.gegen-bilderklau.net/thread.php?threadid=120811)


Geschrieben von Ponyhof am 20.10.2007 um 10:19:

  PHP Problem - erst funktionierts - dann nichtmehr

Erst hat das alles gut funktioniert und jetzt schiebt er solche Faxen. Er meint das folgendes falsch sei:
[quote]
Warning: fopen(e_dd.htm) [function.fopen]: failed to open stream: Permission denied in /var/www/web74/html/LogIn/Pflege/gemistet.php on line 19

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/web74/html/LogIn/Pflege/gemistet.php on line 26

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/web74/html/LogIn/Pflege/gemistet.php on line 27[quote]

aber es hatte so vorher funktioniert und ich war die ganze Zeit nicht dran.

php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
<html>
<head><style type="text/css">
BODY {
color: #000000;
text-align : center; }
A:link{COLOR: #000000; TEXT-DECORATION: none; } A:visited{COLOR: #000000; TEXT-DECORATION: none; } A:active{COLOR: #000000; TEXT-DECORATION: none; } A:hover{COLOR: #987F62; TEXT-DECORATION: none; }

</style>
</head>
<body>
<? $pferd=$HTTP_POST_VARS['pname'];
$uname=$HTTP_POST_VARS['uname'];
$ein=$HTTP_POST_VARS['ein'];
// Code von Unicorn/N. Heppler. Verändern und Verwenden auf Webseiten erlaubt, solange dieser Verweis drin bleibt. 

$time = time();
$datum = date("d.m.Y, H:i", $time);

$datei = fopen("e_$pferd.htm","a+");
$inhalt="<br><table border="0" cellpadding="0" cellspacing="0" width="500" style=" border-style: no; border-width: 0; font-family:Verdana; font-size:12px">
<tr>
<td width="500" align="center"> $datum, <b>Box gemistet von $uname</b>, Einstreu: $ein</td>
</tr>
</table>";

fwrite($datei, $inhalt);
fclose($datei);
?>



<table border="0" cellpadding="5" cellspacing="0" width="424" style="font-family: Verdana; font-size: 12px; border-style: dotted; border-width: 1">
<tr>
<td align="center" >
Ausgezeichnet, du hast die Box von <? echo $pname; ?> gemistet. Diese Aktion wurde in die Ereignisse eingetragen <a href="intern.php"> zurück zum Internbereich</a>
</td> 
</td> 
</tr>
</table>
</body>
</table>
</body>
</html>


MfG;
Ponyhof



Geschrieben von .Maybe am 20.10.2007 um 11:11:

 

zeig mal wie e_$pferd.htm
aufgebaut ist, denn ich denke daran liegts, und nicht an dem Script was du gepostet hast. Vll. existiert es auch gar nicht oder es hat keine Schreibrechte, PHP kann es jedenfalls nicht öffnen.



Geschrieben von Ponyhof am 20.10.2007 um 15:22:

 

Beim Testen ging es allerdings xp

So:
Zitat:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>e_Conail.htm</title>


<style type="text/css">
A:link {color: black; text-decoration: none; }
A:visited {color: black; text-decoration: none; }
A:active {color: black; text-decoration: none; }
A:hover {color: black; text-decoration: none; position:relative; top:1px; left:1px;}
</style>
</head>
<body>

<center>
<table style="width: 445px; height: 26px;" border="0">

<tbody>

<tr>

<td>
<center><font face="Verdana" size="2"><a href="http://phlysingur.bbping.de/Ponymarkt/Stuten/Adelina/Allgemeines.html
" target="_self"><font color="#000000">Allgemeines</font></a></font></center>

</td>

<td>
<center><font face="Verdana" size="2"><a href="http://phlysingur.bbping.de/Ponymarkt/Stuten/Adelina/Ausbildung.html"
target="_self"><font color="#000000">Ausbildung</font></a></font></center>

</td>

<td>
<center><font face="Verdana" size="2"><a href="http://phlysingur.bbping.de/Ponymarkt/Stuten/Adelina/Gesundheit.html"
target="_self"><font color="#000000">Gesundheit</font></a></font></center>

</td>

<td>
<center><font face="Verdana" size="2"><a href="http://phlysingur.bbping.de/LogIn/Pflege/e_Adelina.htm" target="_self"><font color="#000000">Allg. Daten</font></a></font></center>

</td>

<td>
<center><font face="Verdana" size="2"><a href="http://phlysingur.bbping.de/Ponymarkt/Stuten/Adelina/Zucht.html" target="_self"><font color="#000000">Zucht</font></a></font></center>

</td>

<td>
<center><font face="Verdana" size="2"><a href="http://phlysingur.bbping.de/Ponymarkt/Stuten/Adelina/Fotoalbum.html" target="_self"><font color="#000000">Fotoalbum</font></a></font></center>

</td>

</tr>

</tbody>
</table>

</center>

</body>
</html>


MfG;
Ponyhof



Geschrieben von Ponyhof am 22.10.2007 um 15:30:

 

kann niemand helfen?!

MfG;
Ponyhof


Forensoftware: Burning Board, entwickelt von WoltLab GmbH