How can we track a video file duration in PHP
Hi I need to save video file duration. when it is uploaded. How can I do that in PHP. ...
Hi I need to save video file duration. when it is uploaded. How can I do that in PHP. ...
Hai frnds i am new to php actually i am facing following problems in coding please can anyone give the solution? Actually i am having one audio player and i am displaying some word dcoument if i click word document corresponding audio file should play actually when i click doc file it should pop ip with save as and open with for that i...
<?php $console = new DOTNET("ProjectX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=KeyTokenHere-i used a real value here", "ProjectX.Core.Services.ServicX"); echo '1'; ?> The error message: Fatal error: Uncaught exception 'com_exception' with message 'Failed to instantiate .Net object [CreateInstance] [0x80070002] The s...
Hi All Is it possible, in any way, to pass comparison operators as variables to a function? I am looking at producing some convenience functions, for example (and I know this won't work): function isAnd($var, $value, $operator = '==') { if(isset($var) && $var $operator $value) return true; } if(isAnd(1, 1, '===')) echo 'wo...
Hi guys I'm retrieving emails and some of my emails have utf encoded text. However even though my page is encoded as utf 8 - in some places when I try to out put utf text I get funny characters like : =?utf-8?B?Rlc6INqp24zYpyDYotm+INin2LMg2YXYs9qp2LHYp9uB2bkg2qnbjCDZhtmC?= =?utf-8?B?2YQg2qnYsdiz2qnYqtuSINuB24zaug==?= Whereas in othe...
our requirement is, to open a http session to a device(https://192.168.75.1/...) and passing xml data to perform operation like get information from the device eg: Adding user to device https://192.168.75.1/scgi-bin/platform-xml.cgi?sessionId=$sessionId&firstname="<DeviceConfiguration><userAdd><userName>nmanglik&l...
In edit profile form I want to display selected value of Country dropdown list as value saved in db and user can change that also. ...
Hi, I have an Apache/2.2.15 (VC9) and PHP/5.3.2 (VC9 thread safe) running as an apache module on Vista 64bit machine. All running fine. Project that I'm benchmarking (with apache's ab utility) is basically standard Zend Framework project with no db connection involved. Average (median) apache response is about 0.15 seconds. After I've...
I am doing my own visitor tracking with special features that Google Analytics (nor any other) can provide me as it is customized. I was calling this function near the end of my script, but quickly ran into our clients running into thousands of pages being called from bots (I assume Google), and my table filled up with around 1,000,000 u...
Hi guys, I have created a form in HTML and I m trying to post the information in the form to a MySQL database. My form makes use of a dynamic list selection that needs to be captured to the database. However when submitting the form I get the following error Error: Unknown column 'coulmn_name' in 'field list'. Here is my HTML code for...
is there any preg or str_replace that can help me remove characters from a string that are not supported on sms in phones. Now accented characters are shown as yy in sms. ...
Are there any tools available that can scan multiple .php files and report back duplicated lines/chunks of code? It doesn't have to be really smart but basically give me a starting point for manual scans to improve the codebase of some of my apps. ...
I'm wondering what do we call this kind of assignment. <?php class SimpleClass { public $var1; public $var2; public $var3; public function SimpleClass() { $this->var1 = 'one'; $this->var2 = 'two'; $this->var3 = 'three'; } } function test() { $objSc = new SimpleClass(); $objSc->va...
I'm using google charts easy php class (here's the link of it) and i want to draw Multiple Vertical Bar Chart, as the documentation says "Separate multiple data sets with |" so i try this , but nothing happens $chart1=new googleChart($a | $b ,'bary' ); *note that both $a & $b are arrays i would appreciate any help :) ...
We use iframes to show ads on our site. Iframes are used to allow us to keep the ad generation code and other site modules separate. As we track ad views on our site, and need to be able to keep an accurate count of which pagetype gets what views, I must ensure that users can't simply copy-paste the iframe in which the ad is loaded ont...
Example of a string: "Some text.....!!!!!!!!?????" Using PHP how would I get the position of the last letter (or even alphanum character) which in this example is the letter t? ...
What is the best way for test my php code's performance? ...
I see (not just on this site) a lot of question from inexperienced PHP programmers about the infamous "headers already sent... output started at" error, and many people suggest using ouput buffering as a solution. In my experience I have never found a situation where that error wasn't caused by a flaw in the program's logic. Are there c...
I see i can get a MySQL database defined encoding in PHP using the function mysql_client_encoding(...), but is there a way to get a MySQL table defined encoding in PHP ? ...
Hi friends, I have accessed the following http://www.webservicex.net/genericbarcode.asmx luckly i got the result too,but the result in the format of base64binary. i dont know how to parse the result if any one knows and Please explain me how to use the base64binary and convert the encoded format into the image. Thanks,Praveen J ...