Quantcast
Channel: What I have written I have written. » PHP
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

SQL Injection

SQL injection is a serious concern for webmasters, as an experienced attacker can use this hacking technique to gain access to sensitive data and/or potentially cripple your database. In PHP the...

View Article



Image may be NSFW.
Clik here to view.

Increasing allocated memory in PHP

You can have three ways: 1. Changing memory_limit globally from php.ini For ex: memory_limit = 32M This change is global and will be used by all php scripts running on the system. 2. Changing...

View Article

Image may be NSFW.
Clik here to view.

Global Variable in Php

The global variable declaration can be a trap. In some other languages, global variables are usually declared global outside the functions and then used in the functions. In PHP, it’s the opposite: to...

View Article

Image may be NSFW.
Clik here to view.

Provide an option to download an exe file in php

I wanted to provide download option to download a file in PHP. I got following code on net as follows: Need to create 2 files: 1. display file: The following code slh be present in it Download my huge...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images