Toilet paper as a panty liner?

Just wondering if it's unsafe or could lead to infections? Currently out of panty liners but will be picking some up tomorrow afternoon. Would toilet paper be a safe alternative? Sorry if this is a dumb question.