[PHP] PDOStatement - dump params to log after binding

2008-07-08 Thread Radek Zajkowski
Hi all, is there a way to access parameters in the PDOStatement object after they have been bound? it would be very useful for my debug logging. Thanks, Radek. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Receiving an associative array from Flash

2004-05-31 Thread Radek Zajkowski
Hey what would the syntax look like if I was receiving an array from flash. Assume that it is inside a class with a proper contructor class receiveRemoting{ function receiveRemoting{ //ALL THE CONFIG STUFF } function receiveArrayFromFlash($arrayFromFlash){ //THIS IS WHERE

[PHP] what do '?' and ':' do?

2004-05-17 Thread Radek Zajkowski
Here's a code snippet // call gui object method $method = $cmd."Object"; $class_name = $objDefinition->getClassName($obj_type); $module = $objDefinition->getModule($obj_type); $module_dir = ($module == "") ? "" : $module."/"; what does the semicolon and the question mark do? TIA

Re: [PHP] How to recognize .mov .mp3 file types

2004-02-28 Thread Radek Zajkowski
This is extremly swell: http://getid3.sourceforge.net/ Radek Zajkowski wrote: getimagesize() takes care of determining whether an image is GIF, JPEG SWF etc. but how do I determine if a file is a .mov or .mp3? R> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] How to recognize .mov .mp3 file types

2004-02-28 Thread Radek Zajkowski
getimagesize() takes care of determining whether an image is GIF, JPEG SWF etc. but how do I determine if a file is a .mov or .mp3? R> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to detect session expiry

2004-02-18 Thread Radek Zajkowski (Mac)
How do I tell if session has expired? It would help me with providing the user with a comment such as: "your session has expired please login in again" Thanks R> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Migrating from SSI and Perl

2003-12-26 Thread Radek Zajkowski
Check out shell_exec() and its siblings. I'd likely use it like so $output = shell_exec("perl myscript.pl"); and then do something with the $output variable R> > -Original Message- > From: Philip Pawley [mailto:[EMAIL PROTECTED] > Sent: December 26, 2003 12:07 PM > To: php-general > Subje

[PHP] Apache 2 and PHP

2003-12-25 Thread Radek Zajkowski
A few months back the official PHP website still warned againts PHP and Apache 2. I am wondering about the current status of these two technologies when used together. I am about to configure a web server and was going to use Apache 1.3 with PHP4+ as opposed to Apache 2 with PHP4+. What are your op

RE: [PHP] Re: Session hijacking

2003-10-19 Thread Radek Zajkowski
> off. Likewise though, you might start looking for replacements for those > scripts as it takes time to make the changes, but it has been a year since > register_globals were turned off by default and mentioned that they were > going away in the future. That is a sound advice, some time ago a lo

RE: [PHP] Dealing with session expiry

2003-10-19 Thread Radek Zajkowski
I use it with skins on a web page, users coming in can pick a theme and for the duration of their visit they have the theme(it's an illustrator website) the problem that I having is that session expiry will cause that site to fall apart after idle time. I notice sites using login detect expiry au

[PHP] Dealing with session expiry

2003-10-18 Thread Radek Zajkowski
I have some pages that use sessions to call out certain elements in the layouts. It allows user to decide how should their pages look for the duration of their visit. Unfortunately whenever a user leaves their browser idle past the expity time of the session on their next click pages fall apart an

[PHP] Script Execution Time

2003-07-28 Thread Radek Zajkowski
Could someone pass on a snippet, a function or a technique for measuring script times. It appears the host I am with is having some PHP engine performance problems and I need to send them the figures. Thanks in advance R> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Mail parse

2003-07-28 Thread Radek Zajkowski
I am curious if there is a better documentation of Mail Parse functions than the one provided on the php.net site. Any help is appreciated, R> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] test for rtf

2003-03-07 Thread Radek Zajkowski
IF this data is being uploaded via form you should look into $_FILES array, in particular $_FILES["userfilename"]["type"]; R> On 3/7/03 11:33 AM, "Andrew Brampton" <[EMAIL PROTECTED]> wrote: > Not to sure on the RTF file format, but checking the first few letters might > help > Quickly opening a

[PHP] include/require vs performance

2003-01-03 Thread Radek Zajkowski
i am designing a small app that obviuosly works best when I have a lot of global files with functions, which cut down on editing. I will likely have a main page that will contain modules and also load all of the required includes like config etc. in total some 10 files will be reqested. Is the