php commands?

Ask questions, request features, or just complement us about our software and services.
anarchy-inc
Posts: 4
Joined: Tue Aug 26, 2003 4:56 pm
Location: UK
Contact:

php commands?

Post by anarchy-inc »

If I missed it on the site somewhere, then please forgive this post . . .

Where is there a list of the available commands available for the php script? In the "whatimplain.php" example, there are only 2 items listed;

ImageString($im, 2, 80, 7, "Now Playing: ".$current_song, 2)
ImageString($im, 2, 80, 20, "Users Online: ".$listeners, 2)

Howver in the FTP description, there are many others, like the one I want, "status".

How can I do this with php?

As you can see from my sig, I've got it working but only with the examples in the original file . . .
Lee
anarchy-inc.org

Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

the list is in the includes.php file, just use the variable names you see there.
- Jay
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

Jay which include.php do we go to? The one on our hosting directory or the one in the zip file? :?:
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

the one on the hosted site.
- Jay
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

:?: Well why is it when i look at it i get nothing http://www.hostultra.com/~giselazac/rtb/includes.php i looked at the source code but it was nothing helpfull. I know i am doing something wrong.
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well it only fills after your Radio Toolbox has successfully touched the catcher.php script and the script has not failed to write to includes.php.
- Jay
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

Well its doing everything, but i dont know if its writing to the includes.php. How would i find out? And could you just give me the list of those commands? :wink: If you wanna catch me more directly just i.m me at Aiminvaderkilla on aim.
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

Are you looking at it through FTP or through your Browser? Because nothing will show up if you look through your browser, use a shell account or FTP to look directly at the file.
- Jay
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

:( Downloading through FTP is not supported on the hosting company.
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

lol i guess this teaches people that you can't get it all on free hosting....
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well certainly they give you some sort of online file manager to edit or view your file structure, look through there if they do and see if you can find the information you need that way. Just make sure you are looking at the file unparsed by a server and you should see the neccessary tags.
- Jay
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

Well yes they do but there is no way to download from it and i tried saving the target then veiwing it in notepad and i get the same as i do in the browser :-/
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

Unparsed? Parsed? Is that the same as being touched? I have no idea...Yes it has sent server info and displayed it on my webpages. Is that my problem?
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
b3g-z
Posts: 11
Joined: Sun Nov 09, 2003 6:25 pm
Contact:

Post by b3g-z »

So is there a way i can reset it? lol i know i sound like i am a n0ob but i am new to php very new
Got so much to do i can't even keep track

(CURRENTLY SITE IS NOT UP)
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

You don't need to download from it, just choose to edit the file in their file manager thingy and you should see the php code unparsed. Parsed is when the code passes through the php engine (i.e. through your server)

If you see the stats showing in your example pages then includes.php has stuff in it and radio toolbox is touching catcher properly.
- Jay
Post Reply