Search found 345 matches

by Helx
Tue Jun 04, 2013 10:32 am
Forum: Tutorials
Topic: Getting errors in the reg / login system
Replies: 6
Views: 1796

Re: Getting errors in the reg / login system

Line 3 of the first block of code you gave.
You're using Windows, so you don't follow Linux/UNIX file structure.

Change "/" to "\" ONLY on line 3 :)
by Helx
Tue Jun 04, 2013 7:53 am
Forum: Tutorials
Topic: Getting errors in the reg / login system
Replies: 6
Views: 1796

Re: Getting errors in the reg / login system

Please post the entire PHP file in syntax tags (the "PHP" button in the editor). The error you got was because of PHP not being able to find the file you're suggesting. I would guess that there's an issue with the variable $path that you're setting, though we can't know this unless you giv...
by Helx
Sun May 26, 2013 7:32 am
Forum: PHP
Topic: Strict Standards Error...
Replies: 6
Views: 1058

Re: Strict Standards Error...

It may have been because you had used a super-global instead of a standard variable.
If you want to know more it would pay to Google it.
by Helx
Sun May 26, 2013 7:21 am
Forum: PHP
Topic: Strict Standards Error...
Replies: 6
Views: 1058

Re: Strict Standards Error...

Well then.

Just put

[syntax=php]error_reporting(E_ERROR);[/syntax]
near the top of all pages doing that.
See how it goes.
by Helx
Sun May 26, 2013 6:57 am
Forum: PHP
Topic: Strict Standards Error...
Replies: 6
Views: 1058

Re: Strict Standards Error...

Does the error completely disrupt the functionality of the script or can it be ignored?
(I'm not quite sure what the error means but it doesn't sound very important tbh :3 )
by Helx
Fri May 24, 2013 9:56 pm
Forum: General Chat
Topic: Classes
Replies: 3
Views: 5732

Re: Classes

'Cause #YOLO. :D

I think they just look more professional, maybe a bit easier to manage.
by Helx
Fri May 24, 2013 5:19 am
Forum: (X)HTML
Topic: Progress Bar html / java
Replies: 1
Views: 2554

Re: Progress Bar html / java

Hi there,

I've found a little jQuery script on Google.
Read the entire page if you have idea how to use it :)

http://tpa.im/jp

If you have any trouble, just let me know and I'm sure I or somebody else could help you with implementation or setup.
by Helx
Wed May 22, 2013 4:42 am
Forum: PHP
Topic: Generate dynamic page based on link clicked.
Replies: 6
Views: 1030

Re: Generate dynamic page based on link clicked.

Why would you use the \"stuff\" anyway? Well, I like to be able to put variables straight into the string, so instead of having to break the whole thing by doing: [syntax=php]'something '. $var .' sdf';[/syntax] I can just: [syntax=php]"something {$var} sdf";[/syntax] Which requ...
by Helx
Tue May 21, 2013 7:43 pm
Forum: PHP
Topic: Generate dynamic page based on link clicked.
Replies: 6
Views: 1030

Re: Generate dynamic page based on link clicked.

I personally would set up the link like: [syntax=php]echo "<a href=\"player.php?player={$row['players']}\">{$row['players']}</a>";[/syntax] (Note the double quotes and backslashes) You might also want to be careful with displaying content direct from the GET variable, anybody can...
by Helx
Mon May 20, 2013 7:27 am
Forum: PHP
Topic: Generate dynamic page based on link clicked.
Replies: 6
Views: 1030

Re: Generate dynamic page based on link clicked.

