php-windows Digest 1 Jul 2005 09:54:50 -0000 Issue 2714
Topics (messages 26173 through 26175):
Re: PHP 5.0.4 - Can anyone help me get it to work?
26173 by: JC Botha
Re: Download with security
26174 by: Rui Monteiro
cUrl version
26175 by: Mark Rees
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hi there, I'm using EasyPHP, and it is doing just fine. I should add that I
run it on a developer workstation with WinXP Home. Try it on Win98 if you
can't upgrade. But it is always worth to start with the correct
configurations right from the beginning.
Ok, just a thought.
Greetings
--- End Message ---
--- Begin Message ---
Hey! It worked fine! :)
Thanks a lot.
Cheers!
""Rodrigo"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> First use an authorisation class to authenticate a user.
> You'll find one @ www.phpclasses.org (search for auth or something like
> that).
>
> Then you can use the "Download file" class @ phpclasses.org
> -->http://www.phpclasses.org/browse/package/699.html
>
> Combine these 2 and you're set :)
>
> Grtz
>
> Rodrigo
>
>
>
>
> -----Original Message-----
> From: Rui Monteiro [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 28 juni 2005 16:57
> To: [email protected]
> Subject: [PHP-WIN] Download with security
>
> Hello there,
>
>
>
> I got to make a page where after a user login, he can download whatever
> files he want (the available for his access level).
>
>
>
> My question is where do I make the security access?
>
>
>
> 1 - On the server - Apache. It would be very difficult to create each user
> access whenever a new user appeared.
>
>
>
> 2 - Programming - Php. But in this case there would be a problem, since I
> can't control the file links. After someone downloaded the file, he could
> download it again without making any type of authentication.
>
> How can I make the link available only after login?
>
>
>
> Thank you very much for your time,
>
>
>
> Rui
>
> --
> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hello
Win2k, Apache 2.0, PHP5
I need to make an http request from behind an ISA proxy server. I am trying
to use cURL for this, as it seems to offer the most configurable options
with relation to a proxy server. This is the code I am using:
$ch=curl_init();
curl_setopt ($ch, CURLOPT_URL, 'http://www.google.com/');
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch,CURLOPT_HTTP_VERSION,'CURL_HTTP_VERSION_1_1');
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch,CURLOPT_PROXY,'10.0.0.8:8080');
curl_setopt($ch,CURLOPT_PROXYUSERPWD,'abc:123');
$ret = curl_exec($ch);
It is failing as I am getting a 407 from the proxy server. This is
apparently a known issue:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1188280&group_i
d=976
I believe that this is fixed in the latest version of curl, which is 7.14.0.
However, as far as I know, I would need a new version of php_curl.dll in
order to use this. I do not understand how to build this myself, or even
what I would need in order to do this, and am not sure that I have the
necessary software in any case. Are there any tutorials out there on how to
do this?
Thanks in advance
Mark
--- End Message ---