Jump to content

GET and use in fopen


ameriblog

Recommended Posts

im not an expert but look around implode-explode where the first parameter is '='. so what i mean is that you put an implode on the url and implode makes out two part of the url, on before the '=' and one after (and this is gonna be the year.) make it a var like $year or anything.

than make another var like $filename that is build up from $year + 'wvhs_gm.txt'. then comes the last var like $fileopen where you open the file like fopen ($filename, 'w')

hope you get it, here's a manual for implode: http://www.tizag.com/phpT/php-string-implode.php

Link to comment
https://forums.phpfreaks.com/topic/66980-get-and-use-in-fopen/#findComment-336001
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.