Groups for all the php developers.
Install XDebug on ( LAMPP OR XAMPP For Linux )
To Install XDebug on LAMPP
1) Download the latest version of ( XAMPP For Linux ) From site http://www.apachefriends.org/en/xampp-linux.html
2) Install it. To install lampp, extract and put in /opt directory.
3) Download Development package from same site.
Direct download/upload files by firefox - firefox ftp client
FireFTP - The firefox ftp client
Using FireFTP, you can directly connect to the ftp server by the firefox . It will be very good if you don't want to install ftp clients like FileZilla, SmartFTP etc. For more information visit the url https://addons.mozilla.org/en-US/firefox/addon/684
Write PHP code inside javascript code and Javascript code inside php code
Example1:Assign value to php variable using javascript variable.
//Put this code in body of page
<?php $myvar=1; ?>
<script type="text/javascript">
jsvar = 3;
//Assign jsvar javascript variable value to php variable $myvar
'<?php $myvar="<script>document.write(jsvar)</script>"; ?>';
</script>
<?php echo $myvar; ?>
Example 2: Assign javascript counter variable to php variable
PHP common syntax errors.
1) Parse error: syntax error, unexpected T_VARIABLE in D:\xampp\htdocstest2.php on line 5
Possible Reason: ";" is missing in previous line
2) mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in test.php on line 3
resize image using php
1) First Check GD library is enable or not
To check GD library print phpinfo using code <?php echo phpinfo(); ?> in any php file ( View snapshot below )
.htaccess problem with xampp
if htaccess is not working on xampp then follow the steps
1) print phpinfo using code <?php echo phpinfo(); ?> in any php file
2) View above snapshot and find "mod_rewrite" inf phpinfo if you didn't find mod_rewrite then you have to follow below steps for enabling mod_rewrite

