hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : How do I do this?
Reply

Web Design and Content Subjects include, HTML, graphics, editors, CSS, Flash, graphics creation, placing of ads, ad serv companies, copyright, content and nearly anything else design related. Also talk about businesses that provide design services. If you link to your site, you must post in Web Site Reviews.
Forum Jump

How do I do this?

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-18-2005, 05:22 PM
AlteredSanity AlteredSanity is offline
Registered User
 
Join Date: Dec 2004
Posts: 39

How do I do this?


How do I include a path to a php file (that ?I want to be displayed) within a html table?

<?php include ("https://orders.xx***********/step_one.php?gid=1");
?>

That hasn't worked for me above, is it wrong?

Reply With Quote


Sponsored Links
  #2  
Old 07-18-2005, 05:28 PM
the_pm the_pm is offline
Community Liaison 2.0
 
Join Date: May 2004
Location: Akron/Canton, Ohio (USA)
Posts: 11,110
I believe the path you use within the include must be relative, or if you start at the root, you must specify the path on the server hard drive. IIRC, full URLs are not allowed.

__________________
Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design

Reply With Quote
  #3  
Old 07-18-2005, 07:35 PM
seraphi seraphi is offline
Newbie
 
Join Date: Apr 2004
Location: Dorset, UK.
Posts: 20
indeed,

try:

PHP Code:
<?php 

include("orders/step_one.php?gid=1");

?>
i am assuming your "orders" subdomain points to a folder called "orders" ;]

__________________
MTG Deck Builder

Reply With Quote
Sponsored Links
  #4  
Old 07-20-2005, 02:26 AM
kailash kailash is offline
WHT Addict
 
Join Date: Jun 2005
Posts: 161
If you are including a file that is already within your site, then use this code
Code:
<?php
include("orders/step_one.php?gid=1");
?>
if you are including from a remote url, use this
Code:
<?php

require("http://x***********/orders/step_one.php?gid=1");

?>

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?