Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL


Thread Tools Rate Thread Display Modes
Old 06-11-2013, 03:21 AM   #1
Registered User
Join Date: Mar 2013
Posts: 248
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?
noahwilson is offline   Reply With Quote

Old 10-16-2013, 08:49 AM   #2
Registered User
Join Date: Oct 2013
Posts: 15
Yes it can be called.
Ranjan123 is offline   Reply With Quote
Old 11-05-2013, 10:44 PM   #3
Registered User
Join Date: Sep 2013
Posts: 95
yes............................................... .................
mridul is offline   Reply With Quote
Old 12-18-2013, 04:39 AM   #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
lampdev112 is offline   Reply With Quote
Old 03-05-2014, 01:54 AM   #6
Registered User
Join Date: Mar 2014
Posts: 73
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.......
simar is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importance of Php Development for Web Development tech.biztech Programming General 39 06-18-2018 04:08 PM
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

All times are GMT -7. The time now is 01:03 AM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.