Welcome to the GoFuckYourself.com - Adult Webmaster 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 us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-09-2003, 07:10 AM   #1
lil2rich4u2
ICQ: 175171926
 
Join Date: Oct 2002
Location: New York, NY
Posts: 11,046
quick php help needed ...

thanks,

i want to make this ...

include($HEADER);

to a fixed url for a php file

like this:

include(http://www.domain.com/php/oopsie.inc.php);


do i need to add quotes or something? or can this even be done?


Thanks in advance.
__________________
HEY!!

Unbeatable hosting! Customer service is top notch!

--> ISPrime <-- Do a search on any board, their reputation is rock solid .. for years!!
lil2rich4u2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 07:12 AM   #2
JamesK
hi
 
Industry Role:
Join Date: Jun 2002
Posts: 16,731
PHP Code:
hi 
__________________
M3Server - NATS Hosting
JamesK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 07:20 AM   #3
Jon2
So Fucking Banned
 
Join Date: Aug 2001
Posts: 2,875
PHP Code:
include ('http://www.urlgoeshere.com/index.php'); 
Jon
Jon2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 07:30 AM   #4
flashfreak
Confirmed User
 
Industry Role:
Join Date: Jun 2002
Location: cloud number 9
Posts: 4,396
Quote:
Originally posted by Wildcard
PHP Code:
hi 
you're wrong.. here's the correct code:
PHP Code:
echo "Hello world!"
__________________
SEO Mogul | ICQ: 163671223
flashfreak is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 07:42 AM   #5
StupidNewbie
Registered User
 
Join Date: Apr 2002
Posts: 864
if it's on the same server just use unlink("filename.htm")

StupidNewbie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 09:25 AM   #6
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
include('http://www.domain.com/php/oopsie.inc.php');
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 09:26 AM   #7
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
Quote:
Originally posted by StupidNewbie
if it's on the same server just use unlink("filename.htm")

thats horrible
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 09:35 AM   #8
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Including remote files every time the page is opened is dumb. Download it to your server daily or hourly with a script and a cronjob, then include the local file
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 10:21 AM   #9
richard
Confirmed User
 
Join Date: Feb 2001
Location: UK
Posts: 543
Quote:
Originally posted by StupidNewbie
if it's on the same server just use unlink("filename.htm")

haha, biatch.

What punkworld said, cache it on your machine.
__________________
richard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 10:24 AM   #10
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
why would you load up a browser, and go to GFY and hit new post and enter in a long winded post explaining your situation and asking if you should "add quotes or something" ?

Why not just add the quotes yourself and see if it works? Seems to me that it would have been the quicker solution.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 10:32 AM   #11
Butrflied
Confirmed User
 
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
Quote:
Originally posted by StupidNewbie
if it's on the same server just use unlink("filename.htm")

ohhh .. you're soo mean
__________________
~Butrflied~
Butrflied is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 10:54 AM   #12
StupidNewbie
Registered User
 
Join Date: Apr 2002
Posts: 864
Quote:
Originally posted by Butrflied
ohhh .. you're soo mean
you think that's mean, check out the other lil2rich help thread.
StupidNewbie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 11:02 AM   #13
JamesK
hi
 
Industry Role:
Join Date: Jun 2002
Posts: 16,731
Quote:
Originally posted by flashfreak

you're wrong.. here's the correct code:
PHP Code:
echo "Hello world!"
__________________
M3Server - NATS Hosting
JamesK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 11:03 AM   #14
loverboy
When it rains, it pours
 
Industry Role:
Join Date: May 2003
Posts: 20,609
Quote:
Originally posted by qualitythumbs
PHP Code:
include ('http://www.urlgoeshere.com/index.php'); 
Jon
hmm, i can see it from here
loverboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 11:08 AM   #15
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
[? include "http://www.blah.com/blah.php";?]

replace quare with normal php brackets.

__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.