Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > PHP
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-08-2007, 3:11 AM   #1
neta
Service Man
 
neta's Avatar
 
Join Date: Aug 2007
Location: sweden
Posts: 295
My Photos: (2)
iTrader: (0)

Banked:
MK Cash: $9.90

I am Worth:
MK Cash: $0.19
Donate


neta will become famous soon enoughneta will become famous soon enough
Question How to include file from different server

I have a file named test1.php in server 1,
and another file named test2.php in server 2, I wish to include test1.php in the file test2.php. Can anyone help?
neta is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 09-08-2007, 12:16 PM   #2
Whatcha
Back Office Guy-
 
Whatcha's Avatar
 
Join Date: Mar 2006
Location: At my pc
Posts: 533
My Photos: (6)
iTrader: (0)

Banked:
MK Cash: $0.00

I am Worth:
MK Cash: $0.36
Donate

Recent Blog: None

Whatcha is just really niceWhatcha is just really niceWhatcha is just really niceWhatcha is just really niceWhatcha is just really nice
Default

if it is just the contents you want try file_get_contents, or alternate fopen
__________________
http://www.backwebservices.co.uk | Free Lance Web Coder | Ebay & Paypal Solutions Provider
Whatcha is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 09-15-2007, 2:08 AM   #3
neta
Service Man
 
neta's Avatar
 
Join Date: Aug 2007
Location: sweden
Posts: 295
My Photos: (2)
iTrader: (0)

Banked:
MK Cash: $9.90

I am Worth:
MK Cash: $0.19
Donate


neta will become famous soon enoughneta will become famous soon enough
Default

ok problem is solve. thanx admin.
neta is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 09-23-2007, 7:34 AM   #4
exam
MK PitStop Member
 
exam's Avatar
 
Join Date: Mar 2006
Posts: 90
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $0.00

I am Worth:
MK Cash: $2.85
Donate

Recent Blog: None

exam has a spectacular aura aboutexam has a spectacular aura aboutexam has a spectacular aura about
Default

Like whatcha says, that will work if you want the contents, but if you actually want to include teh php, it won't work. Also if file_get_contents is disabled on your server, you can use cURL or the fopen functions.
__________________
exam.
exam is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 11-26-2007, 5:24 AM   #5
Adulu
MK PitStop Member
 
Adulu's Avatar
 
Join Date: Jul 2007
Location: Vahanga
Posts: 86
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $0.00

I am Worth:
MK Cash: $1.91
Donate

Recent Blog: None

Adulu is on a distinguished road
Default

PHP Code:
$url="".$_SERVER["REQUEST_URI"];
$ch curl_init();
curl_setopt($chCURLOPT_URL"http://www.....");
curl_setopt($chCURLOPT_HEADER0);
curl_exec($ch);
curl_close($ch); 
__________________
Wanna see Burj al arab Hotel Pictures and Las vegas hotel room pictures
or very luxury Luxor pictures of hotel,also Hilton hotel photos and Atlantis hotel videos.

Foreign Exchange Rate today!
Adulu is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread



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

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP posting script, file updated but web still shows last night's file JPM III PHP 3 07-01-2007 3:59 PM
Including PART of another file - Not working on Windows Server matt PHP 0 07-01-2007 3:14 PM
cvs: pearweb /include/bugs pear-bug-accountrequest.php /include/pepr pepr.php /public_html/pepr pepr-proposal-edit.php /sql pearweb_mdb2schema.xml pepr.sql Greg Beaver Pear 0 05-27-2007 7:47 PM
cvs: pear /File/File CSV.php Helgi Þormar Þorbjörnsson Pear 0 05-20-2007 7:42 PM
cvs: pear /File/File CSV.php Helgi Þormar Þorbjörnsson Pear 0 05-20-2007 7:42 PM


Featured Websites




All times are GMT +1. The time now is 12:32 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98