Saving Outfits

Tirian

Member
This is how I do it. All bets are off if you have spaces in the outfit name.

Code:
void save_custom_outfit(string outfitlabel)
{
	string command = "inv_equip.php?which=2&action=customoutfit&outfitname=" + outfitlabel;
	cli_execute(command);
}
 

Veracity

Developer
Staff member
[quote author=Tirian link=topic=384.msg2108#msg2108 date=1157063278]
This is how I do it.  All bets are off if you have spaces in the outfit name.[/quote]
If you use

... + url_encode( outfitlabel );

it should work, whether or not you have spaces in the name.
 
Top