This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>This is my site and my name is Bruno</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->view->prependToTitle('My Controller - '); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
#loginform_main { | |
border: 1px solid silver; | |
border-radius: 10px; | |
padding: 10px; | |
margin: auto; | |
} | |
#loginform_main label { | |
display: inline-block; | |
width: 200px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->view->data['key'] = $value | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container"> | |
<h1>Welcome to the demo of CI++!</h1> | |
{{vf_loginform}} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$oParser = new Parser(); | |
// Here we give values to the tags the parser can expect in the content. | |
$aTagValues = array( | |
'name' => 'Bruno', | |
'title' => 'M.A.' | |
); | |
$sContent = "Dear {{title}} {{name}}, we are spamming you to sell you canned beans."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install wget libjpeg libpng openssl pcre libxml2 mcrypt imagemagick mhash freetype virtualhost.sh mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from /Users/swader/Downloads/php-5.4.11/ext/intl/msgformat/msgformat_helpers.cpp:22: | |
/usr/include/c++/4.2.1/ctime:64: error: expected constructor, destructor, or type conversion before ‘namespace’ | |
make: *** [ext/intl/msgformat/msgformat_helpers.lo] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure \ | |
--prefix=/usr \ | |
--mandir=/usr/share/man \ | |
--infodir=/usr/share/info \ | |
--sysconfdir=/private/etc \ | |
--with-apxs2=/usr/sbin/apxs \ | |
--enable-cli \ | |
--with-config-file-path=/etc \ | |
--with-libxml-dir=/usr \ | |
--with-openssl=/usr \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
short_open_tag = Off | |
max_execution_time = 300 | |
max_input_time = 600 | |
memory_limit = 256M | |
error_reporting = E_ALL | E_STRICT | |
display_errors = On | |
display_startup_errors = On | |
post_max_size = 800M | |
upload_max_filesize = 200M | |
date.timezone = "[REPLACE WITH YOUR OWN]" |