[PHP] Re: Zend Optimizer not active?

2003-06-13 Thread Steve Yates
Ah, how clear things are afterwards. :) I found out my problem was that PHP was looking in the "wrong" folder for php.ini, and it apparently fails silently, taking the default settings instead. - Steve Yates - A chicken is just an egg's way of continuing the species.

[PHP] Re: Zend Optimizer not active?

2003-06-13 Thread Steve Yates
opyright (c) 1998-2003 Zend Technologies Running the CLI on a phpinfo() call also does not show Optimizer. Also phpinfo() says "Debug Build => no" so that's not it. - Steve Yates - I have 5 nanosecond memory. Duration - not access time. ~ Taglines by Taglinator - www.srt

[PHP] Zend Optimizer not active?

2003-06-12 Thread Steve Yates
no errors during the Optimizer install, and everything looks like it's correct to me...the two lines are in php.ini, and they point to the right ZendOptimizer.so file. There is only one php.ini on the system. Any hints? Thanks, - Steve Yates - Termite in pub: "Is the bar t

[PHP] Re: occasional mcrypt problems

2003-01-18 Thread Steve Yates
"Steve Yates" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > After much testing, I think I may have it. It appears that MySQL is > dropping a trailing space from the value being inserted into the database! > For example if

[PHP] Re: occasional mcrypt problems

2003-01-17 Thread Steve Yates
Why is that? I can duplicate this by entering "test " as the field value too. - Steve Yates - Life would be easy if we had the source code. ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: occasional mcrypt problems

2003-01-13 Thread Steve Yates
data differently somehow. :( And storing an IV for each record would of course increase the data size. - Steve Yates - #include ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] occasional mcrypt problems

2003-01-13 Thread Steve Yates
gt;[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>$_POST['Credit_Card_Number']=stripslashes($_POST['Credit_Card_Number']); - Steve Yates - WORK HARDER!... Millions on welfare depend on YOU!!! ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] occasional mcrypt problems

2003-01-10 Thread Steve Yates
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > try > $_POST['Credit_Card_Number']=stripslashes($_POST['Credit_Card_Number']); But if magic_quotes_gpc=on shouldn't that happen automat

[PHP] occasional mcrypt problems

2003-01-10 Thread Steve Yates
odule_close($td); Decryption code: function mydecrypt($enc) { global $td; return rtrim(mdecrypt_generic($td, $enc), "\0"); } Thanks for any insight! - Steve Yates - ASCII stupid question, get a stupid ANSI. ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing

[PHP] Re: fgets() question?

2002-12-22 Thread Steve Yates
ne should return the newline (\n or \r\n), according to http://www.php.net/manual/en/function.fgets.php. Also try using '===' (3 = signs) as the operator, which enforces type checking on a comparison). - Steve Yates - If you only have a nail every tool looks like a hammer. ~ Taglines by

[PHP] Re: real time output

2002-12-21 Thread Steve Yates
the output_buffering INI setting set to "no value". Seems odd since I got the Perl script to not buffer, which would imply it's not a browser issue. - Steve Yates - A fool and his money are soon popular. ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Mail() Not working right

2002-12-12 Thread Steve Yates
I don't think this shows an error if it doesn't work. Try $mailsuccess = mail(...); if (!$mailsuccess) { echo "oops"; } - Steve Yates - How often should we practice sex before it is safe? ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Smarty + css + dreamweaver

2002-12-12 Thread Steve Yates
closely at /scriptN.php I am sure the template's link is not to "../style.css". - Steve Yates - Remember, you're unique. Just like everybody else. ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 2 dates, difference in days AARGH!!

2002-12-12 Thread Steve Yates
hat just slow down processing as PHP jumps in & out of "code mode?" - Steve Yates - When you do a good deed get a receipt, in case heaven is like the IRS. ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mcrypt 2.4.x - trouble with small data fields?

2002-12-03 Thread Steve Yates
t; characters when encrypted. Mcrypt also apparently needs the extra characters when decrypting. - Steve Yates - If at first you don't succeed, lower your standards. ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Prevent storing data when reload

2002-12-03 Thread Steve Yates
"Lars Espelid" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When I reload the page the data gets stored once more. if (record already exists) { echo "hey you hit reload!" } else { [save record to database] } - Stev

[PHP] mcrypt 2.4.x - trouble with small data fields?

2002-11-27 Thread Steve Yates
eneric_deinit() seems to be undefined on my system? Is that an mcrypt issue or an interaction between PHP 4.1.2 and mcrypt 2.4.x? - Steve Yates - Do trees moving back and forth make the wind blow? ~ Taglines by Taglinator - www.srtware.com ~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Undefined variable

2002-10-09 Thread Steve Yates
, how would you know if that was POSTed to your script or I added secretpage.php?validuser=true to the URL? Bet you wouldn't have checked... - Steve Yates - Can taglines have sequels? Hmmm. ~ Do you like my taglines? Add them to your messages and ~ laugh through hundreds more

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Steve Yates
> From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] > register_globals to on, so i don't have to go through 15 pages of code > and change all my variables to $_POST['foo'] Try extract($HTTP_POST_VARS) which will create $foo for you. - Steve Yates - Your karma just

Re: [PHP] PHP 4.2.2 vs PHP 4.0.6

2002-10-03 Thread Steve Yates
s > 2. any good suggestion to avoid this problem, such as that is it possible > to configure 4.2.2 to compatible downward. extract($HTTP_POST_VARS) will create all variables from that array. - Steve Yates - An unbreakable toy is only useful for breaking other toys. ~ Do you like my tagl

[PHP] Re: .php to .html?

2002-09-30 Thread Steve Yates
"Steve Yates" <[EMAIL PROTECTED]> wrote in message news:... > "Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > How can I make my pages come out as .html instead of .php? > &g

[PHP] Re: .php to .html?

2002-09-30 Thread Steve Yates
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How can I make my pages come out as .html instead of .php? Rename your pages to .html, and configure Apache to send all .html pages through PHP: -- PHP General Mailing List (http:

[PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-08 Thread Steve Yates
"Cirstoiu Aurel Sorin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null. I believe your web server has to set that variable. Does phpinfo() show a val

Re: [PHP] turn register_globals on

2002-09-08 Thread Steve Yates
te all the POST variables for you. Works for GET and others, too. - Steve Yates - Psychology: the study of the id by the odd. ~ Do you like my taglines? Add them to your messages and ~ laugh through hundreds more by downloading Taglinator ~ at www.srtware.com today! -- PHP General Mai

Re: [PHP] DOCUMENT_ROOT disappeared on me!

2002-07-02 Thread Steve Yates
nning of a script to create those variables. I presume $_SERVER works as well. - Steve Yates - Peace. (subject to change without notice) / Taglines by Taglinator - www.srtware.com / -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] securing an 'includes' dir

2002-06-30 Thread Steve Yates
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Steve Yates wrote: > >If you name them *.php then put anything in them inside a function, then > >when the user browses to that file he/she won't see a

Re: [PHP] securing an 'includes' dir

2002-06-30 Thread Steve Yates
"Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 1. Name all included files .inc If you name them *.php then put anything in them inside a function, then when the user browses to that file he/she won't see

Re: [PHP] PHP with online cedit card processing

2002-06-30 Thread Steve Yates
which can return all values back to a script on your site to finish. Pretty well documented too. We use it for web site hosting and domain name registration orders. http://www.teamITS.com/internet/credit_cards.html - Steve Yates - A Penny saved is a congressional oversight. / Tagli