Especially prepared statements. If you learn PDO prepared statements, you'll be learning the currently top recommended best practice for accessing relational databases in PHP.
Also, the one resource that I always recommend to all web developers, regardless of language, platform, data source, or area of interest is OWASP.org. It really is universally important for all developers to understand the concepts described there.
I know ... people like Joe... fixing stuff from the time they wake up in the morning until they pass out at night (with a peanut butter sandwich). Completely selfless. It's the people like him that are the soul of PHP.
And there are a large number of people like him that hang out in this room
I am trying to use sqlite with php but I am getting start up error
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/pdo_sqlite.so' - /usr/lib/php5/20121212/pdo_sqlite.so: undefined symbol: sqlite3_column_table_name in Unknown on line 0
am googling for "How to develop a framework?"... "Challenges in conceptualizing a framework?" ... "Why do we need more frameworks?"... kind of phrases to understand the need of new frameworks. Can someone help me with a good article? (am baking & caking from 2yrs and CI'ing from 3yrs)
hello guys, my wordpress shows the same title twice and I don't have any SEO plugin installed. Is there anybody who knows how to fix it. Did a lot of google search but no help
@ircmaxell some immutable facts: Steve Jobs is responsible for all of OSX, Bill Gates is responsible for al of Windows, Zend is responsible for all of PHP, and Sarah Palin is responsible for all the stupidity in the world ...
my humble opinion is inventing a framework might be not the best way to use your time, especially if you're wondering why to use them... what about learning one first?
apparently symfony is amongst the not-so-frowned-upon ones out there.
Yeah though I didn't add any feature to any of the frameworks' libraries or to its core, I managed to deliver handful of websites in Cake & CI. I feel pretty comfortable. So what do i do now?
I have compressed data using gzencode. Everything was working fine before gzencode. The issue i am facing now is that i am not recieveing any response at all from server.
My code snippet for compressing data is as follows:
$isAcceptGzipEncoding = stripos($_SERVER['HTTP_ACCEPT_ENCODING'], "gzip"...
I wrote (forked from APC and maintain) APCu: A shared memory cache is not going to help you. Their internal storage area already has a defined structure, you can't change it. You can store your structure as objects, but these, and no other value, are actually shared between instances of PHP. Shar...
@tereško the os can make use even if the games can't, and you're surely going to want to do things other than just play games, what about the things you do while you are playing games ...
not suggesting a monster
4 cores is enough, if you can run 8 threads ... I'm probably wrong never built a gaming pc before ...
how can i make FROM order` WHERE YEAR(DateTime)= '$Year'OR MONTH(DateTime) = '$Month'` this mysql statement to search for month or year or month and year?
for pdo, when you call 'fetchObject()' in a loop, is each iteration a query/connection to the db? or is there a certain number of rows that are stored in memory by default, until it has to query the db again for more rows?
If there's not already a hdd laying around to put in it for storage, you might consider dropping down to a 128g ssd to make room in the budget for one. Games are just way too huge these days and the ssd alone will fill in no time.
gonna take on faith that you've spec'd out the power requirement already (550w seems low to me, but it's been a while since I've looked at what things are sucking down)
it's not really balanced, it's a long term investment, but that counts, when the alternative is just throwing what you have away and starting again ...
and also, I'm probably wrong ... I did say I can be wrong ...
where can I get all the list of PHP modules available like php-cli php-common php-gd php-ldap php-mysql php-odbc php-pdo php-pear php-pecl-apc php-pecl-memcache php-pgsql php-soap php-xml php-xmlrpc
Capture card would be for using a second rig to handle the streaming - not applicable here. An i5 may struggle a bit, depending on your quality settings and the type of game, but I wouldn't expect a moderate-low budget box to put out the highest of highest quality stream anyway.
it'd be enough for them to have fun with and see if they want to invest more in the future
@R.P I bent some pins on my motherboard when mounting the LGA1366 CPU, it was at then I found that the LGA1366 socket had been out of production for some time and I had to roam every store and internet shop in my country to find a mobo still supporting my LGA1366 socket, the only one I found was really expensive.
anyway, the initial subject was a review of this build: docs.google.com/spreadsheets/d/… (unfortunately the dropdown's do not work in the read-only mode)
the alternative options (except for RAM .. because I am lazy) are in the other sheets
anyone know how to delete slug because google still indexing the old slug.....
like example the old slug is: sample.com/archive/something which is not existing what i want is when they visit the sample.com/archive/something "archive" was deleted so the page show
Hey all, I have a question about includes. I understand that when I have a file that includes a file that includes another file that the last file in that nest has a base location of the first file.
Is there a way to detect this so that I can include the second nested php file in other files of a different directory?
I have a panel where in every table row there are two date input box for 'from' and 'to' date and a link to click like the following
<a id="editcboxElement" href="#http://localhost/mycompany/production_entry/viewEdit/3798" title="Production Statement to edit">edit</a> Then I have a PHP function to query database by receiving data via ajax.
If you're not using composer's autoloader, PHPMailer provides an SPL-compatible autoloader, and that is the preferred way of loading the library - just require '/path/to/PHPMailerAutoload.php'; and everything should work.
I have a script, and I will be needing to include PHP code in the CSS stylesheet. But when I try adding PHP code in my CSS file nothing occurs! Is it possible?
how shall i use this code inside css background, "<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('image_area')) : else : ?> <?php endif; ?>"