-
Replied To a Post in hi friends
cool, welcome.. -
Replied To a Post in a time that not rely on users computer?
can you try running this <?php phpinfo(); direct your browser to this page and look for the loaded configuration file. It should tell you which php.ini is being loaded by … -
Replied To a Post in a time that not rely on users computer?
There is function in PHP called date_default_timezone_set() which can set the default time zone of an application or the runtime configuration. For example, we can define the default timezone of … -
Replied To a Post in Greetings DaniWEB!
Hi.. -
Replied To a Post in Hi there !
Welcome to Daniweb. -
Replied To a Post in Hi Everybody
Hello and Welcome. -
Replied To a Post in How to sort my result alphabetically using the ID
try adding ORDER BY maker on you query... -
Replied To a Post in row by row value
If we want FIFO, then we can sort by the date in DESC order. It will be easier if the date is in unix timestamp. Just reverse the order for … -
Replied To a Post in how can i save my selected to my color tables?
That will not work.. you will need to set the select multiple property and the name attribute to some array. for example <select name="color[]" multiple> <option value="red"> <!-- add more … -
Replied To a Post in image rename
one of the many ways of doing this is to get the image file extension first. for example, $this_ext = pathinfo($filename, PATHINFO_EXTENSION); The above codes will give us the image … -
Replied To a Post in displaying video
you can use either jwplayer or [flowplayer](https://github.com/flowplayer/flash). If you will be targeting mobile users, then flv video should be the fallback video. The ogg, mp4 will be the first two … -
Replied To a Post in CodeIgniter CLI trainer script ( creates simple application)
I do understand your concerns. I think I have failed to mention that CLI and Composers are highly desirable for the developers who are writing a distibutable applications. Please allow … -
Replied To a Post in Part Two: PHP MVC Framework , Template Files For TBS and Smarty
Hi Iamthwee, Yes, the further separation of sub controllers would add another level of abstraction. This will allow the developers to be able to control their application like a micro-manager … -
Replied To a Post in How to add form validation and prevent from reuploading ?
I think Diafol have already given you what you need. Store the submitted information in session. In fact, you can store them as an array. Below is a sample codes... … -
Replied To a Post in Akses xampp through private network
Also, if you have access to a packet tracer from Cisco, this is the best software to practice all these neat things about routing and server settings. -
Replied To a Post in Akses xampp through private network
I totally agree with Diafol xampp it is a risky choice for production sites. The only one I tested that is packaged to be production site ready is the [uniform … -
Replied To a Post in Part Two: PHP MVC Framework , Template Files For TBS and Smarty
MVC is the method of operation or patterns found in CI, Symfony2, Laravel, maybe Cake. The only HMVC framework that were evaluated to function as HMVC framework are **Kohana and … -
Replied To a Post in CodeIgniter CLI trainer script ( creates simple application)
Hi iamthwee, Thanks for the response. I will be writing a second part of this tutorial and I will demonstrate how to make the CI migration class to be able … -
Created CodeIgniter CLI trainer script ( creates simple application)
Hello Everyone, I wrote this script way back in 2008 as Version1. However, I was forced to forget about this, because it was criticized by many developers with BS, MS, … -
Replied To a Post in php upload files
also, you can try running this <?php echo '<br/>'.ini_get('upload_max_filesize').'<br/>'; echo (ini_get('post_max_size')); echo '<br/>'.ini_get('max_execution_time').'<br/>'; ?> post back your output... -
Replied To a Post in LARAVEL SAVING MULTIPLE DATA to DATABASE
I already uninstalled the laravel on my Development stack, because I am moving on to the Fuel PHP. However, I am worried about the for loop on your script. Will … -
Replied To a Post in How do breadcrumbs work
For a site with lots of content, I think it is worth implementing. Another scenario where breadcrumbs is useful is when you have a hierarchical categories like Automotive Make Acura, … -
Replied To a Post in Memorable Quotations
You have all the reason in the world to achieve your grandest dreams. Imagination plus innovation equals realization. - Denis Waitley A spirit of innovation is generally the result of … -
Replied To a Post in Need help with Processing Page of PHP program
Dude, It is my lazy day today.. so, I will be cutting corners here. Instead of writing a 100 lines of codes for your processor, let's do it this way. … -
Replied To a Post in Automatic feedback For Programming Assignment
Just to add more info., here is a good example of a [PHP script](http://ranacse05.wordpress.com/2007/09/26/compile-c-program-using-php-5/) that can compile C . I prefer using the exec("your_compiler_command_here 2>&1", $res, $err); $res and $error … -
Replied To a Post in Class cannot be used by required file
Honestly, I don't see any reasons why it shouldn't work? All static method can be use by other classes. Except, if this is a separate controller file **/login** . That … -
Replied To a Post in Update SQL Database via PHP
you will need to process the form before you can initiate the update.. for example, if(isset($_GET['a']) && (isset($_GET['id']))){ $ID = $_GET['id']; ## process the form if(isset($_POST['hiddenField'])){ ## do the query … -
Replied To a Post in hello
Welcome and hello. -
Replied To a Post in Explain me the purpose of this code
Diafol... that is your own phpinfo().. I just checked the domain and it is a phishing url according to trendmicro.. I think we should remove the full url from this … -
Replied To a Post in Explain me the purpose of this code
tried <?php echo base64_decode(' aHR0cDovL3B1YmJvdHN0YXRpc3RpYy5jb20vc3RhdEMvc3RhdC5waHA='); and you are right that translate to [xxxxxxxxxxxxxxxxxxxxx/statC/stat.php]() but your information is being sent out like this /statC/stat.php?ip=''&useragent=''&domainname=yourWebsite.com&fullpath=''&check='' You will need to research about this … -
Replied To a Post in Explain me the purpose of this code
If you want to prove my analysis about this script, try simulating this on your localhost. change this aHR0cDovL3B1YmJvdHN0YXRpc3RpYy5jb20vc3RhdEMvc3RhdC5waHA= to this aHR0cDovL2xvY2FsaG9zdC9zdGF0LnBocA== which is nothing but redirecting their hack on … -
Replied To a Post in Explain me the purpose of this code
Honestly, I think this script is a malware script. It was probably injected through the wordpress backdoor. I think the exact name of this malware is called FTP credential malware … -
Replied To a Post in Code Injection Attack
I just want to add that my demonstration will work even on upload form. So, be careful if your site is allowing users to upload. You need to screen those … -
Replied To a Post in Code Injection Attack
I totally agree with GliderPilot. Most hackers are not really interested in breaking the target site. What they really after for is to steal information from the user. Allow me … -
Replied To a Post in Hello everyone, Glad to be part of this thriving community
> Is it just moderators and Admins on DaniWeb or do other people hang out here as well :) I am nobody, I visit and hang-out in this area once … -
Replied To a Post in Part Two: PHP MVC Framework , Template Files For TBS and Smarty
The entire MVC framework covered in this tutorial is located in just ONE page called index.php. If you will not be using the .htaccess below, use the simplemvc.php. The framework … -
Replied To a Post in how do i connect server database from localhost
If the remote mysql server is running on linux, you must grant this user the permission as "GRANT ALL". Please consult the msyql documentation for this. If you are currently … -
Replied To a Post in Cannot connect to host via soap
var_dump($pkcs12) , what do you get? Is it the right structure expected by the webservice? e.g. Array ( [this_array] =>( [something] => something_value)[another_array]=>[index_b] =>[value_b])) -
Replied To a Post in Part One: PHP MVC Framework , Understanding The Basics
I forgot to add the file helper class and the simple form helper validation class. This class is responsible for retrieving, writing, parsing text and xml files. If you noticed … -
Created Part One: PHP MVC Framework , Understanding The Basics
**Part One**: Learning the Basic Patterns **Disclaimer**: please pardon my spellogrammatico errors. I am not really a rough draft person. I type and write codes the split seconds as they … -
Replied To a Post in Parsing the tags to get the contains
change the cURL codes above to this. I just copy it from the parser class I wrote some years ago. it should read like this function useCurl($url,$source=null){ $ch = curl_init(); … -
Replied To a Post in Parsing the tags to get the contains
**WARNING!** Parsing any remote contents without any written permission from the owner can cause a messy legal battle in court. Prepare to have millions of dollars if you are standing … -
Replied To a Post in PHP HTML DOM Parser
Here is another[ one](http://simplehtmldom.sourceforge.net/). Make sure to use it with cURL. -
Replied To a Post in Getting specific key from array without looping
Hi, May I add someting? there is a PHP object called ArrayObject ArrayIterator method and I think (but not sure) there is also a method for it called key. Just … -
Replied To a Post in Run OLD PHP code on local
place the good ole php file inside the directory called xampp/htdocs, run xampp control panel, start apache, start mysql server, and then direct your browser to localhost/old_php_filename.php. -
Replied To a Post in WebMatrix PHP querying using sqlserver
For non-mysql database, you will need to use PDO and then use prepared statement and bind parameter. Read [this](http://www.php.net/manual/en/ref.pdo-dblib.php) and [this](http://www.php.net/manual/en/ref.pdo-sqlsrv.connection.php). Read my attached PDF file to learn this stuff. -
Replied To a Post in MVC pattern
I do understand the concerns over the learning of a new syntax, Diafol already explained it pretty well. I hope you will reconsider template engine in the future. Although there … -
Replied To a Post in MVC pattern
Creating a helper for the view will make things more complicated to maintain. However, I always escape the so called "MVC conundrum" by just implementing template engine on my MVC … -
Replied To a Post in how to remove this warning
try putting this session_start(); above the page, just right after <?php <?php session_start(); -
Replied To a Post in unable to load requested class:validation
I totally agree with Ajay, the CI library for validating form is called **form_validation**.
The End.