|
|
Posted in Computers & Tech / Programming / Scripting / PHP
Author: Feelay Total-Replies: 6 Hey! Is there any way to make a script run, even if no user is online. Because at the moment, my scripts run, only when a user is online. And another thing: How can i make the following: (this is just an example) mysql_query"SELECT maxhp FROM users WHERE username = 'allusers'"; How can I select all users maxhp, in the same query? Thanks //Feelay
Mon Mar 17, 2008
Reply New Discussion
Posted in Computers & Tech / Designing / Web Design and HTML
Author: websaint Total-Replies: 0 Sometimes it could be useful to know how many users you got online at the moment. You can do this very easely by simple adding this script to your site: CODE<?session_cache_expire (30); session_start(); function users() { $count = 0; $suksess = opendir(session_save_path()); if ($suksess == false) return -1; while (($file = readdir($suksess)) != false) { if (ereg("^sess", $file)) $count++; } closedir($suksess); return $count; } echo "Users online: " . users() . "<br>"; ?>
Tue Sep 28, 2004
Reply New Discussion
Posted in Computers & Tech / Designing / Web Design and HTML
Author: Kushika Total-Replies: 5 I use the following script: CODE<a href="http://www.fastonlineusers.com"><script src=http://fastonlineusers.com/online.php?d=www.YOURSITE.com></script> online</a><BR> I got it from http://www.fastonlineusers.com it simple, and only requires a user to have JavaScript enabled in their browser.
Sat Mar 4, 2006
Reply New Discussion
Posted in Computers & Tech / Software / Freeware
Author: TavoxPeru Total-Replies: 2 Generator is an online tool written in Javascript, PHP and MySql for use in testing software, populating databases, etc. that generate very quickly custom data in various formats like HTML, SQL, or XLS. It's free, open source and very easy to use. Best regards,
Wed Nov 21, 2007
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / PHP
Author: thenumberone Total-Replies: 18 Is there anyone got a online timed test script?Or anyone knows how to create this script? I wait your answers and all php programmers.
Wed May 10, 2006
Reply New Discussion
Posted in Computers & Tech / Databases
Author: thenumberone Total-Replies: 2 I made a php-nuke website.I have so many users.My users wanted a online timed(counts from 20 seconds)test(multiple choices).I made the login system.But I have problems in test stage.Users will be send questions to our database.And admin will control these questions.He will save it to our database or delete it from our database.And users will be race in a day only five times.And also they must be answer the questions in 20 seconds.There will be shown a counter in the question page that counts from 20 second.Also unregistered users can not be reach the test page by anyway.Or if they try this the page must be redirect him to register page.Only registered users can answer these questions.I think it will be possible by Session_start() and session_register and session_destroy codes or by setcookie.I have little time to this because of my university education.But I think you will help me.I search all internet pages but I couldn't find any useful scripts about this online timed test.But I will have more time in the summer holiday.Is it impossible?I think impossible is nothing!Can we put time script by javascript?But how can we connect it with our database?I mean that out of time there will be a page shown that echo like this "Sorry you answered false.Please restart our test...." or answered in 20 seconds "Congratulations.Please click to next question". Also istatistics of other users must be shown in the page.Also after all true answers the users score must be increase. So,I wait your ideas or helps or scripts. Regards.
Wed May 10, 2006
Reply New Discussion
Posted in Computers & Tech / Designing
Author: minasmir Total-Replies: 4 QUOTE (brisley)Does anyone know how to create and add a online application to a website? I am new at building websites myself. Thanks! in advance on any help you can give me.
[post="11738"]<{POST_SNAPBACK}>[/post]
There are many ways to do this. All of them involve some coding to be done. The easiest way would be to create an application using html form tags, then post the form to the users default mail client. They then send the text to you via an email. This only works if your user has a "real" email account (got to be done through outlook, netscape, thunderbird ect) Another way that this can be accomplished is to post the data to a php script that then mails the data to you. You can download a flash extension that includes a simple php script (this is the way I do) or, you can post to a similar file. I am not at home right now, but here is a link to a php script that will do just that. PHP Mailer Or try Macromedia for the flash extension/php script there. Of course, if you have a host that can use Cold Fusion, just use the CFMail tags (most hosts have php though, so this is the best way to go) **UPDATE** Did a bit of browsing last night. Here is the website of the really cool dude who made the flash for the emailer Black Blog It is in spainish, though english is a bit farther down. He has a single zip file that contains everything--even a pdf that explains the php script to handle the mailing.
Thu Dec 30, 2004
Reply New Discussion
Posted in Computers & Tech / Designing / Graphics Design
Author: Jhonny Total-Replies: 7 I want to put some images on my site using some image gallery script. Cpanel comes with a few. I tried 4images, it works Ok, but it doesn't create thumbnails automaticallly. Well it does, but you got go to admin page to create the thumbnails. What I'm looking for is a simple php gallery script which can generate thumbnails on the fly. Any suggestion?
Mon Sep 20, 2004
Reply New Discussion
Posted in Computers & Tech / Programming / Game Programming
Author: daman Total-Replies: 17 The script for that game is downloadable, search the web and you'll probely find one it uses PHP but you can download the game and put it on your site, Like TRAp17 has the Army System on their site.
Thu Apr 14, 2005
Reply New Discussion
Posted in Computers & Tech / Internet and Websites
Author: finaldesign Total-Replies: 3 i've never seen something like this... that should be awesome... try at some scripting page like www.onlyphp.com or www.hotscripts.com
Mon Jun 27, 2005
Reply New Discussion
Posted in Computers & Tech / Internet and Websites
Author: Vue Total-Replies: 4 Hello guys. Recently, my dad's website has been experiencing problems. You see, he has one of these political websites so he gets a lot of hacking attempts from communist Internet "police". I'm not sure of the CMS, but I know that it utilises Tiny MCE (which so far I think is something related to WYSIWYG editing). He usually only 30 online visitors at any one time, but just recently, he noticed there to be around 300 visitors. Definitely those "flooders". What the communist Internet police have tried to do a lot to the website was flood it with many many hits. The problem's been resolved by another member of the site's admin, but I'm unsure how they did so. Ah, and I can not give the link to this website due to identity issues. So...if in the future, what should be done? Do any of you guys know of some sort of script, plug-in...basically anything that can deter sucking up bandwidth?
Wed May 9, 2007
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / PHP
Author: mobious Total-Replies: 9 just grab the php manual at www.php.net. then just apply for hosting here. read the online documentation about gd functions. there are user-submitted scripts and comments.
Mon May 30, 2005
Reply New Discussion
Posted in Others / Gaming / Online Multiplayer RPG Games
Author: Tsuyuki Total-Replies: 3 Hey, this is Tsuyuki, Head Administrator of the Freya Ragnarok Online emulator. I just thought I'd let you all know that we're definately still alive, and going pretty strong. We need to rebuild our community though, so give us a visit. Freya Software Features: - Full Ragnarok Online Emulation - Cross-Platform Compatibility (Linux, Windows, etc) - Very Stable and Secure - MySQL or TXT Support - Easy-To-Use Configuration and Setup - Custom Database and Script Systems - Relatively Low CPU/RAM Usage - User-Friendly In-Game GM System - Very Customizable - Remote Management Capabilities - Many Tools for Easy Management Freya Game Mechanics Features: - Databases/Scripts Up-To-Date (Aegis 10.4+) - Up-To-Date with kRO Patches - All Classes Implemented (Including Advanced/Expanded Classes) - War of Emperium - Marriage and Adoption - Player Ranking System - [Coming Soon]Official Homunuclus: - http://img19.imageshack.us/img19/5786/screenfreya001hy7.jpg - A Variety of Custom Scripts Included - Many Other Features Freya Other Features: - Active Development Team (Daily Changes) - Fast Technical Support - In-Server Support (Only Me) Forums: http://freya.dns.st/forum/index.php?act=idx SVN: https://ookoo.org/svn/freya/
- Freya Head Administrator
Mon Jan 29, 2007
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / PHP
Author: Opethian Total-Replies: 16 Try using one of those frameworks, script.acolo.us or MooScript I think, they have some examples that I'm unsure of, but just might be exactly what you were looking for.
Sun Apr 30, 2006
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / PHP
Author: Feelay Total-Replies: 9 Hey! Anyone who know a tutorial where they teach you how to protect your scripts from danger (hacks and stuff)? I think I need to start to think about theese stuff now.
Thu Feb 28, 2008
Reply New Discussion
|