When my PHP script runs, I would like to run a link like this server side:

http://77.33.xx.xx/s/addtoqueue.php?action=store&amp;filename=myprettypicture&amp;link=http://i69.servimg.com/u/f69/13/29/70/44/facebo10.png


Im doing this for storing the images on a own separate images server. The link is adding the image to a queue.

How can I execute this link correct?

I did this so far:

$link = 'http://77.33.xx.xx/s/addtoqueue.php?action=store&amp;filename='.$filename.'&amp;link=$link;


But dont know how to run this?

And would it by the way be smart to urlencode() and urldecode() the $link?


Question: What is the Gorel Hagra?
Answer: In this article from The Seforim Blog, under the heading "Bibliomancy", it says:


  Another interesting method found in this sefer is the method of gorel using a Chumash to find out what to do:
  
  ואני הצעיר הכותב קבלתי שצריך לעשות הגורל הנז' בחומש מכתיבת יד שאין בו כי אם חמשה חומשי תורה ואפילו לא הפטרות. והשלך שבעה שביעיות שהם מט, ומן שער החמישים יוצא כזה השלך ז' עלין... (עמ' קפט)&rlm;
  
  This concept has been used by many and is more recently the subject of two books, Gorel Hagra and Hegyon ha-Gorel from E. Martzbach. See also Bromberg's book, Me-Gedolei ha-Torah veha-Chasidut on the Marsham, pp. 129,144; Eliach in his book Ha-Goan, pp. 1110-1127; Alei Tamar, Shabbat, pp.83-4; R. Reuven Margolis, Mekor Chesed, p.214.


I haven't actually looked up any of these sources, but I thought someone might find this useful.