Tag Archives: PHP

Get absolute path of website using PHP

<?php $path = getcwd(); echo “This Is Your Absolute Path: “; echo $path; ?>

Posted in PHP/MySQL | Tagged , , | Comments Off on Get absolute path of website using PHP

How To Start Your Own PHP MVC Framework In 4 Steps?

http://phpocean.com/tutorials/back-end/how-to-start-your-own-php-mvc-framework-in-4-steps/28

Posted in PHP/MySQL | Tagged , , | Comments Off on How To Start Your Own PHP MVC Framework In 4 Steps?

Send Email Using SMTP And PHP Mailer

Nice tut: Send Email Using SMTP And PHP Mailer http://talkerscode.com/webtricks/send-email-using-smtp-and-php-mailer.php

Posted in PHP/MySQL | Tagged , , , , | Comments Off on Send Email Using SMTP And PHP Mailer

How to view your server PHP settings – phpinfo()

<? phpinfo(); ?>

Posted in PHP/MySQL | Tagged , , | Comments Off on How to view your server PHP settings – phpinfo()

Sending mixed-type messages with PEAR::Mail_Mime

Sending mixed-type messages with PEAR::Mail_Mime

Posted in PHP/MySQL | Tagged , , , , | Comments Off on Sending mixed-type messages with PEAR::Mail_Mime

PHP – read text file and get contents

<?php $myfile = fopen(“file-to-read.txt”, “r”) or die(“Unable to open file!”); // Output one line until end-of-file while(!feof($myfile)) { echo fgets($myfile) . “<br>”; } fclose($myfile); ?>

Posted in PHP/MySQL | Tagged , | Comments Off on PHP – read text file and get contents

Serious Form Security with PHP from CSS-Tricks

I great PHP article on for security. Besides stripping tags and CAPTCHA type checks, it also using a token matching system and creating a white list, and hack log.  https://css-tricks.com/serious-form-security/

Posted in PHP/MySQL | Tagged , , , | Comments Off on Serious Form Security with PHP from CSS-Tricks

PHP crypt() – Using PHP encryption methods

I had not done any user registration type stuff in the past and needed to figure this out. I wanted to store an encrypted password in a database, and then be able to compare a submitted pw at login. I … Continue reading

Posted in PHP/MySQL | Tagged , , | Leave a comment