Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n
Empty text file when there is over XXXX lines of text.
define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "
Function to extract email attachments using PHP IMAP
function extract_attachments($connection, $message_number) {
$attachments = array();
foreach result into a single variable
Hi,
I have this code...
Code: [Select]foreach ($_POST['Interests'] as $interest =&
Parse error: syntax error, unexpected T_ELSEIF in /home/......html/item.php on l
I do not know what is wrong with this. Hope some one can help. I do nto want to post the entire site
how to export excel file in same server
My first post - php newbie, so appreciate your support.
I'm currently using headers to save w
Apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?
Help with lottery style system?
I'm working on a currency system for forums and it is going to have a type of lottery system built i
TemplatePower & AJAX
Hi all,
I'm currently implementing some AJAX features in my PHP-framework (which is b
How would I protect......
I have a from, actually, a good amount of forms. How can I make it so you can't type the characters: