Search found 1179 matches

by Temor
Thu Jan 30, 2014 6:54 pm
Forum: Suggestions
Topic: POST image and text system
Replies: 10
Views: 5139

Re: POST image and text system

You should not write your code in all lowercase letters. It makes it extremely hard to follow your code. SQL is especially hard to read when all lowercase. Here's a few pointers: Make the "keywords" all caps. [syntax=php]$sql = "SELECT user_id,body, stamp FROM posts WHERE user_id in (...
by Temor
Thu Jan 30, 2014 2:22 pm
Forum: Suggestions
Topic: POST image and text system
Replies: 10
Views: 5139

Re: POST image and text system

You're welcome :)
No matter how stupid your questions may be, don't be afraid to ask them. I am happy to help! :)
by Temor
Thu Jan 30, 2014 9:01 am
Forum: PHP
Topic: Limit to 1 post per day
Replies: 19
Views: 9380

Re: Limit to 1 post per day

It really does not matter at all what other information you store in your database. For this purpose only the timestamp is relevant. You need to take your timestamp, which is just a long string of numbers ( 1391071823 ) and see if the date is today, if not, then allow to post. I would do this simply...
by Temor
Thu Jan 30, 2014 12:12 am
Forum: PHP
Topic: Limit to 1 post per day
Replies: 19
Views: 9380

Re: Limit to 1 post per day

There are many things you can do here. Most of them includes timestamps. One way is making a new column for the users in your db and insert a timestamp in it every time the user posts, and then compare that with your servers local timestamp and do some math to figure out if the post was made today o...
by Temor
Wed Jan 29, 2014 10:38 pm
Forum: Suggestions
Topic: POST image and text system
Replies: 10
Views: 5139

Re: POST image and text system

The thing about this forum is we won't actually write any code for you. You'll have to do all that by yourself. If I wanted to write code for people I would take up (another) freelancing job, and get paid for it. You write as much code as you can manage by yourself, and me and the others here will c...
by Temor
Mon Jan 27, 2014 7:41 pm
Forum: PHP
Topic: use session in another directory folder...
Replies: 2
Views: 1370

Re: use session in another directory folder...

I'm sorry but I have no idea what you're trying to do. Instead of calling them Folder1,2 and 3, give them a real name.
by Temor
Mon Jan 27, 2014 7:40 pm
Forum: PHP
Topic: Need help with a live minecraft server status checker.
Replies: 2
Views: 1581

Re: Need help with a live minecraft server status checker.

You have many ways of auto refreshing.
You can:
Auto refresh using ajax / javascript. This is essentially the same as pressing F5 every few minutes.
Run a Cron Job.

However, making it update when someone joins requires push notifications, and that's not something I can easily explain.
by Temor
Mon Jan 27, 2014 3:57 am
Forum: Suggestions
Topic: POST image and text system
Replies: 10
Views: 5139

Re: POST image and text system

Start by watching these tutorials:

Blog:
http://betterphp.co.uk/playlist.html?pi ... BA2F21ED08

Register & Login:
http://betterphp.co.uk/playlist.html?pi ... AE4FE98280

there is quite a bit of work if you're completely new to php, but if you start somewhere I'll be happy to help.
by Temor
Mon Jan 27, 2014 3:55 am
Forum: Other
Topic: Album tutorial
Replies: 3
Views: 3909

Re: Album tutorial

by Temor
Mon Jan 20, 2014 1:59 am
Forum: General Chat
Topic: Tutorials?
Replies: 15
Views: 8598

Re: Tutorials?

davestechuk wrote:Sounds like a great idea folks. Sorry I haven't been around much had a few family issues I had to sort out.


There is nothing to be sorry for. This isn't your day job! :)
by Temor
Sat Jan 18, 2014 4:07 pm
Forum: General Chat
Topic: Tutorials?
Replies: 15
Views: 8598

Re: Tutorials?

Just send me a PM on here and it'll go to my email inbox.
by Temor
Fri Jan 17, 2014 12:22 am
Forum: General Chat
Topic: Tutorials?
Replies: 15
Views: 8598

Re: Tutorials?

If he's taking "Time off" it would still be a good idea to let us know about it. Right now we're fumbling in the dark, not really knowing if he's abandoned ship completely or if he's just locked up in the captains quarters, contemplating life. I've sent him a few emails to no avail, and I'...
by Temor
Wed Jan 15, 2014 1:28 pm
Forum: General Chat
Topic: Tutorials?
Replies: 15
Views: 8598

Re: Tutorials?

I've considered it on multiple occasions, but it's a whole lot of work for little to no reward. We will not get any of the ad revenue. Jacek will recieve every cent. We also can't do any modifications to the forums, and the spambots are running rampant. If we draw more attention here it will only br...
by Temor
Fri Jan 03, 2014 8:08 pm
Forum: General Chat
Topic: Poll Site Feedback
Replies: 4
Views: 3926

Re: Poll Site Feedback

First of all, the colors!!! They are hurting my eyes!! Design wise, you have some work do to, clearly. But otherwise it's looking like you've got the basics done. I would, instead of having a drop down list with how many options you want, either let the user type in the number himself or show him a ...
by Temor
Fri Jan 03, 2014 7:51 pm
Forum: General Chat
Topic: ASP.NET MVC 5 vs PHP
Replies: 7
Views: 7195

Re: ASP.NET MVC 5 vs PHP

People pick ASP because it's Microsoft. Very rarely have I seen people who know what they are talking about pick ASP over PHP, it happens sometimes but very rarely. It usually happens with people who learnt ASP before anything else. If he likes MVC why not just use a MVC framework for PHP? ASP is m...
by Temor
Tue Dec 31, 2013 6:07 pm
Forum: General Chat
Topic: Happy 2014
Replies: 2
Views: 3724

Happy 2014

To whoever still comes here... These past few years have been real fun.
I've learnt so much from you guys!

Even though this place isn't as active as it used to be, I still wish every single one of you a happy new year and hope next year is better than the last.


Best Regards, Temor.
by Temor
Fri Dec 27, 2013 7:01 pm
Forum: General Chat
Topic: I'm back. Sort of.
Replies: 2
Views: 3993

I'm back. Sort of.

Sorry for being so absent this past month. I just came back and was overwhelmed by all the spam. Over 45.000 spam posts!!! :O I'll do my best to start checking here every day from now on. And if things ever get really bad, you can always email me using the button on my profile or send me a private m...
by Temor
Sun Nov 24, 2013 8:13 pm
Forum: General Chat
Topic: Kickstarting the activity here.
Replies: 45
Views: 18434

Re: Kickstarting the activity here.

I don't think so. It comes and goes. It worked the other day and then some time today it did not. Now it seems like it's working again :P

/Edit; Nope... Doesn't work now.
by Temor
Sun Nov 24, 2013 8:12 pm
Forum: PHP
Topic: API Security Check
Replies: 2
Views: 1550

Re: API Security Check

That's quite a bit of code. It'll take some time looking through it and learning your code before I can make any judgement.
I'll get back to you.
by Temor
Fri Nov 22, 2013 8:59 am
Forum: General Chat
Topic: Minecraft!
Replies: 29
Views: 10772

Re: Minecraft!

EcazS wrote:Anyone got a server or something?
Is the official BetterPHP (SomethingCraft) server down?

I guess so... I haven't been able to connect.

I'm playing public servers at the moment. There are a bunch of free ones with thousands of slots on them, like Armadacraft.
by Temor
Thu Nov 21, 2013 7:40 pm
Forum: Other
Topic: MITM attack
Replies: 10
Views: 3492

Re: MITM attack

Yes that is exactly what I meant, sorry for being so vague :P