php-general Digest 17 Sep 2010 10:47:42 -0000 Issue 6945

2010-09-17 Thread php-general-digest-help
php-general Digest 17 Sep 2010 10:47:42 - Issue 6945 Topics (messages 308139 through 308141): Re: Downgrading HTML 308139 by: Ashley Sheridan Re: Session Vars loaded from MSSQL Query drop, those loaded from MYSQL Query stick 308140 by: Tommy Pham Randomly duplicated

Re: [PHP] PHP Warning

2010-09-17 Thread Daniel Brown
On Fri, Sep 17, 2010 at 10:35, Floyd Resler fres...@adex-intl.com wrote: I'm getting the following warning when running PHP scripts from the command line: PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0 How can I get rid of this?  My error report directives are:

Re: [PHP] PHP Warning

2010-09-17 Thread Floyd Resler
Thanks for the help. The culprit was in my cli/php.ini file. Thanks! Floyd On Sep 17, 2010, at 10:53 AM, Daniel Brown wrote: On Fri, Sep 17, 2010 at 10:35, Floyd Resler fres...@adex-intl.com wrote: I'm getting the following warning when running PHP scripts from the command line: PHP

Re: [PHP] Session Vars loaded from MSSQL Query drop, those loaded from MYSQL Query stick

2010-09-17 Thread Andrew Ballard
On Fri, Sep 17, 2010 at 10:50 AM, Cheryl Sullivan csull...@shh.org wrote: Hi there - just to clear things up, I didn't mean your answer was irrelevant.  It was an excellent point - I just took the function call encompassing the query string out of the code I posted to avoid people having to

RE: [PHP] Session Vars loaded from MSSQL Query drop, those loaded from MYSQL Query stick (SOLVED)

2010-09-17 Thread Cheryl Sullivan
FANTASTIC!!! This did the trick! By explicitly typecasting the value to a string when you assign it to the session, you'll get the value rather than its wrapper. Thank you all for your help! I will pass the comments on about employing the MS's SQL Server Driver for PHP as well - Thanks

RE: [PHP] Session Vars loaded from MSSQL Query drop, those loaded from MYSQL Query stick

2010-09-17 Thread Tommy Pham
-Original Message- From: Cheryl Sullivan [mailto:csull...@shh.org] Sent: Friday, September 17, 2010 7:51 AM To: Peter Lind; tommy...@gmail.com Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those loaded from

Re: [PHP] Install library

2010-09-17 Thread Ashley Sheridan
On Fri, 2010-09-17 at 15:37 +0200, Jordan Jovanov wrote: Hello everybody, I like to create same PDF file with PHP, i find that i must to install something like PDFLib but i can't how to istall on linux. Does somebody can help me. Thanks a lot. Jordan When you asked this question

[PHP] Checking file type when uploading

2010-09-17 Thread Catherine Madsen
Hi! I have created a form following the PHP manual to upload files and need to restrict the upload to only PDF. How do I check the file type ($_FILES['userfile']['type']?) and where: on the form page or on the validation page? I want to be able to tell the users that their file doesn't have the

Re: [PHP] Checking file type when uploading

2010-09-17 Thread Jim Lucas
Catherine Madsen wrote: Hi! I have created a form following the PHP manual to upload files and need to restrict the upload to only PDF. How do I check the file type ($_FILES['userfile']['type']?) and where: on the form page or on the validation page? I want to be able to tell the users

[PHP] GD Watermark Question

2010-09-17 Thread Gary
pilferage and I would like to be able to show the images a little larger, hence with a bit more clarity and detail. Thanks for your input. Gary __ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET

[PHP] Re: GD Watermark Question-

2010-09-17 Thread Gary
px now) should they decide to help themselves to it, it would download with a watermark on it, but the watermark would not appear on the web page itself. Gary __ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message

Re: [PHP] GD Watermark Question

2010-09-17 Thread Ashley Sheridan
database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com So where does the watermark get shown, because from what I can gather from your description, it only exists on the image with the DB... Thanks, Ash http://www.ashleysheridan.co.uk

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread TR Shaw
with a watermark on it, but the watermark would not appear on the web page itself. Gary __ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread Ashley Sheridan
with a width of 250 px now) should they decide to help themselves to it, it would download with a watermark on it, but the watermark would not appear on the web page itself. Gary __ Information from ESET Smart Security, version of virus signature database 5458 (20100917

Re: [PHP] 1984 (Big Brother)

2010-09-17 Thread TR Shaw
I guess I need to chime in. Besides the fact that his is a moron - the customer is always right - at least as long as he is paying OK simplest way to handle this is: 1) Set the_db ownership and permissions to chown theboss:employees the_db chmod 0700 the_db 2) Attach a script to his

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread TR Shaw
database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php There's no way to do this. Anything you see in your browser has

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread Ashley Sheridan
itself. Gary __ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread TR Shaw
on it, but the watermark would not appear on the web page itself. Gary __ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread Ashley Sheridan
Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread TR Shaw
(20100917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php There's no way to do this. Anything you see in your browser has

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread Ashley Sheridan
Even the stenography has its flaws. Opening the image in an image editor, then doing a select all and pasting as a new image would remove any hidden meta info, and saving a couple of times as a jpeg would destroy any detailed information without distorting the photo (assuming it

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread TR Shaw
On Sep 17, 2010, at 7:36 PM, Ashley Sheridan wrote: Even the stenography has its flaws. Opening the image in an image editor, then doing a select all and pasting as a new image would remove any hidden meta info, and saving a couple of times as a jpeg would destroy any detailed

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread Gary
__ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: GD Watermark Question-

2010-09-17 Thread Gary
__ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: GD Watermark Question

2010-09-17 Thread Gary
Smart Security, version of virus signature database 5458 (20100917) __ The message was checked by ESET Smart Security. http://www.eset.com __ Information from ESET Smart Security, version of virus signature database 5458 (20100917) __ The message was checked

Re: [PHP] 1984 (Big Brother)

2010-09-17 Thread viraj
Remind him that he must logout normally to lock the DB if you follow the thread closely, this is a requirement. boss may not logout properly :) that's why all suggest a mechanical ways for the job. pressure sensors, cameras etc etc ~viraj On Sep 12, 2010, at 12:37 PM, Joshua Kehn wrote: