php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7483 Cannot retrieve whole date out of a datefield
Submitted: 2000-10-26 12:14 UTC Modified: 2000-11-30 20:49 UTC
From: thargoid at gmx dot net Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.2 OS: Win NT4 SP6a
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: thargoid at gmx dot net
New email:
PHP Version: OS:

 

 [2000-10-26 12:14 UTC] thargoid at gmx dot net
If I want to read out a datefield of MSSQL7, the script won't stop is the fieldtype is "smalldatetime" and is retrieving the first 4 chars of the date.... in english format (d mmm). If I request another php page (and didn't aborted the loading), the IIS4 freezes and won't answering anymore requests.

if the fieldtype is "datetime", it will retrieve the first 8 characters, i.e. if the DB field contains 1978-06-15, it will retrieve "15 Jun 1" and nothing more.

plz help me, I lost DAYS in examining this problem... and still without success.

I read the field via normal mssql_result or by fetching the row.. no matter the same result :-(

my environment:
a standart php4.0.2 w32 installation with, mssql7 support enabled, IIS4, MSSQL7 SP2, winNT 4 SP 6a

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-30 20:49 UTC] fmk@php.net
This was fixed in php4.0.3. Please update
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 15 16:05:46 2022 UTC