|
![]() |
#1 |
Registered User
Join Date: Mar 2013
Posts: 246
|
PHP including functions from another file.
If I have a form that includes another php file (let's call it B) with functions, but such form includes a different php file (called C) when it submits, will functions from B be accessible from within C?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Oct 2013
Posts: 15
|
Yes it can be called.
|
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Sep 2013
Posts: 92
|
yes............................................... .................
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: Dec 2013
Posts: 30
|
Include and require are identical, except upon failure:
require will produce a fatal error (E_COMPILE_ERROR) and stop the script include will only produce a warning (E_WARNING) and the script will continue
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Nov 2013
Location: Surat
Posts: 971
|
yeah you can say
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , |
![]() |
![]() |
![]() |
#6 |
Registered User
Join Date: Mar 2014
Posts: 71
|
include function
Include function is used for include more files for embedded one file.The use of include file attaching more files with working file.......
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importance of Php Development for Web Development | tech.biztech | Programming General | 35 | 11-22-2019 12:37 AM |
Can I generate a PDF file with PHP? | noahwilson | PHP / mySQL | 1 | 04-12-2013 12:15 PM |
php 3 pdf file? | janejackson | PHP / mySQL | 0 | 04-05-2012 11:23 PM |
form to file script. php or html | mjvndhsb | PHP / mySQL | 0 | 10-07-2011 08:55 PM |
is it possible to make an php file trough a php code | ncjbhd | PHP / mySQL | 0 | 09-21-2011 11:49 PM |