Version: , by RobAC
Developer Last Online: Jun 2020
Version: Unknown
Rating:
Released: 07-23-2001
Last Update: Never
Installs: 15
No support by the author.
Ok....this is my first hack. It's small and should be very straight forward.
The source of this hack is a thread that started in the main Code Hacks forum by a user looking for a hack that would allow their members to log in from the main home page of their site. Once logged in, it would display a Welcome message when the logged in member returned to the home page.
The original source was provided by Demolition, but members were having problems with getting the hack to run.
Warning/Disclaimer: I am not a well seasoned PHP programmer. I get by as best I can, but usually learn from example and tinkering. I have changed the PHP coding around slightly, and added much more HTML in order to format the input fields etc. This hack was tested using Internet Explorer 5.5 and Netscat 4.7. I have verified that it works in both OS's several times. I am also running the latest version of PHP on my server, so I'm not sure how to help those of you that are running PHP3, but I'll do the best I can. I won't make any promises though. I plan on continuing to work on this as well as add a few more features to it as time permits.
Download the attached file and edit it using a text editor of your choice. Add the pathway to your forums directory where noted. Save the file as a PHP file to your main forums directory. If your site's home page is an HTML document you will have to call the PHP file using a server side include. If you're not sure how to do this, you should search the forums here as this topic has already been covered several times.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This hack looks very cool. The only thing is that I can only get it to work correctly by calling the script direcly. When use php include on the index page, it gives me an error saying that headers have already been sent out.
Hi All,
it works but sometimes give me an error on header
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\wwwroot\XXXXX\home.php:11) in C:\inetpub\wwwroot\XXXXX\forum\admin\functions.php on line 1459
Originally posted by Rostor
[B]Hi All,
it works but sometimes give me an error on header
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\wwwroot\XXXXX\home.php:11) in C:\inetpub\wwwroot\XXXXX\forum\admin\functions.php on line 1459
That's what I get at smachol page, not being a registered user.
This would be a very nice thing to have - just a login or the welcome back message on the home page, but I think Rob may have lost interest, as it looks like he may be using vbportal.
That's what I get at smachol page, not being a registered user.
This would be a very nice thing to have - just a login or the welcome back message on the home page, but I think Rob may have lost interest, as it looks like he may be using vbportal.
Samtha,
I haven't lost interest, but I've been really busy the last couple of weeks and spent the last 4-5 days dealing with a loss in my family. I'm just getting back to work now, but will be taking off in a couple days for a much needed vacation. I won't be able to take a look at this hack until after I get back.
I'm trying to convert my files to PHP but there is something wrong with the this code. Try to register an account, then login and go the the 2 links below, you will notice that from the index.shtml you the system managed to detect that you are login but from index.php you are still not login??
<font face="verdana" size="2">You are not login. <b><a href="http://www.certifyexpress.com/forum/pageregister.php?action=login">Login</a></b> or <b><a href="http://www.certifyexpress.com/forum/register.php">Register</a></b></font>