php-general Digest 19 Aug 2011 02:00:19 -0000 Issue 7447
Topics (messages 314555 through 314562):
Re: [PHP-WEBMASTER] Sir i really need help immediatelly!
314555 by: Richard Quadling
PHP 5.3.7 Released!
314556 by: Ilia Alshanetsky
Where is the code for this page?
314557 by: Dotan Cohen
314558 by: Daniel Brown
314559 by: Dotan Cohen
314560 by: Daniel Brown
314561 by: Dotan Cohen
314562 by: Tamara Temple
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
On 17 August 2011 17:34, MUSTAFA TOKAT <ad...@aymus.net> wrote:
> Dear Sir/Madam;
>
> I'm trying to create a php application and in my application, i have to get
> some dynamic data from external web page.
>
> But to getting this dynamic data , I have to pass some values with query
> string to external webpage.Im be able to do it when im using regular iframe
> or browser.But I want to do this process silently.So that, I used all php
> methods which are curl,fopen,file,file_get_contents,But any of them didn't
> work.
>
> Actually they didn't send the query string values to external web page to
> get dynamic data.Because of it,I'm always getting error!Please help me about
> it. I cant figure out what should I do to be able to do it.
>
>
>
> http://www.nts.gov.tr/PublicWebGUI/crdb? This is the web page, im trying to
> get data
>
>
>
> http://www.nts.gov.tr/PublicWebGUI/crdb?msisdn=5073352714
> <http://www.nts.gov.tr/PublicWebGUI/crdb?msisdn=5073352714&captchafield=8494
>> &captchafield=8494 it's using get method with two fields which are
> msisdn and captchafield.
>
>
>
> Im waiting for your responds immediatelly!
>
>
>
> Thanks a lot,
>
>
>
> Sincerelly yours;
>
> Mustafa TOKAT
>
>
2 things.
Firstly, this is the wrong mailing list for general PHP support. I've
forwarding this reply to the correct list.
Secondly, attempting to bypass a captcha sort of defeats the object of
a captcha.
Whatever data you supply having examined the form, it will be highly
unlikely to be the value that the server has generated for the image.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
--- End Message ---
--- Begin Message ---
The PHP development team would like to announce the immediate
availability of PHP 5.3.7. This release focuses on improving the
stability of the PHP 5.3.x branch with over 90 bug fixes, some of
which are security related.
Security Enhancements and Fixes in PHP 5.3.7:
* Updated crypt_blowfish to 1.2. (CVE-2011-2483)
* Fixed crash in error_log(). Reported by Mateusz Kocielski
* Fixed buffer overflow on overlog salt in crypt().
* Fixed bug #54939 (File path injection vulnerability in RFC1867
File upload filename). Reported by Krzysztof Kotowicz. (CVE-2011-2202)
* Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938)
* Fixed bug #54238 (use-after-free in substr_replace()). (CVE-2011-1148)
Key enhancements in PHP 5.3.7 include:
* Upgraded bundled Sqlite3 to version 3.7.7.1
* Upgraded bundled PCRE to version 8.12
* Fixed bug #54910 (Crash when calling call_user_func with unknown
function name)
* Fixed bug #54585 (track_errors causes segfault)
* Fixed bug #54262 (Crash when assigning value to a dimension in a non-array)
* Fixed a crash inside dtor for error handling
* Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
* Fixed bug #54935 php_win_err can lead to crash
* Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
* Fixed bug #54305 (Crash in gc_remove_zval_from_buffer)
* Fixed bug #54580 (get_browser() segmentation fault when browscap
ini directive is set through php_admin_value)
* Fixed bug #54529 (SAPI crashes on apache_config.c:197)
* Fixed bug #54283 (new DatePeriod(NULL) causes crash).
* Fixed bug #54269 (Short exception message buffer causes crash)
* Fixed Bug #54221 (mysqli::get_warnings segfault when used in multi queries)
* Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters)
* Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and
SplTempFileObject crash when user-space classes don't call the parent
constructor)
* Fixed bug #54292 (Wrong parameter causes crash in
SplFileObject::__construct())
* Fixed bug #54291 (Crash iterating DirectoryIterator for dir name
starting with \0)
* Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator)
* Fixed bug #54623 (Segfault when writing to a persistent socket
after closing a copy of the socket)
* Fixed bug #54681 (addGlob() crashes on invalid flags)
* Over 80 other bug fixes.
Windows users: please mind that we do no longer provide builds created
with Visual Studio C++ 6. It is impossible to maintain a high quality
and safe build of PHP for Windows using this unmaintained compiler.
For Apache SAPIs (php5_apache2_2.dll), be sure that you use a Visual
Studio C++ 9 version of Apache. We recommend the Apache builds as
provided by ApacheLounge. For any other SAPI (CLI, FastCGI via
mod_fcgi, FastCGI with IIS or other FastCGI capable server),
everything works as before. Third party extension providers must
rebuild their extensions to make them compatible and loadable with the
Visual Studio C++9 builds that we now provide.</p>
All PHP users should note that the PHP 5.2 series is NOT supported
anymore. All users are strongly encouraged to upgrade to PHP 5.3.7.
--- End Message ---
--- Begin Message ---
I'm going through a customer's server, running crazy proprietary forum
software (vbbullitin) and even worse SEO mods (vbseo). I cannot figure
out where the php code for a page is coming from! How to trace this
URL back to a PHP page:
http://www.example.com/forum/members/connie.html
Now, I know where the ~/forum root is. I can upload a test.txt file to
there just fine. However, in this forum root there is neither a file
"members" nor a directory "members". Furthermore, there is no mention
of the string "memebers" in the .htaccess file. There is nothing
specified to handle 404s in .htaccess nor in the httpd.conf file. In
fact, requests return a file of type text/html with only the text
"Page not found", no HTML markup at all.
So what is returning that page!???!?
Thanks.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--- End Message ---
--- Begin Message ---
On Thu, Aug 18, 2011 at 15:40, Dotan Cohen <dotanco...@gmail.com> wrote:
> I'm going through a customer's server, running crazy proprietary forum
> software (vbbullitin) and even worse SEO mods (vbseo). I cannot figure
> out where the php code for a page is coming from! How to trace this
> URL back to a PHP page:
> http://www.example.com/forum/members/connie.html
>
> Now, I know where the ~/forum root is. I can upload a test.txt file to
> there just fine. However, in this forum root there is neither a file
> "members" nor a directory "members". Furthermore, there is no mention
> of the string "memebers" in the .htaccess file. There is nothing
> specified to handle 404s in .htaccess nor in the httpd.conf file. In
> fact, requests return a file of type text/html with only the text
> "Page not found", no HTML markup at all.
>
> So what is returning that page!???!?
Check the RewriteCond and RewriteRule entries in the .htaccess
file in that directory. If there are none, check parent directories.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/
--- End Message ---
--- Begin Message ---
On Thu, Aug 18, 2011 at 22:57, Daniel Brown <danbr...@php.net> wrote:
> Check the RewriteCond and RewriteRule entries in the .htaccess
> file in that directory. If there are none, check parent directories.
>
Two things for the fine archives:
1) I found this in .htaccess:
RewriteRule ^(.+)$ vbseo.php [L,QSA]
If anyone wants to see spaghetti, go google vbseo.php. It looks like
Perl. Batman Perl.
2) I learned a new trick today! Grep this/that syntax:
cat .htaccess | grep "RewriteCond\|RewriteRule"
That's a backslash-pipe double operator in there. Easy to remember:
they're both on the same key.
Thanks.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--- End Message ---
--- Begin Message ---
On Thu, Aug 18, 2011 at 16:13, Dotan Cohen <dotanco...@gmail.com> wrote:
>
> 2) I learned a new trick today! Grep this/that syntax:
> cat .htaccess | grep "RewriteCond\|RewriteRule"
> That's a backslash-pipe double operator in there. Easy to remember:
> they're both on the same key.
Depending on your keyboard layout, yes. ;-P
If you like operators with your grep, try grepping on steroids by
using egrep (`man egrep`).
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/
--- End Message ---
--- Begin Message ---
On Thu, Aug 18, 2011 at 23:17, Daniel Brown <danbr...@php.net> wrote:
> Depending on your keyboard layout, yes. ;-P
>
It is on all four of mine :)
> If you like operators with your grep, try grepping on steroids by
> using egrep (`man egrep`).
>
I'll look into that. Thanks!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--- End Message ---
--- Begin Message ---
On Aug 18, 2011, at 3:17 PM, Daniel Brown wrote:
On Thu, Aug 18, 2011 at 16:13, Dotan Cohen <dotanco...@gmail.com>
wrote:
2) I learned a new trick today! Grep this/that syntax:
cat .htaccess | grep "RewriteCond\|RewriteRule"
That's a backslash-pipe double operator in there. Easy to remember:
they're both on the same key.
Depending on your keyboard layout, yes. ;-P
If you like operators with your grep, try grepping on steroids by
using egrep (`man egrep`).
If you *really* like operators with your grep, try pcregrep :)
--- End Message ---