Hello
Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i tryed to fix but (dont know if what it did is right, i dont have skills in php) now im stuck and i dont know where the problem is.
Please take a look to those error and if you think that you are able to fix my php file please pm me, i will pay you if necessary.
1st error:
Code: [Select]Parse error: syntax error, unexpected '*' in /home/user/public_html/main.php on line 136line 136:Code: [Select]mt_srand( ( double ) * 1000000 );I deleted the* (is that ok?)
---------------------------------------
2nd error:
Code: [Select]Parse error: syntax error, unexpected '}', expecting ')' in /home/user/public_html/.main.php on line 204line 204:Code: [Select]for ( ; $i < $total_pages + 1; } while ( 0 ), ++$i )changed to:Code: [Select]for ( ; $i < $total_pages + 1; ) while ( 0 - ++$i )is that correct?
---------------------------------------
3rd error:
Code: [Select]Parse error: syntax error, unexpected T_IF, expecting T_WHILE in /home/user/public_html/.main.php on line 214line 214:Code: [Select]}
if ( $add_prevnext_text )
{deleted: } and { is that ok
---------------------------------------
4th error:
Code: [Select]Parse error: syntax error, unexpected T_RETURN, expecting T_WHILE in /home/user/public_html/.main.php on line 225line 225:Code: [Select]}
return $page_string;
}deleted: } and { (is that ok?)
---------------------------------------
5th error:
Code: [Select]Parse error: syntax error, unexpected ',' in /home/user/public_html/.main.php on line 948lince 948: Code: [Select]( "Log Files", "Could not write to logfile "".$fileName.".log" in ""._LOGFILES_PATH."", please make sure that the file has write permissions (chmod 777)." );I changed the [], with - (is that ok?)
---------------------------------------
6th error:Code: [Select]Parse error: syntax error, unexpected ',' in /home/user/public_html/.main.php on line 978Line 978: Code: [Select]( "Log Files", "Could not open language directory in ""._TEMPLATE_PATH.""" );I changed the [], with - (is that ok?)
---------------------------------------
7th error: Code: [Select]Parse error: syntax error, unexpected '*' in /home/user/public_html/.main.php on line 1026Line 1026: Code: [Select]mt_srand( ( double ) * 1000000 );Deleted *. (is that ok?)
---------------------------------------
8th error: Code: [Select]Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/user/public_html/.main.php on line 1259Line 1259: Code: [Select] $db1->query( "SELECT id, email, activationKey FROM users WHERE confirmed='no' AND status='inactive' AND regdate<(UNIX_TIMESTAMP()-"._MEMBER_ACTIVATIONRESEND * 60 * 60 * 24.") AND lastlogin='0' AND active_sentmail='no'" );
And that`s it here i am stuck.. i dont know what to do.
Please help me with my error, i really need to be fixed.
Like i said i will pay if necessary.
removing space from the end of a variable
i have a variable $image which contains the following url "http://tiles.xbox.com/tiles/oo/P5/0mdsb2JgbA9ECgR8GgMfWSpVL2ljb24vMC84MDAwIAABAAAAAP3Wg70=.jpg"but for some reason it is breaking
update post issues
I am trying to create an update to a post function, while the update does occur, the page routing and selecting of posts to be updated is whats getting screwed up. I have so many files involved in
Intrastat Report Config in ECC 6.0 - goods Movement in EU countries
Colleagues, need ur help to understand the changes require in ECC 6 standard Report configuration settings.
how to load php class from another domain?
how to load php class from another domain?
SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself....Currently all user inputted strings go through this function;Code: function cleanQuery($string)
path to include folder
Hi everyone,When I'm testing locally, I have to add the name of the site folder as part of the path name when I'm including files, eg.include $_SERVER['DOCUMENT_ROOT'] .
column name cancatenation within PL/SQL
I have a PLSQL store procedure, and the following statement is part of a subquery
Error in query: Resource id #4??
hey guys, having a minor (i think) problem here that i havent been able to figure out. long story short, im building a hockey stat tracking site for a local hockey league around here.my problem is, i
[PHP HELP] Php order form.
Hello to everyone @ phpfreaks. Im new to this site and hope to learn lots of things here.First of all im here to ask for some help if posible. Im a newbie at php and do not know much about it. my
question about stripslashes and real_escape_string
im cleaning up an old app that I wrote fixing some of the vulernabilities from attacks.I have roughly 30 files. I want to be able to edit every $_POST and $_GETCode: