[PHP] preg_match_all

2003-02-17 Thread Cenk Uysal
hi, i try to parse html data with php's preg_match_all() function. here is a sample data that i try to parse: a href=http://www.xxx.com; class=Mxxx/a the regular expression that i use is: preg_match_all(/a[ ]href=\([^\]+)\[ ]class=M([^]+)\/a/,$buffer,$ma tch); by this expression i get the

[PHP] file copy

2003-02-03 Thread Cenk Uysal
hi, how can i copy a file from web to my local disk? http://www.xxx.com/xxx.gif i try to get xxx.gif to my local disk... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] xtemplate windows

2003-01-26 Thread Cenk Uysal
hi, i try to run xtemplate on my windows machine but i get errors such like : undefined index main...(main is the name of block !-- BEGIN: main --) it seems it can not process blocks in template. theres no error in unix machine. does anyone knows the solution?

[PHP] base64_decode()

2002-11-26 Thread Cenk Uysal
hi, i want to save a base64 encoded string after i decode it. i saw that base64_decode function returns a string. so how do i save it as a binary file? i plan to save it to postgresql database field. thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: