I'm having a problem with my server at work, it's not letting me access any files via FTP that were uploaded or created by PHP, like log files and user uploads. I CAN access them via HTTP.
Server - Apache/1.3.41 (Unix)
This is a big problem for me, and I feel like it must be some server configuration because this doesn't happen elsewhe...
Hi everyone,
Lately I've been researching different methods for streaming MP4s to the browser. Flash Media Server is an obvious choice here (using Cloudfront), and most solutions I've seen use the RTMP protocol.
However, I spent some time on YouTube with Firebug and Chrome debugger figuring out how their streaming worked and I discover...
im trying to get a post from a php file when it has something from the database.
this is the js script that sends the post request (im using jquery and the smartupdater plugin)
function update(){
$(document).ready(function(){
$("#myp").smartupdater({
url:"listen.php",
type: POST
minTimeout:2000
},function(data){
$("#myp").before(...
How would you get the WHOIS information to provide in the first place?
Note that I'm not actually intending to do this; I'm just interested in how it would work!
...
i make an ajax request to a php file that runs a while loop that looks for new data in the database, but i cant give it new data because the browser is blocked while waiting for the new data.
does anyone know how to not block the browser?
...
I want to use node.js (or other SSJS solution), running my own code + external written code inside (untrusted).
Any way to seperate and protect my own code? Could I limit the modules and system effect of th untrusted code (limit access to files, non HTTP ports, etc.)?
...
I can see http://www.webermediapartners.com website when I have the plugins directory not named 'plugins', which changing it to any name will not show up in the WP system since it requires a folder by that name. I get a messed up login and sent to an URL redirect for enternity.
When I rename the plugins dir to 'plugins', the http://www....
My friends and I were thinking of starting our own wiki. Given how widespread they have become recently, we heard it isn't that hard. We want to keep the site as simple as possible - we have some experience with web design, but not a whole lot with system administration. What are some things that we should keep in mind going forward (suc...
hey all,
I am trying to run web application scripted in PHP on windows server 2008. I have configured PHP (as fastcgi) and IIS. Everything goes fine except the following scenario.
In the php.ini document "doc_root" edited with the correct root path for my php projects which is "c:\inetpub\wwwroot\". I created a new site on IIS and mapp...
I'm trying to set up a socket server in php that stays open. This example taken from php.net will close after it receives connection...even after I comment out socket_close($spawn)
<?
// set some variables
$host = "192.168.1.109";
$port = 1234;
// don't timeout!
set_time_limit(0);
// create socket
$socket = socket_create(AF_INET, SOCK_S...
I am trying to connect a server to a XMPP server, using the MD5 Digest SASL handshake. But the XMPP server always rejects my response to the challenge. The RFC says the response should look like:
username="example.org",realm="somerealm",\
nonce="OA6MG9tEQGm2hh",cnonce="OA6MHXh6VqTrRk",\
nc=00000001,qop=auth,digest-uri="xmpp/example.org"...
Possible Duplicate:
PHP write outside document root
assume i have a script in somewhere in the htdocs directory and i want this script to write files in a directory that is of the same parent as htdocs. how do i do it?
...
i have always wanted to make a private server but i don't know how i would do this.
i know how a private server works, the game sends data packets to the server. the server will take the data and process it and send data to the other games connected.
my questions are,
how do you edit the game so it will go to your server/change game...
I'm working on a new web app where a large amount of content (text, images, meta-data) is requested via an Ajax request.
No auth or login required for a user to access this.
My concern is that you could easily lookup the data source URL and hit it directly outside the app to get large data. In some ways, if you can do this you could p...
Hi,
I want to be able to handle input from a server through a Socket and pass it to a method to process it. I am trying to implement this through a class that implements runnable, with a loop in the run statement such as:
public void run()
{
while(notDisconnected)
{
line = readLineFromServer();
if (!(line...
Hi all. I have an ubuntu server running nginx. I just tried to enable a vhost config and discovered that i don't have the a2ensite command. I searched with find and whereis and it looks like i just don't have it. I realise i could hand-roll my own symbolic link from sites-enabled to sites-available but i'd rather use a2ensite/a2dissi...
I have a Java client that uses HttpClient to connect to a server and wait a response. The response may return after a long time (the client essentially waits for an event from the server).
Other than using timeouts, is there a way to detect when the server crashes?
...
Hi, I am trying to install PHP locally so I can run PHP files. The problem is that I am not able to install it properly although I am trying to follow the instructions. So I am following the instructions provided in this site for example:
http://www.sitepoint.com/blogs/2009/04/13/how-to-install-php-on-windows/
and I can't find the file...
Hello my fellow Stackoverflownians :),
I just came across this thing called Zend. And it looks pretty cool and i wanna get my hands on it, but I have a question. So if anybody knows anythin about Zend, I would really appreciate your advice.
I am using Winhost as my hosting provider (http://www.winhost.com/) and they are a Windows Hoste...
Hi All,
mp3 files from server takes more than 5mins to play in the mediaelement.
Code:
<MediaElement
Name="player"
Source="{Binding ElementName=lbTrack, Path=SelectedItem.FilePath, NotifyOnSourceUpdated=True,NotifyOnTargetUpdated=True}"
UnloadedBehavior="Stop"
Volume="{Binding ElementName=vo...