i'm currently writing a script and pass the information to other site through fopen.
the info contains space and line break
i can insert %20 for space , then how's the line break, thanks
i'm currently writing a script and pass the information to other site through fopen.
the info contains space and line break
i can insert %20 for space , then how's the line break, thanks
What do you mean line break the only others are line feed and carriage return %20 is the HEX for a space is the HTML for a space, %D would be HEX for a carriage return, and line feed is HEX %A but you normally would not use such stuff
I do not see where using fopen you would have a need for any of all that. Here the
fopen ( string filename, string mode [, bool use_include_path [, resource zcontext]] )
only requires a filename and the mode r, r+,w,w+,a,a+,x, and x+
discussed fopen() how could you possibly have a filename that has a 'line break' carriage return or line feed?