Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Php and java script
Message
From
19/12/2006 08:56:40
 
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
01178638
Message ID:
01178837
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>hi all,
>a customer has a piece of java script in a php file and i need to change it. can i just modify the script i notepad or do i need a compiler? i have made a few changes and uploaded them but they have not worked, the script now does nothing. I need to make sure that a field that has been filled in is a nunmber so i was going to say if ucase(field1) <> lcase(field1) then problem.
>~M

Hi Mark,

Unless the site is using the Zend Optimizer, PHP files are generally not compiled. The Zend Optimizer compiles and encrypt PHP files, which improves performance, but also prevents them from being edited.

If you can open the PHP files (say with Notepad) and see un-encrypted PHP code, then the Zend Optimizer is not being used, and you can use pretty much any editor to modify the code.

If this is the case, sounds like a code problem in the update that is causing the page to no longer work.
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform