-
Posts
2,210 -
Joined
-
Last visited
-
Days Won
47
Content Type
Profiles
Forums
Events
Everything posted by sniko
-
At Waxspace :- Cheap cPanel hosting 24*7 support.
sniko replied to Archie M. Coleman's topic in Advertising offers
rekt. -
Make sure you remove it when you go into production.
-
But seriously, ok... why are you telling me?
-
You charmer ;) Might drop it this weekend then, maybe.
-
Or... you know.... ini_set('display_errors', 1); error_reporting(E_ALL); ;) Personally, I dislike the error handler that is shipped - might drop my custom one if there is enough interest
-
Because you bumped a thread when it was last active 5 years ago. 3 years old if we count this reply. But still, it's a useless bump :)
-
I don't mind providing help/support/spoonfeeding, just as long as the receiver uses their brain. For example; My Reply states "That PHP snippet is supposed to go into register after a user is inserted in the database. " and your reply included " do I just enter it into my header.php file?" - my reply states it's the register file, yet you overlooked that part. That's probably what [MENTION=69001]Zettieee[/MENTION] picked up on too.
-
Valid point :)
-
Thanks what do I save the php file as? That PHP snippet is supposed to go into register after a user is inserted in the database. Choose 1 solution out of the 2. And possibly explain it a little clearer please? I'm not sure what part needs explaining Do I add the sql? Yes, execute the SQL statements once (if you choose the trigger approach) Is there a code I can save as a .doc or .txt file and it alters the tables or whatever. What? Just run it in your MySQL client (PHPMyAdmin, SQLBuddy, Navicat, w/e)
-
This has been explained and posted on this forum many times. Nevertheless; Using MySQL trigger # Set default unread mail to 1 because we will have a trigger ALTER TABLE `users` MODIFY COLUMN `new_mail` int(5) NOT NULL DEFAULT 1 AFTER `new_events`; # On INSERT into users table, it will insert a new event record for the user. CREATE TRIGGER `send_event_from_admin` AFTER INSERT ON `users` FOR EACH ROW INSERT INTO events (evUSER,evTIME,evREAD,evTEXT) VALUES (new.id, unix_timestamp(), 0, 'Welcome to the game. This is a message from the admins! Yay.'); # On INSERT, send them a new mail CREATE TRIGGER `send_mail_from_admin` AFTER INSERT ON `users` FOR EACH ROW INSERT INTO mail (mail_read,mail_from,mail_to,mail_time,mail_subject,mail_text) VALUES (0, 1, new.id, unix_timestamp(), 'A welcome subject', 'Welcome to the game. This is a message from the admins! Yay.'); Using code $userid = $db->insert_id(); //... //Send the user an event event_add($userid, 'Welcome to the game. This is a message'); //Send the user a mail $db->query("INSERT INTO `mail` (`mail_read`,`mail_from`,`mail_to`,`mail_time`,`mail_subject`,`mail_text`) VALUES (0, 1, ". $userid .", unix_timestamp(), 'Welcome to the game', 'This is a message from the admins! Yay.')"); $db->query("UPDATE users SET `new_mail` = `new_mail` + 1 WHERE `userid`=". $userid);
-
Their previous thread: http://makewebgames.io/showthread.php/45597-Any-one-interested-in-2-app-game-sites-for-sale Insecure game (at the time of the other thread): http://soldierwarfare.com They've changed the name at the bottom, but this version captured by the archive shows their name on it - not sure if it's still their game and they're selling another though.
-
Is this the same game you advertised a while ago, and I spotted a few security holes; e-mailed you and didn't get a response. Is it still vulnerable?
-
Are you asking how to change the text color of an anchor tag?
-
CONGRATULATIONS The winner of the giveaway is [MENTION=70655]Damond[/MENTION]! I'll PM you the coupon code now. Thanks to the people who participated. Whenever you upgrade your Pusher account, enter the coupon code SNIKO_REALTIME_50 for 50$ Pusher credit!
-
[MENTION=69576]LeeMason[/MENTION] - I use services like this (as previously hinted, I use Enpass) along with Apple Keychain - both are fantastic. I'll look into your recommendation later tonight and see if I fancy to migrate :D Woo! 2,000th post! Achievement unlocked?
-
Does it offer migration from tools like Enpass?
-
Giveaway is now closed To celebrate the launch of Integration of Pusher with McCodes, the great guys at Pusher have sent me a 150$ coupon for someone to use. This will grant them 150$ credit on their pusher account, which will give you the freedom of 3 months free* with Pusher! To enter the giveaway Launch the Pusher chat module, on to your game (either live or your development environment - to show your interest in Pusher) Reply to this thread with a link to your game (development environment needs to be open to validate the install), and a brief summary of your game Giveaway will close Monday 18th May 2015 Winner will be chosen by the post number at random, using random.org. If a winner doesn't qualify, I will re-roll. * Using the Startup package Post count won't be taken into consideration. So if you're a lurker and have the modification installed, signup and enter this giveaway :) Signup to Pusher and enter coupon code SNIKO_REALTIME_50 when upgrading your package for a free 50$ Optionally, you can hit like on this thread ;)
-
It's in the OP. It's always been in the OP.
-
No. Making something universal in such a niche market with a direct targeted audience would be pointless. Though, making a universal version would be beneficial to release elsewhere, sure.
-
> the space between the ! and array_key_exists() ? i'd remove it anyway just incase No, it doesn't matter. You need that condition to go through a NOT gate (ie: make true become false and vice versa). Though, you can do this instead; if(array_key_exists('uid', $_SESSION) === FALSE AND !in_array($_GET['page'], array('signup', 'index')) ) { [MENTION=71090]Fraserb[/MENTION] - I'll be able to assist you in ~2 hours from now via Skype
-
If there is enough interest in Panther, I can publish an updated version and accompany it with a website to help with installation and FAQ's. [MENTION=71090]Fraserb[/MENTION] - I'm currently at work. If you haven't sorted it before I get home (in 5 hours), please add me on skype. (harry.sniko) - or add me on Skype anyway :p Thanks! (Thanks [MENTION=68711]KyleMassacre[/MENTION] and [MENTION=69670]Script47[/MENTION])
-
How would we purchase this? What payment methods do you accept? What kind of support is offered? How extendible is BlueImp? Does it come with any stuff functionality? We cannot register to your test site. "Closed beta - means you can't reg" This is a nice alternative to the Pusher system I dropped :) Nice work!
-
I'll re-upload tonight, or if you add me on Skype I'll send it to you through there. Also please read this.
-
At Waxspace :- Cheap cPanel hosting 24*7 support.
sniko replied to Archie M. Coleman's topic in Advertising offers
These are probably actual people registering, btw (not bots) They use an actual human name rather than a handle because it makes their hosting look more legit and professional... until you see their Twitter feed. -
Start with reading What is SQL injection, then read OWASP #1 and OWASP #2. I'm not giving you every answer, sorry.