Members Login

Rss Feeds

Get our latest content via RSS feeds.

Report a Vulnerability

Report a vulnerability or exploit that you have found to SecuMania.
vul[at]SecuMania.org

 

Recommended Links

Latest Comments

thanks smiley
莆田SEO www.0594seo.com.cn 莆田SEM搜索引擎优化营销 www.ptsem.org.cn
hi webmaster,plz help me to find any information about account harvesting and traversal path attack ...
[…] self-propagating malware in the first place. Share this post: email it! | bookmark it! | digg ...
Hello Webmasters My name is Nikolai. I am making an organization for the protection internet users f...
good job you are the best . mgharba talmout :d
Hello, The reported problem has been fixed. Regards, Catalina Danila Online Rent Customer Supp...
Not Vulnerable: Luis Wang netOffice Dwins 1.3.1 visit website http://netofficedwins .sourceforge.ne...
Current version of script corrected. Security patch available to registered users in the user foru...
But i think to protect the password is not needed because it's not used in the SQL-Execute statement...

Who's Online

Total: 7
Members: 0 / Guests: 7
No members online
Visits today: 576
Visits yesterday: 911
Visits month: 19670
Visits total: 65978
Pages total: 930540
PHP 101 (part 5) - The Wonderland Factor Print E-mail
0
Wednesday, 12 September 2007
Article Index
PHP 101 (part 5) - The Wonderland Factor
Windy Nights
So Who Are You, Anyway?
Graffiti For The Masses
Calling Godzilla
Q
Arguments And Responses
Flavour Of The Month
The Wonderland Factor
Coding For The Unexpected

If you've been following along, you already know how PHP can be used to extract data from a database...it's as easy as apple pie. But in the real world, data isn't always stored in neat rows and columns, and you're quite likely to come across situations where the data you need is actually stored in a bunch of ASCII text files.

You have three options here. You could con someone into the mind-numbing task of inserting the textual data into a database. You could throw up your hands in despair and look for another job. Or you could use PHP's built-in file functions to extract and format the data.

The first option requires guile and cunning. The second is unacceptable. And the third requires this issue of PHP 101.

Over the next few pages, we'll be discussing the basics of PHP's file functions, together with some interesting examples. And then we'll explore the murky tunnels of user-defined functions, and delve deep into the mysteries of local and global variables, return values and function parameters. Pack some warm clothes, bring enough food and get someone to feed the dogs - this is one journey you don't want to miss!

 
< Prev   Next >
Debt | Mortgages | Credit Cards | Car Finance | Bad Credit Mortgageslinks VoteThisMovie PalKeys Hey3arab arabekia