Anyone successfully used php_apc with symfony1.4?
I can only make symfony work properly by diabling php_apc.dll,very strange! The PHP version is 5.3.0 ...
I can only make symfony work properly by diabling php_apc.dll,very strange! The PHP version is 5.3.0 ...
The Problem I have a PHP script that uses shell_exec to run a pdf-to-text converter. To simplify the problem I've created a short script that uses shell_exec to just echo the output of the dir command. <?php $cmd = 'C:\\WINDOWS\\system32\\cmd.exe /c '; echo shell_exec($cmd.' dir'); ?> When I run this on my Apache server, everything w...
In my CakePHP application layout I have a section for latest posts that needs to pull from a database. How would I tell it to render a partial so I can pull the latest posts? Sorry if this is a simple question, I just started CakePHP tonight. ...
I seen Winsocks in C++ I want to do the same with php. Can anyone shed some light on the subject? ...
I have used SendStudio in the past, but I am wondering if there is an open source version using LAMP? Preferably, it should use a WYSIWYG editor for the emails, and be friendly on your average user. BTW, I'm not a spammer. Thanks ...
There are various problems when using php_apc with symfony, If the boost is not so significant,I'm going to replace apc with memcached. ...
Could you describe it in examples, please? ...
Fatal error: Call to undefined function mb_substr() after moving to my dedicated server (hypervm CP) , i got lots of errors . it would be grateful ,if you know how to solve this problem thanks in advance ...
How to remove index.php in codeigniter on Windows 7 and IIS. I searched net for the solution but result weree based on re-write module of Apache, if anyone has worked on IIS and Windows 7 and had similar situation pls help on this. I want to work on IIS and Windows 7 and if I can remove index.php while calling any particular controller...
Hi, I have a Solr box which is fed by a PHP cronjob right now. I want to speed things up and save some memory by switching to a C++ process. I don't want to reinvent the wheel by creating a new library. The only thing is I can't find a library for Solr in C++. Otherwise I will have to create one using CURL probably. Does any of ...
The PHP short tag <?= $var ?> has been deprecated for a while. Almost all PHP frameworks use the long form <?php echo $var ?> (e.g., symphony, Yii, Kohana) Smarty is a famous PHP template engine which supports a shorter form {$var} Template engines (like Smarty) are easier for web designer Editing a template shows {$var} instead of sh...
How can i retrieve categoryname from given xml file using php <categories> <category categoryid="1100" categoryname="Baby Clothing" categorylevel="1"> <category categoryid="1101" categoryname="Dresses" categorylevel="2"> </category> <category categoryid="1102" categoryname="Trousers & Jeans" categorylevel="2"> </category> <categor...
I'm just getting started with the Google Safe Browsing API to verify destination URLs for my URL shortening service http://lin.cr. Do I have to download the entire list of suspicious sites or is there a way I can run a check only when I need it? I don't have a crazy amount of traffic on the site, so I think it's easier to do it live. ...
Hi. How can I use filter action from page that not contain filter form (e.g. by submit or GET request)? When I pass parameters in the following URL <module_name>/filter/action?module_filters[_csrf_token]=62a17afab45d56382974f9a495abee7c&module_filters[id]=3998 I get an error in filter form: csrf token: CSRF attack detected. or ...
i have a list box to show the list of vehicle when user select the faculty. i want to list only the vehicle based on the selected faculty by user. <td>No</td> <td>Registration No</td> <?php $count = 0; $db = mysql_connect('localhost','root') or die ("unable to connect"); mysql_select_db('fyp',$db) or die ("able to se...
Hello, i am using a youtube api php and have problem... OS: debian, php 5.2 <?php require_once 'Zend/Loader.php'; Zend_Loader::loadClass('Zend_Gdata_YouTube'); $yt = new Zend_Gdata_YouTube(); $query = $yt->newVideoQuery(); $query->setQuery($searchTerm); $query->setStartIndex($startIndex); $query->setMaxResul...
I am trying to connect to a remote MySQL database via PHP that is installed on my local windows computer. MySQL Version: 5.1.43 The remote database is set up to accept connections from my IP but I keep getting this error: Warning: mysql_connect() [function.mysql-connect]: OK packet 6 bytes shorter than expected in "my file here" Warn...
Hi I really hope someone can help me with this. I'm struggling with it for nearly two days now... I have a DB-table "Device" and a table "Connection". I'm using it to visualize my company's network. To pass the data to the JS-framework I use to visualize the data I need an array like this: Array ( [id] => 1 [name] => TestPC1 ...
I work at an internet company and we make PHP and .Net (C #) sites / applications our principle is to get all colleagues to a higher level but also the efficiency is important there are 10 web developers and searching for the best mix to make applications like parallel programming / more developers one a project we also have used some...
I try to update the data making use of checkboxes. But when one or more of the checkbox is not checked. A notice is returned: Notice: Undefined index: stats2 in E:\wamp\www\HOSPITAL\update.php on line 12 Notice: Undefined index: stats3 in E:\wamp\www\HOSPITAL\update.php on line 12 Notice: Undefined index: stats5 in E:\wamp\www\HOSPITA...