why can i run an "yt.php" script from a browser, ie, (https://www.yt.php) but not from my hdd, ie, (file://c:\yt.php) ?
The yt.php script works (and returns the forms results) in my regular Chrome/Firefox/IE browsers and my custom made browser (its just a browser to view html/php content), but when I issue it like this "file://c:\yt.php" the page displays but when I enter something into the forms input box, the page does not return anything, but keeps asking me to enter something. It blinks and that is it.
What do i need to do to make it work from my hdd ? I guess it doesn't have to be from my hdd. But since I am testing the script, from my hdd, it shouldn't matter where its coming from.
I am analyzing a php script to try and see if it is something that I can use in a custom tool I may write.
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 5 of 5
			
		- 
	
- 
	I think the correct question is, 
 
 ¿why aren't you running a real HTTP server at 127.0.0.1?
- 
	Yep. Install something like XAMPP, https://www.apachefriends.org/index.html . Apache and PHP. 
- 
	Yip. 
 
 I develop my own website using php/MySQL. Could not test a thing without a local Apache Server.
 
 If you check that code carefully chances are it sends the info from the input box in a form to another php script that does the analysis and then returns that to the original page from a reload of it. Or it could do the same with javascript so the page does not reload.
- 
	Install just php and in command line : php -f path/to/file.php Last edited by acheter; 27th May 2016 at 07:51. 
Similar Threads
- 
  HTTPS encryption on YahooBy Anonymous53584 in forum Video Streaming DownloadingReplies: 2Last Post: 12th Oct 2014, 11:57
- 
  HTTPS problem with Doom9 and its mirrorsBy El Heggunte in forum Off topicReplies: 0Last Post: 19th Aug 2013, 18:21
- 
  How do I download and convert an online video file that is a php?By Tblossom in forum Video Streaming DownloadingReplies: 8Last Post: 19th Oct 2012, 05:20
- 
  Streaming Video HTTPSBy xbluewho in forum Video Streaming DownloadingReplies: 4Last Post: 3rd Jul 2012, 02:48
- 
  I want to make a streaming server for streaming into a PHP/HTML siteBy cassiell2085 in forum Video Streaming DownloadingReplies: 0Last Post: 31st Jan 2012, 10:23


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			 
			

 Quote
 Quote Visit Homepage
				Visit Homepage
			 
 
			
			 
			