[PHP] Re: Freshmeat question

2003-01-21 Thread Martin Thoma
> I am not new to programming, just to scripting languages. I have seen that Perl has >some high advanced sintaxes for string processing, for example, but I don't know if >the same level can also be achieved in PHP...? Sorry, I don't know that. I know that Perl has some regular-expressions, but

[PHP] Re: Freshmeat question

2003-01-20 Thread Martin Thoma
Well, it's quite easy: Just write a php-script and start it with php myscript.php. Thats all. You could fetch a web-page with fopen: $fp = fopen("http://www.mydomain.com/";, "r"); $line = ""; while(!feof($fp)) { $line .= fgets($fp, 4096); } fclose($fp); print $line; If you are new in progra