Re: [PHP] PHP slowness

2005-02-25 Thread b1nary Developement Team
Hi there, just for testings sake, you should get a script that figures out the page generation time for a php script... As luck would have it, I made a class for this not too long ago. give this a whirl. First, create a php script with this in it... // CREATE THE CLASS class page_gen {

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread b1nary Developement Team
That's it right there... Damn, why didn't I think of that. Hey David, what version of php are you running? Randy Johnson wrote: try $HTTP_POST_VARS maybe it is an older version of PHP Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread b1nary Developement Team
empty, which is my problem. The darn $_POST thing does not work at all for me, and I am trying to find out why. -Original Message- From: b1nary Developement Team [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 3:40 PM To: David Freedman; php Subject: Re: [PHP] [NEWBIE] Cant get $_PO

Re: [PHP] Handling of partially completed forms

2005-02-20 Thread b1nary Developement Team
Are you looking to code it yourself? If so, Here's the theory behind the concept... So you have this multiple page form that you want to save and continue at a later time correct? So you'll have to set up a save button. You will also require some way to recognize the same user when the come

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread b1nary Developement Team
What's up David... This script *should* work... I don't see any errors, but try this anyways. In your change your print command to this: print("Hello, " . $name . "! You are " . $age . " years old!"); What those periods do is simply append them to each other, so in this case, you have the s

Re: [PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT']

2005-02-20 Thread b1nary Developement Team
Okay, for that last possibility, the one that you used the document root variable. You have to add your domain name before, the reason being is because it's relative to where the script is, if you add the domain name (http://www.whatever.org/document/root) then it switches from relative to abs

Re: [PHP] [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT']

2005-02-20 Thread b1nary Developement Team
What's Up Dave... yeah, regardless of how deep this goes into the servers file structure, it should pull out the same thing in the end. Please print out the response and let us know what happens. Dave wrote: PHP General, The Situation: I would like to be able to specify locations of scrip

Re: [PHP] XHTML 1.1 + php sessions = :(

2005-02-20 Thread b1nary Developement Team
Jason Barnett wrote: Not an idiot... we all had to learn it once. And some of us a few times more than that! You're welcome. Jason Okay, back to business... Here's what I've got in the method that goes at the top of the page *function headers() {* *header("Content-type: text/html; c

Re: [PHP] XHTML 1.1 + php sessions = :(

2005-02-19 Thread b1nary Developement Team
Oh I'm sorry, that was just a typo, I meant the "use only cookies" one... god I'm an idiot, thank-you. Jason Barnett wrote: Your Name wrote: Thank you very much for that solution however I need something slitely different. This is a CMS for distribution... not everybody that's going to use

[PHP] XHTML 1.1 + php sessions = :(

2005-02-16 Thread b1nary Developement Team
Hi there guys... First time caller here ;). I'm currently developing a content management system. One of it's features is that it's going to be completely standards compliant (XHTML 1.1). I'm having some troubles however, and they come in the form of sessions. When I use session_start(), it t