Re: [PHP] Close all open tags in HTML text

2004-12-10 Thread Matt Palermo
want to allow them to use HTML, but I want to close tags that were left open by them. This way it allows them to use HTML and it won't screw up the rest of the page. Thanks, Matt Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Matt Palermo wrote: I would like

[PHP] Re: empty() problem

2004-12-12 Thread Matt Palermo
How about: if($Game_Rating == ) $errors[] = You didn't enter the Online Status for the Game.; This should work for you. -Matt Ahmed Abdel-Aliem [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Group Members i have a problem with function empty() i use it to check if user

[PHP] Online Users

2004-07-01 Thread Matt Palermo
I am trying to keep a MySQL table of all currently online users for a system I'm making. It's pretty simple to add the username to the list when they login, but I don't know how to remove their username when they leave (unless they click the logout button). Basically I want to be able to keep a

Re: [PHP] Online Users

2004-07-01 Thread Matt Palermo
, Revert back with any comment or problem. zareef ahmed --- Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Matt Palermo: they click the logout button). Basically I want to be able to keep a list of all currently active users. So if they close out their browser

Re: [PHP] Online Users

2004-07-02 Thread Matt Palermo
PROTECTED] On Fri, 2 Jul 2004 01:13:14 -0400, Matt Palermo [EMAIL PROTECTED] wrote: Is it possible to make a table of all logged in users session ids and then check to see if the session still exists every couple minutes? So every minute or two, it would go through the table and for each

Re: [PHP] Online Users

2004-07-02 Thread Matt Palermo
Okay, I actually found out how to list the users, but you have the following line of code: define('SITE_ONLINE_EXPIRE', 900); What is the 900? Is that 900 seconds? Thanks, Matt http://sweetphp.com Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This looks like a good

[PHP] New Flash Chat Program

2004-07-30 Thread Matt Palermo
here: http://sweetphp.com/nuke/modules.php?name=Script_Previewscript=6 As a thank you to all those who have helped me on here I am giving away 5 free copies of the program to the first 5 people who contact me about it. Thanks again for all your help guys. Great job! Matt Palermo [EMAIL PROTECTED

[PHP] Is it possible to create a global namespace alias?

2010-10-03 Thread Matt Palermo
Is it possible to create a global namespace alias in PHP or does the alias have to be defined in EVERY file that I use? Here is an example: file: main.php ?php use \this\is\my\custom\namespace\Item as nsItem; ? file: index.php ?php require_once “main.php”; // Attempt to use namespace

[PHP] Is it possible to create a global namespace alias?

2010-10-04 Thread Matt Palermo
Is it possible to create a global namespace alias in PHP or does the alias have to be defined in EVERY file that I use? Here is an example: file: main.php ?php use \this\is\my\custom\namespace\Item as nsItem; ? file: index.php ?php require_once “main.php”; // Attempt to use namespace

[PHP] Re: Is it possible to create a global namespace alias?

2010-10-05 Thread Matt Palermo
I'm assuming there is no way to make a global alias. Can anyone confirm/deny this? Matt Palermo wrote in message news:5e7b8989448b45dbbeeb6fb89b3f3...@rachet... Is it possible to create a global namespace alias in PHP or does the alias have to be defined in EVERY file that I use? Here

<    1   2