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

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 06-11-2013, 03:21 AM   #1
noahwilson
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.
noahwilson is offline   Reply With Quote

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


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 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


All times are GMT -7. The time now is 09:51 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.