I've got this weird situation.. passing NULL as an argument to execute a generated prepared statement for postgres. But pg_result_error says the value 0 can not be inserted into the table because of a foreign key constraint. Postgres is right that it shouldn't write 0, but I've specified NULL in the query...
The resource type is set to Unknown instead of pgsql link when the code is executed as part of the fatal error handler set by register_shutdown_function...
When the fatal error handler is unregistered, no error appears...
Gives me: bool(true) string(101) "Hello Field has spaces Has delimiter, inside field "Has field escape sequence inside field" Basic " string(104) "Hello,Field has spaces, Has delimiter, inside field , Has field escape sequence inside field ,Basic "
@ALLTHINGSREMAINHERE I try to help if I'm available. I'm currently unavailable as I'm suffering from a migraine. Girgias is right, don't ping random people, it's not cool. Also, I'm a woman.
Someone will respond to you if they're willing to help. Remember that those who help are doing it for free, and of their own volition. Don't take it for granted.
@Tiffany Sorry for my mistake... Actually. i need a solution as soon as possible. I Didn't know that you are a woman(sorry for that) Thanks a lot for you Gentle and Cool answer(really, not fun)
@NikiC I'm going to need your help to auto-implement the Stringable interface when the method exists... github.com/php/php-src/pull/5083 You can push a commit on my fork of course.
@ALLTHINGSREMAINHERE Just wondering... at put.re/api-docs there's an example curl -F [email protected] https://api.put.re/upload, why wouldn't you run it without PHP or through shell_exec ?
If that doesn't work then you can't solve it with or without PHP. The next best thing you can do is contact the organisation that's behind put.re
If then you can't find their organisation, like I can't, and have nobody to turn to when things go wrong, you might want to ask yourself if you can trust this third party that promises to store your files forever, but does not disclose who/where they are.