[PHP] Re: Foreach Array Help

2003-10-14 Thread Rob Adams
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Okay, total newbie when it comes to arrays, and I could really use some > help. I sure this will be an easy one for you veterans out there. > > Here is the array ($code): > array(2) { > ["total"]=> > int(1) > ["a

Re: [PHP] Re: header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
I'm using the library from www.fpdf.org. I currently using the method on storing the file to the server because of two features. One so I can have php script to use the email to pick up the file and send it to my boss. Two, an optional option to view the billing invoice. I am beginning to think

Re: [PHP] where is my session data on my new server?

2003-10-14 Thread David T-G
Mike, et al -- ...and then Ford, Mike [LSS] said... % % On 14 October 2003 11:26, David T-G wrote: % % > I ran a phpinfo() comparison and didn't see anything markedly % > different (except for how the output is formatted, which made things % > delightfully more challenging), but I

Re: [PHP] where is my session data on my new server?

2003-10-14 Thread zerof
You can bypass any configuration using: session_save_path ('path/to/session_folder'); -- zerof - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php convert html to pdf

2003-10-14 Thread Scott Fletcher
Not sure why you're thinking of installing. So, I downloaded the zipped file and extract it. All I see are a couple of files in PHP. All you can do is to upload the file, 'HTML_ToPDF.php' and perhap one other file to the Web Hosting account you have there. Then on your existing webpage, you jus

Re: [PHP] Re: header() function for displaying an opened PDF document.

2003-10-14 Thread Chris Hayes
It might help to have a peek at how the php Pdf libraries are doing this (www.php.net/pdflib, fpdf.org, www.ros.co.nz/pdf) . There are a lot of things to worry about with pdf, not the least the fact that older acrobat readers will give plenty of errors when the page is not send fast enough an

[PHP] Re: header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
Well, now, I get an unknown file type. I have already specified the application type. This was yesterday. Today, I get the file type as 'Acrobat Control for Active X'. That doesn't look right... Oh well... Will have to play around and see what can I do to make it work better. A couple of mont

Re: [PHP] header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
Sound like a good idea. I'll see if I can find this on the Internet and see what happen. "Bertrand Moulard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > now that I'm rethinking of it, I solved the problem by using the brilliant > python program tcpwatch, which logs all the http d

Re: [PHP] header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
Not using the session. :-) Oh well... "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Are you using sessions? Then you need > session_cache_limiter('private_no_expire'); > > Scott Fletcher wrote: > > > I seem to be having problem with sending the PDF document to t

Re: [PHP] header() function for displaying an opened PDF document.

2003-10-14 Thread Marek Kilimajer
Are you using sessions? Then you need session_cache_limiter('private_no_expire'); Scott Fletcher wrote: I seem to be having problem with sending the PDF document to the browser to be open on screen. I kept getting the error message, it say 'Windows cannot open this file'. Here's my sample scri

[PHP] Help needed - Dynamically Zip Files & Sub-Directories

2003-10-14 Thread TWSC HQ
Hi everybody - What is wrong with this php zip class (file : phpzip.inc.php)? I've got this code on one page: require("phpzip.inc.php"); $z = new PHPZip(); $z -> Zip("directory_name/", "out.zip"); where all files and sub-directories + files should be zipped into the zip file called out.zip t

Re: [PHP] ftp_connect() issues

2003-10-14 Thread Burhan Khalid
Could it be that your script is timing out? Did the php version change? -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] where is my session data on my new server?

2003-10-14 Thread Ford, Mike [LSS]
On 14 October 2003 11:26, David T-G wrote: > On the first server when you enter the password and hit the button the > page comes back up with $pw set and in you go. On the second > server $pw > is always empty and we are endlessly prompted. > > I ran a phpinfo() comparison and didn't see anythi

RE: [PHP] newbie question

2003-10-14 Thread Ford, Mike [LSS]
On 13 October 2003 13:49, 'Eugene Lee' wrote: > On Mon, Oct 13, 2003 at 10:32:18AM +0100, Ford, Mike > [LSS] wrote: > > > > On 12 October 2003 23:36, Eugene Lee wrote: > > > > > > The PHP manual is vague in several sections. I wonder how bug > > > reports get submitted for it? > > > > htt

[PHP] where is my session data on my new server?

2003-10-14 Thread David T-G
Hi, all -- We have some existing code running under php 4.2.3 on a FreeBSD 4.5 server and we just lit up a new php 4.3rc1 FBSD 4.8 server to handle our growth (yay! :-) All of our scripts source a central include file which sets lots of things including some session variables, one of which is $pw

Re: [PHP] Foreach Array Help

2003-10-14 Thread Marek Kilimajer
foreach(array_expression as $key => $value) So you are looping the array key and it is a scalar value (int). Jed R. Brubaker wrote: Okay, total newbie when it comes to arrays, and I could really use some help. I sure this will be an easy one for you veterans out there. Here is the array ($code):

php-general Digest 14 Oct 2003 09:57:11 -0000 Issue 2354

2003-10-14 Thread php-general-digest-help
php-general Digest 14 Oct 2003 09:57:11 - Issue 2354 Topics (messages 166014 through 166048): Re: what is the best PHP editor? 166014 by: Ryan A 166016 by: Daniel Guerrier 166017 by: Chris Boget 166019 by: Rob Adams 166021 by: Jonathan Villa 16

[PHP] Alternative to cURL

2003-10-14 Thread Paul van Schayck
Hello everyone, I want to send a form to a different server without user input. Auto fill a form ($_POST or $_GET). People will still click a link. So it could be a client-side sollution. cURL is the logical sollution but is there an alternative, client or server side. I was thinking about FSo

<    1   2