- Joined
- May 27, 2005
- Messages
- 276
- Reaction score
- 0
Yes. It looks realy cool.
U must be near meSeven years ago said:Indeed it does. Never slow loading for me o.0
sutsurikeru said:ages ago i had a winamp sig n it worked fine using the exact code as shown below
but its given errorsPHP:<?php // ---------------------------------------- // Winamp Update By Niels van Renselaar // Speciaal voor webscripters.nl // ---------------------------------------- function inkort($txt, $length) { if(strlen($txt) > $length) { $txt = substr($txt, 0, $length)."..."; ** return $txt; ** $content = $_GET[song]; if($content) { $liedje = stripslashes(inkort($content, 30)); header("Content-type: image/JPEG"); $plaatje = ImageCreateFromJPEG(\"http://sutsurikeru.net/winampsig/sig.jpeg\"); $white = Imagecolorallocate($plaatje, 000, 000, 000); $zwart = ImageColorAllocate($plaatje, 000, 000, 000); imagestring($plaatje, 3, 70, 6, $liedje, $zwart); ImageJPEG($plaatje, "winamp.jpeg", 100); ImageDestroy($plaatje); ** ?>
Parse error: parse error, unexpected T_STRING in line 4
i looked up t string error but im clueless lol
anyhelp will be great ty
CoALa said:What is the name of the plugin u used for this?
CoALa said:are u sure?
<?php
function inkort($txt, $length) { if(strlen($txt) > $length) { $txt = substr($txt, 0, $length)."..."; ** return $txt; **
$content = $_GET[song];
if($content) {
$liedje = stripslashes(inkort($content, 30));
header("Content-type: image/JPEG");
$plaatje = ImageCreateFromJPEG("[B]http://www.ursite.com/winampsig/sig.jpg[/B]");
$white = Imagecolorallocate($plaatje, 000, 000, 000);
$zwart = ImageColorAllocate($plaatje, 000, 000, 000);
imagestring($plaatje, 3, 70, 6, $liedje, $zwart);
ImageJPEG($plaatje, "winamp.jpeg", 100);
ImageDestroy($plaatje);
**
$white = Imagecolorallocate($plaatje, 000, 000, 000);
$zwart = ImageColorAllocate($plaatje, 000, 000, 000)
<?php
function inkort($txt, $length) { if(strlen($txt) > $length) { $txt = substr($txt, 0, $length)."..."; ** return $txt; **
$content = $_GET[song];
if($content) {
$liedje = stripslashes(inkort($content, 30));
header("Content-type: image/JPEG");
$plaatje = ImageCreateFromJPEG("http://robhost.sytes.net/sig/winamp.jpg");
$white = Imagecolorallocate($plaatje, 000, 000, 000);
$zwart = ImageColorAllocate($plaatje, 000, 000, 000);
imagestring($plaatje, 3, 70, 6, $liedje, $zwart);
ImageJPEG($plaatje, "winamp.jpeg", 100);
ImageDestroy($plaatje);
**
ur php configured correct?CoALa said:PHP:<?php function inkort($txt, $length) { if(strlen($txt) > $length) { $txt = substr($txt, 0, $length)."..."; ** return $txt; ** $content = $_GET[song]; if($content) { $liedje = stripslashes(inkort($content, 30)); header("Content-type: image/JPEG"); $plaatje = ImageCreateFromJPEG("http://robhost.sytes.net/sig/winamp.jpg"); $white = Imagecolorallocate($plaatje, 000, 000, 000); $zwart = ImageColorAllocate($plaatje, 000, 000, 000); imagestring($plaatje, 3, 70, 6, $liedje, $zwart); ImageJPEG($plaatje, "winamp.jpeg", 100); ImageDestroy($plaatje); **
When i go to http://127.0.0.1/sig/ i get this error:
Parse error: parse error in c:\usr\apache\httpd\html\sig\index.phpp on line 2