Re: [PHP] Auto unzip uploaded file

2005-10-02 Thread mail
James Lobley wrote: > You might like to take a look at this: >http://www.phpconcept.net/pclzip/index.en.php > I've had great success with it - both extracting files and creating zips. Thank you, the page looks great. Norbert -- PHP General Mailing List (http://www.php.net/) To

[PHP] Broken pipe

2005-10-02 Thread Ben-Nes Yonatan
Hi all, I wrote a php script which is running very long queries (hours) on a database. I seem to have a problem to run the code when there are single queries which take long times (like 5 hours for an update query), from the log of the database I received the following code: 2005-09-30 17:1

[PHP] Test Emai --- Please igonre

2005-10-02 Thread Zareef Ahmed
This is a test mail. Please igno re it -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] PHP 5 Hosting

2005-10-02 Thread Zareef Ahmed
On 9/30/05, Tom Chubb <[EMAIL PROTECTED]> wrote: > This is an interesting one. > As someone learning PHP, I am still confused which route I should be going > down? > Especially as I am looking to take on a dedicated server soon, I don't > know if PHP5 will become standard soon or are we going to s

[PHP] php5<-->com terribly wrong ?

2005-10-02 Thread Martin Staiger
Dear experts, something must be terribliy wrong with either php5<->com or our configuration/code. We used to control MS-Index-Server via php4 without any problems: $q = new com ("ixsso.Query"); $util = new com ("ixsso.util"); $q->query = $Query

[PHP] Test Mail please igonre it

2005-10-02 Thread Zareef Ahmed
-- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] "Sanitize" paths

2005-10-02 Thread Philip Hallstrom
realpath() is your friend... That has been my first impression too, but... realpath() expands all symbolic links I am actually using symlinks :) I trust the files on my server so "local redirects" via symlinks are no problem, the user submitted data is. Then realpath() your doc root as we

Re: [PHP] "Sanitize" paths

2005-10-02 Thread Robert Cummings
On Sun, 2005-10-02 at 11:26, Philip Hallstrom wrote: > >> realpath() is your friend... > > > > That has been my first impression too, but... > > > >> realpath() expands all symbolic links > > > > I am actually using symlinks :) > > > > I trust the files on my server so "local redirects" via symlink

[PHP] convert array to HTML GET request

2005-10-02 Thread Martin van den Berg
Newbe question: How does one convert an array into a HTML GET request easely? Are there any standard functions? Same for HTML POST requests. Thanks, Martin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] convert array to HTML GET request

2005-10-02 Thread Jasper Bryant-Greene
Martin van den Berg wrote: How does one convert an array into a HTML GET request easely? Are there any standard functions? Same for HTML POST requests. HTTP GET and POST requests are formatted the same, just sent in different ways. I don't know if there's a function; I'd just use: 'oranges

Re: [PHP] PHP 5 Hosting

2005-10-02 Thread Oliver Grätz
Sheesh! No week passing by without people complaining about hosters missiong out on PHP5. This is one point where we in Germany seem to be lucky. The two biggest german hosters 1&1 (about 4 million domains) and Strato (about 2.5 million domains) both offer SSH and the possibility to chosse the PHP

Re: [PHP] convert array to HTML GET request

2005-10-02 Thread M. Sokolewicz
Jasper Bryant-Greene wrote: Martin van den Berg wrote: How does one convert an array into a HTML GET request easely? Are there any standard functions? Same for HTML POST requests. HTTP GET and POST requests are formatted the same, just sent in different ways. I don't know if there's a func

Re: [PHP] convert array to HTML GET request

2005-10-02 Thread Chris
PHP 5 has the http_build_query function which does exactly what you want: http://www.php.net/http_build_query Chris Martin van den Berg wrote: Newbe question: How does one convert an array into a HTML GET request easely? Are there any standard functions? Same for HTML POST requests. Thanks

Re: [PHP] PHP 5 Hosting

2005-10-02 Thread Torgny Bjers
Oliver Grätz wrote: >Sheesh! No week passing by without people complaining about hosters >missiong out on PHP5. This is one point where we in Germany seem to be >lucky. The two biggest german hosters 1&1 (about 4 million domains) and >Strato (about 2.5 million domains) both offer SSH and the possi

[PHP] Re: anyone want to teach php?

2005-10-02 Thread John Taylor-Johnston
Karl, I cannot make promises, but I might have someone. If he answers me, I'll let you know. He got me started a few years ago. Excellent teacher, and author of phpMyAdmin :-P John Karl James wrote: Hello Team, I was wondering if there is anyone that would like to teach Me the language as

Re: [PHP] convert array to HTML GET request

