the_oliver Posted March 25, 2007 Share Posted March 25, 2007 Hello, Could some one shead some light on fopen for me? I have a script which uses it, and when trying to retrive data from a php script, if gets no data? However if i enter the url its using directly into a browser it works. Does it work over port 80 or 22 or 21? And does it require anonomus ftp to be set up? I hope i havent been to vaig? Many Thanks. Link to comment https://forums.phpfreaks.com/topic/44266-fopen/ Share on other sites More sharing options...
Trium918 Posted March 25, 2007 Share Posted March 25, 2007 Post the code please. Link to comment https://forums.phpfreaks.com/topic/44266-fopen/#findComment-215014 Share on other sites More sharing options...
trq Posted March 25, 2007 Share Posted March 25, 2007 Does it work over port 80 or 22 or 21? This depends entirely on the url you pass it. If the url is http://* then it will use port 80 (Hyper text transfer proticol). However, all that being said, you need to make sure url wrappers are enabled to be able to use fopen with urls. Link to comment https://forums.phpfreaks.com/topic/44266-fopen/#findComment-215015 Share on other sites More sharing options...
the_oliver Posted March 25, 2007 Author Share Posted March 25, 2007 Hi, I checked and url wrappers are enabled. I am connecting to an https url and that is alowed on the firewall. Thanks Link to comment https://forums.phpfreaks.com/topic/44266-fopen/#findComment-215023 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.