[PHP] trailing carriage return in file

2003-10-08 Thread Alex Ciurea
i don't know how to match, using preg_replace() the '\n' character... it's something like "/n/" ? thanks, >>>>>>>>>>>> Have a nice day ! (And I'm sure that tomorrow will be better than today!) Alex Ciurea Greets You www.ne

[PHP] php&javascript live-clock

2003-10-07 Thread Alex Ciurea
f the server, but how can I keep this information realtime...? thanks, alex >>>>>>>>>>>> Have a nice day ! (And I'm sure that tomorrow will be better than today!) Alex Ciurea Greets You www.netonwave.com >>>>>>>>>>>> Hav

Re: [PHP] is my server working

2003-06-15 Thread Alex Ciurea
f your php files. it should work if your apache/php server is configured properly. Good luck! Alex Ciurea Greets You www.netonwave.com - Original Message - From: "Lars Torben Wilson" <[EMAIL PROTECTED]> To: "Alex Ciurea" <[EMAIL PROT

Re: [PHP] is my server working

2003-06-15 Thread Alex Ciurea
try to use echo instead of print() : >>>>>> echo $myString; >>>>>> or, if u realy want to use the print function, try this: >>>>>> print("$myString", %s); >>>>>> maybe will work A

Re: [PHP] This line does not execute...

2003-06-04 Thread Alex Ciurea
probably don't run. try to see, from your shell (i think you use linux) if u can run a php script. e.g.: ./myscript.php - Original Message - From: "Todd Cary" <[EMAIL PROTECTED]> To: "Alex Ciurea" <[EMAIL PROTECTED]> Cc: "php mailing" <[E

Re: [PHP] This line does not execute...

2003-06-04 Thread Alex Ciurea
oh I see, you want to execute that image.php script ? - Original Message - From: "Alex Ciurea" <[EMAIL PROTECTED]> To: "php mailing" <[EMAIL PROTECTED]>; "Todd Cary" <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 6:07 PM Subject: Re: [P

Re: [PHP] This line does not execute...

2003-06-04 Thread Alex Ciurea
did u made copy&paste with your code? yes? then why don't you try to use the path='image.php?blahblahmoreblah' no? then please give us more details about the error you're getting... good luck, Alex - Original Message - From: "Todd Cary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[PHP] PHP WEB module doesn't execute php console scripts?

2003-03-05 Thread Alex Ciurea
Hello, I have a linux-debian machine. I've installed the php-module for the apache web server, and I've realized that my php scripts (launced from console) doesn't work. What should I install in order to make working those php-scripts ? I know that's a silly q, but this is the first time when I

Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
, 2003 3:27 PM Subject: Re: [PHP] Need some help in "exec"-attack > On Monday 13 January 2003 21:13, Alex Ciurea wrote: > > Hi, > > > > I think I've solved the problem > > > > group owner of the dest_dir must be apache !!! > > NB if mysql is

Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
ty reasons. - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 3:08 PM Subject: Re: [PHP] Need some help in "exec"-attack > On Monday 13 January 2003 19:53, Alex Ciurea wrote: > > Hi all, >

Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
Hi, I think I've solved the problem group owner of the dest_dir must be apache !!! - Original Message - From: "Alex Ciurea" <[EMAIL PROTECTED]> To: "php mailing" <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 1:53 PM Subject: [PHP] Need

[PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
Hi all, this is my situation: I want to execute some comands using 'shell_exec': $command=shell_exec("ls -la /usr/dest_dir;cp -R /usr/source_dir/1.php /usr/dest_dir;cd /usr/dest_dir;ls -la"); echo "$command"; Actually, these commands: 1)ls -la /usr/dest_dir 2)cp -R /usr/source_di

[PHP] Can I Copy a directory using PHP?

2003-01-13 Thread Alex Ciurea
Hello, I want to write a script that makes a backup of a database directory. Actually, to copy all database files to another directory. I've figured that I have to use the "copy" function of the PHP, but the function doesn't works only with files? Is it possible to copy the entire directory to

[PHP] easy spliting

2002-12-18 Thread Alex Ciurea
Hi, I know it is easy but I can't figure how I should do I want to split a string from position 1 to 9, from 10 to 36, from 37 to 54 and so on... how can I do this? is there a function who does this? Regards, Alx