Hi. It's not all that difficult If you had something like: [syntax=text]player.php?player=test1&foo=1&what=loljk[/syntax] you could access it all in code like so: [syntax=php]<?php echo $_GET['player']; // Displays "test1" echo $_GET['foo']; // Displays "1" echo $_GET['wh...
by Helx
Sun May 12, 2013 8:46 am
Forum: Tutorials
Topic: PHP Tutorial: Minecraft Server Information (No Plugins Neede
Replies: 19
Views: 5054

Re: PHP Tutorial: Minecraft Server Information (No Plugins N

I really have no clue :/
All I can suggest is that you put

[syntax=php]error_reporting(E_ALL);
ini_set('display_errors', '1');[/syntax]

At the top of your code and see if anything comes up.
by Helx
Sat May 11, 2013 9:31 pm
Forum: PHP
Topic: Best way to gather minecraft player stats
Replies: 2
Views: 754

Re: Best way to gather minecraft player stats

When you say "player stats", what do you mean by this?

Do you mean like what is done on SomethingCraft? http://somethingcraft.co.uk/player_prof ... ame=snwulf
Or just who is online?
by Helx
Sat May 11, 2013 7:55 am
Forum: Tutorials
Topic: PHP Tutorial: Minecraft Server Information (No Plugins Neede
Replies: 19
Views: 5054

Re: PHP Tutorial: Minecraft Server Information (No Plugins N

Line 18 of mc.inc.php, change UTF8 to utf-8
by Helx
Sat May 11, 2013 2:51 am
Forum: Tutorials
Topic: PHP Tutorial: Minecraft Server Information (No Plugins Neede
Replies: 19
Views: 5054

Re: PHP Tutorial: Minecraft Server Information (No Plugins N

In your <head> try putting this: <meta charset="utf-8">
See if that helps :)
by Helx
Thu May 09, 2013 9:09 am
Forum: Tutorials
Topic: PHP Tutorial: Minecraft Server Information (No Plugins Neede
Replies: 19
Views: 5054

Re: PHP Tutorial: Minecraft Server Information (No Plugins N

I would suggest x10vps.com (link).
If you have any problems with their service, you can always submit a ticket.

There customer service is excellent :)
by Helx
Wed May 08, 2013 4:42 am
Forum: Tutorials
Topic: PHP Tutorial: Minecraft Server Information (No Plugins Neede
Replies: 19
Views: 5054

Re: PHP Tutorial: Minecraft Server Information (No Plugins N

Most VPS services have all ports open.
by Helx
Wed May 08, 2013 4:40 am
Forum: (X)HTML
Topic: Form not submitting
Replies: 2
Views: 1738

Re: Form not submitting

In the <form> tag put: action="".
This will submit the form to the current page.
by Helx
Thu Apr 25, 2013 5:02 am
Forum: General Chat
Topic: Google
Replies: 2
Views: 4228

Re: Google

If Google doesn't have any suggestions for the entire query, it just suggests likely spelling.
But that's just ridiculous xD
by Helx
Thu Apr 18, 2013 4:32 am
Forum: JavaScript
Topic: JQuery Chat Kick/Ban
Replies: 2
Views: 1833

Re: JQuery Chat Kick/Ban

I'd imagine that's like 500 people reloading your page every second... Maybe not the best way to go about it? Instead, why not check if they're banned when they try to chat? And of course maybe do what you're doing now to check if they've been kicked, but at a much larger check rate (I'd advise abou...
by Helx
Thu Apr 18, 2013 4:26 am
Forum: PHP
Topic: Blog/comments integration with login
Replies: 7
Views: 1719

Re: Blog/comments integration with login

Oh I see what you wanted to do now :)
But I must say, you could probably use type="hidden" to get the same effect as what you now have.
by Helx
Thu Apr 18, 2013 4:03 am
Forum: Tutorials
Topic: PHP Tutorial: Private Message System [part 04] HELP!
Replies: 4
Views: 1856

Re: PHP Tutorial: Private Message System [part 04] HELP!

If you aren't getting any errors but the problem persists, try going through your mysql queries. Remember, they aren't normally exactly the same as in the tutorials (check column names, etc). If everything is as it should be, check to see if there is data in the mysql table that is positive in your ...