Hello friends i am new here am srry if i put wrong pace request i have this install file which gave me error Parse error: syntax error, unexpected '(' in C:\WampDeveloper\Websites\users\webroot\install\install.php on line 3 file i have upload ass zip can any body help me with this i ll be thanks full Regrads Ghulam
I don't get line 3 either. new() commands should look like $a = new Widget(); Did it get scrambled somewhere along the way? Redownload the source code?
Have you defined a function named new() ? I think that is the problem. You should rename this function to something else. "new" is a reserved keyword.
New what? AS qtriangle said you're calling a function that doesn't even exist. The line after that of $input = ; is invalid too -- equals WHAT? Though in general ALL of that code is bad/terrifying from a security standpoint, since putting things like the dbname, username, password, server name, license key, etc, etc, into an non-deletable global scope with DEFINE is some serious herpaderp. (Even if Turdpress does it too). That's the security equivalent of stripping naked, painting a bullseye on your back, and running around the jungles of Southeast Asia in 1969 waving a flashlight around screaming "Shoot me, Shoot me!" in Vietnamese. Much less $input not being defined as anything means all of those would fail too.