Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Bjab), 25 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 469
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#31753 - 10/26/00 09:03 PM PHP Status
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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;).

---
Scream
<A HREF="http://www.wcsoft.net" target="_new">http://www.wcsoft.net</A>
Top
#31754 - 10/26/00 11:07 PM Re: PHP Status
Anonymous
Unregistered

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]
Top
#31755 - 10/28/00 10:48 PM Re: PHP Status
Anonymous
Unregistered

I like the PHP site as it loads very fast.

Scream, how have you found learning PHP from scratch? In your opinion did you find it easier to pick up than Perl?

Darren.
<A HREF="http://www.bullpen.com.au" target="_new">http://www.bullpen.com.au</A>
Top
#31756 - 10/28/00 10:56 PM Re: PHP Status
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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)
Top
#31757 - 10/28/00 11:04 PM Re: PHP Status
Anonymous
Unregistered

Thanks Scream. I learnt more about Perl looking at your code than any book. Keep up the good work with your comment statements.

I meant to ask, even though the PHP version is still in development, is it possible to view one of the files, say newpost or editbasic for example?

Darren.
<A HREF="http://www.bullpen.com.au" target="_new">http://www.bullpen.com.au</A>
Top
#31758 - 10/29/00 01:40 AM Re: PHP Status
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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)
Top
#31759 - 10/29/00 02:19 AM Re: PHP Status
Anonymous
Unregistered

Excellent. Thanks very much.

Darren.
<A HREF="http://www.bullpen.com.au" target="_new">http://www.bullpen.com.au</A>
Top
#31760 - 10/29/00 03:51 AM Re: PHP Status
Anonymous
Unregistered

PHP does process Perl Regular Expressions. You just hafta use the functions and stuff with it.
Top
#31761 - 10/29/00 02:29 PM Re: PHP Status
Anonymous
Unregistered

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.

---------
Shalazar
<A HREF="http://www.charisma-carpenter.com" target="_new">http://www.charisma-carpenter.com</A>
Top
#31762 - 10/29/00 09:14 PM Re: PHP Status
Anonymous
Unregistered

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.
Top
#31763 - 10/29/00 11:02 PM Re: PHP Status
Anonymous
Unregistered

Well I dunno. I've never used Regex. I'm happy with PHP's.

And I already e-mailed Scream all the info about the Optimizer.
Top
#31764 - 10/29/00 11:03 PM Re: PHP Status
Anonymous
Unregistered

That's what I was refering to!
Top
#31765 - 10/30/00 04:51 AM Re: PHP Status
Anonymous
Unregistered

The zend optimizer is not suported on all the platforms, neither by most of ISP!
Top
#31766 - 10/30/00 10:44 AM Re: PHP Status
Anonymous
Unregistered

I was just saying that I sent Scream the info on it. I didn't go into any details.
Top
#31767 - 11/01/00 07:51 PM Re: PHP Status
Anonymous
Unregistered

php code doesnt need to change for the optimizer to be used....

Kaoslord
www.chaos-productions.com
Top
#31768 - 11/01/00 09:20 PM Re: PHP Status
Anonymous
Unregistered

Never said it did and I know it doesn't.
Top
#31769 - 11/06/00 03:35 AM Re: PHP Status
Anonymous
Unregistered

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.
Top
#31770 - 11/06/00 03:38 AM Re: PHP Status
Anonymous
Unregistered

>>some servers running PHP3 do NOT allow PCRE. (ie CI Host did not when I was with them last year).

Aargh! That's shot me, then.

<img src="http://www.amdragon.com/images/eileensig.gif" alt=" - " />
Top
#31771 - 11/06/00 03:56 AM Re: PHP Status
Anonymous
Unregistered

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" /> .
Top
#31772 - 11/06/00 04:04 AM Re: PHP Status
Anonymous
Unregistered

If Scream decides to use it I'll *have* to try and persuade them. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

<img src="http://www.amdragon.com/images/eileensig.gif" alt=" - " />
Top
#31773 - 11/06/00 10:33 AM Re: PHP Status
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
I had to use it because I use alot of non-greedy and funky regexs, which I couldn't use with the PHP's ereg.

--- <test>
Scream
Posted from the PHP Port Site (Post might be quirky)
Top
#31774 - 11/07/00 03:35 AM Re: PHP Status
Anonymous
Unregistered

Have you got a bit of code we could run to check if it's on the server? And if we find it isn't, what exactly should we be asking for?

<img src="http://www.amdragon.com/images/eileensig.gif" alt=" - " />
Top
#31775 - 11/06/00 04:03 PM Re: PHP Status
Anonymous
Unregistered

This is probably the easiest way to find out everything you wanted to know and a lot you don't about the PHP configuration on your server:

Create a very simple page called test.php, containing only one line:

<?php phpinfo[); ?>

Accessing the file with your web browser should output a long page describing PHP and Apache facilities and parameters.

Hope this helps,

- Rob
Top
#31776 - 11/06/00 04:14 PM Re: PHP Status
Anonymous
Unregistered

Yippee! We've got it:

<img src="http://amdragon.com/images/pcre.gif" alt=" - " />

Thank you so much, Rob.

<img src="http://www.amdragon.com/images/eileensig.gif" alt=" - " />
Top
#31777 - 11/10/00 04:27 PM Re: PHP Status
Anonymous
Unregistered

Eileen,

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.

Thanks for your help.
Tommy
Top
#31778 - 11/10/00 05:41 PM Re: PHP Status
Anonymous
Unregistered

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>

That's the only thing that can be in the file.

Doug
<A HREF="http://www.netherworldrpg.net" target="_new">http://www.netherworldrpg.net</A>
Top
#31779 - 11/10/00 07:08 PM Re: PHP Status
Anonymous
Unregistered

Thanks Doug,

I tried it in my cgi-bin and my public directory and it still didn't work ... probably a virtual server quirk!

Thanks,
Tommy
Top
#31780 - 11/10/00 08:59 PM Re: PHP Status
Anonymous
Unregistered

Sounds like you don't have PHP installed at all....

Doug
<A HREF="http://www.netherworldrpg.net" target="_new">http://www.netherworldrpg.net</A>
Top
#31781 - 11/10/00 09:07 PM Re: PHP Status
Anonymous
Unregistered

Doug,

Php3 is installed and I use PhpMyAdmin. It's probably me doing something wrong.

Tommy
Top
#31782 - 11/10/00 10:57 PM Re: PHP Status
Anonymous
Unregistered

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:

<?php

statements here

?>

---------
Shalazar
<A HREF="http://www.charisma-carpenter.com" target="_new">http://www.charisma-carpenter.com</A>
Top
#31783 - 11/11/00 01:38 AM Re: PHP Status
Anonymous
Unregistered

Sure that would work.

<?php php_info[); ?>

Doug
<A HREF="http://www.netherworldrpg.net" target="_new">http://www.netherworldrpg.net</A>
Top
#31784 - 11/11/00 11:07 AM Re: PHP Status
Anonymous
Unregistered

Doug,

I can't believe it... my conf file did not have the php extension in it, only php3. I added the extension and it worked fine. Sorry for the trouble.

Thanks for your help and have a great weekend!
Tommy
Top
Page 1 of 4 1 2 3 4 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image