I would like to write a function to check if the contents of a directory, its files,
have been changed.
The idea is to check the directory every 2 minutes and take some actions if some files
were updated
or new files added.
Does anyone has any ideas?
I was considering listing the files (name, d
Hello all,
I need to do something that you might be able to advise me.
I would like to list all the contents (files) of a directory in a text file.
Each line/record must have the file name, date and size. Does anyone know
how to do it?
Thank you,
C.F.Scheidecker Antunes.
--
PHP General Maili
Hello all,
Just a question about PHP mail comand.
Usually I have something like this:
if (mail($to,$Subject,$Body,$MailHeaders)) {
return 1;
}
else {
return 0;
}
Is there any way to use a BCC instead of to?
I would like that the message sent did not have the address of the person it i
Hello all,
I'm trying to write an script to fetch e-mail and save whatever attachments there are.
Are there any articles or anywhere I can read about it?
Thanks,
Carlos Fernando Scheidecker Antunes
Linux User #207984
d do the job?
Thank you in advance,
Carlos Fernando Scheidecker Antunes.
Hello All,
I've got a form that creates checkboxes based on the number of rows on a table. The
user has to check some of the boxes and then click submit. The boxes are named RG1,
RG2, RG3,
If there are 4 checkboxes and the user selects them all or selects the first, second
and fourth, or
ot;.$Orders[$index]."') ";
}
} // for loop
$query .= "ORDER BY NumOrd";
Then $query is used to query a table.
Thank you for your help,
Carlos Fernando Scheidecker Antunes.
Linux User #207984
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Mark,
It does not work. What it does is to echo the thing to the screen.
How can I force the browser to download it with its original file name?
- Original Message -
From: "Mark Heintz PHP Mailing Lists" <[EMAIL PROTECTED]>
To: "Carlos Fernando Scheide
at?
Thanks.
regards,
Carlos Fernando Scheidecker Antunes
Linux User #207984
Hello all,
Does anyone know if shell_exec waits to have whatever it was passed to
be executed before returning to the script?
I am asking that because I need to write a script to compact files to a
zip and then have it e-mailed to a predefined address.
The files it will compact might have a c
PHP.
Can anyone help me with that?
Thank you,
Carlos Fernando Scheidecker Antunes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
$Errors=array() work for you? Hope I understood your
>problem...
>
>Bogdan
>
>Carlos Fernando Scheidecker Antunes wrote:
>
>>Hello All,
>>
>>I have a populated array that stores user input errors.
>>
>>I have been browsing the manual and some books and I
Hello All,
I have a populated array that stores user input errors.
I have been browsing the manual and some books and I couldn't find one
thing.
I've got an array $Erros[] and I would like to be able to clear it
entirely. Is there any builtin function that acomplishes that?
Thank you in adva
Hello all,
I would like to know if anyone could help me with the following issue:
I have 6 variables, two holds a day, others the month and the last ones the year. They
are entered through drop-down-menus where the user selects day, month and year for
each date.
I would like to know the diffe
Hello All,
I would like to convert integers like the day, month and year to a date representation
to store it in a session variable.
There's a form where the user posts day, month and year. So then I run
checkdate($month,$day,$year) and make sure the date is valid.
So, let's say I have 12 for
Hello All,
I've been searching on the online documentation and I'm pretty sure I've done it
before but I don't recall how.
The problem is. I have a string with 17 characteres and I want to copy from the fourth
character 6 characteres. Under Pascal I usually do copy(string,4,6). That means,
c
nce I can only create it without the resize and
maximize buttons. Do you know how to create a java popup window without the
close icon? If it is possible the problem is solved since the only way a
user could close it is by clicking on the link.
Thank you,
Carlos Fernando Scheidecker Antunes.
- Or
> Konqueror will work as well.
>
> Please let me know of your progress - I'm curious what the problem is.
>
> Bogdan
>
> Carlos Fernando Scheidecker Antunes wrote:
> > Hello all!
> >
> > I've wrote to scripts that use Javascript too. The idea is to have
t;<!--\n");
print("self.menubar.visible=false\n");
print("self.tollbar.visible=false\n");
print("self.locationbar.visible=false\n");
print("self.personalbar.visible=false\n");
print("self.statusbar.visible=false\n");
print("function oldWi
t;<!--\n");
print("self.menubar.visible=false\n");
print("self.tollbar.visible=false\n");
print("self.locationbar.visible=false\n");
print("self.personalbar.visible=false\n");
print("self.statusbar.visible=false\n");
print("function oldWi
It still the same thing. It child does not close on Nestcape and Konqueror
and when it closes on IE now it refreshes teh parent window twice.
- Original Message -
From: "Martin Towell" <[EMAIL PROTECTED]>
To: "'Carlos Fernando Scheidecker Antunes'&quo
t;<!--\n");
print("self.menubar.visible=false\n");
print("self.tollbar.visible=false\n");
print("self.locationbar.visible=false\n");
print("self.personalbar.visible=false\n");
print("self.statusbar.visible=false\n");
print("function o
ot;.$Orders[$index]."') ";
}
} // for loop
$query .= "ORDER BY NumOrd";
Then $query is used to query a table.
Thank you for your help,
Carlos Fernando Scheidecker Antunes.
Linux User #207984
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hello all,
Is there any built-in function to determine a valid date?
If there's not I will have to translate one that I've wrote with DrScheme to PHP.
I just want to save time :)
thanks again,
Carlos Fernando.
Linux User #207984
Hello All,
I wrote an script to do database maintenance and I forgot how to run a script on the
command line without opening it with a web browser. My idea is to add a crontab daily
entry to run this script.
Can anyone enlight me on this
thank you very much,
C.F. Scheidecker Antunes.
Linux
appreciated.
Thanks.
Carlos Fernando Scheidecker Antunes.
Linux User #207984
Hello Everybody,
I have a software writen in Delphi which I am migrating to Kylix but I would like to
do it in PHP instead.
What the software does is to access an e-mail address and retrieve the messages saving
the files ending with .zip to a local directory. After that, it decompresses the ZI
Hello All,
I need to have multiple JavaScripts windows with my database PHP script.
The idea is to have a main Page and links to pop-up JavaScript Windows to enter
information on the database. Once these windows are closed the main PHP page need to
be automaticaly updated.
The Database is a R
Hello All,
I need to have multiple JavaScripts windows with my
database PHP script.
The idea is to have a main Page and links to pop-up
JavaScript Windows to enter information on the database. Once these windows are
closed the main PHP page need to be automaticaly updated.
The Database
- Original Message -
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: "'Carlos Fernando Scheidecker Antunes'" <[EMAIL PROTECTED]>;
"PHP-GENERAL" <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 1:00 AM
Subject: RE: [PHP] How to loop the HTTP
Oops. I've got a typo : $itens[]
Here's the correct code :
Hello all,
I'm trying to loop the $HTTP_POST_VARS variable like an array like this :
$index = count($HTTP_POST_VARS);
for($i=0; i < $index; i++) {
$itens[] = $HTTP_POST_VARS[$i];
}
But it is not working.
Can anoyone tell me how
Hello all,
I'm trying to loop the $HTTP_POST_VARS variable like an array like this :
$index = count($HTTP_POST_VARS);
for($i=0; i < $index; i++) {
$itens = $HTTP_POST_VARS[$i];
}
But it is not working.
Can anoyone tell me how to do it?
Thanks,
Carlos Fernando.
Hello All,
I need to output a string that must always be 17 characters even if the inside value
is not.
Supose a have the HELLO word that is a 5 character string and I need to output "HELLO
" which is 17 characters.
How can I accomplish this in PHP4 ?
Has anyone ever did it?
Than
Hello All!
I have a page that was generated by PHP4 and is the result of a query.
I would like to enable a button to have the page printed.
Does anyone knows how to do it with either PHP or javascript?
Thanks,
C.F.
Hello All,
If I issue the comand date(d."/".m."/".Y." ".H.":".i.":".s)
I get the Today's date and time formated accordingly.
I can do the same with MySQL by using an internal function on the SQL select statement.
I've got a variable that is a MySQL native Date field but it was not and cannot be
Hello all!
I would like to know if anyone has or know any PHP code to verify if a form entered
e-mail address is valid?
I would like that things like 4$%^%$@@.com.br could not be sent. I only has to verify
the syntax of it, the existance I believe should be harder to verify but if it is
possi
Hello all!
Is there any PHP native function to redirect to another page or URL?
I would like that once the user clicks on home.php4 and a few verifications are done,
he/she would be redirected to home.html.
Thanks,
C.F.
37 matches
Mail list logo