I want to inclide file with URL
i tried with following ways
both cases not working suggest me
Include 'domain.com/file.php'; is the correct syntax, assuming that file.php is in the root directory of the site.
Most probably the error would be in the path of your file.
Try to have both the file in root directory the file you running and the one you including. Then try i think it should work then.
Also make sure the "file.php" is valid php syntax and works correctly on its own.
Please write what error you get and listing of file.php.
All are helpful for me