Jump to content
GIGN Forum

[pamācība] Kā Uzstādīt Skriptu "dienas Bilde"


ICEclan
 Share

Recommended Posts

  1. Uztaisi folderi bildes
  2. Samet tur 31 bildi, ar nosaukumiem Bilde_01, bilde_02...
  3. uztaisi failu bildes.php, folderī bildes.
  4. Ieraksti bildes.php
<img src="bilde_<?php echo date("d"); ?>.jpg" alt="bilde" />

Ja vēlies ievietot mājas lapā, izmanto include funkciju, piemēram.

<?php

include "http://adrese.lv/bildes/bildes.php"

?>

Un tas ir viss...

? Spoks

Link to comment
Share on other sites

  • 3 months later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...