php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9216 Filename length makes php "cause an error in php4ts.dll"
Submitted: 2001-02-11 14:15 UTC Modified: 2001-06-02 21:59 UTC
From: ben at inchaos dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.0.4pl1 OS: Windows ME
Private report: No CVE-ID: None
 [2001-02-11 14:15 UTC] ben at inchaos dot com
I *think* I've found an error that relates to the length of a script's filename when trying to access a mysql database.

I am using Windows ME and personal web server version 4.0.

Sample script that causes the problem:

<?php
   $linkid = mysql_connect("localhost", "user", "pass");
?>

When the above script is run as the result of clicking on a hyperlink (this is important - the error does not happen if the script's url is manually entered) and the filename is longer than 5 characters the error occurs.

If refresh is pressed the script runs ok.
If the script is run from a form it finishes ok.
If the filename length is 5 characters or less the script runs ok. 

Cheers
Ben

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-02 21:59 UTC] sniper@php.net
This is definately not problem with PHP.
Try submitting this as a bug report to Microsoft.



 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC