Why APC's "cached files" jump so fast?
It keeps jump : Cached Files 292 ( 32.3 MBytes) ... Cached Files 0 ( 0.0 Bytes) Is that normal? Why can't the figure be stable in production environment? ...
It keeps jump : Cached Files 292 ( 32.3 MBytes) ... Cached Files 0 ( 0.0 Bytes) Is that normal? Why can't the figure be stable in production environment? ...
Hello. How many kbytes use your site on Zend Framework? and what size is normal...? // using memory_get_peak_usage(true) / 1024; ...
Okay I have a folder say... http://oldserver.net/file/index.jar How would I be able to protect the file "index.jar" from being downloaded from regular web browsers? I've seen this done before, I just want to protect it from being accessed from web browsers, and keep it strictly java download access only. What I mean by java download a...
Hi, I need to retrieve anchor tag innerHTML using RegExp in php. Consider I have a syntax like <div class="detailsGray"><span class="detailEmail"><a href="http://example.com"class="fontLink">[email protected]</a></span></div> Try to get it by preg_match_all('/class=\"fontLink"\>.*\<\/a\>/', $raw, $matches); ...
I'm relatively new to PHP, and am trying to learn. How long did it take you from the point of zero php knowledge to a level of competence where you could actually construct your own, functional website? From what point should I begin, if have no programming background? Thanks in advance to anyone who participates in this discussion. ...
hi ! from this xml file i want to delete picture node according to attribute id. i have written php code but it does not work. <gallery> <organizate> <organization w="3" h="1" space="17"/> <organization w="4" h="2" space="17"/> <organization w="6" h="3" space="7"/> </organizate> <pictures> ...
Hello All i m using flash on a module of Joomla to display images, i embed flash player code into javascript , it fetch images from an XML files wher images are predefined and it works fine, now i have a problem that i m collecting images from database, means images are dynamically, so i m unable to fetch that images an display on flash...
i've been trying my hand at mysqli. using procedural mysql, the code displays the results fine. however, after making the switch to OOP mysqli, i tried converting the code to mysqli, and it says there are no quotes. is there anything wrong with the code? /* the database object */ private $_db; public function __constr...
How do you use a value "submitted" by a form in javascript? Facts: It is a PHP document I'm using JavaScript because I need some timing factors I don't think I can get from serverside-scripts :) To simplify; what I want is, that when this form is submitted or a button is clicked: <form method="POST" action="test.php"> <input type="...
Is there a way to make a progress bar (using ajax and jquery) for any script runnig in the server? I use a php script to elaborate some datas and I want to output a percent info to the client browser of the script progress. I tried to use session var but with poor results. ...
I have a XML file <?xml version="1.0" encoding="UTF-8"?> <xml> <events date="12/12/2010"> <event> <title>JqueryEvent</title> <description> easily </description> </event> </events> <events date="14/12/2011"> <event> <title>automatically onBlur</title> <description> when a date is selected. For an inline calendar, simply attach the dat...
I've adapted this from an example that I found on the 'net... function ratio($a, $b) { $_a = $a; $_b = $b; while ($_b != 0) { $remainder = $_a % $_b; $_a = $_b; $_b = $remainder; } $gcd = abs($_a); return ($a / $gcd) . ':' . ($b / $gcd); } echo ratio(9, 3); // 3:1 Now I want it...
I've been following this Symfony tutorial. In some sections it just tells me to add a public function inside a class but it doesn't say if I should add it at the beginning or at the end of the class. For instance: /** * JobeetCategory * * This class has been auto-generated by the Doctrine ORM Framework * * @package jobeet * @s...
I am creating a join now page.I am taking login name,password, confirm password and email to be register. these inputs I am validating through javascript and I am checking that login name does exist already or not through ajax.If it exists I am simply displaying a msg that this id exists already please chose another one. Problem: is that...
I have a messy tree multidimensional array that I want to do the following to: Extract each array, no matter how far nested down to put it into a single "holder array", so this (just a basic example as it would be much more complex than this as far as the nesting) $this = array[0]=> (array[1]=>('a','b'), array[2]=>(...
I need few fonts files for mpdf. Arial Verdana Times New Roman Courier New Tamoha Goergia Trebuchet MS If anybody have please share with me ...
how to remove text from a text box like- elseif($num_rows >= 1) { ?> <script> document.getElementById("newid").value=""; </script> <?php echo "<font color='Red'><b>$logid</b> Ligin name has already been taken, Please chose another Login name.</font>"; } this code I am using through ajax but this is not working. newid ...
I often have the need to view data in arrays and use the html tag <pre> to do this. However, it becomes tedious and frustrating having to type the same thing out all the time. My question, what is your technique for avoiding this annoyance of programming with PHP? ...
Im trying to use file_get_contents to get contents of a file and delete a certain part of a line in that file. Is the following anywhere near what I want to achieve? $page = file_get_contents('myPage.php?id='.$_GET['id']); $file = 'temp/form_'.$_GET['id'].'.html'; $change = file_get_contents('myPage.php?id='.$_GET['id']); $cha...
Hello, I'm working on a webservice that needs to be contacted from different clients. Since I never know what language the client will be using I was wondering if every language can retrieve and pass a Class of the type "System.Net.CookieContainer". Ex: I have a webservice that authenticates a client and returns a CookieContainer (this...