Thanks Martin. This is great. :)
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...? As for the script below, could I run it inside a (my) browser? This could be in any browser? ---Original Message--- Date: Mon, 20 Jan 2003 15:51:05 +0100 From: Martin Thoma <[EMAIL PROTECTED]> Subject: Re: Freshmeat question To: [EMAIL PROTECTED] 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 programming, I think PHP is easyier to learn than Perl. Martin -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php