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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
15 - 8 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC