LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index » Code Warriors
Author Message
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3486
Location: 1265 Lombardi Ave.

Post Posted: Fri Oct 10, 2003 2:51 am   Post subject: PHP help Reply with quote Back to top  

[Newbie Alert]
I downloaded an uptime script for my Linux box and I am trying to figure out how to display it on my home page. It will work if I link to the file uptime.php. The instructions say to just copy and paste the code into your index file but it doesn't show up.

So how do I get this:
http://www.unixlusers.com/uptime.php

To show up in this
http://www.unixlusers.com
[Newbie Alert]
View user's profile Send private message Send e-mail
quijbe
Leg Humper
Leg Humper


Joined: 16 Jan 2002
Posts: 5484

Post Posted: Fri Oct 10, 2003 5:21 am   Post subject: Reply with quote Back to top  

maybe rename your index page to default.php rather than default.htm

_________________
http://www.habervision.net
View user's profile Send private message
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3486
Location: 1265 Lombardi Ave.

Post Posted: Fri Oct 10, 2003 5:37 am   Post subject: Reply with quote Back to top  

Now I really feel like an idiot. I have never played with PHP before though but common sense should have told me to rename the damn file to php.
View user's profile Send private message Send e-mail
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3486
Location: 1265 Lombardi Ave.

Post Posted: Fri Oct 10, 2003 5:42 am   Post subject: Reply with quote Back to top  

Now I gotta pick up a PHP book so I can add stuff to that. Would like to change the color and font.
View user's profile Send private message Send e-mail
EdisonRex
Lead Dog
Lead Dog


Joined: 06 May 2002
Posts: 10156
Location: Not Moscow

Post Posted: Fri Oct 10, 2003 6:09 am   Post subject: Reply with quote Back to top  

http://www.php.net/docs.php

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
View user's profile Send private message AIM Address Yahoo Messenger
screensaver
Butt Sniffer
Butt Sniffer


Joined: 22 Aug 2003
Posts: 1822

Post Posted: Thu Oct 16, 2003 5:40 pm   Post subject: Reply with quote Back to top  

quijbe,

Trying to learn how to do php myself.

LOL @ quote

_________________
Evil waffles are good with maple syrup.

View user's profile Send private message
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!