English
Applications

Simple PHP Guestbook without SQL/data base

 
- Page 1 -


@Christian: have you even the simplest and so best Guestbook written, that one at all may have.

Descargar
external Download


whom kleinsten possible denominator sozusagen, stored becomes without data base directly in the HTML, and to that viewing the Buches is no PHP necessary, solely to that lay out one new Eintrages.

Related: Einfache PHP gallery without SQL data base, Fotoalbum, album  [...] 

save in a directory your electoral The two Files in the attachment, and already have You one PHP Guestbook without SQL.

so small kanns his

1 kB
Hochgeladen:09/13/07
Downloadcounter2140
Download
 
09/13/07  
 



 
- Page 2 -



Pocowast
really change I always The File of Server. Well something other. I fight straight with a others trouble:
by me wants simply no Image as Zell-background in <td> reingehen! have already several Tipps and mutants from diversen Kursen probiert, but it remaining white.
See time Please in the Seitenquelltext to, whether the code correctly. wäre [...] 
with Jahresübersicht-Birthdays should as background one Image mere! LGvP
 
11/26/11  
 



I must confess now not The Page geschaut separate only fix here in whom editor typed to have:

rofl mao
the thung

<table><tr><td style="background:url(https://XProfan.com/intl/i/birth.png);padding:20px">rofl mao<br>the thung</td></tr></table>
 
11/26/11  
 




Pocowast
Yes It's all right. I had with my try somewhere one space. now to that next Topic: with my Ansichtskarten have I Yes always Vorder- and reverse. If I now count let, then is ".$filecount." in the Result 54. How wars I the through 2 shared? LGvP
 
11/27/11  
 



well ".round($filecount*0.5)."
 
11/27/11  
 



 
- Page 3 -



Pocowast
then shows it .round(54*0.5)." have again gegoogelt and some with : / probiert. it does itself nothing. lying it again on me?LGvP
 
11/27/11  
 



Womit can You count?
 
11/27/11  
 




Pocowast

<?php
 $filecount=0;
 $dir="album/flowers and Pflanzen";
 $dirh=opendir($you);
while($filename=readdir($dirh))

{

    if($filename!="." && $filename!=".." && is_file($you."/".$filename)) $filecount++;

}

closedir($dirh);
echo "Es find itself ".$filecount." Ansichtskarten in the category ".$you;
?>
 
11/28/11  
 



Jo, very How I written have:

from:
echo "Es find itself ".$filecount." Ansichtskarten in the category ".$you;

that here make:
echo "Es find itself ".round($filecount*0.5)." Ansichtskarten in the category ".$you;

PS: Mach still:
;$c=round(count(glob("/directory/*.jpg"))*0.5)

means these 1 row instead of these manuelle Zählerei. ^^

PHP::glob  [...] 
 
11/28/11  
 




Pocowast
where should I The 1 row insert? LGvP
 
11/28/11  
 



After <?php and to echo "Es ... and between everything delete.
 
11/29/11  
 




Pocowast
the wished I:
<?php
;$c=round(count(glob("/album/*.jpg"))*0.5)
echo "Es find itself ".$filecount." Ansichtskarten in the category ".$dir;
?>

the Result:

Parse error: syntax error, unexpected T_ECHO in /var/www/web1112/html/counter_ansika.php on line 3
 
11/29/11  
 



Fehlt to the echo one Semikolon and the Semikolon behind $you is superfluously and from $filecount make $c or You make just 1 row:
;echo "Es find itself ".round(count(glob("/album/*.jpg"))*0.5)." Ansichtskarten in the category ".$you

for further PHP-Topics The with the album directly nothing concern Please simply new Topics open.
 
11/29/11  
 




Zur Anwendung


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

78.987 Views

Untitledvor 0 min.
Peter Max Müller11/08/24
Howemedia12/09/23
Member 833136511/17/20
Kutsche02/27/20
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie