save file problem

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
lokanath7
New php-forum User
New php-forum User
Posts: 139
Joined: Mon Nov 15, 2010 12:11 am

Wed Oct 19, 2011 2:29 am

the problem is in this line
$fp = fopen( "signature_IMG/\\\$acc2.canvas.png", 'wb');

u hv given 3 backward slash (\). these are used to escape character.
if u want to escape for one backward slash then give \\ or if u want two \\ then give \\\\
then it will solve ur problem. here in ur code the 3rd \ is escaping the $ symbol and treating "acc2" as normal character.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest