fputs adding unwanted backslashes

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Mon Nov 11, 2002 5:11 am

louisb wrote:I have a problem using fputs();

I am writing form data to a text file. (overwriting existing content).

Unfortunatly backslashes are being added to the file before some not all of the double-quotes and single quotes in the text.

Does anyone have any idea why this or or how I can correct it?

Thanks,

LouisB

Give me a code, maby i can help you....
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest