|
|
|||||||||||||||||||||||||
sprinklesUser
Recent posts by sprinkles
Truck: Post From PHP Page to PHP Page in Programming Help
superjer said: What are you actually trying to accomplish?
I want it so when I it. No but for reals, I have error.php which handles all my errors and displays a user friendly 'error' page (and if its an admin tells them the error). It also does fancy things like log the error and notify me. So naturally, when we encounter an error I want to send the error to error.php. For example: I spill some soap (the gel kind, because you can't really spill a bar [unless you melt it]) on my database. index.php phreaks out cause it can't connect to the database. So it sends the data/error to error.php. Then error.php nicely says "THE FUCKING DATABASE IS BROKEN D: ," logs the error, and notifies me. That's pretty much what I want to happen. I did accomplish this using sessions (and after displaying the error page we set the session['error'] back to null). But is there anyother way?
Friday at 19:53
Truck: Birds and shit, yo. in General
swain said: ...SJ is the fat one.
Pics or it didn't happen.
Thursday at 21:50
Truck: Post From PHP Page to PHP Page in Programming Help
I wanted to know if I could post from within php to another php file. Example PHP code try { // code } catch (Exception $e) { // post $e to error.class.php } Maybe not post per se, but at least send data ($e) to another php page (error.class.php) And not through sessions. I know it can easily be done using sessions, but for some reason I don't like that idea.
Wednesday at 14:45
Truck: Video Player in Programming Help
All this shit over an image off google? lulz.
2012 Jan 30 at 15:38
| |||||||||||||||||||||||||