Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
0 Endorsements
Ranked #1K
~51.4K People Reached
Favorite Tags

116 Posted Topics

Member Avatar for mrcniceguy

Is there anyone with the knowledge on how to Show online users with php?? i have seen in many sites,now i need someone who can explain to do it. (if there are users who are online to be displayed) Please explain how to get started))))

Member Avatar for ashkan_3
0
9K
Member Avatar for mrcniceguy

I want to create a single profile page for members. The way I want it is when any user logs in he will automatically be taken to that single profile page. I am wondering if there is a way I can make the code IN PHP extract only the profile …

Member Avatar for Carsten_1
0
7K
Member Avatar for dorkwad

see this article in sitepoint [url]http://www.sitepoint.com/article/php-gallery-system-minutes/[/url] below is the link for forum where people discussed the article [url]http://www.sitepoint.com/forums/showthread.php?t=122279[/url] i hope it can help.

Member Avatar for asadjaved64
0
2K
Member Avatar for iamthwee
Member Avatar for mrcniceguy

Is there anyone who can explain to me how can i store image in a folder to the server then the path to mysql. i dont know even how to get started,i will appreciate for your help. Or links where i can find the tutorials.

Member Avatar for yanmyoe
0
5K
Member Avatar for mrcniceguy

i just started learning SEO and and i want to know if the are free tools to see the position(ranking ) of my website... any suggestion will be appreciated.

Member Avatar for Biiim
0
93
Member Avatar for mrcniceguy

basically i am checking if i am in the same url as the page and i want to refresh the page only once,but whenever i try it keep refreshing infinitively place='/development/petersburg'; var pathname=window.location.pathname; if((pathname==place)){ window.location.reload();//reload the page } help!! how can i limit this page to refresh only once if …

Member Avatar for mrcniceguy
0
2K
Member Avatar for mrcniceguy

Hey guys, i need Your suggestions(help). i created a social network website not long time ago,now i want to put the News feed in the home page like the Facebook one. That is if a friend posts status,add friends,uploads photos,video,join groups,Commented something etc to appear in the home page. Please …

Member Avatar for joshmac
0
165
Member Avatar for adamleefe

// update product quantity $sql = "UPDATE tbl_cart SET ct_qty = '$newQty' WHERE ct_id ='$cartId[$i]'"; try that))

Member Avatar for aplwong
0
98
Member Avatar for mrcniceguy

Helloo Guys...i have worked with PHP for almost two years and my Editor was Notepad++ then three weeks ago shifted and started using PHPEDIT )) BUT FOR I AM LOOKING TO KNOW WHICH PHP FRAMEWORK IS BETTER,BECAUSE I WANT TO START WORKING ON IT. PLEASE I NEED YOUR SUGGESTIONS.

Member Avatar for broswilli
0
2K
Member Avatar for mrcniceguy

WELL GUYS,I HAVE A NAVIGATION IN MY WEBSITE WHICH IS SIMPLY A <UL> LIST. ALMOST EVERYTHING WORKS WELL,EXCEPT WHEN I WANT TO SHOW THE CURRENT PAGE WHICH IS BEING VIEWED,...I HAVE SUCCESSFULLY IMPEMENTED THE FUNCTIONALITY IN PHP WHICH CAN DETECTED THE PAGE BEING VIEWED BUT THE PROBLEM IS CSS WHERE …

Member Avatar for diafol
0
122
Member Avatar for theighost

is it Giving any Erro? what if u try this [code=php] while ($row = mysql_fetch_array($query)) { $id=$row['id']; echo "row= $id "; } [/code]

Member Avatar for pritaeas
0
4K
Member Avatar for mrcniceguy

i have table users in my database))the host of my website is in US and i am currently leaving in Russia. so when i display date/time in web page it shows time as if i am in US also my clients in different countries they are experiencing the same problem.\ …

Member Avatar for mrcniceguy
0
81
Member Avatar for mrcniceguy

Guys i`m trying to archive something like facebook,twitter wall Display. I have a friend table,inside it has id,friendid and userid. also got feeds table which contains id,action,sender_id,statusid,status,date. What i have succeeded to do is if You are logged in you can see all the updates from your friends...As the code …

Member Avatar for madCoder
0
147
Member Avatar for Waffles007
Member Avatar for Waffles007

it may be something like this...i havent tasted the code. [CODE] /*Database connection*/ /*below our query*/ $query= mysql_query("SELECT name FROM characters WHERE online ='1' ORDER BY name") OR die(mysql_error()); $count=mysql_num_rows($query); /*check if there is anyone online*/ if($count>0){ $msg="There are $count Members Online<br/>"; }else{ $msg="There are No members online<br/>"; } echo"$msg<br/>";/* …

Member Avatar for mrcniceguy
0
128
Member Avatar for mrcniceguy

Guys i`m trying to archive something like facebook,twitter wall Display. I have a friend table,inside it has id,friendid and userid. also got feeds table which contains id,action,sender_id,statusid,status,date. What i have succeeded to do is if You are logged in you can see all the updates from your friends...As the code …

