![]() |
PHP Requirements
Hi,
I'm a Web designer based in the UK & I'm seriously looking at 68Classifieds for use with a new client's web site. Could you please tell me if there are any specific requirements regarding the PHP setup. In particular: 1) Will it work with register_globals ON or OFF or does it require a particular setting for this. 2) Does it need a particular setting for PHP's 'magic_quotes' setting (ON/OFF) 3) Does it run fine under PHP 5 & MySQL 5 Cheers Mike |
I know lhotch has it running on mysql/php 5, I'll let him comment on it. The script as a function built in to hand magic quotes so that shouldn't be a concern.
As for registered globals my site has it turned on (overcame this with .htaccess) as well as magic quotes. |
Register Globals should be turned off for security issues and 68 Classifieds was built to run with them turned off. Since it will run with them turned off it will run with them on.
Also my develpment machine runs php 5 but not mysql 5 so I can't comment on the mysql but I am pretty sure it will work. |
For anyone else's reference - you can set register globals off in your .htaccess file:
Code:
<IfModule mod_php4.c> |
I have it running fine on a development server running PHP 5.1.4 and MySQL 5.0.21
|
Thanks all for your replies to my question - very quick & helpful.
Just to clarify matters, unless I jump hosting company, I am currently stuck with register_globals ON - hence my question. My hosting company, for the moment (soon to be remedied I hope), offers no way to overide the PHP register_globals setting - they run (quote) 'a CGI version of PHP using an advanced suexec wrapper script' on their shared hosting platform. In situations like this .htaccess is not unfortunately available - only individual folder level php.ini files can be used to overide the main server php.ini. Folder level php.ini files can only contain directives not set in the main server php.ini so they would have to remove the register_globals directive from the main server php.ini thus revert to the default register_globals OFF & fix everybody's site needing register_globals ON with local folder php.ini files. All rather messy & not a minor undertaking for them. Anyway that's all pretty academic since 68Classifieds runs with register_globals ON. By the way Eric - one of your main competitors have written their script for register_globals OFF & it will NOT run properly with it set ON? As you have demonstrated with your code, you can, with care, write PHP code to ensure that scripts run just the same with setting ON or OFF Thanks for your help once again. Mike |
Quote:
I have just checked my test server and our live server and both have it set to off. In our init.php file which is ran everytime a page is loaded I have a small if statement that checks for register globals then if you have them turned on it unset all the variables and allows access to them through post, get, session, etc. |
Hi Eric,
Thanks for the further info. Yes I found such a script too which checks & unsets globals at the head of scripts. I thought about editing the other company's script (they allow user customisation of the code) & inserting such code but not sure I want to get into that. One reason I downloaded and tried their script (although I had already seen that yours was maybe the top product in this area) was that I could get a free copy for localhost use & so could test it out on my local machine, try a few customisations etc & make sure it was what I needed. You don't offer your product, keyed/licensed to localhost only, which users can freely evaluate on their local PCs do you? Cheers Mike |
No, but the code is clean and you have access to all the source you need with the developer version. Further, the support in this forum is outstanding (if I'm allowed to say so myself, lol) so you wouldn't be competiting with hundreds of free users for forum support. You are allowed to test the script at one domain and run it live at another. You can also run it from your home computer for testing before you upload it to your live site.
While, there is no free trial, the code is clean and easy to follow so, it is really up to your skills with php, if you get the developer version, and how much you really intend to change the way the program works. Plus, there is a module system which allows you to upgrade without much effort, if you do decide to work make changes. There is a live demo so you can fully understand how the script works for both the front-end and admin areas. You could also buy the hosted version, if you don't want to commit to the full price of the script until you are sure. |
Hi John,
Thanks for your comprehensive reply - all fair comments. I am very impressed already with the responsiveness to queries on this forum. I'll take a long look at the product & run it past my prospective client (or it may actually potentially be 2 clients - one wants to offer real estate another wants an auto sales site) Cheers Mike |
| All times are GMT -4. The time now is 06:41 PM. |
Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.