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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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-2022 The PHP Group
All rights reserved.
Last updated: Mon Sep 26 03:05:53 2022 UTC