Re: [PHP] HTML and slashes.

2001-04-19 Thread Floyd Piedad
Could you enlighten me on the advantages or disadvantages and dangers of turning-on both magic_quotes_gpc and magic_quotes_runtime? Thanks, Floyd Piedad Plutarck wrote: > Check magic_quotes_runtime in your ini. If it's on, turn it off. > > Use the htmlspecialchars() family of f

[PHP] Use of special characters in filenames results in IE problems

2001-04-19 Thread Floyd Piedad
Hi, I discovered a bug in my program for uploading files, which stores the filename in the database in order to create a link for it on the web page in the future. The bug is when the filename makes use of special characters (e.g. Oplæg). When I create a link to the file, the link works with Ne

[PHP] Output HTML Compression

2001-04-19 Thread Floyd Piedad
Hi, Any tips on how to speed-up dynamic page loads by either lessening the HTML file sent or compressing it? I found two ways but don't exactly know how to do it. 1. Enable output buffering with compression. This seems to be only available on php4.04. Is there a way to do this with php4.01? 2.

Re: [PHP] slashes added to template files

2001-04-14 Thread Floyd Piedad
Check your PHP config. On the remote server, you probably have Magic Quotes Runtime Activated while on the local machine it is not. Best if you make both the same config. Run php info command to check. Floyd Franklin Hays wrote: > Apologies in advance if this has been discussed before or i

[PHP] Fastest way to encrypt database storage?

2001-04-04 Thread Floyd Piedad
Hi, I want to store all data into mySQL database in encrypted format and then show it only after decrypting it. What is the fastest way of doing it? Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] Cookie not getting set in IE 5 but no problem in Netscape

2001-03-28 Thread Floyd Piedad
My program works really well with Netscape. But with some Internet Explorer installs, the cookie does not get remembered? I already set the Security options to Allow Cookies (both). When I set it to prompted, it even asked me if I wanted to accept the cookie, replied yes, but still the cookie c

[PHP] Sending html email

2001-03-23 Thread Floyd Piedad
Can anybody tell me the easiest and quickest way to send email in HTML format? Thanks, Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTEC

Re: [PHP] Benchmark single page

2001-03-21 Thread Floyd Piedad
database extractions. Regards, Floyd Piedad Jason Granum wrote: > I'm wanting to benchmark a single PHP page to the millisecond (if possible) that >basicly just will put a > > This page generated in X.XXX seconds > > at the bottom of every page. > > I've tried lookin

Re: [PHP] Problems connecting to remote mySQL server

2001-03-21 Thread Floyd Piedad
to give up on this! Thanks, Floyd almir wrote: > the only problem could be that yourUser@webhost do not have same permisions > for this db as yourUser@yourHost, check them if you can > > -almir > > "Floyd Piedad" <[EMAIL PROTECTED]> schrieb im Newsbeitra

Re: [PHP] Problems connecting to remote mySQL server

2001-03-20 Thread Floyd Piedad
-query then look inside what you can see some servers are > case sensitive > i hope that will help, > and are you sure that you are connected , it could be that you may not > connect at all because of firewalls or something like that > -almir > > "Floyd Piedad" <

[PHP] Problems connecting to remote mySQL server

2001-03-20 Thread Floyd Piedad
hich mySQL error logs do I examine to help me out - the one on the local machine or on the remote machine? 4. And where is the mySQL error logs anyway? I tried other lists but no help there. I hope this list helps! Thanks all, Floyd Piedad -- PHP General Mailing List (http://www.ph