469,352 Members | 1,708 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

Call another php file

sanjay123456
125 100+
Sir ,

how can i call one php page into another php page ?

let say i am working in index.php and in this page i want

to call abc.php ?

how can it possible ?

sanjay
Oct 12 '06 #1
4 27335
thavaht
12
Just try:

[PHP]<?php include("abc.php"); ?>[/PHP]
Oct 12 '06 #2
ronverdonk
4,258 Expert 4TB
How do you want to call it? I.e.

- via a link that can be clicked by the user (html <a href ....>
- via an include statement, such as the one shown in the previous reply
- or via the PHP header() statement
- using CURL process (HTTP generated by curl)
- using HTTP by writing this code yourself

Ronald :cool:
Oct 12 '06 #3
How do you want to call it? I.e.

- via a link that can be clicked by the user (html <a href ....>
- via an include statement, such as the one shown in the previous reply
- or via the PHP header() statement
- using CURL process (HTTP generated by curl)
- using HTTP by writing this code yourself

Ronald :cool:
i have same provlem.. i cant reach a php file from php file. i want to call it via href... can you help me please..
Aug 10 '07 #4
ak1dnar
1,584 Expert 1GB
i have same provlem.. i cant reach a php file from php file. i want to call it via href... can you help me please..
Could you please give us an example, It will help us to understand your problem well. Please post some codes here.
Aug 12 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Bruce W...1 | last post: by
2 posts views Thread by Greg Chapman | last post: by
2 posts views Thread by Jakub Moscicki | last post: by
6 posts views Thread by mygoogleaccount | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.