galexcd
Members-
Content Count
1,313 -
Joined
-
Last visited
Everything posted by galexcd
-
If I understand you correctly, something like this should work. function execute(){//place your code here that you would normally put into the php page for the cronjob.}$time=5; //how often do you want this to execute (in minutes)$lasttime=mysql_result($result,0,"time"); //set this to the last time a page was loaded from the server//--------------------------------------------------------------------------------------------------$ctime=time();$time*=60;while($ctime-$time>=$lasttime){execute();ctime-=$time;}$time=time()-($ctime-$lasttime);//--------------------------------------------------------------------------------------------------mysql_query("UPDATE `name` SET `time` = ".$time);//you're sql query to add the last time loaded back into the server. Reply if you have any other problems
-
Google Operating System Should or Will they ever make one?
galexcd replied to hippiman's topic in Search Engines
Yes, it does seem like the next step for google seeing as they've already began to develop software, (I.E. going out of just internet apps and moving over to computers themselves), and it does seem like a good idea, i mean everything else they've done is great. But the last thing i'd like to see is relevant text ads on my desktop -
Well I've never liked LoadVars too much. I much prefer the loadVariablesNum() function mainly because you don't have to use objects for it, but are you loading this data on the same level as where you are retrieving it? Meaning are you doing this on the root level and you are attempting to get the data in a movieclip? If thats not the case then I'd suggest using loadVariablesNum. Every time I have tried to use LoadVars it gives me tons of problems and loadVariablesNum just works instantly.
-
The Earth Is Really Flat Its a conspiracy
galexcd replied to galexcd's topic in Science and Technology
Nasa didn't use video editing software. They used matte paintings on every frame. They just took a video recording of the flat earth and drew a round black circle around the picture. This is the original picture they took, we found it in one of the offices we infiltrated, and we scanned it in: They then added this painting on top of every frame: To get this final image: And as for your plane theory, you are forgetting that all planes travel underground and what you see out of the windows is just a projected image. Any plane that "crashes" is just a plane where the projection device malfunctions and the passengers on the plane learn the truth and need to be silenced. -
This should go into photography... It was not photoshopped. I was truly doing this. I swear.
-
Yup. Looks like it does. I haven't tried safari on windows yet. I'm not quite sure if its the best browser for PC users, I think firefox is pretty great for windows, its just the mac version of firefox is so slow and unstable safari is a much better option.
-
Yes plugins/extensions/themes, and a javascript error console are the only two things that safari needs to implement for it to become the best browser. I doubt they will ever implement themes because apple is way too in love with their own gui to ever let anyone change it without a fight, but I'm sure if enough users request it, they will add extensions and hopefully that error console in the near future.
-
The iPhone does have a very similar copy of safari built into it, but it doesn't support flash. If you were to go to a website with flash on it you would see an empty space where the flash would normally go. Even though it looks like it is integrated into websites, flash is actually a stand alone app that the browser runs inside itself to make the transition between flash and html as seamless as possible, but since the SDK just came out, flash hasn't had too much flexibility to make a version of flash for the iphone/ipod touch untill now. It will be interesting to see how they go about this and rendering different versions of swf's out there.
-
Ahh, much better than that 39/100 that 3.0.4 got... Unfortunately it still has some javascript issues with IPB... I still can't give threads ratings and can't go under the options menu of profiles with it. Hopefully it will be a fix with the next version.
-
Conspiracy Theories, You Decide Whats Real!
galexcd replied to goldtupac's topic in General Discussion
I was not trying to be a bottom about it. And I know you didn't say the earth was flat. Thats why I said it. The earth is really flat, and if you would have bothered to follow the link that I so kindly provided 5 times for you, you would see what I mean. -
Conspiracy Theories, You Decide Whats Real!
galexcd replied to goldtupac's topic in General Discussion
Oh yes, all true. Everything, You've got our government nailed. Our government is plotting against us, everything they say is a lie. The earth is really flat, and they have been telling us it is round. Of course we didn't land on the moon. How could we have landed on the moon? It's flat too. 9/11 was just a plot by the government to kill those who knew that the earth is really flat. Aliens landed in Roswell uh... hang on how can i turn this one into an earth is flat link? Oh there I just did... And as for Pearl Harbor, it was a few rouge rebels who knew the truth about the earth being flat and tried to stop the us government from blocking the truth from us. -
The Earth Is Really Flat Its a conspiracy
galexcd replied to galexcd's topic in Science and Technology
AH! An interesting observation. We shall be looking into that. So far we haven't done anything since the last update except blow up a powerstation on the ice wall itself. We looked over the edge of the world but saw no turtles or any other animals for that matter carrying the world so I think we can rule out that theory. I did however almost fall off. It doesn't seem like it would matter since there is no gravity but remember that the earth is traveling upward giving the illusion of gravity and I would have been stuck there in the void watching the earth fly off without me. By the time we will report back we will have gotten to the bottom of this. Have patience my fellow trappers and remember, do not be fooled by our government's weak attempts of convincing us that the earth is round. -
No I'm not talking about google talk. I'm talking about google notifier. The little thing that sits in your menu bar (if you have a mac, taskbar if you've got windows) that lights up and shows you little snippets of your messages when you get new email. On the mac version there is that box that says "remember your password", but not on the windows version.
-
Birthday Boy Opaque Happy Birthday Trap17 Admin OpaQue
galexcd replied to velma's topic in General Discussion
Unfortunately, I believe the time has come to take down opaques birthday website. By the time you are reading this, it will already be down, but I felt that all of the nice comments that people left on your guestbook should be saved so here they are for you: -
Hooray another programmer! Welcome to trap, you'll fit right in. I am quite familiar with all of those languages except python, which I have no interest in learning. And as you'll soon learn, I despise java, even though my major requires me to use it for everything (argh!) I mean they could just as easily teach us the same concepts of efficiency with c++. We even use java in an assembly class, I mean, what is the point of that? Isn't the point of assembly to not use high level programming languages? Ok enough of me ranting about my university... I hope to see your posts around the forums.
-
Welcome slave from alex here in Los Angeles California! It is always nice to see new members from all around the world. Thats quite the interesting avatar you've got there. Me being my stupid self tried to brush that bug off of my screen before realizing it was your avatar <_<Anyway I do hope you enjoy your stay here, and don't let it be cut short by an admin or mod, so be sure to read those rules, because they crack down on spam here harder then they do on other forums. (Saint Michael is a free get out of jail spam card so he can get away with it). But anyway I shall see you around the forums.
-
So nobody else here at Xisto, or all of the internet for that matter has any experience with google notifier, or has any input on this matter at all? Even somebody else replying that they are having similar issues would be good... I want to know if I'm doing something wrong here...
-
Both mac and linux are what is called "unix based". Basically if you were to go to the back end of the machine, it would be talking in unix. The closest you would come to this "talk" would be by going to the terminal, where you would enter the same unix commands into both of them. You couldn't run the same programs on both, but it is very easy to port it over from mac to linux or linux to mac... Usually just needs to be recompiled.
-
Many times either the code is not your own, and you would be getting credits for this. Even if the code is your own, that is cheating. I can write code much easier and faster than replies to threads. Anything that isn't in your own english words should not be counted for credits.
-
Php--> Content-only Pages Create easy to edit php pages.
galexcd replied to KansukeKojima's topic in General Discussion
Very good tutorial, but do you mind if I make a slight modification which in my opinion would make the code even better? If you use functions, not only can you write the code in pure html, (not using heredoc), but you can use FUNCTIONS, which are always way cooler looking than no functions For your template file: <? function top(){ ?><!-- include HTML header code here --><html><body>INSERT CODE FOR [b]TOP[/b] OF LAYOUT HERE. <? } function bottom(){ ?>INSERT CODE FOR [b]BOTTOM[/b] OF LAYOUT HERE. </body></html><? } ?> And the actual page: <? include"template.php"; top(); ?>Put your content here!!!<? bottom(); ?> There are a couple reasons I prefer this method. First of all I've never been too much of a fan of heredoc, mainly because my code color coder doesn't color code html in the heredoc (which is super useful, trust me), but there are some other reasons. It just feels messy. An advantage to using functions is that you could pass data to the layout from the content page, such as the title of the page, or perhaps changes in the navigation on certain pages of your website. Now I'm not saying mine is actually better, or more efficient in any way, its just in MY opinion, I like it better, and it would be the way I would do it. I am giving our members another option to choose from. -
Woman Stays In Bathroom For 2 Years This one is weird
galexcd replied to Inhuman's topic in General Discussion
A week? Try a day! Anybody who spends an entire day and night in the bathroom is nuts in my opinion. I heard this story yesterday and I couldn't believe it. Even if he was hesitant on getting help for her, a month or two would be enough for anyone to come to their senses and realize that something needed to be done. And what about food? Was he the one who brought food to her every day? If he was doing that, he would be semi-responsible. I'm sure she would have come out sooner if she was about to starve to death. -
I'll vote for kubi, but not because of his sig... Because he has the divine power of being able to change his name by just putting asterisks around a two word phrase
-
Running, Jogging, Training How much to do so you dont overdo it.
galexcd replied to ~Upnorf Cr3w~'s topic in Health & Fitness
I wish I had the same endurance as you. I run for five minutes and I am dead tired. I should work on getting more in shape rather than sitting on the computer all day. Sigh... Anyway, about your question, I think haslip is right. Instead of constantly running, try similar activities such as swimming. Swimming is much easier on the body but uses the same amount of energy if you do it enough.