php
Chandresh Kumar Chhatlani (A Computer Programmer / Software Developer in Udaipur, Rajasthan, India)
Chandresh Kumar Chhatlani (A Computer Programmer / Software Developer in Udaipur, Rajasthan, India)
Chandresh Kumar Chhatlani (A Computer Programmer / Software Developer in Udaipur, Rajasthan, India)
Chandresh Kumar Chhatlani (Software & Web Developer)
Contact Me for any IT Related Work e.g., Software Development, Website Development, Web Designing, Hardware, Network issue, KPO, BPO, Training, etc.

Click And Share This:
Chandresh Kumar Chhatlani (A Compueter Programmer / Website Developer in Udaipur, Rajasthan, India)

Chandresh Kumar Chhatlani (Software & Web Developer)
Contact Me for any IT Related Work
Chandresh Kumar Chhatlani3 PA 46, Prabhat Nagar Sector-5,Hiran Magari, Udaipur (Rajasthan) - IndiaPin: 313 002Contact No.: 91 99285 44749Email: chandresh_kumar@india.comchandresh_2k@yahoo.com
running php file from linux shell vi editor and command line php for non http based files
for creating and executing a php file from ssh you need to PHP installed as binary (CGI) and add something like at top of shell script
[root:inderweb.com]!/usr/bin/php -q
.This is to tell the shell interprator(kernal) that we are using php from bin directory for executing lines of code in script.To get started with a simple php code in shell do following steps:-
- Open shell prompt and go to your directory . e.g [root:inderweb.com ~]
phonebook example in php mysql insert delete confirm basic demo
This is a very basic example of php/mysql.We used to make use of mysql database and a php file for getting this done.To run this code you can first create database as provided in sql here and after creating database run this code.Make modifications as you want to do in it.
<html>
<head>
<title>Phone Book Example</title>
</head>
<body bgcolor="#f6f6f6" style="font-family:arial">
<marquee behavior="alternate">
Preventing MySQL Injection attacks with good PHP code- Using PHP for preventing MySQL injection attacks on your site
A Mysql injection is attack tried by site visitors/users to
get/damage data in databases by taking benefit from poor programming of
websites.An injection attack occurs when a visitor to your site types
something into a form input with the purpose of changing the outcome of
your MySQL query. For example, at a login screen someone may try this
type of attack to gain access to a secure area of the website.
If your query to check the username and password entered by the user was this:
log in mysql from command prompt windows to access database and change passwords grant privialiges
First of all you should know how you can add users in mysql databases:-
- Using CREATE USER and/or GRANT commands
- Inserting a new record into the mysql.user table
First let's see how to use the CREATE USER command:-
CREATE USER user [IDENTIFIED BY [PASSWORD] 'password']
e.g
Installing php4 and php5 on windows and linux and apache and iis server
How
to Install PHP 5.0 on Windows XP Pro
- Once you download the PHP
zip file ( the Windows Binaries Zip Package),
unzip it to c:\php.- To unzip using WinZip
![Validate my RSS feed [Valid RSS]](http://feedvalidator.org/images/valid-rss.png)