![]() |
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. |
PHP Code:
|
PHP Code:
|
Quote:
PHP Code:
|
if it's on the same server just use unlink("filename.htm")
:thumbsup |
include('http://www.domain.com/php/oopsie.inc.php');
|
Quote:
|
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 :2 cents:
|
Quote:
What punkworld said, cache it on your machine. |
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. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
[? include "http://www.blah.com/blah.php";?]
replace quare with normal php brackets. :) |
All times are GMT -7. The time now is 06:35 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123