# Security and PHP

**URL:** https://www.phphelp.com/c/security-and-php/8.md?page=1

[Latest](https://www.phphelp.com/latest.md) · [Categories](https://www.phphelp.com/categories.md)

**Page:** 2

---

## [I want to make the questions and answers portlet using the Liferay MVC Framework](https://www.phphelp.com/t/i-want-to-make-the-questions-and-answers-portlet-using-the-liferay-mvc-framework/24535)

<div class="topic-metadata">

**Author:** [@harish24](https://www.phphelp.com/u/harish24)\
**Replies:** 2\
**Last updated:** [September 16, 2015, 11:48am UTC](https://www.phphelp.com/t/i-want-to-make-the-questions-and-answers-portlet-using-the-liferay-mvc-framework/24535 "2015-09-16T11:48:30Z")

</div>

In this portlet anyone can anonymously post a programming related question, but the answer can only be given by the logged in user with permission. Any way of doing this by using portlet from Liferay Library. For exampl…

---

## [php notice: undefined index: token in](https://www.phphelp.com/t/php-notice-undefined-index-token-in/24348)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 1\
**Last updated:** [June 25, 2015, 5:29am UTC](https://www.phphelp.com/t/php-notice-undefined-index-token-in/24348 "2015-06-25T05:29:07Z")

</div>

Hi All i had software in php and mariadb. I moved to server copied all files from exactly and imported database. Now when i log in i get php notice: undefined index: token in /var/www/html/login.php. Can some one help p…

---

## [Help with PHP problem](https://www.phphelp.com/t/help-with-php-problem/24290)

<div class="topic-metadata">

**Author:** [@slovey](https://www.phphelp.com/u/slovey)\
**Replies:** 9\
**Last updated:** [June 4, 2015, 8:44pm UTC](https://www.phphelp.com/t/help-with-php-problem/24290 "2015-06-04T20:44:12Z")

</div>

What I want to do is select a month and then have a PDF file names SL\_mmm.pdf display where mmm is the month passed from the dropdown. Both the \*.php file and the \*.htm file are in the same directory with the PDF file…

---

## [Lockign down user access to single page](https://www.phphelp.com/t/lockign-down-user-access-to-single-page/23760)

<div class="topic-metadata">

**Author:** [@josh\_sp](https://www.phphelp.com/u/josh_sp)\
**Replies:** 3\
**Last updated:** [December 21, 2014, 6:08pm UTC](https://www.phphelp.com/t/lockign-down-user-access-to-single-page/23760 "2014-12-21T18:08:49Z")

</div>

The problem is this: we send users to a login page, and upon entering credentials, they have access to videos we post. However, once in, the user is able to alter the URL part of “user=XXX” and get access to folders outs…

---

## [index.php](https://www.phphelp.com/t/index-php/23574)

<div class="topic-metadata">

**Author:** [@ziona123](https://www.phphelp.com/u/ziona123)\
**Replies:** 4\
**Last updated:** [October 28, 2014, 9:38am UTC](https://www.phphelp.com/t/index-php/23574 "2014-10-28T09:38:51Z")

</div>

hello every one I had working web page. I have changed my host and upload all files to new host. did necessary changings it worked but I only can see the index.php none of the link is working. new host is working at wi…

---

## [code igniter](https://www.phphelp.com/t/code-igniter/23571)

<div class="topic-metadata">

**Author:** [@ziona123](https://www.phphelp.com/u/ziona123)\
**Replies:** 2\
**Last updated:** [October 26, 2014, 11:11pm UTC](https://www.phphelp.com/t/code-igniter/23571 "2014-10-26T23:11:50Z")

</div>

hello every one I had working web page. I have changed my host and upload all files to new host. did necessary changings it worked but I only can see the index.php none of the link is working. new host is working at wi…

---

## [MOVED: Unexpected Math Result](https://www.phphelp.com/t/moved-unexpected-math-result/23569)

<div class="topic-metadata">

**Author:** [@grwebugy](https://www.phphelp.com/u/grwebugy)\
**Replies:** 0\
**Last updated:** [October 25, 2014, 7:31pm UTC](https://www.phphelp.com/t/moved-unexpected-math-result/23569 "2014-10-25T19:31:36Z")

</div>

This topic has been moved to General Database (Oracle, SQL Server, etc). \[iurl\]http://www.phphelp.com/forum/index.php?topic=23992.0\[/iurl\]

---

## [php encryption](https://www.phphelp.com/t/php-encryption/23162)

<div class="topic-metadata">

**Author:** [@dreamseeker](https://www.phphelp.com/u/dreamseeker)\
**Replies:** 8\
**Last updated:** [July 31, 2014, 12:02pm UTC](https://www.phphelp.com/t/php-encryption/23162 "2014-07-31T12:02:41Z")

</div>

hi guys, i must to solve a problem but i don’t know where i should start i need to encrypt an url : https://redirector.googlevideo.com/videoplayback?requiressl=yes&shardbypass=yes&cmbypass=yes&id=85447e8dcca62496&itag=3…

---

## [ip adres decryption PHP](https://www.phphelp.com/t/ip-adres-decryption-php/22443)

<div class="topic-metadata">

**Author:** [@Squashing](https://www.phphelp.com/u/Squashing)\
**Replies:** 3\
**Last updated:** [May 28, 2014, 2:50am UTC](https://www.phphelp.com/t/ip-adres-decryption-php/22443 "2014-05-28T02:50:49Z")

</div>

Hello, I once saw someone that decrypted an IP on the source to an decrypt to this: 272HSh2jkahswyqa Does someone know how they did it. I would like have it for my game server. \[php\]var flashvars = { “client.allow.cr…

---

## [SESSION PROGRAM IN PHP](https://www.phphelp.com/t/session-program-in-php/22498)

<div class="topic-metadata">

**Author:** [@pankajdurve](https://www.phphelp.com/u/pankajdurve)\
**Replies:** 1\
**Last updated:** [April 12, 2014, 7:43pm UTC](https://www.phphelp.com/t/session-program-in-php/22498 "2014-04-12T19:43:43Z")

</div>

\[b\]WHEN I EXECUTED FOLLOWING PROGRAM THEN THIS ERROR SHOWS; SO PLEASE PROVIDE ME SOLUTION Warning: session\_start() \[function.session-start\]: Cannot send session cookie - headers already sent by (output started at C:\\wa…

---

## [My ID and password won't login](https://www.phphelp.com/t/my-id-and-password-wont-login/22326)

<div class="topic-metadata">

**Author:** [@ManInTheMiddle](https://www.phphelp.com/u/ManInTheMiddle)\
**Replies:** 2\
**Last updated:** [March 17, 2014, 4:28pm UTC](https://www.phphelp.com/t/my-id-and-password-wont-login/22326 "2014-03-17T16:28:13Z")

</div>

Hi. I’m implementing a student number and password login system for a project management system using PHP and SQL. I have the encryption (sha1) working in a registration fine but when I try login with the ID and passwo…

---

## [Need help on creating my own config ](https://www.phphelp.com/t/need-help-on-creating-my-own-config/22276)

<div class="topic-metadata">

**Author:** [@Beck96](https://www.phphelp.com/u/Beck96)\
**Replies:** 2\
**Last updated:** [March 10, 2014, 1:56pm UTC](https://www.phphelp.com/t/need-help-on-creating-my-own-config/22276 "2014-03-10T13:56:04Z")

</div>

Hi i need help on making a config.php and security stuff iv’e tried as best i can to do it myself but dont know alot about php. If anyone can give me some info on how to start and what to put.

---

## [Setting up a Login & have a few question](https://www.phphelp.com/t/setting-up-a-login-have-a-few-question/22193)

<div class="topic-metadata">

**Author:** [@DMSS](https://www.phphelp.com/u/DMSS)\
**Replies:** 8\
**Last updated:** [March 5, 2014, 11:05pm UTC](https://www.phphelp.com/t/setting-up-a-login-have-a-few-question/22193 "2014-03-05T23:05:35Z")

</div>

I’m using a .php script named members2.zip I downloaded from AwesomePHP.com. I setup my database and created my data-fields. I can access the admin page and create new users, edit things with no problems. I can login,…

---

## [php pagination row problem](https://www.phphelp.com/t/php-pagination-row-problem/22198)

<div class="topic-metadata">

**Author:** [@infoitmanoj](https://www.phphelp.com/u/infoitmanoj)\
**Replies:** 0\
**Last updated:** [February 25, 2014, 11:34am UTC](https://www.phphelp.com/t/php-pagination-row-problem/22198 "2014-02-25T11:34:52Z")

</div>

Hi my php coding shows if deleted records 3rd row reloading for first row not showing current row …help me …plsss include ‘libs/db\_connect.php’; if (!isset($\_GET\[‘page’\])){ $page = 1; } else { $page = $\_GET\[‘page’…

---

## [php any  help secure login](https://www.phphelp.com/t/php-any-help-secure-login/22151)

<div class="topic-metadata">

**Author:** [@infoitmanoj](https://www.phphelp.com/u/infoitmanoj)\
**Replies:** 4\
**Last updated:** [February 21, 2014, 11:25am UTC](https://www.phphelp.com/t/php-any-help-secure-login/22151 "2014-02-21T11:25:55Z")

</div>

i am beginning for php …so any help for how to create easily secure login in php …

---

## [php paginate code ](https://www.phphelp.com/t/php-paginate-code/22152)

<div class="topic-metadata">

**Author:** [@infoitmanoj](https://www.phphelp.com/u/infoitmanoj)\
**Replies:** 2\
**Last updated:** [February 21, 2014, 7:54am UTC](https://www.phphelp.com/t/php-paginate-code/22152 "2014-02-21T07:54:14Z")

</div>

pls any one knows tell php paginate coding understanding easily

---

## [MOVED: php STRTOTIME Function](https://www.phphelp.com/t/moved-php-strtotime-function/21895)

<div class="topic-metadata">

**Author:** [@JimL](https://www.phphelp.com/u/JimL)\
**Replies:** 0\
**Last updated:** [January 15, 2014, 7:04am UTC](https://www.phphelp.com/t/moved-php-strtotime-function/21895 "2014-01-15T07:04:18Z")

</div>

This topic has been moved to Beginners - Learning PHP. \[iurl\]http://www.phphelp.com/forum/index.php?topic=22271.0\[/iurl\]

---

## [Remember me checkbox](https://www.phphelp.com/t/remember-me-checkbox/21384)

<div class="topic-metadata">

**Author:** [@Busarna4](https://www.phphelp.com/u/Busarna4)\
**Replies:** 15\
**Last updated:** [November 3, 2013, 4:45pm UTC](https://www.phphelp.com/t/remember-me-checkbox/21384 "2013-11-03T16:45:10Z")

</div>

Hello! Can someone please help me? My Remember me checkbox dosen’t work and since I added it everything got weird… Everything worked fine before I added the remember me checkbox and php code for setting cookies. But no…

---

## [Sessions - stopped working](https://www.phphelp.com/t/sessions-stopped-working/21342)

<div class="topic-metadata">

**Author:** [@sandrad23](https://www.phphelp.com/u/sandrad23)\
**Replies:** 6\
**Last updated:** [October 26, 2013, 12:26pm UTC](https://www.phphelp.com/t/sessions-stopped-working/21342 "2013-10-26T12:26:43Z")

</div>

Hi I am new to php and have been working on setting up a website with certain pages password protected. I have a user registration form saving the information on mysql which seems to work fine and when I launched the lo…

---

## [Application for testing security?](https://www.phphelp.com/t/application-for-testing-security/21132)

<div class="topic-metadata">

**Author:** [@Sensimillia](https://www.phphelp.com/u/Sensimillia)\
**Replies:** 2\
**Last updated:** [September 20, 2013, 1:31am UTC](https://www.phphelp.com/t/application-for-testing-security/21132 "2013-09-20T01:31:19Z")

</div>

Does anyone know of a program (preferably online) that I can point at my website and test it for SQL injections, XSS attacks, anti-automated input, session hijacking, ect?

---

## [OpenSSL encrypt result changes](https://www.phphelp.com/t/openssl-encrypt-result-changes/21129)

<div class="topic-metadata">

**Author:** [@welton122](https://www.phphelp.com/u/welton122)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 10:00am UTC](https://www.phphelp.com/t/openssl-encrypt-result-changes/21129 "2013-09-19T10:00:00Z")

</div>

Hi, I have a big problem. I’m using openssl to encrypt login information however when i upload my code to my online server, the result from the encryption changes meaning the user cannot log into their account. Does an…

---

## [Validating form and protecting it from bots](https://www.phphelp.com/t/validating-form-and-protecting-it-from-bots/21083)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 2\
**Last updated:** [September 14, 2013, 3:07pm UTC](https://www.phphelp.com/t/validating-form-and-protecting-it-from-bots/21083 "2013-09-14T15:07:44Z")

</div>

Hi there, I hope this is the correct place to post my question. I have been using a form from helpvid which has been great except I’ve started to get spammed. I was reading some websites about how to stop this and then …

---

## [PHP login/register problems](https://www.phphelp.com/t/php-login-register-problems/20893)

<div class="topic-metadata">

**Author:** [@Busarna4](https://www.phphelp.com/u/Busarna4)\
**Replies:** 32\
**Last updated:** [August 30, 2013, 7:42pm UTC](https://www.phphelp.com/t/php-login-register-problems/20893 "2013-08-30T19:42:58Z")

</div>

Hello! I’m coding my first php website right now and I have some problems… one of them is my login/register system I can register a user but the user can’t activate his account (send email using php mail() work, but th…

---

## [password encription](https://www.phphelp.com/t/password-encription/20894)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 2\
**Last updated:** [August 25, 2013, 5:08pm UTC](https://www.phphelp.com/t/password-encription/20894 "2013-08-25T17:08:03Z")

</div>

Hello One of my friend wrote the code like this for registration \[php\]$this-\>db-\>query(“INSERT INTO " . DB\_PREFIX . "user SET username = '” . $this-\>db-\>escape($data\[‘username’\]) . “’, salt = '” . $this-\>db-\>escape($sa…

---

## [Securing User Input](https://www.phphelp.com/t/securing-user-input/20586)

<div class="topic-metadata">

**Author:** [@Sensimillia](https://www.phphelp.com/u/Sensimillia)\
**Replies:** 1\
**Last updated:** [August 19, 2013, 9:38am UTC](https://www.phphelp.com/t/securing-user-input/20586 "2013-08-19T09:38:05Z")

</div>

Hello everyone, I’m just starting out learning PHP and have programmed a function to filter user input. This will mainly be used in a highly restricted forum type environment or prior to adding data to a MySQL database…

---

## [Internal Server error 500 occured in PHP application](https://www.phphelp.com/t/internal-server-error-500-occured-in-php-application/20716)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 4\
**Last updated:** [July 25, 2013, 8:19pm UTC](https://www.phphelp.com/t/internal-server-error-500-occured-in-php-application/20716 "2013-07-25T20:19:52Z")

</div>

Hi, I have a PHP application built wit codeigniter. One of my module uses PHPExcel library, which reads the excel row by row searches the id if it already exists in the database. Sets few flags and then moves further. N…

---

## [Creating a secure log in.](https://www.phphelp.com/t/creating-a-secure-log-in/20254)

<div class="topic-metadata">

**Author:** [@Ryu](https://www.phphelp.com/u/Ryu)\
**Replies:** 1\
**Last updated:** [May 16, 2013, 12:42pm UTC](https://www.phphelp.com/t/creating-a-secure-log-in/20254 "2013-05-16T12:42:58Z")

</div>

I have a working log in system. It however is not very secure at all. I did research and found scrypt seems to be the best way to make a secure log in. I found a site offering its implementation but I’m new to this so…

---

## [no php file is running on localhost](https://www.phphelp.com/t/no-php-file-is-running-on-localhost/20064)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 3\
**Last updated:** [May 13, 2013, 11:55am UTC](https://www.phphelp.com/t/no-php-file-is-running-on-localhost/20064 "2013-05-13T11:55:17Z")

</div>

I have placed my php i file inside htdocs folder and when i am trying to access it an error message is displayed. Not Found The requested URL /first.php was not found on this server. My wamp server is online also.

---

## [Yet Another htaccess question](https://www.phphelp.com/t/yet-another-htaccess-question/20171)

<div class="topic-metadata">

**Author:** [@LesMizzell](https://www.phphelp.com/u/LesMizzell)\
**Replies:** 1\
**Last updated:** [May 1, 2013, 5:59pm UTC](https://www.phphelp.com/t/yet-another-htaccess-question/20171 "2013-05-01T17:59:22Z")

</div>

I’m moving a site to a new host. The htaccess file on the old host was working great for friendly urls like mysite.com/contact RewriteRule ^/(\[a-zA-Z0-9\_-\]+)$ index.php?var1=$1 However, on the new host, I have a tempor…

---

## [Password Protected page help](https://www.phphelp.com/t/password-protected-page-help/19831)

<div class="topic-metadata">

**Author:** [@robertjones6](https://www.phphelp.com/u/robertjones6)\
**Replies:** 2\
**Last updated:** [March 13, 2013, 4:07am UTC](https://www.phphelp.com/t/password-protected-page-help/19831 "2013-03-13T04:07:19Z")

</div>

heres the code, im new to php and any advice on what i did wrong or the solution would be appreciated \[code\] Amy-Grace Web Chat body { background: #33FF99; } #center { margin-left:500px; margin-right:500px; margi…

[Previous page](https://www.phphelp.com/c/security-and-php/8.md)

[Next page](https://www.phphelp.com/c/security-and-php/8.md?page=2)
