Can i make money advertising
google ads youtube ads Twitter facebook
On the contrary: advertising usually costs money. if you mean you want to display other people's ads and get paid for it, then yes, that's how advertising works (see above). note that you're usually paid only for conversions or maybe for clicks. simply displaying ads (impressions) isn't paid usually. I don't see how this is related to PHP though.