View Full Version : Changing the colour of my DJ says
reindeer.
31-07-2006, 07:42 PM
Hi, Im trying to change the colour of my DJ says, located at http://www.samsterteenzradio.com/djsays.html. Heres the code:
<?php
$djname=$_POST['djname'];
$msg=$_POST['msg'];
$content="<font face=\"verdana\" size=\"1\" color=\"#000000\">$msg</font><br>";
$file="overwrite.html";
$writing=fopen($file, 'w');
Thanks.
Jamie.
31-07-2006, 07:47 PM
just add body bgcolor="code" :s
reindeer.
01-08-2006, 11:55 AM
Ya where though Im not very experienced with php
Eric30
01-08-2006, 04:17 PM
but its html ;)
RealmOftheClaw
01-08-2006, 06:24 PM
i don't know php only html. but wouldn't you maybe do color=???? in the font so its like <font=???? size=???? bgcolor=hex code.>
You have to change the DJProsess.php or sumin, cos the other file gets re written all the time.
jshost
01-08-2006, 09:44 PM
Yes jack is right u need to edit the djprocess file
sure all he needs to do is change the part that says 000000- that is the hex code and if he dosent want black he can have FFFFFF for white or FF000
Evasion
02-08-2006, 08:24 AM
And remember you need to finish with
?>
reindeer.
02-08-2006, 06:38 PM
That IS djprocess.php and btw its the bg color I want to change not font colour incase I wasnt clear.
reindeer.
07-08-2006, 07:56 PM
Any have any ideas?
Colin-Roberts
07-08-2006, 08:22 PM
<?php
background-color: #333333;
$djname=$_POST['djname'];
$msg=$_POST['msg'];
$content="<font face=\"verdana\" size=\"1\" color=\"#000000\">$msg</font><br>";
$file="overwrite.html";
$writing=fopen($file, 'w');
ClubTime
07-08-2006, 08:36 PM
*removed*
Sorry for double posting
ClubTime
07-08-2006, 08:36 PM
here try this
<?php
background-color='#ffffff' //change '#ffffff' to your color
$djname=$_POST['djname'];
$msg=$_POST['msg'];
$content="<font face=\"verdana\" size=\"1\" color=\"#000000\">$msg</font><br>";
$file="overwrite.html";
$writing=fopen($file, 'w');
?>
reindeer.
09-08-2006, 02:39 PM
I'll try, thanks.
Edit: Didnt work, thanks for trying though.
ClubTime
09-08-2006, 04:56 PM
Try:
<?php
$djname=$_POST['djname'];
$msg=$_POST['msg'];
$content="<font face=\"verdana\" size=\"1\" color=\"#000000\">$msg</font><br>";
$file="overwrite.html";
$writing=fopen($file, 'w');
?>
<body bgcolor='#333333'>
Change '333333' to your color
reindeer.
10-08-2006, 10:20 AM
No, didnt work again :(
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.