I need.. well.. some lil help.. wit php..

Ask questions, request features, or just complement us about our software and services.
Post Reply
DeathGoth
Posts: 6
Joined: Tue Dec 16, 2003 9:34 pm
Location: Pgh, Pa in the U.S.A.
Contact:

I need.. well.. some lil help.. wit php..

Post by DeathGoth »

I have a sig running that is php... made by me.. I am trying to add last song played... which should be...

ImageTTFText ($im, 10, 0, 20, 33, $tc3, $font3, "Last Played: ".$lastsong[$i]);

anyway its not working for some reason.. any help would be cool.. but if not thats aight i should or might be able to figure it out...
I run a Radio station also.. take a listen below..
Image
The station is up 24/7 all the time.. and its 100% fat FREE..
User avatar
Jay
Will work for food (Administrator)
Posts: 3022
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

did you check includes.php to make sure that there was a $lastsong entry?
- Jay
DeathGoth
Posts: 6
Joined: Tue Dec 16, 2003 9:34 pm
Location: Pgh, Pa in the U.S.A.
Contact:

Post by DeathGoth »

the php file for includes.. goes something like this...

$current_song='AC/DC - Thunderstruck';
$listeners='2';
$max_listeners='60';
$touch_interval='10';
$lastsong[0]='AC/DC - Thunderstruck';
$lasttime[0]='1073336926';

so i would assume it would be $lastsong
keep in mind.. I just started php a lil while ago.. so i still need to learn alot...
I run a Radio station also.. take a listen below..
Image
The station is up 24/7 all the time.. and its 100% fat FREE..
User avatar
Jay
Will work for food (Administrator)
Posts: 3022
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well $lastsong[0] is your current song, so if you wanted to show the last song played you would use $lastsong[1] then when once a song change has occured it should show up properly.
- Jay
DeathGoth
Posts: 6
Joined: Tue Dec 16, 2003 9:34 pm
Location: Pgh, Pa in the U.S.A.
Contact:

Post by DeathGoth »

Ok man i will give it a try.. thanx for your help man... altho 1 issue with it... it keeps crashing out every few hrs.. between to and 12 hrs... refering to the actual .exe file...
I run a Radio station also.. take a listen below..
Image
The station is up 24/7 all the time.. and its 100% fat FREE..
User avatar
Jay
Will work for food (Administrator)
Posts: 3022
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

hmm what OS are you running it on?
- Jay
DeathGoth
Posts: 6
Joined: Tue Dec 16, 2003 9:34 pm
Location: Pgh, Pa in the U.S.A.
Contact:

Post by DeathGoth »

windows XP pro

1 gig procesor
384 megs of ram
140 gig hd
and 32 meg vid card

The computer was recently formmated on the OS drive aka the 40 gig.. has same problem before...
I run a Radio station also.. take a listen below..
Image
The station is up 24/7 all the time.. and its 100% fat FREE..
DeathGoth
Posts: 6
Joined: Tue Dec 16, 2003 9:34 pm
Location: Pgh, Pa in the U.S.A.
Contact:

Post by DeathGoth »

This is the error that it gives me..

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="rtb.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="rtb.exe" SIZE="520192" CHECKSUM="0x7CDFBA78" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="1.0.0.1" PRODUCT_VERSION="1.0.0" FILE_DESCRIPTION="Radio Toolbox" COMPANY_NAME="www.radiotoolbox.com" PRODUCT_NAME="Radio Toolbox" FILE_VERSION="1, 0, 0, 1" ORIGINAL_FILENAME="rtb.exe" INTERNAL_NAME="traqstat" LEGAL_COPYRIGHT="Copyright (C) 2002-2003" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="1.0.0.1" LINK_DATE="10/27/2003 21:45:10" UPTO_LINK_DATE="10/27/2003 21:45:10" VER_LANGUAGE="English (United States) [0x409]" />
<MATCHING_FILE NAME="Uninstall.exe" SIZE="62009" CHECKSUM="0x64B88D8D" BIN_FILE_VERSION="1.2.3.4" BIN_PRODUCT_VERSION="1.2.3.4" FILE_DESCRIPTION="Radio Toolbox Statistical Application Installer" COMPANY_NAME="Radiotoolbox.com" PRODUCT_NAME="Radio Toolbox Installer" FILE_VERSION="1.0.0" LEGAL_COPYRIGHT="© Radiotoolbox.com" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.2.3.4" UPTO_BIN_PRODUCT_VERSION="1.2.3.4" LINK_DATE="09/23/2003 20:04:27" UPTO_LINK_DATE="09/23/2003 20:04:27" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="930304" CHECKSUM="0xCBCCF8A9" BIN_FILE_VERSION="5.1.2600.1106" BIN_PRODUCT_VERSION="5.1.2600.1106" PRODUCT_VERSION="5.1.2600.1106" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.1106 (xpsp1.020828-1920)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE7ED3" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.1106" UPTO_BIN_PRODUCT_VERSION="5.1.2600.1106" LINK_DATE="08/29/2002 10:40:40" UPTO_LINK_DATE="08/29/2002 10:40:40" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>
I run a Radio station also.. take a listen below..
Image
The station is up 24/7 all the time.. and its 100% fat FREE..
Post Reply