[PHP] PDF Thumbnails

2005-09-25 Thread [EMAIL PROTECTED]
I give my users an option to upload pdf files to my site and would like them to see a thumbnail view of the file once uploaded. Has anyone heard of a way how to do this?

Re: [PHP] cgi chmod problem

2005-09-25 Thread Al
Mikey wrote: Al wrote: I've got a php script that checks certain file permissions and if not OK for writing, chmods as required. I can use ftp_site(); but, prefer not to because the code is not readily transportable. Requires ftp login. I'd like a simple cgi file that can be called by my

Re: [PHP] cgi chmod problem

2005-09-25 Thread Mikey
Al wrote: I've got a php script that checks certain file permissions and if not OK for writing, chmods as required. I can use ftp_site(); but, prefer not to because the code is not readily transportable. Requires ftp login. I'd like a simple cgi file that can be called by my script as need

[PHP] cgi chmod problem

2005-09-25 Thread Al
I've got a php script that checks certain file permissions and if not OK for writing, chmods as required. I can use ftp_site(); but, prefer not to because the code is not readily transportable. Requires ftp login. I'd like a simple cgi file that can be called by my script as needed. My cgi f

Re: [PHP] new ways to add an html body?

2005-09-25 Thread Richard Davey
Hello Ross, Sunday, September 25, 2005, 2:27:42 PM, you wrote: > I am using php mailer and am trying to find a new way to make the html email > body instead of the old > Can I make a whole html mage and just link it?? Or include ('mypage.htm') $mail_body = file_get_contents('path/to/your/html/e

Re: [PHP] new ways to add an html body?

2005-09-25 Thread Silvio Porcellana
Ross wrote: >Hi, > >I am using php mailer and am trying to find a new way to make the html email >body instead of the old > > $mail_body = " src=\"my_logo3.gif\" width=\"100\" height=\"139\">"; > $mail_body .= ""; >$mail_body .= "sans-serif\">$mail_text "; >$mail_body .= ""; >$mail_b

Re: [PHP] Cache/Form Problem

2005-09-25 Thread Mikey
Peter Justus wrote: Hi List Not too sure if this is the right list to send to so forgive me for my ignorance if it is incorrect. My Question I have a form which users need to fill out, (quite a lengthy one) it consists of 5 or so pages with various questions on each!, the last page submits th

[PHP] Cache/Form Problem

2005-09-25 Thread Peter Justus
Hi List Not too sure if this is the right list to send to so forgive me for my ignorance if it is incorrect. My Question I have a form which users need to fill out, (quite a lengthy one) it consists of 5 or so pages with various questions on each!, the last page submits the information and write

[PHP] New ocurrance of old problem. (FTP_PUT: 'STOR' not understood)

2005-09-25 Thread Andy Pieters
Hi all Having looked at the archives, they mention that the cause for this problem might be that the FTP_BINARY constant isn't transmitted to the the FTP module. I therefore adjusted my code to this: return ftp_put($this->ftphandle, $localfile, $remotefile,FTP_BINARY); Seeing as this fails al

[PHP] new ways to add an html body?

2005-09-25 Thread Ross
Hi, I am using php mailer and am trying to find a new way to make the html email body instead of the old $mail_body = " "; $mail_body .= ""; $mail_body .= "$mail_text "; $mail_body .= ""; $mail_body .= " etc etc. Could I link/ attach a style sheet? How would this work?? Can I m

Re: [PHP] selfreferencing script with output

2005-09-25 Thread Sabine
Thanks you very much Silvio, for your answer. Yes, it seems to be complicated. Especially regarding the time I have to do the programming for this part of my work. Now I reduced the time the preparing of the mailtext needs and hope for the moment that the servers time my script gets will be suff

Re: [PHP] selfreferencing script with output

2005-09-25 Thread Sabine
Thanks again,Gustav, I tried, but it won't work. The moment of the second headering there had been an output. So you get the error message just an iteration later. Now I reduced the time my script needs. I will check out if it has sufficient time on the productive machine. If so, it won't be n

Re: [PHP] selfreferencing script with output

2005-09-25 Thread Silvio Porcellana
Sabine wrote: > Thanks you very much Silvio, for your answer. > Yes, it seems to be complicated. Especially regarding the time I have > to do the programming for this part of my work. > Now I reduced the time the preparing of the mailtext needs and hope > for the moment that the servers time my sc

[PHP] imap + secure connection problems

2005-09-25 Thread Joachim Person
I tried to make the simple program Mailboxes\n"; $folders = imap_listmailbox($mbox, "{imap.liu.se:993}", "*"); if ($folders == false) { echo "Call failed\n"; } else { foreach ($folders as $val) { echo $val . "\n"; } } echo "Headers in INBOX\n"; $headers = imap_headers($mbox); if

Re: [PHP] Installation problem with PHP%

2005-09-25 Thread Raz
[snip] > http://newbieclub.com/?hands_on [/snip] Great site that, never need that php list ever again! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Installation problem with PHP%

2005-09-25 Thread Rory Browne
On 9/25/05, Tony Prodger <[EMAIL PROTECTED]> wrote: > > Dear Sir, > > I wonder if you can help me with the following probem?? > > I am using: > > Windows XP Professional Yes. Upgrade to Unix. > Apache HTTP Server 2.054 > PHP 5.0.4 > MySQL 4.1 > > > Apache and MySQL are running > > I have install

[PHP] Installation problem with PHP%

2005-09-25 Thread Tony Prodger
Dear Sir, I wonder if you can help me with the following probem?? I am using: Windows XP Professional Apache HTTP Server 2.054 PHP 5.0.4 MySQL 4.1 Apache and MySQL are running I have installed PHP, but when I use my browser to view the following test file: My PHP Test hello html

Re: [PHP] selfreferencing script with output

2005-09-25 Thread Gustav Wiberg
- Original Message - From: "Silvio Porcellana" <[EMAIL PROTECTED]> To: "PHP general" Sent: Sunday, September 25, 2005 12:13 AM Subject: Re: [PHP] selfreferencing script with output Sabine wrote: Thanks for your answer, Gustav, now I see I didn't explain good enough what my problem

Re: [PHP] selfreferencing script with output

2005-09-25 Thread Silvio Porcellana
Sabine wrote: > Thanks for your answer, Gustav, > > now I see I didn't explain good enough what my problem is. > My problem is not how to construct a status bar, but not it is > possible to provide any output before the headering (*Warning*: Cannot > modify header information - headers already sen

[PHP] Passing non GET/POST request methods to php script do not work on RH based linux

2005-09-25 Thread Yedidia Klein
I've a simple php script (see below) that write to a file the "REQUEST METHOD" that was used while calling this script. means that when I use a browser to access this script, it write to the file "GET". The problem starts while I try for example to send an OPTIONS request to this script (u