PDA

View Full Version : Look what I made for my desktop!



andr.in
July 24th, 2003, 04:41 PM
:) php

stftk
July 24th, 2003, 04:48 PM
lol.

fester8542
July 24th, 2003, 04:49 PM
cool man....

How did you get that skin for XP?

andr.in
July 24th, 2003, 04:50 PM
Originally posted by fester8542
How did you get that skin for XP?
Simple! Just choose "Silver" for the color scheme in the display options/appearance tab!

fester8542
July 24th, 2003, 04:52 PM
DOH!

ha ha

Illuminae
July 24th, 2003, 05:15 PM
fester, are you drunk? heheheh, you're on a roll today
(yes, im beign a d1ck i guess)
but hey, if you want, i can make you a skin just like that for windblows!!!!!!!

;);) :flower:

Xpeder
July 24th, 2003, 05:19 PM
How did you get it to be on the descktop in the background ?

DigitalPimp
July 24th, 2003, 05:21 PM
It is an active desktop. He's just using http headers (at least that is what they are called in ASP) to post to a web page.

mlk
July 24th, 2003, 05:46 PM
couldnt you do the app in flash ??
doesn php refresh automatically ?

grimdeath
July 24th, 2003, 06:01 PM
is that a swf desktop??? im interested in geting that app man:beam:

mdipi
July 24th, 2003, 06:27 PM
oh thats cool! i have wanted to do that forever but never knew how to display it. do you have to have PHP installed on your sys or is it on your server?

DigitalPimp
July 24th, 2003, 06:28 PM
PHP doesn't refresh automatically (it is server-side) but you could have a javascript refresh the page every second. It isn't that hard to do, you just need a host that supports PHP or ASP.

andr.in
July 24th, 2003, 06:30 PM
It's just php right now but I have to recreate it in flash! So the seconds would tick! Php does not refresh itself! I could use javascript to refresh the page but then I would hear that clicking sound and the page flashes white for a second, etc....
anyway the result is pretty unpleasant!
No that is not a swf desktop, that is just a regular desktop my man!

Clayman
July 24th, 2003, 06:45 PM
thats cool! good job man! :thumb:

mdipi
July 24th, 2003, 07:12 PM
so it is offa a server? or its just a .php file on your system with php installed?

senocular
July 24th, 2003, 08:35 PM
woooweee I need one of those, I always forget what year it is :hangover:

lostinbeta
July 24th, 2003, 08:37 PM
That clock in the lower right corner isn't good enough for you Syko?

Hehe... well I guess hovering over it to get the full date can be too much work :trout:

mdipi
July 24th, 2003, 09:52 PM
lol lost:

"When geeks go bored"

Clayman
July 24th, 2003, 09:58 PM
When geeks go bored

lol

David
July 24th, 2003, 10:14 PM
What is required to run PHP locally?

David
July 24th, 2003, 10:15 PM
I'm on XP Pro by the way..

nobody
July 24th, 2003, 10:16 PM
you have to have apache and php installed locally

senocular
July 24th, 2003, 10:17 PM
http://www.php.net/downloads.php

David
July 24th, 2003, 10:25 PM
Thanks Sen and XXVIII...

andr.in
July 25th, 2003, 05:15 AM
Originally posted by mdipi.com
so it is offa a server? or its just a .php file on your system with php installed?
It's on aserver!
I tried installing php on my comp but I couldn't even get Apache installed so... no apache for me!


That clock in the lower right corner isn't good enough for you Syko?

Hehe... well I guess hovering over it to get the full date can be too much work
No it isn't! You can never tell if the clock shows the right time but with php I can always be sure! And in addition it shows what what day of the week it is in numbers, what day of the year it is and what week of the year it is! Plus I can see the sconds as well! :)
oh and mdipi was also right! ;)

lostinbeta
July 25th, 2003, 11:58 AM
If you use Windows XP and you double click the click in the corner you can choose to synchronize your clock with an internet time server ;)

Im not putting down your desktop, do what you want, if you find it easier than great, I think it is quite an interesting idea. It doesn't bog down your computer at all?

andr.in
July 25th, 2003, 12:31 PM
i don't think so! ..well haven't noticed yet!
It's a pain to make it in flash! Won't work!

lostinbeta
July 25th, 2003, 12:50 PM
Clocks in Flash are easy... does it just not work with active desktops?

If thats so, then what about Javascript?

DigitalPimp
July 25th, 2003, 12:57 PM
You can do that LIB. All you need to do is put the SWF in some HTML and rock-n-roll.

