I'm working with a sms gateway thing, now i have to pass a url via GET or POST. i'm tried with fopen("http://api.studentmug.com/bulksms/sms.php?Username=<something>&Password=<something>", "r"); like that. but it didn't worked. Please help me guys. i'm also used curl_init(); it is replying Bad Request.
If you want to pass a url via GET, which means to add that url in the link address, try with: file_get_contents('http://domain/page.php?name='. rawurlencode($the_url_to_pass)); , or with cUrl, but adding that url in the address encoding with rawurlencode().
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: