Are these functions allowed?

Status
Not open for further replies.

flying4hiskingdom74

New Member
Messages
1
Reaction score
0
Points
0
Hello,

I have a question regarding these functions, 'rename()' and 'unlink()', and any similar functions. I have created a script that utilizes these two for an image gallery, but before I upload, I would like to find out if they are allowed, that way I'm not risking a ban on the account.
I would also like to request, that, if possible, is there a list of php functions that are not allowed? Or are all
functions allowed?

Thank you for your time,
Robert
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
You can test if functions are allowed/turned on by adding the following code to any PHP Page:

PHP:
<?php
if (function_exists('rename')) {
    echo "Function is available.";
} else {
    echo "Function is not available.";
}
?>
 
Last edited:
Status
Not open for further replies.
Top