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)
-   -   Yo ineed HELP , php or coders or l33t people (https://gfy.com/showthread.php?t=374314)

Juicy D. Links 10-19-2004 01:21 PM

Yo ineed HELP , php or coders or l33t people
 
I need something that will grab the contents of the url such as blabla.com/juicy.txt......... save it as a txt file i specify such as cum.txt


and for it runs on it owns evry x amount of hours i specify

Any ideas?

Juicy D. Links 10-19-2004 01:24 PM

:hi :hi :hi

Juicy D. Links 10-19-2004 01:24 PM

:anon :anon

Juicy D. Links 10-19-2004 01:25 PM

:helpme :helpme

dunefield 10-19-2004 01:30 PM

no...

vas 10-19-2004 01:31 PM

sure its simple to do...

use fopen and fwrite in php

and setup a cronjob to do the running every few hours bit.

Grammar Police 10-19-2004 01:32 PM

Juicy, you really need to get back on Paxil and drop the stupid, helpless Guido act. It's getting really, really old.

Juicy D. Links 10-19-2004 01:34 PM

Quote:

Originally posted by Grammar Police
Juicy, you really need to get back on Paxil and drop the stupid, helpless Guido act. It's getting really, really old.
I need help man. I am backl on Paxil

swedguy 10-19-2004 01:39 PM

Didn't you get one couple of weeks ago?

dodger21 10-19-2004 01:39 PM

:321GFY

Juicy D. Links 10-19-2004 01:40 PM

Quote:

Originally posted by dodger21
:321GFY
:Kissmy :Kissmy

swedguy 10-19-2004 01:44 PM

PHP Code:

$content implode(''file('http://www.domain.com/sup.txt'));
$fp fopen("file.txt""w");
if (
$fp) {
  
fwrite($fp$content);
  
fclose($fp);


A simple one. It will write http://www.domain.com/sup.txt to file.txt (owerwrite and truncate file.txt if it exist).

Juicy D. Links 10-19-2004 01:47 PM

Quote:

Originally posted by swedguy
PHP Code:

$content implode(''file('http://www.domain.com/sup.txt'));
$fp fopen("file.txt""w");
if (
$fp) {
  
fwrite($fp$content);
  
fclose($fp);


A simple one. It will write http://www.domain.com/sup.txt to file.txt (owerwrite and truncate file.txt if it exist).

ty i owe you one :thumbsup

jwerd 10-19-2004 02:02 PM

Quote:

Originally posted by swedguy
PHP Code:

$content implode(''file('http://www.domain.com/sup.txt'));
$fp fopen("file.txt""w");
if (
$fp) {
  
fwrite($fp$content);
  
fclose($fp);


A simple one. It will write http://www.domain.com/sup.txt to file.txt (owerwrite and truncate file.txt if it exist).

Juicy, you can also make it so it grabs it from a query string (EG: script.php?file=whatever.txt&url=http://www.wow.com/wtf.txt).

The code would be changed to:
PHP Code:

<?php
$content 
implode(''file($_GET['url']));
$fp fopen("".$_GET['file']."""w");
if(
$fp)
  
fwrite($fp$content);

fclose($fp);

But goodjob to everyone who participated as well :) Goodluck

nibbi 10-19-2004 02:16 PM

Juicy, hit me up via e-mail. I just threw something together that I think might work for you.

me at nibbi net

fuzebox 10-19-2004 03:50 PM

I am l33t, am I too late? :(

power182 10-19-2004 04:49 PM

wget works well....

Juicy D. Links 10-19-2004 04:51 PM

Quote:

Originally posted by nibbi
Juicy, hit me up via e-mail. I just threw something together that I think might work for you.

me at nibbi net

thank nibbi for the code

I am all set thanks veryone for the help :thumbsup


All times are GMT -7. The time now is 10:31 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123