GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   quick php help needed ... (https://gfy.com/showthread.php?t=161950)

lil2rich4u2 08-09-2003 07:10 AM

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.

JamesK 08-09-2003 07:12 AM

PHP Code:

hi 


Jon2 08-09-2003 07:20 AM

PHP Code:

include ('http://www.urlgoeshere.com/index.php'); 

Jon

flashfreak 08-09-2003 07:30 AM

Quote:

Originally posted by Wildcard
PHP Code:

hi 


you're wrong.. here's the correct code:
PHP Code:

echo "Hello world!"


StupidNewbie 08-09-2003 07:42 AM

if it's on the same server just use unlink("filename.htm")

:thumbsup

foe 08-09-2003 09:25 AM

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

foe 08-09-2003 09:26 AM

Quote:

Originally posted by StupidNewbie
if it's on the same server just use unlink("filename.htm")

:thumbsup

thats horrible

Libertine 08-09-2003 09:35 AM

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:

richard 08-09-2003 10:21 AM

Quote:

Originally posted by StupidNewbie
if it's on the same server just use unlink("filename.htm")

:thumbsup

haha, biatch. :thumbsup

What punkworld said, cache it on your machine.

StuartD 08-09-2003 10:24 AM

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.

Butrflied 08-09-2003 10:32 AM

Quote:

Originally posted by StupidNewbie
if it's on the same server just use unlink("filename.htm")

:thumbsup

ohhh .. you're soo mean :ugone2far

StupidNewbie 08-09-2003 10:54 AM

Quote:

Originally posted by Butrflied
ohhh .. you're soo mean :ugone2far
you think that's mean, check out the other lil2rich help thread.

JamesK 08-09-2003 11:02 AM

Quote:

Originally posted by flashfreak

you're wrong.. here's the correct code:
PHP Code:

echo "Hello world!"


:1orglaugh

loverboy 08-09-2003 11:03 AM

Quote:

Originally posted by qualitythumbs
PHP Code:

include ('http://www.urlgoeshere.com/index.php'); 

Jon

hmm, i can see it from here :1orglaugh

fris 08-09-2003 11:08 AM

[? 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