Re: [PHP] something like alert (javascript)

2001-10-04 Thread Eduardo Kokubo
, but I think javascript can not check the files and php can not alert the user with a function like alert(). I'm using a simple print() (PHP) but alert() would be much better. - Original Message - From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED] To: 'Eduardo Kokubo' [EMAIL PROTECTED

[PHP] something like alert (javascript)

2001-10-03 Thread Eduardo Kokubo
Is there any function in PHP that is similar to alert() or confirm() of javascript ? I tried die() but that's not what I need.

[PHP] ftp

2001-10-02 Thread Eduardo Kokubo
Hi, I'm trying to upload some files using PHP, but I'm limited to small files and I don't know why. Could anyone please help me with this?

[PHP] FTP

2001-10-02 Thread Eduardo Kokubo
Hi, I'm trying to upload some files using PHP, but I'm limited to small files of 1Mb or a little more and I don't know why. Could anyone please help me with this? This is the message I get: Warning: error opening none in /home/proj/sapens/public_html/f1_material.php on line 51 the same

[PHP] error

2001-08-15 Thread Eduardo Kokubo
Hi, How can I change this error message to my own message? Warning: fopen(publico/d/bibliografia.html,w+) - No such file or directory

[PHP] code to see files in directories

2001-08-08 Thread Eduardo Kokubo
I think I saw a code to list the files, subdirectories and the files in the subdirectories of a simple directory in this list some time ago, but I didn't save it. Considering the quantitie of messages in this list, It's quite dificult to find this specific code, so ask the person who did it or

[PHP] something worong

2001-08-07 Thread Eduardo Kokubo
Hi, I'm using this code to delete a file using onunload, but this is not working. Can anyone please tell me why? I know the function apaga() works, but the onunload thing doesn't. I probably missed a detail. html head /head BODY onunload=return apaga($diretorio); ?php function

Re: [PHP] something wrong

2001-08-07 Thread Eduardo Kokubo
I tried it using return and without it, but unfortunly neither cases worked. - Original Message - From: Chris Cocuzzo [EMAIL PROTECTED] To: Eduardo Kokubo [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 2:21 PM Subject: Re: [PHP] something worong hey- I'm not sure, but maybe try

Re: [PHP] something wrong

2001-08-07 Thread Eduardo Kokubo
] To: Eduardo Kokubo [EMAIL PROTECTED]; Chris Cocuzzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 2:52 PM Subject: RE: [PHP] something wrong Ok, this is just a variant of a question asked almost daily. You are trying to call a PHP function using JavaScript. PHP is handled

Re: [PHP] something wrong

2001-08-07 Thread Eduardo Kokubo
Sorry, forget what I said. The code is working fine with your suggestion. I was refreshing the page constantly and each time it was opening the window. - Original Message - From: Rich Cavanaugh [EMAIL PROTECTED] To: Eduardo Kokubo [EMAIL PROTECTED]; Chris Cocuzzo [EMAIL PROTECTED] Cc

Re: [PHP] something wrong

2001-08-07 Thread Eduardo Kokubo
?diretorio=d14,compressao2,toolbar=no);} /script - Original Message - From: Rich Cavanaugh [EMAIL PROTECTED] To: Eduardo Kokubo [EMAIL PROTECTED]; Chris Cocuzzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 2:52 PM Subject: RE: [PHP] something wrong Ok

[PHP] again

2001-08-03 Thread Eduardo Kokubo
I'm still trying to transfer a directory form one server to another but with no results. I have the username and password of the ftp account source and I know I'll have to ask for the username and password of the destination. I can't simply upload or copy the directory, but there must have an

[PHP] window.open (javascript)

2001-07-31 Thread Eduardo Kokubo
I passed some vars to another page using window.open and it worked fine (but had to hide the toolbar). The problem is that wen I check their values like this: ?php if ($test){ print bTest: /b; print $test; print brbr\n;} if ($adicionais){ print bInformações adicionais: /b; print

[PHP] also window.open(javascript)

2001-07-31 Thread Eduardo Kokubo
I know I sent I message to this list 10 seconds ago, but I have forgot to ask this, it's a different problem. I asked for a file name to upload via html form and tried to pass this file to another page using window.open to redirect to a new window (I submited first and tried to redirect it

Re: [PHP] Re: window.open (javascript)

2001-07-31 Thread Eduardo Kokubo
(javascript) can you show us the code that does the window.open('myfile.php?test=hey') for example ? Eduardo Kokubo [EMAIL PROTECTED] wrote in message 016e01c119b4$d784d920$a102a8c0@cttmar">news:016e01c119b4$d784d920$a102a8c0@cttmar... I passed some vars to another page using win

[PHP] another question

2001-07-27 Thread Eduardo Kokubo
Does anybody knows how to redirect a page to new window with all the vars from the old one? Can I leave a message in the old window? Thanks in advance.

[PHP] php

2001-07-25 Thread Eduardo Kokubo
Hi, Is it possible to compress an entire directory using an external program like pkzip? If it is possible, how can I do it?

[PHP] new problem

2001-07-25 Thread Eduardo Kokubo
Hello, I have to transfer a directory and all it's files and subdirectories from one server to another or from one acount to another, but I guess ftp_put or copy can not do it ( This directory must not be compressed). ANY help woud be very very welcome.

[PHP] odd behavior

2001-07-24 Thread Eduardo Kokubo
Hi, I have been trying to create a directory and a file in it on my server, but my code is not working fine. ?php $arquivo = fopen(publico/diretorio.txt,r); $cont = fread($arquivo, 5); $cont++; fclose ($arquivo); $arquivo = fopen (publico/diretorio.txt,w+); fwrite ($arquivo,