Downloaded 114 BLOBS using PHP before getting ORA-12537: TNS Connection Closed [message #643998] |
Sat, 24 October 2015 15:25 |
|
jdrogers73
Messages: 2 Registered: October 2015
|
Junior Member |
|
|
I am running a very basic PHP script on a Redhat Linux box to download photos. I can connect to Oracle with no problem. 114 BLOBS are downloaded before getting ORA-12537 TNS: Connection Closed. Why is it closing? I need to download 2,114 BLOBS.
This is the algorithm:
query = "SELECT picture FROM table WHERE id_number = :id";
foreach(id number)
{
prepare query
execute query
bind column
fetch
array[id] = picture;
}
print_r(array);
exit;
[Updated on: Sat, 24 October 2015 15:26] Report message to a moderator
|
|
|