Search found 1179 matches

by Temor
Sat Aug 24, 2013 9:10 pm
Forum: Code
Topic: Made a cool little web tool =)
Replies: 6
Views: 2508

Re: Made a cool little web tool =)

Well, it depends on how much freedom you want the user to have.
The easiest thing to do would be to just not require any session to be active for the tool to work. That takes the least work.
by Temor
Sat Aug 24, 2013 9:08 pm
Forum: Tutorials
Topic: PHP Tutorial: Register and Login (Split)
Replies: 17
Views: 4959

Re: PHP Tutorial: Register and Login (Split)

You shouldn't mix functions into the page. In the long run it just makes things more cluttered and disorganized. I noticed that you are missing an "=" in between your name and their value on the username and email fields. Since you aren't displaying the error from the processing, this cou...
by Temor
Sat Aug 24, 2013 12:56 am
Forum: JavaScript
Topic: JQuery scrollTop issues for android
Replies: 5
Views: 3029

Re: JQuery scrollTop issues for android

You've probably tried this already, but this guy seems to have a working solution: m [syntax=javascript] if (navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/)) { window.scrollTo(200,100) // first value for left offset, second value for top offset }else{ $('html,body').animate({ scrollTop: 100,...
by Temor
Sat Aug 24, 2013 12:51 am
Forum: Tutorials
Topic: PHP Tutorial: Register and Login (Split)
Replies: 17
Views: 4959

Re: PHP Tutorial: Register and Login (Split)

Hello, first of all, please always create a new thread for your problem instead of reviving an old one. Secondly, I'd like to see more of your code. Post all of it. Nothing seems to be wrong with any of the code you posted, so the error is somewhere else. I would guess it's in the html page you have...
by Temor
Sat Aug 24, 2013 12:45 am
Forum: Code
Topic: Made a cool little web tool =)
Replies: 6
Views: 2508

Re: Made a cool little web tool =)

It looks like it's working. I'm not really familiar with bukkit so I'm not sure what's going on but it does what it's supposed to I guess. I don't see the need for the user to register first though. That will probably deter people from using it on-the-fly. And I'm glad you learned something from her...
by Temor
Tue Aug 20, 2013 8:03 pm
Forum: Tutorials
Topic: PHP Tutorial: Register and Login (User Account System) 3
Replies: 9
Views: 3834

Re: PHP Tutorial: Register and Login (User Account System) 3

in add_user you're only inserting data into user_password, not user_name. [syntax=php]function add_user($user, $pass){ $user = mysql_real_escape_string(htmlentities($user)); $pass = sha1($pass); mysql_query("INSERT INTO `users` (`user_password`) VALUES ('{$user}', '{$pass}')"); }[/syntax] ...
by Temor
Mon Aug 19, 2013 6:54 pm
Forum: Code
Topic: Contact Form
Replies: 4
Views: 2044

Re: Contact Form

It looks good! There are a few things I would change style-wise with your code to make it easier to read and understand, but other than that I see nothing wrong with it!

Good work :)
by Temor
Sun Aug 18, 2013 11:54 pm
Forum: Code
Topic: Jaceks Temporary Link Download Script - Working Version
Replies: 8
Views: 2791

Re: Jaceks Temporary Link Download Script - Working Version

We don't usually provide downloads here, but I'm not one to remove them if someone else posts them. Helx may do that if he feels we should have no downloads here at all. Also, may I ask what prompted you to create an account and post this? I've been visiting the forum for the last few weeks, and I ...
by Temor
Sun Aug 18, 2013 7:12 pm
Forum: Code
Topic: Jaceks Temporary Link Download Script - Working Version
Replies: 8
Views: 2791

Re: Jaceks Temporary Link Download Script - Working Version

We don't usually provide downloads here, but I'm not one to remove them if someone else posts them. Helx may do that if he feels we should have no downloads here at all. Also, may I ask what prompted you to create an account and post this? I've been visiting the forum for the last few weeks, and I ...
by Temor
Sun Aug 18, 2013 12:50 pm
Forum: Code
Topic: Jaceks Temporary Link Download Script - Working Version
Replies: 8
Views: 2791