0
85
Member Avatar for j2dao2dae

And here is the tutorial for login. [url]http://www.phpeasystep.com/phptu/6.html[/url] @Remember Google is your friend.

Member Avatar for mrcniceguy
0
104
Member Avatar for vinay9785

Here in Daniweb people help if you show some efforts. Show what you have done and people will do the rest.

Member Avatar for vinay9785
0
112
Member Avatar for rajabhaskar525
Member Avatar for mrcniceguy

I need to display part of text from mysql: for exapmle i`m having 50characters and then i just want to display just part of it like 20characters in the first page and the remain including the first as a link to another page. That when someone clicks the link the …

Member Avatar for Martin1077
0
610
Member Avatar for reviloera
Member Avatar for dan1992

for me this is how i think the Your login system should be. [CODE] $username = $_POST['username']; $password = $_POST['password']; if(($username)&&($password)) { $conect = mysql_connect("localhost","danvrajmas","nokia3110")or die("Error"); mysql_select_db("user")or die("Error"); $query = mysql_query("SELECT * FROM user WHERE username='$username' AND password='$password'")or die("Error"); $numrows = mysql_num_rows($query); if ($numrows==1) { $row = mysql_fetch_assoc($query); $dbusername = …

Member Avatar for dan1992
0
170
Member Avatar for Silvershaft
Member Avatar for mrcniceguy
0
321
Member Avatar for LloydFarrell

@nonshatter i think it should be like this from ur codes [code=php] if (!$counter) { $counter = 1; $sql1= mysql_query("UPDATE memberst SET counter='$counter' WHERE id='$id'"); } else { $addcounter=$counter+1; $sql1=mysql_query("UPDATE memberst SET counter='$addcounter' WHERE id='$id'"); } [/code] or [code=php] if (empty($counter)) { $counter = 1; $sql1= mysql_query("UPDATE memberst SET counter='$counter' …

Member Avatar for nonshatter
0
949
Member Avatar for atullalit91

WELL! WITHOUT CHANGING YOUR CODE as LethargicCoder, did some little changes(he will be displaying rows inside table instead of tables as ur code) I JUST CHECKED THE LINE 29,AND PUT SOMETHING LIKE THIS <?PHP. [code=php] <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // …

Member Avatar for rajarajan2017
0
140
Member Avatar for Hypalink

first u need to have a registration system,create mysql table to store all the user informations. Then you will be able to retrieve the user info. simply like this [code=php] include"config.php";//connect to db $query=mysql_query("SELECT *FROM users WHERE email='$email' AND pass='$password'"); $count=mysql_num_rows($query); if($count==1){ while($row=mysql_fetch_array($query)){ //fetch all the user infos //Display infos …

Member Avatar for Hypalink
0
2K
Member Avatar for mrcniceguy

i`m having this problem after whenever include or require is Used. help please i dont know how to solve this. Fatal error: Cannot redeclare validateemail() (previously declared in C:\wamp\www\kislat\functions\functions.php:3) in C:\wamp\www\kislat\functions\functions.php on line 26 [code=php] <?php session_start(); require "config.php"; $user=$_SESSION['user']; $id=$_SESSION['id']; if(!session_is_registered('user')){ header("Location: checklogin.php"); exit; } define('INCLUDE_CHECK',1); require"functions/functions.php"; require"includes/functions.php"; //$user=$_POST['user']; …

Member Avatar for mrcniceguy
0
829
Member Avatar for mrcniceguy

i have this weird problem and i dont know how to make it work. the problem appears after i consider the OR statement.without or statement the first part is working . So idont how to use this statement in mysql. i hope someone can help me. Down is my script. …

Member Avatar for mrcniceguy
0
375
Member Avatar for mrcniceguy

i have a comment system of which member can insert smileys which commenting to something )))that works well...Now i want the smileys to be desplayed in a small popup window like the one i have attached in screenshot..and dont know how to make it possible... i just believe that it …

Member Avatar for mrcniceguy
0
69
Member Avatar for mrcniceguy

i`m using the jquery library in ma web....so i`m wondering which method of calling the library is more recomended. i mean to download the libary and call it directly from the server or to link to googleapis???? Any suggestions will be appreciated. <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> OR <script …

Member Avatar for mrcniceguy
0
87
Member Avatar for mrcniceguy

