[PHP] problem with ftp_fut fixed?

2002-07-08 Thread jusob

Hello
Many people have the error 
Warning: error opening C:\\xxx\\xxx.xxx in /xxx/xxx/xxx.php when using the 
function ftp_put to upload a file.
Have this problem been fixed? If yes, could some one provide me a link to see 
how to do it. If no, I will explain my problem.

Thanks and sorry for my bad english
julien SObrier

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] problem with ftp_put/upload files

2002-07-08 Thread jusob

Hello
I would like to create a php script to upload file.
With the POST method, I can't upload files whose size are more than 1 Mo (but 
my php.ini should allow up to 30 Mo, and the hidden field MAX_FILE_SIZE too!).
So, I use a ftp connection to upload.
But I have always the same error: Warning: error opening C:\folder\file.ext 
in /my/script.php when using ftp_put

local server: linux RedHat 7.3, php 4.1.2, apache 1.3.23, proftpd 1.2.5
client: IE 5.5 on Windows NT

Thanks
Julien SObrier

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Why won't this work?

2002-07-19 Thread jusob

En réponse à Mantas Kriauciunas <[EMAIL PROTECTED]>:
Hi
You use = instead of ==
So, the first condition is always true

Regards
Julien
> Hello John,
> 
> Friday, July 19, 2002, 12:25:12 AM, you wrote:
> 
> JW> Any ideas on why this won't work?  It will only
> include("inc/entrance.php")
> JW> It never, no matter what the value of $mode, displays
> collection.php.
> 
> thinking logicaly:
> 
> JW> JW>$mode = "entrance"; $mode is "entrance"
> JW>if ($mode = "entrance") {  looks if mode is
> "entrance" which is
> JW> include("inc/entrance.php");if was true so it
> includes entrance
> JW>}
> JW>else if ($mode = "collection") { looking again if for
> same $mode if it is "collection" but it was in first line "entrance"
> JW> include("inc/collection.php"); if was false it never
> executes this part!
> JW>}
> 
> JW>?>
> 
> so what are you trying to get? both included?
> if yes this will include both:
> 
>   $mode = "entrance";
>if ($mode = "entrance") {
> include("inc/entrance.php");
>}
>$mode = "collection";
>if ($mode = "collection") {
> include("inc/collection.php");
>}
> 
>?>
> 
> 
>sorry if i didn't understood the question!
> 
> -- 
> Best regards,
>  Mantasmailto:[EMAIL PROTECTED]
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php