Re: [PHP] function imagecreatefromjpeg()

2004-05-12 Thread Petr U.
On Wed, 12 May 2004 12:08:29 +0200 "PHP" <[EMAIL PROTECTED]> wrote: > Is there a solution to fix these files, since they are not really corrupt ? I don't know :) -- Petr U. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function imagecreatefromjpeg()

2004-05-12 Thread Petr U.
changes was there in last time (http://www.ijg.org/files/ latest source is from '98) -> we can eliminate old varsion of jpeg library i think. So check if that file is really correct JPEG image.. -- Petr U. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] feof Question

2004-05-09 Thread Petr U.
flush(); >} > } > fclose( $fp ); > ?> Modify your code like this and send it's output.. /* or ini_set('error_reporting', E_ALL); if your version * of php don't know error_reporting() */ error_reporting(E_ALL); $fp = fopen('t.t

Re: [PHP] Re: protecting web page

2004-05-08 Thread Petr U.
There is _no way_ to really hide/protect html page on client side.. If someone (some knowing) would like to show your source and it's important for him, then he spend some time to break this ugly protection. -- Petr U. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Installing GD library

2004-05-07 Thread Petr U.
e package manager from your distribution, install something like php-VER-gd.ext and/or uncomment line in php.ini that is about loading GD module (if GD isn't linked directly into PHP) -- Petr U. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Having a problem with RCPT TO and email

2004-05-07 Thread Petr U.
m: "My real name" <[EMAIL PROTECTED]> To: "Your real name" <[EMAIL PROTECTED]> Subject: Something to test ..blank line.. Hello, blah blah -- Bye . -- cut -- -- Petr U. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Socket

2004-05-06 Thread Petr U.
On Fri, 7 May 2004 00:59:03 -0300 (ART) "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote: > Please, i need a tutorial about socket. I read php.net but the examples is > lost. I think you should check it again ;) http://www.php.net/manual/en/ref.sockets.php -- Petr U. -

Re: [PHP] Returning an object

2004-05-06 Thread Petr U.
On Fri, 7 May 2004 11:35:24 +1000 "Aidan Lister" <[EMAIL PROTECTED]> wrote: > How _should_ this be done? In terms of "best practice". I'd choose this way: function &foo() { return new Object; } -- Petr U. -- PHP General Mailing List (http://www

Re: [PHP] Re: strip comments from HTML?

2004-05-06 Thread Petr U.
ead matches the minimum number of times possible, so the pattern /\*.*?\*/ does the right thing with the C comments. -- Petr U. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login page

2004-05-06 Thread Petr U.
On Thu, 6 May 2004 03:42:48 -0700 "Erik Gjertsen" <[EMAIL PROTECTED]> wrote: > I have made a login page but I got an error on line 1. Where did you defined $dbc? Nowhere. >From "mysql_select_db($database_innlogging, $innlogging);" I guessing, that you shuld use: global $innlogging; ...