Hi, use the class Snoopy in sourceforge.net. This classes also fetch https/http urls through fsocket open. This class is used to grab urls, Fetch all links etc.. Regards uthaya --- abhishek jain <ejaincom@xxxxxxxxx> wrote: > This is not exactly what i was looking for. > I was looking for in simple sense reading a file via > internet through http and ftp. > Please correct me if i am wrong, perhaps we can do > so by fopen(). > Can anyone give me a script to read a file and than > pocess it , ie. maybe after reading we can extract > URLs fom the file. > I shall be grateful, > Regards, > Abhishek jain > > > Brian Cummiskey <brian@xxxxxxxxxxxxx> wrote: > abhishek jain wrote: > > Dear Friends, > > I want to get/post a URL via a script made in PHP. > > I know how to do that via PERL ie. through > LWP(Library for WWW access in Perl). > > Is there a method to do that in PHP. > > Can anyone give me a sample script. > > -- > > Regards > > Abhishek jain > > i'm not sure if i'm understanding your question > correctly- but, it > sounds like the urlencode() function is what you are > looking for. > > http://www.php.net/urlencode > > > and you're going to want to use it like this: > > > $theurl = 'http://yoururl.com'; > > urlencode($theurl); > > > > PHP Data object relational mapping generator - > http://www.meta-language.net/ > > > Yahoo! Groups SponsorADVERTISEMENT > document.write(''); > > --------------------------------- > Yahoo! Groups Links > > To visit your group on the web, go to: > http://groups.yahoo.com/group/php-objects/ > > To unsubscribe from this group, send an email to: > php-objects-unsubscribe@xxxxxxxxxxxxxxx > > Your use of Yahoo! Groups is subject to the > Yahoo! Terms of Service. > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Search presents - Jib Jab's 'Second Term' > > [Non-text portions of this message have been > removed] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/