php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #66457 angosso-
Submitted: 2014-01-10 13:05 UTC Modified: 2014-01-10 17:20 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: r dot mbiama at angosso dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.5.8 OS: Web Server
Private report: No CVE-ID: None
 [2014-01-10 13:05 UTC] r dot mbiama at angosso dot net
Description:
------------
---
From manual page: http://www.php.net/function.strpos
---
I should do my best to write scripts so that and require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of.
mixed strpos ( string $haystack , mixed $needle [, int $offset = 1 ] );

Test script:
---------------
require_once 'ServerDriverFork.php';
array Net_Server_Driver_Fork::getClientInfo ( );
boolean Net_Server_Driver_Fork::isConnected ( integer $id );


Expected result:
----------------
Client.php 
opendir.php 
Stream.php 
home_parse_lock_response.php 
home_parse_propfind_response.php


Actual result:
--------------
LC_ALL
string setlocale ( int $category , string $locale [, string $... ] );

Patches

register_globals (last revision 2014-01-10 13:07 UTC by r dot mbiama at angosso dot net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-10 17:20 UTC] johannes@php.net
-Status: Open +Status: Not a bug
 [2014-01-10 17:20 UTC] johannes@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed May 25 11:03:35 2022 UTC