May
12
sshfs and remote php debugging
May 12, 2010 | Leave a Comment
Sshfs is used for viewing and exploring remote file system as if it was your local machine. It is pretty simple to setup
#yum install sshfs fuse-sshfs
Once you have installed sshfs we can use it to connect to any server which allows ssh access
#mkdir /mnt/moodle_server
#sshfs user@server.com:/home/abcd/public_html/moodle /mnt/moodle_server/
Enter password and you re done.
Now lets say we want [...]
May
12
As a security check. $.load and $.get are not allowed to make cross-domain requests to pull and include files/data, which means that residing sitea.com you can’t pull file/data from siteb.com. DOM doesn’t allow it. However using YQL its a piece of cake Here is how.
<div id=”containerdiv1″></div>
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js” type=”text/javascript” charset=”utf-8″></script>
<script type>
// Accepts a [...]