new snapshot - new fetch functionality
| From: | Monte Ohrt | Date: | Wed, 13 Mar 2002 23:28:17 +0000 |
| Subject: | new snapshot - new fetch functionality | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3040@lists.php.net to get a copy of this message | ||
A new snapshot is available Smarty-snapshot-20020313.tar.gz
This one has {fetch} on steroids. These are only applicable to http
fetches.
New possible parameters:
file: (same as current)
assign: (same as current)
user: authentication username (default none)
pass: authentication password (default none)
agent: change user agent (default Smarty Template Engine 2.0)
referer: set referer (default none)
timeout: set fetch timeout (default 30)
proxy_host: set proxy host (default none)
proxy_port: set proxy port (default none)
accept: change default accept string (even needed?)
header: send raw HTTP header (multiple allowed)
cluster_host: set cluster hostname (experimental, ask me if you're
curious)
assign_headers: template variable to assign array of returned headers
If you don't want to grab the entire snapshot, I've attached the new
fetch plugin here.
Let me know of any problems ;-)
Monte