Tag Archives: php5

File upload issue [part 2]

I have already discussed about the file upload issue in this post. In this blog post I will give some code for uploading the files into the server. Easy way to check the file extension in php: In this line … Continue reading

Posted in Programming | Tagged , , , , , | 1 Comment

All about Array in PHP

1. Array creation using array() built in function for creating array in php code. $a = array ( ‘l’ => 10, ‘11’ => “test”, ‘another element’ ); var_dump ($a); Output: array(3) { [“l”]=> int(10) [11]=> string(4) “test” [12]=> string(15) “another … Continue reading

Posted in Programming | Tagged , , | 1 Comment