Your application in code igniter is a PHP-Site.You can use Code Igniter to create multiple application using one core. You can create subdomain for each application (not only one domain).
But still in one model for one application. so the application has their own model. and the model can’t be used by other application. :p
Imagine if you has multiple application with the same feature and same database and the application is connected(integrated). so you create a model using copy paste? maybe it can be a problem if you forgot to copy paste.
How to use multiple application using one core and one model? so the application you has created just using one model. and you just create and edit one file.
interesting.
SQL injection is a dangerous hacking techniques. How to prevent that?
example: http://target.com/news.php?id=19
In most applications made by a beginner programmer, the code in the program are as follows news.php
<?php
require_once("connections.php");
$sql = "SELECT * FROM news WHERE id=".$_GET['id'];
$result = mysql_query($sql);
while($news = mysql_fetch_array()){
echo "<h2>".$news['title']."</h2>";
echo "Posting pada tanggal: ".$news['date_post'];
echo $news['content'];
}
?>there is no filter in $_GET['id']. This is a very dangerous! Cmon,..lets do this.
now i want to share about how to create thumbnails image without writing file on server
for example: the default image is 800*600px.
if you using the html code like :
<img src="imgpath/imgname.jpg">then the dimension(width & height) is outomatically same as the original image dimension.
how about
<img src="imgpath/imgname.jpg" width="200" height="150">the image dimension is same as on the script, but the original size is not change
check this script

recaptcha are the anti spam method using captcha. may captcha just using leter and or number but recaptcha using 2 word in different image with AES (Advance Encryption System) on sending the code.
this is available in wordpress plugin called WP-reCAPTCHA
CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. Blablabla….
This is a CI implementation of the ReCAPTCHA server (http://www.recaptcha.net)
There are three files needed:
If I Exploration “Wordpress” finally I can also create a widget.
I have successfully made the plugin / widget for wordpress.
I gave the name “user-login-widget.”
with this widget you can easy login from front/home page of your website without goto the login page
Here I want to share with you
