For those tracking the progress of the PHP port I've got 5 scripts left on the front end. These all deal with adding/modifying posts but everything else on the front end has been ported. So, things are moving along quite nicely, although none of the scripts have been bug tested. That will be the fun part;).
Great news to know. <img border="0" title="" alt="[Cool]" src="images/icons/cool.gif" /> Maybe we can test the full fontend php version before the weekend. What a nice weekend.[img] /w3timages/icons/images/icons/tongue.gif [/img]
Because of my experience with PERL it was pretty easy. The logic of the language is pretty much the same. I will say this though I H A T E!!!!! regular expressions in PHP. Althought that could be because I have spent most of the day letting them kick my butt:). I think I finally got the hang of them now but they are alot different than PERL. Other than that one minor point, I really enjoy working with the language.
---
Scream
Posted from the PHP Port Site (Post might be quirky)
Thanks Darren. Actually you can download a current snapshot of the PHP code each day. It get's updated at 5:00 each morning. If you have a 5.1 system going you can setup the PHP code to use the same database. Just go into the registered users area and you will see a link at the bottom for the PHP code. ---
Scream
Posted from the PHP Port Site (Post might be quirky)
Great thing about PHP is it has built-in compatibility for PERL-type regexprs. Stuff like preg_match() and preg_replace() are excellent little utilities.
LOLOL!!!! Regex is a lot different in PHP vs Perl. They redefined enough to JUST mess you up (example; == or eq) Have noticed one thing though. If your running a server, and a lot of your code is in PHP, you should install Zend's optimizer. It's not a hard install, and it speeds things up quite a lot.
...... Forgive me Father, for I know not what I do.
You might want to be careful when using perl type regexp in PHP. Not all system admins install the PCRE by default, and I remember that some servers running PHP3 do NOT allow PCRE. (ie CI Host did not when I was with them last year). Without PCRE though, you cannot do non-greedy matches cuz the regexp in PHP do not have that type of functionality.
it's no biggie. I think that the admins would be willing to do PCRE even if they don'tdo PHP4 cuz PCRE doesn't break anything <img border="0" title="" alt="[Razz]" src="images/icons/tongue.gif" /> .
Besides, it's more powerful than regexp so I bet you can convince them easily <img border="0" title="" alt="[Razz]" src="images/icons/tongue.gif" /> .
Where did you put the test.php file on the server. I put the command in a text file and uploaded to my public directory. When I executed it through the browser, all I got was the command itself.
Any PHP accessable directory, it's possible that you're host is not setup to handle .php files that it might handle only .php3 files. But... just type <pre><? phpinfo[); ?></pre>
Perhaps the short_open_tags is not configured to 'on' in his php.ini file. And since this is usually not user configurable, perhaps he should use the standard open tags: