Search found 30 matches

by Smg
Sun Apr 29, 2012 11:30 pm
Forum: PHP
Topic: Change Password Script...
Replies: 1
Views: 432

Change Password Script...

ok i know how you said not to use all if statements but this is easier for me to understand also i need help with my change password script... i do not know how to make it change the password also it keeps saying incorrect password when i try to change it. changepass.php: [syntax=php]<?php include('...
by Smg
Sun Apr 29, 2012 7:58 pm
Forum: PHP
Topic: Forgot password and Reset Password Help
Replies: 3
Views: 671

Re: Forgot password and Reset Password Help

ok i followed another tutorial i think is better and its not sending the email so what did i do wrong in the code to not make it send the email? forgotpass.php: [syntax=php]<?php include('core/init.inc.php'); function error($msg) { ?> <html> <head> <script language="JavaScript"> <!-- alert...
by Smg
Sat Apr 28, 2012 5:07 pm
Forum: PHP
Topic: Forgot password and Reset Password Help
Replies: 3
Views: 671

Forgot password and Reset Password Help

ok i followed a tutorial on youtube to make these i edited them a bit to work with the user log in system that jacek made. but the error i am having is that... forgotpass.php = it changed the password but it wont allow me to login... resetpass.php = it keeps saying wrong password when i put it in so...
by Smg
Thu Apr 26, 2012 8:58 pm
Forum: PHP
Topic: View comments on profile page need help.
Replies: 11
Views: 1412

Re: View comments on profile page need help.

i got it fixed it was with a part of the code that i just had to remove then it started working thank you for the help :D
by Smg
Tue Apr 24, 2012 9:40 pm
Forum: PHP
Topic: View comments on profile page need help.
Replies: 11
Views: 1412

Re: View comments on profile page need help.

Not sure but it works I just need it to display the comments from comment replies
by Smg
Mon Apr 23, 2012 10:05 pm
Forum: PHP
Topic: View comments on profile page need help.
Replies: 11
Views: 1412

Re: View comments on profile page need help.

Ok here is the code and I checked I can't figure it out user_comment.php: [syntax=php]<?php include('core/init.inc.php'); $id = $_GET['id']; if(empty($id)) header('Location: index.php'); else { function clear($message) { if(!get_magic_quotes_gpc()) $message = addslashes($message); $message = strip_t...
by Smg
Fri Apr 20, 2012 1:15 am
Forum: PHP
Topic: View comments on profile page need help.
Replies: 11
Views: 1412

Re: View comments on profile page need help.

ok i got it to get the id into the database now it is not showing the comment.... so what do i do now? i also updated the user_comment.php above where you said there was no $comment_id also to show i got the id to work into comment_id: [syntax=sql] id: comment_id: name: reply: 1 23 Smg Enter your co...
by Smg
Tue Apr 17, 2012 10:45 pm
Forum: PHP
Topic: View comments on profile page need help.
Replies: 11
Views: 1412

Re: View comments on profile page need help.

ok ill do a function later but atm i want to get this to work so... so far i got the comment_replies to work in the sql database but its not grabbing the comment_id and pasting it into the database so what should i do for this to work? SQL: [syntax=sql] id int(11) No None AUTO_INCREMENT comment_id i...
by Smg
Sun Apr 15, 2012 8:17 pm
Forum: PHP
Topic: View comments on profile page need help.
Replies: 11
Views: 1412

View comments on profile page need help.

ok recently i have been trying to make a simple view comments kind of like facebook like say... when you post a comment on the users profile under the comment will be a link to see all the comments posted onto that one comment. things i got to work with this... - viewing the comment (when clicking v...
by Smg
Fri Apr 13, 2012 11:14 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Re: Help and advice on my server status page...

ok there is no fsockopen function on those two pages its just the tutorial you gave on the server status page i did and now its not working because i tried to make it grab the ip and port from the database and also when i try to make the add_server() function secure it doesnt put all of the info int...
by Smg
Sun Apr 08, 2012 7:39 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Re: Help and advice on my server status page...

ok i did what you said and it just shows offline and when i put a server that is online it shows online but when ... and when i go to view_server.php it always says online when its offline what should i do to fix this? status.php: [syntax=php]<center><table> <thead> <tr> <th>Server Owner</th> <th>Se...
by Smg
Sat Apr 07, 2012 5:35 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Re: Help and advice on my server status page...

Ok I have 2 php pages that should be able to show online and offline one is view_server.php this page shows the servers info The other one is status.php which shows a list of all servers but they don't show online or offline they're always offline so how would I make a function that grabs the ip and...
by Smg
Fri Apr 06, 2012 8:03 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Re: Help and advice on my server status page...

ok i am currently confused about this and how in 'code' would i make this function like what should be in it? and also i need for the function to grab the ip from the database because the ip and port are stored into the database. Thanks, Smg.
by Smg
Tue Apr 03, 2012 11:27 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Re: Help and advice on my server status page...

ok i have fixed mainly everything but the hard part is now the function server_online() does not show the status of the server it has been requested for... so how would i make function server_online() grab the ip and port from the mysql database and show if it is online or not? and if you can can yo...
by Smg
Sun Apr 01, 2012 11:25 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Re: Help and advice on my server status page...

ok now i have quite a bit of errors... here is my code: view_server.php: ERROR = it always says offline [syntax=php]<?php include('core/init.inc.php'); $server_info = fetch_server_info($_GET['id']); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtm...
by Smg
Sun Apr 01, 2012 10:53 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Re: Help and advice on my server status page...

ok i have added 4 columns in the table server status... server_id - auto increment server_name - varchar 50 server_ip - varchar 50 server_port - varchar 50 also i made a server pagination and heres is what i have so far and also the server status always shows online how do i fix this problem? server...
by Smg
Sun Apr 01, 2012 9:14 pm
Forum: PHP
Topic: Help and advice on my server status page...
Replies: 17
Views: 1796

Help and advice on my server status page...

ok i have recently used jaceks server status page tutorial... And i was wondering if anyone could help me make it where when you see the servers, you can click the servers name and it will have their own custom page with info about it and the ability for people to post their own servers. please if a...
by Smg
Fri Mar 30, 2012 11:02 pm
Forum: PHP
Topic: php friend request system help
Replies: 7
Views: 2052

Re: php friend request system help

ok i was thinking about something like this since it would be easier to do.... first i would make the friends table and do this... The SQL: id = auto_increment user_id = id from the main table representing the user_id of the user and make a form that submits these into the database the friend id's f...
by Smg
Sun Mar 25, 2012 9:10 pm
Forum: PHP
Topic: php friend request system help
Replies: 7
Views: 2052

Re: php friend request system help

okay I am really sorry but I have done this so far and I am still confused.... its mainly because i'm still learning php at the basics... here is what i have done so far... user.inc.php: i added the code that you gave me. and for the sql I did this: user_id & friend_id both with a normal int i a...
by Smg
Sun Mar 18, 2012 11:50 pm
Forum: PHP
Topic: php friend request system help
Replies: 7
Views: 2052

php friend request system help

ok since temor has finally helped me make my commenting system work now i need help on a friend request system so if anyone can help me can you give me basic ideas on how to create a friend request system?
by Smg
Sun Mar 18, 2012 9:20 pm
Forum: PHP
Topic: Php friend request and profile commenting help
Replies: 15
Views: 2807

Re: Php friend request and profile commenting help

THANK YOU SO DAMN MUCH I FIGURED IT OUT XD OMFG THANK YOU TEMOR!