Wednesday, 20 March 2013

AMFPHP installation and solving config error

AmfPHP is to provide a really simple way of connecting a client with a server.

AmfPHP is a Remoting Library for PHP. Key features are support for AMF among other Protocols, and developer tools such as a service browser and a client code generator.

download and put it on the php site address location   /usr/local/apache2/htdocs/index.html
i followed up to 4 step - i get the result..


for details configuration steps follows 

for configuration:-

from http://www.gotoandlearnforum.com/viewtopic.php?f=17&t=20525&start=15


Hi everyone,

Hope this is the last reply for this post.Please follow the steps below for any problem installing AMFPHP 1.9 on your server. I am assuming u are using the version from this link http://sourceforge.net/projects/amfphp/files/amfphp/amfphp%201.9.zip/download

CheckList #1: Delete or comment out every line in the .htaccess file in amfphp folder.
CheckList #2: Check for the version of PHP of the server from this link http://yourserver/amfphp/phpinfo.php
CheckList #3: Most probably it is > 5.3. So u have to add this code on the first line of globals.php in ur amfphp root folder.

Code: Select all
 ini_set('date.timezone', 'America/Los_Angeles');

above this line
Code: Select all
list($usec, $sec) = explode(" ", microtime());

CheckList #4: If the above step does not work then search for the setting
Default timezone
from
Checklist #2.Refer to the image below for reference.
date.jpg
date.jpg (16.2 KiB) Viewed 3022 times

CheckList #5: Open up the file
Code: Select all
amfphp/core/shared/util/MethodTable.php
and jump to line 505. Once there, you need to replace these three lines:
Code: Select all
$comment = eregi_replace(”\n[ \t]+”, “\n”, trim($comment));
$comment = str_replace(”\n”, “\\n”, trim($comment));
$comment = eregi_replace(”[\t ]+”, ” “, trim($comment));

with these three lines below:
Code: Select all
$comment = preg_replace(”'\n[ \t]+'U”, “\n”, trim($comment));
$comment = str_replace(”\n”, “\\n”, trim($comment));
$comment = preg_replace(”'[\t ]+'U”, ” “, trim($comment));

Save and close the file.

Monday, 18 March 2013

version control system

version control system - svn

for easy installation go with
1. server - subversion edge by collabnet  
    client - tortoise svn

for notes: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-preface.html#tsvn-preface-about

Thursday, 21 February 2013

Disable Automatic Updates Adobe Creative Suite CS4

Heres how to disable it from the CS4 iteration of their software offerings.
1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\
2. Set "AdobeOnlineDefault" to "0" (zero). If it doesnt exist, create it as a new String Value.
3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\CSXSPreferences\
4. Set "UpdatesAllowed" to "0" (zero). If it doesnt exist, create it as a new String Value.


 or


REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe" /f /v AdobeOnlineDefault /d "0"
and
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\CSXSPreferences" /f /v UpdatesAllowed /d "0"
 

Saturday, 5 January 2013

Creating bootable USB for win7

option 1:

Task 1: Making the USB drive an Active Primary Partition.

  1. Open a command prompt (with administrative rights if required by your OS).
  2. At the command Prompt type Diskpart and press enter
  3. Type List Disk and press enter
  4. You will see a list of all the disks on your computer.. A number will identify each disk.
    1. If you do not know which disk is you USB drive go through the list by typing Select Disk 1 enter and then type details. repeat until you know you are on the right USB drive. Hint: It is probably the last one.
  5. Type select disk 4* and press enter. The system will report: "Disk 4* is now selected" (*Where disk 4 is the number of the USB drive, change this number to reflect your system).
  6. Type Clean and press enter. The system will report "DiskPart succeeded in cleaning the disk." This will remove the disk from your current drive letter for your USB.
  7. Type create partition primary and press enter. The system will report "DiskPart succeeded in creating the specified partition."
  8. Type select partition 1 and press enter. The system will report "Partition 1 is now the selected partition."
  9. Type active and press enter. The system will report "DiskPart Marked the current partition as active."
  10. Type assign and press enter.  The system will report "DiskPart successfully assigned a drive letter ..."
  11. Type detail disk and press enter. Details will be listed and under the column heading "LTR" you will see the drive letter. I will assume it is U: for the remainder of the explanation.
  12. Type  exit  and press enter. This will leave the DiskPart context.

Task 2: Formating the USB Drive and copying the install files.

for cd mapping use magioiso -- magicdisk.
  1. If the command prompt is not still open, open the command prompt.
  2. Type format U: /fs:fat32 /q and press enter. (Where U: is the letter of your USB Drive)
  3. A warning will appear indicating all information on the drive will be lost. Type Y and press enter.
  4. You will be prompted to enter a label for the drive. Press enter to continue.
  5. We have now formatted the drive and can proceed to copying the files. Assuming Drive d: for DVD and Drive u: for USB
  6. Type xcopy d:\*.* /s/e/f u:\  . The files will copy and may take a long time depending on the USB drive performance.

 option 2:

use windows 7 usb dvd download tool

create  a bootable usb with the same bit version and os system..
otherwise it won't work...