Jump to content

Parse Error?


glenelkins

Recommended Posts

Im getting a parse error on here:

$filename = "C:/Videotext.wmv";

exec("C:\Video\VFCConsole.exe -FileIn C:\" . $filename . " -FileOut C:\tester.swf -FLV -DisableAudio",$data);

I think I need to change the / to \ but using say eregi_replace("/","\",$filename) just seems to keep causing the parse error. I even tried explode() to put the \ in there.
Link to comment
https://forums.phpfreaks.com/topic/33207-parse-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.