Search found 237 matches

Search found 237 matches Page 3 of 24
by rocky4126
Tue Jan 01, 2013 7:39 pm
Forum: Help & Support
Topic: Change a user password with php? need help!
Replies: 6
Views: 2610

Filip, you missed a ' after ['password']." ;)
by rocky4126
Sun Dec 09, 2012 2:43 pm
Forum: Codenstuff boardroom
Topic: 3 Years
Replies: 6
Views: 1863

3 years 23 days and still glad to be a member. It sure is amazing how far Codenstuff's come in 3 years.
by rocky4126
Sat Dec 01, 2012 11:10 pm
Forum: Tutorials
Topic: [PHP] Make your site multilang!
Replies: 6
Views: 4148

one question, why use sessions and cookies at the same time? They both serve the same purpose, just one is clientside and the other is serverside.
by rocky4126
Fri Nov 30, 2012 11:39 pm
Forum: Codenstuff boardroom
Topic: Idea for a new forum section
Replies: 0
Views: 514

So I've been developing extensively recently on my server and such and I've become pretty keen of Node.JS. I think there should be a section on the forum dedicated to it seeing as though it's a pretty nice language for beginners of server-side code. It took me about 3 days to learn it to the point o...
by rocky4126
Fri Nov 30, 2012 11:33 pm
Forum: Help & Support
Topic: PHP - how to delete a row from CSV file ?
Replies: 1
Views: 1191

You could try function delline($file,$str){ if(!$fp = fopen($file,"w+")){ return false; } if(!$cont = fread($fp)){ return false; } $cont = str_replace($str."\r\n","",$cont); if(!fwrite($fp,$cont)){ return false; } if(!fclose($fp)){ return false; } return true; } all of ...
by rocky4126
Thu Oct 18, 2012 3:22 pm
Forum: Help & Support
Topic: Change a user password with php? need help!
Replies: 6
Views: 2610

a simple "UPDATE `{table_name}` SET `{col1}` = '{val1}' AND `{col2}` = '{val2}'" should work for you.
by rocky4126
Thu Oct 18, 2012 3:20 pm
Forum: Help & Support
Topic: how to convert numbers to words in php
Replies: 6
Views: 2270

It is possible with some libraries e.g. it was managed in nodejs. C++ is your best bet for PHP incorporation though seeing as though that's the closest to the base language.
by rocky4126
Wed Aug 22, 2012 2:47 pm
Forum: Codenstuff boardroom
Topic: Logi Indexes(Includes Codename Loole!)
Replies: 4
Views: 1305

You might wanna use a function like $db->prepare (PDO) or mysql_real_escape_string (mysql_*). If you're using mysql_* I highly suggest switching to PDO.
by rocky4126
Wed Aug 22, 2012 2:25 pm
Forum: Codenstuff boardroom
Topic: Happy birthday hungryhounduk
Replies: 7
Views: 1776

Happy birthday!

I know GLaDOS said the cake was a lie, but:

Image
by rocky4126
Wed Feb 22, 2012 3:53 pm
Forum: Help & Support
Topic: How do you create a generator?!
Replies: 4
Views: 1955

for anyone who is wondering why it doesn't work,
Code: Select all
print("Welcome " . $_POST["Uname"];
should be
Code: Select all
print("Welcome " . $_POST["Uname"]);
(missing ")")
Search found 237 matches Page 3 of 24
Go to advanced search