Home > Groups > PHP developers

PHP developers

Group

Groups for all the php developers.

Install XDebug on ( LAMPP OR XAMPP For Linux )

Article
Published in

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

Article
Published in

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

Article
Published in

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.

Article
Published in

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

Article
Published in

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 )

GD Library

.htaccess problem with xampp

Article
Published in
mod_rewrite.JPG

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

Syndicate content

Bookmark and Share
Home Back To Top