开发者

Call a PHP file from the main file

I want to arrange my codes properly by starting to separate the codes like uploading files, from the index.php, How can i call th开发者_如何学Pythone upload.php in the index.php? The upload.php is not a function. Is it possible?


<?php include('upload.php');?> at the top of index.php


<?php 

require_once 'upload.php';

//no close tag if you have no html code
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