Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 20th, 2017
69
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
<?php
$bg = array('bg-01.jpg', 'bg-02.jpg', 'bg-03.jpg', 'bg-04.jpg' );
$i = rand(0, count($bg)-1);
$selectedBg = "$bg[$i]";
?>
body{
background: url(images/<?php echo $selectedBg; ?>);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 56 min ago | 0.42 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
test_script
Bash | 1 hour ago | 0.04 KB
German Localization
JSON | 1 hour ago | 190.45 KB
Untitled
C# | 1 hour ago | 0.76 KB
Principale
C++ | 2 hours ago | 0.71 KB
Popup Box
HTML | 2 hours ago | 3.65 KB
12_with_strlen_fun
C++ | 2 hours ago | 0.72 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!