![Smile :)](./images/smilies/icon_e_smile.gif)
Search found 1179 matches
- Fri Dec 07, 2012 3:18 am
- Forum: Introductions
- Topic: Hello.
- Replies: 5
- Views: 20322
Re: Hello.
Welcome ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- Fri Dec 07, 2012 3:17 am
- Forum: General Chat
- Topic: A leap of faith.
- Replies: 11
- Views: 1975
Re: A leap of faith.
I'm having some trouble installing Ubuntu unfortunatetly. It has a fatal error installing "Grub". I'm going to by an optical reader tomorrow and try with a live cd install.
If anyone has any other quick fix for this error, feel free to post them![Wink ;)](./images/smilies/icon_e_wink.gif)
If anyone has any other quick fix for this error, feel free to post them
![Wink ;)](./images/smilies/icon_e_wink.gif)
- Thu Dec 06, 2012 2:40 pm
- Forum: General Chat
- Topic: A leap of faith.
- Replies: 11
- Views: 1975
A leap of faith.
My HDD broke down yesterday, and subsequently, so did I. So I'm taking this opportunity to fling Windows, well, out the window, and instead try my hand at Ubuntu. I will be going for the 12.10 build. Any tips on things to do that would make this easier for me? I've only spent a few hours or so with ...
- Fri Nov 30, 2012 4:55 am
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11342
Re: cannot edit profile
Well, this code [syntax=php]<?php
mysql_query("UPDATE `users` SET `grad` = '{$grad}', `drzava` = '{$drzava}',`fan` = '{$fan}', `website` = '{$website}' WHERE `uid`='{$uid}'");
?>[/syntax]
is out of place.
go back and watch the tutorial again and you'll see where to put this.
mysql_query("UPDATE `users` SET `grad` = '{$grad}', `drzava` = '{$drzava}',`fan` = '{$fan}', `website` = '{$website}' WHERE `uid`='{$uid}'");
?>[/syntax]
is out of place.
go back and watch the tutorial again and you'll see where to put this.
- Fri Nov 30, 2012 4:54 am
- Forum: Tutorials
- Topic: Errors after having completed the blog with comments tut.
- Replies: 3
- Views: 1287
Re: Errors after having completed the blog with comments tut
Instead of a zip file, please copy and paste all of your code here inside php syntax tags,
[syntax=text][syntax=php][/syntax][/syntax]
and I will do my best to assist you in solving this.
[syntax=text][syntax=php][/syntax][/syntax]
and I will do my best to assist you in solving this.
- Thu Nov 29, 2012 3:38 pm
- Forum: PHP
- Topic: Zip and Download a folder
- Replies: 5
- Views: 1098
Re: Zip and Download a folder
That just tells you that php doesn't like it when you pass a function as a parameter in another function. You could split it up so that you only pass variables through, and the error would go away, but it's not necessary. You can turn off strict mode and the error will disappear. [syntax=php]error_r...
- Thu Nov 29, 2012 1:13 pm
- Forum: General Chat
- Topic: Website Update
- Replies: 18
- Views: 3085
Re: Website Update
Well, I suck at regular expressions, so a tool that helps with that would be nice. Or a .htaccess tool. Or both?
I use these. There are probably even better tools out there, so if anyone know of them, please do share.
http://gskinner.com/RegExr/
http://www.htaccesseditor.com/en.shtml
I use these. There are probably even better tools out there, so if anyone know of them, please do share.
http://gskinner.com/RegExr/
http://www.htaccesseditor.com/en.shtml
- Tue Nov 27, 2012 10:03 pm
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11342
Re: cannot edit profile
you need another closing parentheses here:
[syntax=php]if(isset($_POST['name']){[/syntax]
[syntax=php]if(isset($_POST['name']){[/syntax]
- Tue Nov 27, 2012 6:41 pm
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11342
Re: cannot edit profile
Well, you set $errors at the top of the page, which means isset($errors) will always equal true, and since the array is in fact empty, the second if statement will be true. What you might want to do is check to see if the form has been submitted before you set the $errors array. [syntax=php]if(isset...
- Tue Nov 27, 2012 4:20 pm
- Forum: General Chat
- Topic: Website Update
- Replies: 18
- Views: 3085
Re: Website Update
I do. I also have Gmail notifications on, so I get a horrible beeping sound and a popup on my pc as well as my phone and samsung tablet whenever I get an email. Which is often. Sometimes it sounds like a concerto of email-notifications. Having another annoying beeping sound going off every five minu...
- Tue Nov 27, 2012 3:46 pm
- Forum: General Chat
- Topic: Website Update
- Replies: 18
- Views: 3085
Re: Website Update
Yuck. That sounds absolutely horrible.
- Tue Nov 27, 2012 12:56 pm
- Forum: General Chat
- Topic: Website Update
- Replies: 18
- Views: 3085
Re: Website Update
It seems like you have this very much thought out already, and I'm very excited to see where this leads
A livestream sounds like fun, if there are means for everyone to communicate properly ( a 250 px wide chatroom is not a proper way to communicate ). One way streams are boring.
![Smile :)](./images/smilies/icon_e_smile.gif)
A livestream sounds like fun, if there are means for everyone to communicate properly ( a 250 px wide chatroom is not a proper way to communicate ). One way streams are boring.
Re: MineQuery
that means that the function is failing, which means one of these things:
1 You have the wrong IP
2 You have the wrong PORT
3 You don't have access to said IP or PORT
4 The server is down.
Check that everything is correct.
1 You have the wrong IP
2 You have the wrong PORT
3 You don't have access to said IP or PORT
4 The server is down.
Check that everything is correct.
- Fri Nov 16, 2012 10:52 pm
- Forum: PHP
- Topic: Also thumbnails are watermarked
- Replies: 6
- Views: 1140
Re: Also thumbnails are watermarked
Well, that probably has something to do with how the create_thumbs and image_handler functions work. I can't find either on php.net so I guess it's custom. If you could post the code and or the docs for it that would help.
Re: MineQuery
if you dump the $info variable, do you get bool(false) ?
[syntax=php]var_dump($info);[/syntax]
[syntax=php]var_dump($info);[/syntax]
- Fri Nov 16, 2012 8:17 pm
- Forum: PHP
- Topic: Also thumbnails are watermarked
- Replies: 6
- Views: 1140
Re: Also thumbnails are watermarked
Well, your creating the image before you create the thumbnail. Switch these lines around: [syntax=php]image_handler($source_image,$destination,$tn_w,$tn_h,$quality,$wmsource); create_thumb('uploads/'.$album_id.'/', $image_file, 'uploads/thumbs/'.$album_id.'/'); [/syntax] so that create_thumb comes b...
Re: MineQuery
Do you get the values you were expecting from $info['playerCount'] and $info['maxPlayers'] ?
Re: MineQuery
Post your code here using [syntax=text][syntax=php][/syntax][/syntax] tags.
- Wed Nov 14, 2012 7:23 pm
- Forum: PHP
- Topic: Warning: Invalid argument
- Replies: 4
- Views: 908
Re: Warning: Invalid argument
It's telling you that $images is not a valid array. Try printing it out to see what happens.
[syntax=php]print_r($images);[/syntax]
if that doesn't work, try var dump
[syntax=php]var_dump($images);[/syntax]
[syntax=php]print_r($images);[/syntax]
if that doesn't work, try var dump
[syntax=php]var_dump($images);[/syntax]
- Mon Nov 12, 2012 1:44 pm
- Forum: PHP
- Topic: Jacek's Create Zip files tutorial
- Replies: 2
- Views: 721
Re: Jacek's Create Zip files tutorial
I'm not sure I understand completely. You're saying you have more than one folder, but not what kind of folders. Why do you need more than one, and where are these other folders located? You can rename it easily. I don't see where the problem is. [syntax=php]$zip->open('anyNameHereWillWork.zip', Zip...
- Mon Nov 12, 2012 1:37 pm
- Forum: PHP
- Topic: Undefined index:
- Replies: 6
- Views: 1104
Re: Undefined index:
Well, as I said, it's not an error. It's a Notice. It's notifying you that something could potentially be wrong, not that it is wrong.