2005-10-02 Thread adriano ghezzi
if i understand well you need to get an array from html post if you use the same name for your html fields you automatically have an array in $_POST eg input type=text name=myfield value="field_1" input type=text name=myfield value="field_2" you'll get the array ar_myfield = $_POS['myfield']

[PHP] HTML Header Location - relative URI issue

2005-10-02 Thread Jaepil Kim
Hi HTML 1.1 specifies that Location in HTML Header should be absolute URI. Also says that some of the browsers will not work with relative URI. Can anyone show me which browsers fail to work with *relative URI* in a HTML Header Location? Regards, Jaepil -- PHP General Mailing List (http://www

Re: [PHP] HTML Header Location - relative URI issue

2005-10-02 Thread Jasper Bryant-Greene
Jaepil Kim wrote: HTML 1.1 specifies that Location in HTML Header should be absolute URI. Also says that some of the browsers will not work with relative URI. Can anyone show me which browsers fail to work with *relative URI* in a HTML Header Location? I assume you mean HTTP 1.1, not HTML 1.1.

Re: [PHP] HTML Header Location - relative URI issue

2005-10-02 Thread Jaepil
Jasper Bryant-Greene wrote: Jaepil Kim wrote: HTML 1.1 specifies that Location in HTML Header should be absolute URI. Also says that some of the browsers will not work with relative URI. Can anyone show me which browsers fail to work with *relative URI* in a HTML Header Location? I assume y

[PHP] Image resizing...

2005-10-02 Thread Sonia
Hi All I've been working on finishing a project SGML2IMAGE and I am sort of having trouble with resizing of images. I am trying to just use the GD library so when I distro the package it will not need any other things installed to be used. Now I am using... imagecreatetruecolor (); imagecreatefro

[PHP] Re: php5<-->com terribly wrong ?

2005-10-02 Thread Sonia
If you need this functionality then you should go back to PHP 4 the version that worked for you. I also have problems with this and winmgmts object. some classes work others don't, most times it's a VARIANT type problems. I know Wez is really busy but if you keep checking the snap shots you will se

Re: [PHP] session_name("CCLTrolley")

2005-10-02 Thread John Taylor-Johnston
Robert Cummings wrote: Is there a reason you're using a comma delimited string? I would recommend using an array instead: Cheers, Rob. Hi, Still absorbing this array stuff :). I'm getting this error. And when RNum = 1 or = 16 or = 116, it only registers '1', or whatever the first digit

[PHP] buffer problem having a mind of its own

2005-10-02 Thread matt VanDeWalle
hello again I was writing and rewriting my user function for my chat server trying to crush this bug but its beyond me whats going on. basically I have it so if a new user comes on, we know that if they type "new" at the prompt so it goes to the newuser function, asks for a username, accepts

Re: [PHP] session_name("CCLTrolley")

2005-10-02 Thread John Taylor-Johnston
>Warning: Bad arguments to implode() in /var/.../printtrolley.php on line 14 >Array ( [TrolleyContents] => 1 3 4 4 5 6 ) I restarted Mozilla and tried again. It's ok now. Thanks for your time. Array ( [TrolleyContents] => Array ( [16] => 16 [30] => 30

Re: [PHP] session_name("CCLTrolley")

2005-10-02 Thread Robert Cummings
On Mon, 2005-10-03 at 00:16, John Taylor-Johnston wrote: > >Warning: Bad arguments to implode() in /var/.../printtrolley.php on > line 14 > >Array ( [TrolleyContents] => 1 3 4 4 5 6 ) > > I restarted Mozilla and tried again. > It's ok now. > Thanks for your time. The old session was probably s

Re: [PHP] PHP 5 Hosting

2005-10-02 Thread Oliver Grätz
Torgny Bjers schrieb: > I am assuming they're running PHP through CGI in this case, am I > correct, or are they hosting on Windows to achieve the multiple PHP > versions? If CGI, that rather affects performance of larger > applications, it especially impact render time of more complex templates > a

Re: [PHP] session_name("CCLTrolley")

2005-10-02 Thread John Taylor-Johnston
>This is the old version I demonstrated. You should go with the later >version that sets the values to the quantity :) I thought I had? Haven't I? But this is the easiest shopping cart I have ever seen. However, I still have not understood what you were doing with these lines I commented out.

Re: [PHP] session_name("CCLTrolley")

2005-10-02 Thread John Taylor-Johnston
This is what you recommended. Is there a reason you're using a comma delimited string? I would recommend using an array instead: This is what I implemented? Where did I go wrong? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF Thumbnails

2005-10-02 Thread [EMAIL PROTECTED]
How do I implement using your script? Do this take all of the files in a directory and convert them into pdf thumbnails? Where does the directory path go? Thanks for posting and the help. On 9/29/05, Matt Darby <[EMAIL PROTECTED]> wrote: > > I wrote a script for this; it's designed to run from the