php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1280 Error when doing OCIDefineByName with empty fields
Submitted: 1999-03-30 15:00 UTC Modified: 2006-07-17 08:48 UTC
From: steffenmail at writeme dot com Assigned: thies (profile)
Status: Closed Package: OCI8 related
PHP Version: 3.0.7 OS: SuSE Linux 6.0
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: steffenmail at writeme dot com
New email:
PHP Version: OS:

 

 [1999-03-30 15:00 UTC] steffenmail at writeme dot com
When I do

OCIDefineByName($stmt,"PERSON_VORNAME",&$person_vorname);

with Oracle 8.0.5 and *the value of PERSON_VORNAME is empty (no content)*, the HTML page stops loading in the middle and doesn't print out any errors.

For example, if I save a fax number (which is optional) from a form to the database and the user leaves it blank, the described error occures.

Is this a bug?

Thanks a lot,
- Steffen

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-04-06 08:42 UTC] thies
fixed in CVS 
 [2014-08-07 20:31 UTC] googleguy@php.net
Automatic comment from SVN on behalf of googleguy
Revision: http://svn.php.net/viewvc/?view=revision&revision=334526
Log: Incorrect return value documented for set_time_limit.

Documented as void, but the function has always returned a boolean true/false.
See source code for reference http://lxr.php.net/xref/PHP_5_5/main/main.c#1280
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue May 21 01:01:27 2019 UTC