Jump to content

include 'file1.php'


invincible_virus

Recommended Posts

I have two files, file1.php is having 5-6 utility functions to be used in file2.php
One way to call any function of file1.php in file2.php is to
[code]include "file1.php"[/code]
in file2.php..

Actually I only want to call only function in file2.php, can it be a performance issue to include the whole file??
is there any other way of calling this function from file2.php
Link to comment
https://forums.phpfreaks.com/topic/32690-include-file1php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.