How to show online users in PHP?

Let’s learn how to show online users in PHP. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

PHP - User online script

How do I check whether the user is online or not? How do I show online users in php? Can anybody help? It's urgent please.

Answer:

// 1. $ip = $_SERVER["REMOTE_ADDR"]; $min = 15; $time = time(); $timeout = $time - ($min ...

Read more

Gaurav Srivastava at Stack Overflow Mark as irrelevant Undo

Other solutions

How to show user login list in php?

hi i am creating a chat system there is 2 problems 1). how to show the list of login users in php using database... 2).how to open differnent windows in same link for example lets 1st user is chatting i want the second user go for chat it open a new...

Answer:

Have a look through http://www.hotscripts.com/category/php/s… there are loads of them with all...

Read more

kamal at Yahoo! Answers Mark as irrelevant Undo

Php resize help pls!!!!!!!!!!!!!!!!?

Okay i have a simple php code but when it post it doesnt resize so how should i resize it it saves to users storage but idk how to resize without messing up my coding <?php /*The location to the default picture*/ $no_picture="default.jpg"...

Answer:

What are you trying to resize? The images dimensions? Or the Image's filesize? Dimensions are easy,...

Read more

Jerry at Yahoo! Answers Mark as irrelevant Undo

Php image upload help?

Okay i have a simple php code but when it post it doesnt resize so how should i resize it <?php /*The location to the default picture*/ $no_picture="default.jpg"; /*The location to the users picture*/ $picture="Users/".$username...

Answer:

I didn't bother reading you code, here's an example for resizing images $image=new Imagick('/home/kevin...

Read more

Jerry at Yahoo! Answers Mark as irrelevant Undo

Php/javascript or other language experts out there.?

I'm in the process of creating a filtered register page where users can choose what type of account they want (example : basic account or full account) which would show something like: <select name="utype"> <option select value"...

Answer:

You would need Javascript to make it happen as soon as they click on an option in the select list. What...

Read more

Saint Anger at Yahoo! Answers Mark as irrelevant Undo

What is the best way to attract users to a new online forum?

I am trying to attract users to my new forum, www.outburstnow.com/forums/index.php Would something like Advertising be a good idea? If so what type of keywords would attract people to ...show more

Answer:

"Forum meets forum", meaning if you have a forum, the best way to do is to join relevant forums...

Read more

XHHLUKKIC7B767NQ52MMZAV23A at Yahoo! Answers Mark as irrelevant Undo

How can I allow users to login using OpenID?

Hey, I have a login system on my website, but I'd like to allow users to login using OpenID. How do I implement this in PHP? Websites that tell me how to do it are fine too. ...show more

Answer:

Simon Willison has a screencast on his site that covers using this: http://simonwillison.net/2006/Dec...

Read more

YMW5KAW3R4QZ7QXEG7OFMYSBIU at Yahoo! Answers Mark as irrelevant Undo

I need help with javascript and php?

im making a site where users can upload images using this script i found and now i need help with getting some variables out of the javascript into php variables, the variables i need is the name of the pictures and the location after uploading. the...

Answer:

All the variables are at the top = upload_url: "upload-file.php", file_post_name: 'uploadfile...

Read more

Jógvan at Yahoo! Answers Mark as irrelevant Undo

Why won't my PHP code output right?

I'm not very experienced with php, but I made this code: <?php echo " <div class='img-with-text'> <img src='users/default.png' ...show more

Answer:

try this: <?php echo " <div class='img-with-text'> <img src='users/default.png' alt...

Read more

CQ53UANQPXYULFZ4QF3UNIHVUM at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.