Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

PHP script problem

I have a php script, and one of the file is called functions.php. Inside has got something that I want to change, but everytime I changed smth, the script will not work. Even I undo everything and save and upload, it will not work. Unless I replace with the original one. I have no idea why this is happening.

The script starts with <?/* and ends with ?>. Could that be the reason? It's weird. Even I only add in a full stop at the end of a commented line, it would cause the whole script to stop working. The error simply be smth like error at some number of line but that line has no error at all in reality. Can someone help?

Thanks.
0
jtcy
Asked:
jtcy
1 Solution
 
gerodimCommented:
could you post the script and the file?
0
 
jtcyAuthor Commented:
It;s a huge file.

I uploaded it to: http://www.aulookup.com/functions.php.zip

Gotta rename it to .php

0
 
ZhaawZSoftware DeveloperCommented:
Do you need that comment at the beginning of file?
I removed a comment and replaced all <? to <?php and there are no errors anymore (only some notices about undefined variables at the beginning of file)
0
 
hujiCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: ZhaawZ {http:#13637411}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Huji
EE Cleanup Volunteer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now