thnks Holub.
I dont know how i missed fopen ..
I think this will work for me and i will test it and get back to you.
NOTE: you forgot to mention the mode(second argument for fopen).


Quote:
Originally Posted by Holub
If your server has enabled "allow_urls_fopen" you can use simple fopen("http://domain.com/dir/file?var1=value1&var2=value2"); This is for GET method. For POST method you should use CURL module (see manual) or func_http_request function from x-cart.
|