Search found 5 matches

by sam159
Mon Oct 09, 2006 6:30 am
Forum: PHP - Code
Topic: Dns Update
Replies: 0
Views: 311

Dns Update

Hi,

Does anyone know of a way to perform a dns update with php, without using the pear dns libary (since it doesnt work with php5)?

Thanks
by sam159
Wed Oct 04, 2006 12:24 pm
Forum: PHP - Code
Topic: Converting Smart Quotes for PHP
Replies: 6
Views: 557

mabey this will work

Code: Select all

<?php
$var = ereg_replace("’","'",$var);
?>
by sam159
Wed Oct 04, 2006 12:00 pm
Forum: PHP - Security
Topic: Script Protection and Input Screening
Replies: 2
Views: 1976

Script Protection and Input Screening

Hi, Here are a couple of classes that i use in my websites to make them more secure, free to use for anyone who might find them useful :) security.php this searches for php tags and possible scripting in $_REQUEST <?php class Security { function __construct() { $this->ScriptProtection(); } function ...
by sam159
Wed Oct 04, 2006 11:32 am
Forum: PHP - Code
Topic: php 5 code -> php 4
Replies: 3
Views: 358

lots... http://www.zend.com/php5/articles/engine2-php5-changes.php I'd say this is one of the most significant (if not the most) PHP's handling of objects has been completely rewritten, allowing for better performance and more features. In previous versions of PHP, objects were handled like primiti...
by sam159
Wed Oct 04, 2006 11:21 am
Forum: PHP - Code
Topic: php 5 code -> php 4
Replies: 3
Views: 358

php 5 code -> php 4

Hi all,
ive been writing a php 5 app, and testing on my machine, but ive realised that my host is using php 4.4.3 :(

So, im gonna have to downgrade the code to php 4 oo stuff.
Im guessing the differences are:
- No access modifiers
- Constructor is class name

Is there anything else?

Thank you

Sam