[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

[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] 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 pre$command/pre; Actually, these commands: 1)ls -la /usr/dest_dir 2)cp -R

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 some help in exec-attack Hi all, this is my

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

2003-01-13 Thread Alex Ciurea
. - 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, this is my situation: I want to execute some comands using

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

2003-01-13 Thread Alex Ciurea
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 running whilst you're copying the files then you could end up with incorrect backups. -- Jason Wong

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

2003-06-04 Thread Alex Ciurea
did u made copypaste 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] Sent:

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: [PHP] This line does not execute... did u made copypaste

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 [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 6:22 PM Subject

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 Alex Ciurea Greets You www.netonwave.com - Original Message - From: Khoo Merry [EMAIL PROTECTED

Re: [PHP] is my server working

2003-06-15 Thread Alex Ciurea
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 PROTECTED] Cc: php mailinlist [EMAIL PROTECTED]; Khoo Merry [EMAIL PROTECTED] Sent: Sunday, June

[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

[PHP] phpjavascript live-clock

2003-10-07 Thread Alex Ciurea
of 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 Have a nice day ! (And I'm sure that tomorrow will be better than today!) Alex Ciurea Greets You

[PHP] trailing carriage return in file

2003-10-08 Thread Alex Ciurea
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.netonwave.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http