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.
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
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
"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
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
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
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
"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
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
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
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
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
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
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
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:
"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
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
, 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
> 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
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
"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
"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:
"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
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
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
"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
"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
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
28 matches
Mail list logo