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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ben at inchaos dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 17:01:30 2024 UTC