![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
hi
Industry Role:
Join Date: Jun 2002
Posts: 16,731
|
PHP Code:
__________________
M3Server - NATS Hosting |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Join Date: Aug 2001
Posts: 2,875
|
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Jun 2002
Location: cloud number 9
Posts: 4,396
|
Quote:
PHP Code:
__________________
SEO Mogul | ICQ: 163671223 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Apr 2002
Posts: 864
|
if it's on the same server just use unlink("filename.htm")
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
include('http://www.domain.com/php/oopsie.inc.php');
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
sex dwarf
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})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Feb 2001
Location: UK
Posts: 543
|
Quote:
![]() What punkworld said, cache it on your machine.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Sofa King Band
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
|
Quote:
![]()
__________________
~Butrflied~ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Registered User
Join Date: Apr 2002
Posts: 864
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
hi
Industry Role:
Join Date: Jun 2002
Posts: 16,731
|
Quote:
![]()
__________________
M3Server - NATS Hosting |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
When it rains, it pours
Industry Role:
Join Date: May 2003
Posts: 20,609
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Too lazy to set a custom title
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |