Does anyone know how rightmove.co.uk is made? What technologies, databases, programming languages are they using? PHP? Ruby? Python?
I can see that it is using Apache. I would really love to know what database they use.
Thank you in advance ;-)
...
I need to create a loop through all files in subdirectories. Can you please help me struct my code like this:
$main = "MainDirectory";
loop through sub-directories {
loop through filels in each sub-directory {
do something with each file
}
};
Can you help, plz?
...
So maybe the documentation is out of date, or I am just off here. But I have done a slew of FB iframe apps (connect), but I am starting my first FB Connect site. Running it from localhost, and the Connect URL is http:// my_external_IP_address. When I click on the FB login button on my site, it pops up, says waiting for facebook, and it ...
Hi,
If I run the following PHP code:
apc_compile_file("relative/path/to/file");
will it invalidate the in-memory cache that is used for this particular file?
That is, if I first access /path/to/file, APC will compile it, and cache the OpCode in memory. Now, if I access /path/to/file again, APC will just use the cached OpCode. Howeve...
Hi
I have the following code in controllers/list.php:
<?php
class List extends Controller {
function index()
{
echo "hi";
}
}
?>
However, trying to access it gives me the following PHP error:
Parse error: syntax error, unexpected T_LIST, expecting T_STRING in /var/www/whimventory/htdocs/system/application/contro...
Hey,
Im new to symfony and have some simple questions. I am trying to understand the module system, but I dont understand how I create the actual homepage or other pages that are not based off of a model from the db. For example, the simple about page that has static info or the homepage that is a combination of a bunch of information f...
Following this thread: How to handle functions deprecation in library? I want to find a way to track all calls to the deprecated function so I can make sure I get them all replaced before the function is removed. Given the following PHP methods
/*
@deprecated - just use getBar()
*/
function getFoo(){
return getBar();
}
function ...
Anyone, which know of a script/system which could be used as a starting point for building a email marketing/newsletter sending resell service? (like http://www.campaignmonitor.com/ or mailchimp.com )
We are looking for something professional, which are able to handle bounces etc etc
...
Hello,
I am currently working on a site that is being built on codeigniter, I am currently querying the data at the moment I think there could be possible 3 arrays that could be returned as array each with a varying amount of results, my question I cannot for life of me loop through the array I have at the moment,
my model looks like...
I am trying to get to the geo information off the google-picasa API. This is the original XML:
<georss:where>
<gml:Point>
<gml:pos>35.669998 139.770004</gml:pos>
</gml:Point>
</georss:where>
I already have come this far, with:
$ns_geo=$item->children($namespace['georss']);
$geo=$ns_geo->children($namespace['gml']);
var_dump...
I have a PHP application containing multiple modules and various settings within each module. I'd like to enable logging using log4php, but each individual module has different settings (ie. Log level, log file, etc). Some of these settings need to be changed on the fly by end users (log level), and I'd like to store these properties in ...
Hi,
I have two tables table1 = records, table2 = duplicates. Both tables contain a variable number of columns at any given time and they both contain the exact same columns with the exception of table2 having and additional "ID" column... Both tables contain a column, "user_id". The data comes from a CSV import. If the "user_id" alread...
findParent() function find array. There could be one array or more than one.
Now I want to make if statement depends on the number of array.
How can I make if statement using the number of array?
function findParent($order_id){
...
$Q = $this->db->get('omc_order_item');
if ($Q->num_rows() > 0){
foreach ($Q->re...
One of the original designs of the Zend engine, if I recall, was that it was to be relatively easy to embed for other languages one might wish to create. Basically, the PHP syntax without all the PHP modules. Is this still the case?
...
findParent() function returns the following array.
Array
(
[0] => Array
(
[order_item_id] => 3
[order_id] => 2
[product_id] => 77
[quantity] => 1
[price] => 268.00
)
)
I want to get 2 in [order_id].
I tried the following but it does not work.
$child...
Hello all.
I am having to import data from a database where the character encoding being used is ISO-8859-1 and the new site that we are using is using UTF-8. The site that the data is being pulled from is old, hence the reason that it is in ISO still I presume.
I have tried the following solutions with no results:
iconv
Neverthe...
I am having problems using stored procedures. Making call to a stored procedure is not working for me. So I replaced the stored procedure by an sql statement. But now, I have some stored procedures which receive parameters. for example
CREATE PROCEDURE get_category_details_proc(IN incat_id INT)
BEGIN
SELECT name, desc
FROM category
W...
I'm running the following php code;
$output = exec('"D:\TESTDIR\unrar.exe" e "D:\TESTDIR\Icons.rar" -ppassword');
echo $output;
Which isn't working... I want it to extract the files into the same directory. If I copy the contents of the exec into a command line prompt it works just fine, so slightly confused.
Trying the following;
$...
Hello all,
How is it possible that this function below inserts two rows in my database?
//called like
save_session_db($_SESSION['user_id']);
function save_session_db($session){
include('includes/db-connect.php');
$connectionInfo = array( 'Database' => 'Belior');
$conn = sqlsrv_connect( $serverName, $connectionInfo);
if...
Hi all,
MY PLATFORM:
PHP & mySQL
WHAT I HAVE HERE:
I have 4 tables, namely, 'books', 'book_type', 'book_categories', 'all_categories'.
WHAT I AM TRYING TO DO:
In simple words, I want to display all the books that are in stock i.e. in_stock = 'y', with all the book related information from all the tables, only once without repeati...