I have made a class and I want to set some global variables for my database so I can do this:
<?php
class impl{
function dbcon(){
$con=mysql_connect$db.":".$port,$user,$pw); }
}
How can I set my variables $db, $port,$user and $pw without filling in the strings(for example $user="name"), but for example with an include file.
thanx