Previous Thread
Next Thread
Print Thread
Hop To
#31753 10/26/2000 9:03 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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>

#31754 10/26/2000 11:07 PM
Anonymous
Unregistered
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]

#31755 10/28/2000 10:48 PM
Anonymous
Unregistered
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>

#31756 10/28/2000 10:56 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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)

#31757 10/28/2000 11:04 PM
Anonymous
Unregistered
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>

#31758 10/29/2000 1:40 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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)

#31759 10/29/2000 3:19 AM
Anonymous
Unregistered
Anonymous
Unregistered
Excellent. Thanks very much.

Darren.
<A HREF="http://www.bullpen.com.au" target="_new">http://www.bullpen.com.au</A>

#31760 10/29/2000 4:51 AM
Anonymous
Unregistered
Anonymous
Unregistered
PHP does process Perl Regular Expressions. You just hafta use the functions and stuff with it.

#31761 10/29/2000 3:29 PM
Anonymous
Unregistered
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>

#31762 10/29/2000 10:14 PM
Anonymous
Unregistered
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.

#31763 10/30/2000 12:02 AM
Anonymous
Unregistered
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.

#31764 10/30/2000 12:03 AM
Anonymous
Unregistered
Anonymous
Unregistered
That's what I was refering to!

#31765 10/30/2000 5:51 AM
Anonymous
Unregistered
Anonymous
Unregistered
The zend optimizer is not suported on all the platforms, neither by most of ISP!

#31766 10/30/2000 11:44 AM
Anonymous
Unregistered
Anonymous
Unregistered
I was just saying that I sent Scream the info on it. I didn't go into any details.

#31767 11/01/2000 8:51 PM
Anonymous
Unregistered
Anonymous
Unregistered
php code doesnt need to change for the optimizer to be used....

Kaoslord
www.chaos-productions.com

#31768 11/01/2000 10:20 PM
Anonymous
Unregistered
Anonymous
Unregistered
Never said it did and I know it doesn't.

#31769 11/06/2000 4:35 AM
Anonymous
Unregistered
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.

#31770 11/06/2000 4:38 AM
Anonymous
Unregistered
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=" - " />

#31771 11/06/2000 4:56 AM
Anonymous
Unregistered
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" /> .

#31772 11/06/2000 5:04 AM
Anonymous
Unregistered
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=" - " />

#31773 11/06/2000 11:33 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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)

#31774 11/07/2000 4:35 AM
Anonymous
Unregistered
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=" - " />

#31775 11/06/2000 5:03 PM
Anonymous
Unregistered
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

#31776 11/06/2000 5:14 PM
Anonymous
Unregistered
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=" - " />

#31777 11/10/2000 5:27 PM
Anonymous
Unregistered
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

#31778 11/10/2000 6:41 PM
Anonymous
Unregistered
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>

#31779 11/10/2000 8:08 PM
Anonymous
Unregistered
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

#31780 11/10/2000 9:59 PM
Anonymous
Unregistered
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>

#31781 11/10/2000 10:07 PM
Anonymous
Unregistered
Anonymous
Unregistered
Doug,

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

Tommy

#31782 11/10/2000 11:57 PM
Anonymous
Unregistered
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>

#31783 11/11/2000 2:38 AM
Anonymous
Unregistered
Anonymous
Unregistered
Sure that would work.

<?php php_info[); ?>

Doug
<A HREF="http://www.netherworldrpg.net" target="_new">http://www.netherworldrpg.net</A>

#31784 11/11/2000 12:07 PM
Anonymous
Unregistered
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


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (rootman), 641 guests, and 112 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)