[PHP-WIN] detect corrupt pdf

2003-07-18 Thread Zac Barton
hey there i was wondering if anyone knows how to detect that a dynamic generated pdf (php 4.3 with pdflib) is corrupt? it seems that if u use pdf_open_file($pdf,"c:\winnt\temp\test.pdf"); and there is a fatal error in the script that the pdf file is actually generated (when infact you dont want i

php-windows Digest 18 Jul 2003 07:30:37 -0000 Issue 1828

2003-07-18 Thread php-windows-digest-help
php-windows Digest 18 Jul 2003 07:30:37 - Issue 1828 Topics (messages 20816 through 20827): Sessions... 20816 by: Brian McGarvie Re: open source php cms 20817 by: insite.zonnet.nl 20826 by: Stephen March php, iis, securty warning 20818 by: Shena Delian O'Bri

Re: [PHP-WIN] Re: Newbie Q

2003-07-18 Thread Luis Moreira
Gabriel, Try reading the manuals at http://www.php.net They are a good source of info, always, to start with. PHP_SELF and PATH_INFO are variables, and as such must have a dollar sign. Your error messages implies you did not put that sign. Furthermore, you complain about PHP_SELF and PATH

Re: [PHP-WIN] Re: Newbie Q

2003-07-18 Thread Gabriel_k
Oh, I accidently typed PHP_INFO, but I DID USE PHP_SELF, with and without a dollar sign, and none worked. I tried the same with PATH_INFO. But I will check out the manual first :) /Gabbah "Luis Moreira" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Gabriel, > > Try reading

[PHP-WIN] ascii to utf-16

2003-07-18 Thread Achilles Maroulis
Hi... Is there a way to convert a string to unicode utf-16? The reason I want to do this is to use greek fonts in bookmars in pdf files generated by pdflib. This is done only by utf-16 characters. I know there is a utf8_encode() function. What about a utf16_encode? I found something about iconv bu

Re: [PHP-WIN] Re: Newbie Q

2003-07-18 Thread Mike Jenck
try $_SERVER["PHP_SELF"] Mike "Gabriel_k" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Oh, I accidently typed PHP_INFO, but I DID USE PHP_SELF, with and without a > dollar sign, and none worked. I tried the same with PATH_INFO. > > But I will check out the manual first :) > > /

php-windows Digest 18 Jul 2003 19:38:20 -0000 Issue 1829

2003-07-18 Thread php-windows-digest-help
php-windows Digest 18 Jul 2003 19:38:20 - Issue 1829 Topics (messages 20828 through 20831): Re: Newbie Q 20828 by: Luis Moreira 20829 by: Gabriel_k 20831 by: Mike Jenck ascii to utf-16 20830 by: Achilles Maroulis Administrivia: To subscribe to the digest, e

Re: [PHP-WIN] Sessions

2003-07-18 Thread Luis Ferro
Depending on the implementation that it's in use for the generation and bookkeeping of the sid... and if it is a flutuating sid or a fixed one... The medium on how the session is mantained is irrelevant, even if with cookies, it's a little easier to mantain the links... because they will not ch

Re: [PHP-WIN] need help with sessions

2003-07-18 Thread Luis Ferro
The meta tags are also passed thru the web servers and can have some "strange" behaviors... For a more deep insight of the kind of problems that redirects can have you can check the phpBB, in the function.php there is a redirect function that has loads of work-arrounds regarding redirection and

Re: Fw: [PHP-WIN] Back button error

2003-07-18 Thread Luis Ferro
They are much diferent... Get has a limit of about 2k of content that can be sent thru... and there are things that are impossible to do with get, like sending files (which uses a "special" kind of post). Get has also the problem that the form you sent will be present on the address box of the