mdipi
July 25th, 2003, 12:57 PM
how did you get it offa the server onto yur dtop? ughh! lol. i gotta get up and go down to the PC to look around. this is still cool though. but i would want other things mostlikely instead. like what my cpu usage was, but you cant do that via PHP :(

lostinbeta
July 25th, 2003, 01:03 PM
Ok, well I adapted one of my Flash clocks into Javascript if you wish to check it out...


<DIV ID="clock"></DIV>
<SCRIPT LANGAUGE="JavaScript">
<!--
//function to get and print time
function updateTimeValue() {
myTime = new Date();
h = myTime.getHours();
m = myTime.getMinutes();
s = myTime.getSeconds();
h == 12 || h == 0 ? hours=12 : (h%12)<10 ? hours="0"+(h%12) : hours=h%12;
m<10 ? minutes="0"+m : minutes=m;
s<10 ? seconds="0"+s : seconds=s;
h<12 ? amPM="AM" : amPM="PM";
document.getElementById("clock").innerHTML = hours+":"+minutes+":"+seconds+" "+amPM;
};
//run function when page loads
updateTimeValue();
//run function every 1000 milliseconds (1 second)
setInterval(updateTimeValue, 1000);
-->
</SCRIPT>

The div tag in the beginning is what will display the time, it is important you keep that ID at "clock" unless you change it in the script.

andr.in
July 25th, 2003, 01:40 PM
There is nothing wrong with the clock but I can't get the time from a php file be displayed in Flash! Now it's working... now it isn't!... wierd stuff!
I can't even if lost's clock working! :-\

mdipi
July 25th, 2003, 01:46 PM
dag lost! thats a crazy script! how you do stuff like this i will never know! shesh i cant even read it lol. you are such a crazy scripter.


Syko i had that same problem when i was trying to mm ake my PHP hit counter in flash. it would sometimes display and other times it wouldnt. I think the PHP could be better in flash..maybe for MX II

andr.in
July 25th, 2003, 01:49 PM
I think it's just that Flash and PHP don't fit together!

and lost - you script in all the languages doncha? =)

mdipi
July 25th, 2003, 02:59 PM
but syko what i am saying is that it should, imagine if they did! there would be nop limits! i think that it should be a lot like XML and flash. but i dont know...

lostinbeta
July 25th, 2003, 03:24 PM
Syko: Do you HAVE to do this in PHP??? Flash has the ability to handle time as well (the same way Javascript does).

And no, I don't code in all languages, although I wish I did..hehe. Only HTML, CSS, Javascript, very little DHTML, and just now getting into PHP/mySQL.


Mdipi: My script isn't that hard if you know the tertiary operator ( statement ? do this if true : else do this if false ) and modulo (number1%number2, gets the remainded of number1 divided by number2)

andr.in
July 25th, 2003, 03:51 PM
I was doing this wif php because flash shows me the same time I have in the lower right corner which can be wrong at any time but i want it to show internet time!
But if you say that it can be changed to show the internet time then I can use that too and make the clock in flash!

DigitalPimp
July 25th, 2003, 03:53 PM
Originally posted by lostinbeta
Syko: Do you HAVE to do this in PHP??? Flash has the ability to handle time as well (the same way Javascript does).

And no, I don't code in all languages, although I wish I did..hehe. Only HTML, CSS, Javascript, very little DHTML, and just now getting into PHP/mySQL.


Mdipi: My script isn't that hard if you know the tertiary operator ( statement ? do this if true : else do this if false ) and modulo (number1%number2, gets the remainded of number1 divided by number2)

DHTML is like Javascript.... It is just like, CSS + Javascript + HTML. ;)

I &lt;3 Javascript!

lostinbeta
July 25th, 2003, 03:55 PM
yes DHTML is a combination of CSS, Javascript, and HTML, but coding crossbrowser in it is like taking an ax to your own head.

DigitalPimp
July 25th, 2003, 03:59 PM
pfft, then do what I do. Put an ASP detection script on your site that says if your not using IE then go download it.

mdipi
July 25th, 2003, 04:03 PM
Originally posted by DigitalPimp
pfft, then do what I do. Put an ASP detection script on your site that says if your not using IE then go download it.

tahts not always the best option for us mac users. asp gave me an error on my mac...bloody microsoft and their asp...lol

lost you named my weak points so yes, it is complicated :P

i am gonna read up on my php now. later guys

lostinbeta
July 25th, 2003, 04:06 PM
Originally posted by DigitalPimp
pfft, then do what I do. Put an ASP detection script on your site that says if your not using IE then go download it.

thats not very professional :trout:

DigitalPimp
July 25th, 2003, 05:11 PM
Originally posted by mdipi.com
tahts not always the best option for us mac users. asp gave me an error on my mac...bloody microsoft and their asp...lol

lost you named my weak points so yes, it is complicated :P

i am gonna read up on my php now. later guys


That is impossible. ASP is server-side which means all you see on your end is HTML. Now what could be happening is that they are testing to see which OS you are coming from and then giving you different ASP code for that and they didn't test it very well so it doesn't work for any Mac user... Get what I'm saying?