hi everyone! i`m trying to display a friend of a friend from a friend table,but i dont know how to do it. i have a table called friends,which has id,friendid and userid fields. Now i want if a member loggin, to be displayed a list of friends of his friends …

Member Avatar for mrcniceguy
0
114
Member Avatar for mrcniceguy

I HOPE YOU ARE ALL FINE) In my web i`m using image magic or GD library to resize photos when someone upload them to the server. This makes me create alot of thumbnails for a single photo. So i`m asking if their is any function in PHP which can resize …

Member Avatar for cwarn23
0
67
Member Avatar for ursrathika

Also check this one,is good one)) [url]http://www.9lessons.info/2009/06/autosuggestion-with-jquery-ajax-and-php.html[/url]

Member Avatar for mrcniceguy
0
76
Member Avatar for ChintuChowdary

check this one!its free most of popular website use it. [url]http://openinviter.com/[/url]

Member Avatar for mrcniceguy
0
77
Member Avatar for colweb
Member Avatar for colweb
0
102
Member Avatar for mrcniceguy

i have a web in which after member login, is able to publish blog post and only logged in members can comment. Now my problem comes in notification. 1.I need after someone comment then to send notification to the owner of the post. 2.Also if other members commented on the …

Member Avatar for mrcniceguy
0
105
Member Avatar for MDanz
Member Avatar for Arianna
0
68
Member Avatar for mrcniceguy

HI everyone!!i have this got this function, and i dont know what is going wrong here. in the table, the field for date i saved as timestamp, meaning time is automatically inserted when the record inters. [code=php] function time_stamp($session_time) { $time_difference = time() - $session_time ; $seconds = $time_difference ; …

Member Avatar for mrcniceguy
0
134
Member Avatar for DARK_BYTE

@Aamit is Right!dont save ur images in dB,instead upload them into the sever and their links to db. Here is one Good article in Sitepoint [url]http://articles.sitepoint.com/article/php-gallery-system-minutes[/url] and the supporting forum [url]http://www.sitepoint.com/forums/showthread.php?t=122279[/url] it helped me a lot.

Member Avatar for zinnqu
0
113
Member Avatar for mrcniceguy

I`M USING THE PHP MAIL FUNCTION TO SEND EMAILS TO MEMBERS IN MY SITE. [CODE=PHP] sendto="xxxxxxx@yahoo.com"; $to=$sendto; $from="From:mysite@mysite.com \r\n"; $subject="$fullname contacted mysite"; $content="$message \r\n his/her email address is $email"; if($content){ mail($to, $subject, $content,$from); echo"<font color=green>Your email was sent successfuly to adminstration of mysite.<br/><a href=index.php>Continue to the site</a></font>"; } [/CODE] i …

Member Avatar for mrcniceguy
0
178
Member Avatar for mrcniceguy

If any one have a script which can grab the yahoo,hotmail and gmail address book,i will appreciate to have it or Any suggestion on how to make me succeed in this. I wantto enable member in my site to import their address book directly from the site. Thankx.

Member Avatar for mrcniceguy
0
341
Member Avatar for mrcniceguy

I have worked in PHP for 1year and a half,Now i want to develop website using the CMS,and some people suggested it would be better to start with Joomla...i have installed it in my comp,but i reall dont know how to get started. So if there is anyone who knows …

Member Avatar for guru12
0
80
Member Avatar for mrcniceguy

I never worked with video at all. Just asking how is it possible to enable members in my site to upload videos. I have seen in some site example Tagged.com,there videos got Youtube player)))how is possible to play tube videos in my website. Its a Social Network web

Member Avatar for mrcniceguy
0
186
Member Avatar for mrcniceguy

i want to know,how is it possible to check automatic all the checkboxes generated in php while page loading. i mean if the are for example 20records then all to be checked.

Member Avatar for mrcniceguy
0
93
Member Avatar for mrcniceguy

I`ve finished my website,its a social netwrk web in PHP. Now before i lunch it,i would like to know what are the precautions i should take to protect it from hackers. please if any one has idea on what i should do,to protect mysql,and my site as a whole.i will …

Member Avatar for mrcniceguy
0
299
Member Avatar for mrcniceguy

When i type the text myself and click send it Goes to database but when i copy from anyweb and paste in the Text box so as To send. The text is Not Going To Database...And suprisingly its Not giving any Error.Help please,i dont know whats wrong. below is my …

Member Avatar for FlashCreations
0
69
Member Avatar for silntj101

Try using serialize function.Check it here)) [url]http://ru2.php.net/serialize[/url]

Member Avatar for silntj101
0
98
Member Avatar for mrcniceguy

i got this script,in one of the very old artciles in sitepoint. everything is ok!except that PNG and BMP images are not resized. giving this errors [code=php] Warning: imagecreatefromwbmp() [function.imagecreatefromwbmp]: 'thumb/tb_128448486.bmp' is not a valid WBMP file in C:\wamp\www\wallsnap.php on line 97 Warning: imagewbmp(): supplied argument is not a valid …

Member Avatar for mrcniceguy
0
248
Member Avatar for Newbi

it should be like this [code=php] $num=mysql_num_rows($result); [/code] also whenever open php anywere it should be [code=php]<?php ?>[/code] and not like here [code=php] <input type="hidden" name="ud_id" value="<? echo $id; ?>"> [/code]

Member Avatar for Newbi
0
201

The End.