Re: Jaceks Temporary Link Download Script - Working Version

We don't usually provide downloads here, but I'm not one to remove them if someone else posts them. Helx may do that if he feels we should have no downloads here at all. Also, may I ask what prompted you to create an account and post this? I've been visiting the forum for the last few weeks, and I ...
by Temor
Sun Aug 18, 2013 12:48 am
Forum: Code
Topic: Jaceks Temporary Link Download Script - Working Version
Replies: 8
Views: 2791

Re: Jaceks Temporary Link Download Script - Working Version

We don't usually provide downloads here, but I'm not one to remove them if someone else posts them. Helx may do that if he feels we should have no downloads here at all.

Also, may I ask what prompted you to create an account and post this? :)
by Temor
Fri Aug 16, 2013 5:37 pm
Forum: PHP
Topic: empty query
Replies: 5
Views: 3024

Re: empty query

All of this is explained in the avatar / profile picture tutorials. You don't actually upload the image to the database. You just save the location of the image ( example: C:\\Webstuff\images\quanyii.jpg ) and insert that into the database. You then fetch that location when showing the image: [synta...
by Temor
Fri Aug 16, 2013 5:32 pm
Forum: Other
Topic: Mobile Development
Replies: 4
Views: 1922

Re: Mobile Development

I could, but there is no reason to. Just let it die and forget about it :)
by Temor
Thu Aug 15, 2013 9:45 pm
Forum: PHP
Topic: empty query
Replies: 5
Views: 3024

Re: empty query

The error message isn't really an error message. It tells you it doesn't like you using a function as a parameter to a function. [syntax=php] $file_ext = end(explode('.', $_FILES['image']['name']));[/syntax] You can do one of two things: 1) Split the line into two: [syntax=php] $file_ext = explode('...
by Temor
Thu Aug 15, 2013 2:00 pm
Forum: PHP
Topic: empty query
Replies: 5
Views: 3024

Re: empty query

Could you post the exact error message? it usually contains a hint as to where you should look.

I have a few suggestions on things you should change with your code. I'll get to that once we've solved your initial problem.
by Temor
Sun Aug 11, 2013 2:12 am
Forum: General Chat
Topic: A sign of life!
Replies: 6
Views: 4939

Re: A sign of life!

EcazS wrote:Next login will be December 24th.

Let's hope he's got time for us before that!
by Temor
Fri Aug 09, 2013 4:26 am
Forum: General Chat
Topic: A sign of life!
Replies: 6
Views: 4939

Re: A sign of life!

Helx wrote:Oh good.
I was starting to think he was dead :3


Me too! I was a little bit worried.
by Temor
Fri Aug 09, 2013 1:55 am
Forum: General Chat
Topic: A sign of life!
Replies: 6
Views: 4939

A sign of life!

Finally, our elusive leader has shown a sign of life!
Image
by Temor
Tue Aug 06, 2013 4:59 pm
Forum: PHP
Topic: help with paypal api
Replies: 3
Views: 2378

Re: help with paypal api

I think PHPAcademy made a tutorial on how to create a "Premium" service through paypal. It covered most of what you need.
by Temor
Mon Aug 05, 2013 10:37 pm
Forum: Other
Topic: Mobile Development
Replies: 4
Views: 1922

Re: Mobile Development

I'm confused...
Is this a Java question, or a PHP question?
by Temor
Fri Aug 02, 2013 4:44 pm
Forum: General Chat
Topic: Kickstarting the activity here.
Replies: 45
Views: 18716

Re: Kickstarting the activity here.

EcazS wrote:If you buy online, make sure you buy from Inet.se and use this https://www.inet.se/produkt/6101343/fra ... over-500kr

I would, but they don't have any decent ones, only a crappy Deltaco headset mic on a stick.


I'm probably going with one of these: http://bluemic.com/yeti/
because then I can use it for more than one thing, and I'll never have to buy a new microphone :P