I want to allow users to put in am img url instead of uploading an image, the image would then go through my thumbnailing class.
Is file_put_contents the best method?
How can I add an URL to the trusted site? It seems that there are stored in the registry, but where exactly?
The hints I've googled so far weren't helpfull.
The .net programm will run locally on each client.
Edit declarification: I want to do this programmaticly running C# code.
I am trying to find a universal way to expand most if not all of the shortened URLs out there. I know short URLs such as bit.ly, TinyURL, goo.gl, etc use the 302 redirection method to redirect you to another site. How can I make a HEAD request to the shortened URL in php and get the "Location" part of the header?
Please help me with this.
Thanks
for example i have an image's url:
http://java.sogeti.nl/JavaBlog/wp-content/uploads/2009/04/android_icon_256.png
i want to load this link image into my imageview in my project.how?
There's a web services I want to call in my application, I can use it with importing the WSDL or by just use "HTTP GET" with the URL and parameters, so I prefer the later because it's simple thing.
I know I can use indy idhttp.get, to do the job, but this is very simple thing and I don't want to add complex indy code to my application.
UPDATE: sorry if I was not clear, I meant by "not to add complex indy code", that I don't want add indy components for just this simple task, and prefer more lighter way for that.
I want to embed a ShareThis/AddThis button on my site but the site's navigation relies on Hash tags in the url. Each page is assigned a unique hash value (ie, http://domain.com/index.php#products). Changing the navigation/page design isn't an option. Will these service preserve the hash value (both embed JS on the page)? If they don't, what are some alternative solutions?
Hi,
This is a black box test, which means I don't have any way to access the source code. Because I have to reproduce the error, file a report, and then present to the programmer (who are not our company's employee), I have to find the crashing URL / http / xhttp request.
Is there any way to do so on the SDK emulator?
Thanks a lot.
Hi guys.
I'm trying to make a video download panel for Chrome likes Real Player's one ( a DLL plugin )...
My question is :
"Is it possible to use NPAPI funtions such as
NPP_NewStream, NPP_StreamAsFile, NPP_DestroyStream... to catch the media stream URL of flash-player ? "
If not, then what part of NPAPI do I have to use ?
Thanks..
Normally you can login to sites that require HTTP basic authentication by passing the username and password in the URL, e.g.:
http://myusername:[email protected]/mypath
On my Linux machine, I could access this website without problems with my Konqueror browser as well as with my Opera browser. But with Firefox it doesn't work? It always displays the "Authentication Required" dialog window?
Any ideas why it would work with the other browsers but not with Firefox?
Peter
I'm doing some web scraping using perl's LWP. I need to process a set of URLs, some of which may redirect (1 or more times).
How can I get ultimate url with all redirects resolved, using HEAD method ?
First question is, given a url to an mp4 video, how can I save that file to disk? The followup to that is while its saving, can I begin playback after its buffered some of the video to disk or do I have to wait for the entire file to be written and then:
MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL];
using the path to the local file.
Thanks,
Sam
First question is, given a url to an mp4 video, how can I save that file to disk? The followup to that is while its saving, can I begin playback after its buffered some of the video to disk or do I have to wait for the entire file to be written and then:
MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL];
using the path to the local file.
Thanks,
Sam
What is the most convenient way using Selenium WebDriver to check if an URL GET returns successfully (HTTP 200)?
In this particular case I'm most interested in verifying that no images of the current page are broken.
lamp::phpmyadmin:where should be phpmyadmin accesse (URL) and how its can be defined?
I made command:
sudo apt-get install libapache2-mod-auth-mysql phpmyadmin
but I dont know how can i access phpmyadmin
Thanks,
Yosef
i need to post url to be /controller/action/someID
not sure how to get someID in using the BeginForm helper.
html.beginform("controller", "action", formmethod.post)
As title, how to do that?
to get the direction of two point we can do like
http://maps.google.com/maps?saddr=40.1212,22.333&daddr=40.222,22.333&z=17"
then how can i plot multiple location using this method by URL address?
I have a URL to a image which i want to save. I looked into ruby file handling and did not come across anything. Please guide me towards some links or blogs which talk about the same. I need to then use Paperclip to produce a thumbnail of this image to be used in my application.
currently i am developing an aspnet mvc application on iis 5.5.So i have given wild card mapping.I know if we give wild card mapping ,all request go through the asp.net execution pipeline pipeline.(correct me if i am wrong).and in iis7 or above ,we have in built url rewrite engine.What i want to know,in iis7 or above will a request to static html page will go through the aspnet mvc execution pipeline?
From a C# windows application, how can I find the current URL of the active tab in a Firefox instance is? Does Firefox have any API for this? If so, can it be accessed using C#?
I have a job in Hudson with Subversion as Source Code Management.
But I do not want always to update working copy to HEAD revision.
I need to have ability to choose SVN revision during start of this job.
It is possible to parameterize build with revision number.
But as far as I can see I cannot use parameter in repository URL.
I can only hardcode revision.
Is it true?
I need to call SSRS Report WebService using jQuery ajax request. Since the ssrs webservice is SOAP based and considering the example shown for "calling share point web services using jquery" I think I need to pass a soap envelope.
Based on the ssrs webservice url how can i find out the soap envelope required by a particular method?
Thanks
We want to show only the base url (www.myapplication.com) of the web application even if the use browse to any other webpage in the application. Please guide.
Thanks in advance.
Hi all,
Question says it all, dividing it into two parts:
1- Grabbing url when chrome extension is clicked, of current tab(on focus) - CHROME SPECIFIC.
2- Setting the same in a Textbox value, in one of frames of web page.Which means, the textbox resides in a.html where on webpage it's <frame src="a.html"> -CHROME/JAVASCRIPT/HTML specific.
Please help, with either/both parts. Thanks so much.Appreciate it.
This question has been asked before on SO, but most of those questions were asked a long time ago.
Essentially, we want a simple way to pre-populate the Facebook status message through the URL much like you can with Twitter.
We're aware of the Facebook APIs, but are wondering if there is a more lightweight approach.
We don't need programmatically to post a message, but just provide some default text that the user can edit before sharing.
I need to post the xml data which i need to get from the database and need to post this data to a url like(http://www.rentals.com/aspx) through asp.net.