WELCOME Abdennour : Software engineer

Dec 19, 2012

TRICK : Get an URL for local file without remote hosting

when I tried to upload an image to the signature of my emails, the server requests an URL without giving the opportunity to upload the file from my pc.

So, there is a method, but it did not professional. :uploading the file on a remote server and retrieving  the URL.
I invented the  following trick :

If your PC has an HTTP server ,such as,Apache  , the mission is very simple:
Step 1:Retrieve ip address by ifconfig (or ipconfig if it's WIN)
STEP2 : Check the state of Apache 

STEP3: Put your Image(file) on /var/www/ :

STEP4: try : http://@ip/nameFile.extension


No comments:

Post a Comment