i had an html page that run some jQuery scripts and that works ok.
but once i use the same scripts in php page then tries to run it using local server (xampp) it doesnt working .. then i tried to upload files on linux server over the internet but neither the html nor the php pages worked right !
so did i miss something ? is there some ...
Hi All,
I have got two simple questions
How can I tell what server is a website on? I remember I used to read the HTTP Host Header to identify the type of server. Is there any tool to do it?
2a. A lot of the website have the page extension .html and you just know they are not html. How can I tell what programming language is behind ...
I am working on a servlet (runs on tomcat) which receives requests that contains Java Script code, and using the java scripting API framework evaluates/run the code and returns the answer to the user.
Since we are dealing with user generated code, the code can be a good code and it can be bad code. As an example for a bad code can be wh...
I am running IIS7 and PHP5 locally on my machine and the code above will cause IIS to throw an HTTP 500 error. After a lot of frustration and confusion I figured out that any PHP script with empty variable will throw this IIS error. Below is an example of this:
<?php $x = $y; ?>
I find this behavior very odd and it breaks a large perce...
On a development server here, a setting has been changed which makes any PHP error (of any level) only output the error message and nothing else. To demonstrate what I mean, here's a script to reproduce the error:
<?php
$array = array('a');
echo "Hello world";
echo $array[1];
echo $array[2];
echo "Goodbye world";
?>
What I'd expect fr...
We've been using subversion for version control for our software projects for quite a while now. Since we develop in python, I've recently started using subversion to deploy working copies of the sites. When a site is updated in the repo, a post-commit hook is called on the server and it pushes the changes to the live sites.
Continuing ...
I am using eclipse Galileo. The "New Server Runtime Environment" dialog box contains three fields:
Name
Tomcat installation directory
JRE
I would like to set the tomcat installation directory relative to an environment variable I have set in my OS (win xp).
Can this be possibly done?
...
I have a php script that needs to run for quite some time.
What the script does:
connects to mysql
initiates anywhere from 100 to 100,000 cURL requests
each cURL request returns compact-decoded data of 1 to 2000 real estate listings - i use preg-match-all to get all the data and do one mysql insert per listing. each query never exceed...
Hi,
Let's say I have a server running as a service, I have a client that connects to the server exchanging information.
This will work nicely on a "keep-a-live" application (a desktop application, another service etc.), but what are my option in a web environment? Create the client on each web call and connect to the server retrieving...
I want to use MySQL Administrator and MySQL Query Browser on a remote mysql server.
Should I just change the bind-address to 0.0.0.0 to accept all connections or is there a more secure way.
Thanks
...
Hi!
I am trying to find a way to render a Flash object, more specifically a Open Flash Chart, in the server, and save a screenshot of it to a temp file to embed it in on a PDF report.
I've found some solutions that use Javascript to generate a temp file in the browser, and then send it to the server (like here). However I need to gener...
I have an application running on facebook now.. and now, I duplicate the exact same thing with mostly the same server config in Rackspace.
HOwever, when I run the app in facebook, I get this:
Exception
Error Code: 1
Message: An unknown error occurred
#0 /home/www/entouragela-dev.sector3gamez.com/site_prod/_library/facebook/facebookapi_...
Hi I'm using IIS 7 Manager to work on my remote web server. I don't have a hosting control panel (Plesk,...), it is better to manage the server with native tools. However IIS 7 manager is only for IIS, obviously. I want to manage DNS from IIS 7 Manager too, is it posibble, is there an add-on kind of thing?
Thanks.
...
I've got a server control that contains nested server controls,
<uc1:ArticleControl runat="server">
<HeadLine></HeadLine>
<Blurb></Blurb>
<Body></Body>
</uc1:ArticleControl>
Code:
[ToolboxData("<{0}:ArticleControl runat=server></{0}:ArticleControl>")]
[ParseChildren(ChildrenAsProperties = true)]
public class ArticleCon...
I'm working on eclipse and after making some changes in application and redeploying EAR file on OC4J server (i've added ssl support) my application binding in secure-web-site.xml ( i mean: tag) disappears or rather is not adding. What do i have to do to get this done automatically ?
...
I'm working on eclipse and after making some changes in application and redeploying EAR file on OC4J server (i've added ssl support) my application binding in secure-web-site.xml ( i mean: web-app tag) disappears or rather is not adding. What do i have to do to get this done automatically ?
...
How feasible is it to translate this Ruby websocket server to PHP?
http://github.com/gimite/web-socket-ruby/blob/master/lib/web_socket.rb
I know a little bit of Ruby and a decent amount of PHP, thought I've never done socket programming. I'd like to build a chat app on top of what gimite has put up on git, but all my sites are in PHP. ...
I am looking for a simple Python webserver that is easy to kill from within code. Right now, I'm playing with Bottle, but I can't find any way at all to kill it in code. If you know how to kill Bottle (in code, no Ctrl+C) that would be super, but I'll take anything that's Python, simple, and killable.
...
Hi friends. We're on the mid-tier DV Rage server on media temple using Zend Framework, and we've been getting QoS warnings in Virtuzzo pretty consistantly. We've spent the last week installing APC (tweaking that to death), mysql and apache tweaks (many recommended by Media Temple), front end gzip, Zend_View caching, and every optimizatio...
Can anyone suggest a good email server that runs on Windows Server 2008?
I'm setting up a SharePoint test box and need email. Win2008 does not have the free smtp/pop services that were available on Win2003, so I need a free, easy and reliable mail server.
Thanks.
...