Search the Community
Showing results for tags 'fwrite'.
-
Olá a Todos e um Feliz 2017 Logo Hj dia 01 estou mexendo 1 um projeto meu que fara sucesso! mais to com um básico problema ao criar através do php arquivos .php mesmo bom olhem o código: ele funciona bem mais no criar o arquivo .php ele envia em branco os conteúdos que possui $ Codigo: <?php $filename = "$link/mahsystemcodeconnect.php"; if(file_exists($filename)){ $script = file_get_contents($filename); } else { $script = ""; } //Adciona um texto na página $script = "<?php $conecta = mysql_connect('HOST', 'LOGIN', 'SENHA') or print (mysql_error()); mysql_select_db('BANCO', $conect
-
this is tricky to explain: I have a raw php script, written by someone else, that sends an email to a list extracted from a CSV file. It requires that certain values in the file be manually edited each time it's used, such as the following: $mail->setFrom('email@email.com', 'From Name'); // <==== change email address, From Name $subject = "Subject Line"; // <==== Adjust this subject $html = ' html here '; // <==== include email html MagicParser_parse("test.csv","myRecordHandler","csv|44|1|34"); // <==== change 'test.csv' file name the function is c