Comments for phpSecurePages

03 May 2008 13:08 crispinternet

Re: SecurePages with PHP5
Does any one know which file they had to change i went thorugh all of them and still its not working with PHP5 any ones help would be great i have an appl which is down at the min because of me portingthe app form php4 to php5

Alan

> Yes, it solves the problem.

>

> The variable names you must change are:

>

> $HTTP_SERVER_VARS ==> $_SERVER

> $HTTP_ENV_VARS ==> $_ENV

> $HTTP_GET_VARS ==> $_GET

> $HTTP_POST_VARS ==> $_POST

> $HTTP_SESSION_VARS ==> $_SESSION

>

>

>

>

> % yeah, I had the same problem.

> FINALLY,

> % I figured out the problem. The

> % variables in php > 4.1 changed.

> Mostly,

> % it's things like $HTTP_GET_VARS

> changed

> % to $_GET and so on. See this page

> for

> % details:

> % http://us3.php.net/reserved.variables

> %

> % Then, grep for HTTP_ in all the php

> % files, and change the ones that you

> need

> % to... it worked for me!

>

>

>

25 Jan 2008 16:11 mradio105fm

Same page- I want it to go to something different after login
Hello,

I was searching the internet and found this. I like it, except when I go to test.php (renamed to login.php) it says access denied. I type the right password out. I found out, it uses my MD5 password.

Also, After users login I want them to go to a page like index.php . How can I make this happen? I want the login.php (formerly test.php) to be for logging in only. After a successful login, they go to index.php . On my site I would like to use a directory like http://schoolwatch.mradio105fm.com/login.php for logging in. Then after a successful login it goes to: http://schoolwatch.mradio105fm.com/closenet/index.php . How can I make this happen? Also, can you make a change password feature for users so they can change their passwords. Also, I want to have an Admin level (e.g. Level 10) and I want the admin level to be able to add and delete accounts and change levels. How do I do this?

Thanks so much!

04 Sep 2007 05:31 stevemock

Dropping Sessions
Where is Paul? Paul... we *did* cough up 20 bucks for a

commercial license. Could you not offer even a small bit of

support?

We are experiencing consistently dropped sessions when

reloading a secure page after a query. Can you help us

figure out what is happening?

We have installed the latest version. We are running PHP 4.

Sessions are being dropped and it is a pain.

See it all here:

http://www.mercycollege.edu/course_downloads.php

user: JohnDoe

pass: whatever

Get in there and do a couple of sort/searches. Drops every

single time.

23 Jun 2007 13:32 guardian46

I like this project, but...
I really do like the way this script secures web pages with flexable group level access. What the project lacks is support. I've tried several times to get questions answered with no luck. Maybe someone could start a Forum for phpSP??

04 May 2007 14:58 kocaweb

add function to change password
is it possible to add the function to change the password for usernames in mysql data base i created a mysql database using default settings all I need is to change a password for one username I need to change it frequently so i am trying to add that function into php page. any help would be appreciated

database:phpSecurePages

CREATE TABLE phpSP_users (

primary_key MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,

user VARCHAR(50) NOT NULL,

password VARCHAR(32) NOT NULL,

userlevel TINYINT(3),

PRIMARY KEY (primary_key),

KEY (user)

);

18 Mar 2007 16:09 mustihi

Re: SecurePages with PHP5
Yes, it solves the problem.

The variable names you must change are:

$HTTP_SERVER_VARS ==> $_SERVER

$HTTP_ENV_VARS ==> $_ENV

$HTTP_GET_VARS ==> $_GET

$HTTP_POST_VARS ==> $_POST

$HTTP_SESSION_VARS ==> $_SESSION

> yeah, I had the same problem. FINALLY,

> I figured out the problem. The

> variables in php > 4.1 changed. Mostly,

> it's things like $HTTP_GET_VARS changed

> to $_GET and so on. See this page for

> details:

> http://us3.php.net/reserved.variables

>

> Then, grep for HTTP_ in all the php

> files, and change the ones that you need

> to... it worked for me!

23 Aug 2006 11:13 tom151

Can we auto_prepend ??
I have been tryinig to use .htaccess to get PHP's auto_prepend function to do the include for phpSecurePages --so that I do not have to add code to every page on my site.

I can get the secure.php file included --but the login screen never displays :(

Has anyone got a trick for this???

09 Apr 2006 14:40 dyna18

Re: using PHPSecurePages to redirect


> Great little script. Does anybody have

> any clever ideas

> how I could modify it's implementation

> so that a user

> goes to one page to login and, based on

> that login,

> subsequently gets redirected to a custom

> page?

After phpSecurePages has run, there are several variables available to identify the user. I suggest using $user in combination with a redirect script to redirect the user to his own custom location.

09 Apr 2006 14:36 dyna18

Re: Fatal Error: Cannot redeclare admemail() in.....
This error happens when phpSecurePages is loaded more then once within a single page. This can happen when using frames or the include function.

In phpSecurePages v0.30 there will be an extra saveguard build in to prevent this error from happening.

03 Mar 2006 12:34 carbonturtle

Re: Keeping Session Information For Non-Login pages


> nevermind, i figured it out. thanks

Steven,

I'm trying to figure out the same thing. What did you end up

doing?

-CT

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.