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
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC