AW: [PHP-WIN] form vars missing...

2003-09-29 Thread Sven Schnitzke
Take a peek into the manual, section "using PHP" keyword "register_globals" and consider the fact that the default ini setting has been changed from "on" to "off" starting with PHP 4.2.0 . Regards, -- Sven > -Ursprüngliche Nachricht- > Von: Jas [SMTP:[EMAIL PROTECTED] > Gesendet am:

php-windows Digest 30 Sep 2003 06:17:09 -0000 Issue 1933

2003-09-29 Thread php-windows-digest-help
php-windows Digest 30 Sep 2003 06:17:09 - Issue 1933 Topics (messages 21608 through 21622): Re: form vars missing... 21608 by: Gerardo Rojas 21609 by: Jas 21610 by: Gerardo Rojas 21611 by: Jas 21614 by: Svensson, B.A.T. (HKG) 21615 by: Duane La

[PHP-WIN] imagecreate () query

2003-09-29 Thread George Pitcher
Hi, I'm picking bits out of SAMS TY PHP in 24H and tried a few of the image examples. What I found was that imagegif() generated an error while imagepng() did not, and generated the image. can anyone see any reason why I should try and get imagegif() working or will imagepng() be acceptable. I'm

[PHP-WIN] Connect to a FTP server in a IFRAME

2003-09-29 Thread Dean Hayes
Hey, I need to connect to a ftp server in a IFRAME within a script. The only problem is that the url to loginto this account is ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED] is there a way to get this account to login to the ftp server with the ftp function and have the normal ftp upload window in

RE: [PHP-WIN] PHP Web Services

2003-09-29 Thread Charles P. Killmer
Use nuSoap.php It is an include file that I have used to create a few web service client pages. http://dietrich.ganx4.com/nusoap/index.php http://www.google.com/apis/ http://api.google.com/GoogleSearch.wsdl','wsdl'); $soap_proxy = $soapclient->getProxy(); $temp = $soap_proxy->doGoog

[PHP-WIN] PHP Web Services

2003-09-29 Thread Pearson, Gregory
Has anyone done this with PHP? I'm looking for the best way to create a web service on a hosted server. Currently, the provider is running the SOAP:Lite (PERL) module, but I'd rather not have to learn PERL. ___ This message and any attachments are intended only for t

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Duane Lakoduk
> > That should not effect the functionality. The VALUE tag is > only required for > radio buttons and check boxes . You are correct. I tested this on my IIS 4.0 server with PHP 4.3.3RC2. The reason for no values is most likely due to bad syntax in action.php No errors are reported but s

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Svensson, B.A.T. (HKG)
> 2. As others indicated: you aren't giving any value to your text inputs. That should not effect the functionality. The VALUE tag is only required for radio buttons and check boxes . Point 1) is on target, fix that and it should work. For reference see: http://www.w3.org/TR/1998/REC-html40-1

Re: [PHP-WIN] form vars missing...

2003-09-29 Thread Jas
Sorry yeah i noticed the form element was using the wrong syntax on this page but I didn't copy/paste into the newsgroup. The results of the form for the 'url' field would be whatever the user decided to type into the particular field (ex. http://www.somewebsite.com) and the resulting page just ch

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Duane Lakoduk
Jas > > Here is my problem: > > Using both the Get and Post methods my variables are missing on the > resulting page. Example of code is listed below: > > > > > > > if ((!$name) || (!url)) { > do nothing; > } elseif (($name) || ($url)) { > do rest of code; > } else { > broken

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Svensson, B.A.T. (HKG)
One doesn't need the VALUE when the INPUT is of type TEXT. Sematic of VALUE is in this case defined as "defualt text to display in edit box". If left out, it displays a null string, e.g. an empty field. On your specific problem I have no suggestions though -Original Message- From: Ja

RE: [PHP-WIN] php 4.3.3 on apache 2.0.47

2003-09-29 Thread Gerardo Rojas
try calling fopen by itself and then do fread() $fd = fopen($file, 'r') $buffer = fread($fd, 1) -Original Message- From: manon [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 12:58 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] php 4.3.3 on apache 2.0.47 apache 2.0.47 php

[PHP-WIN] php 4.3.3 on apache 2.0.47

2003-09-29 Thread manon
apache 2.0.47 php 4.3.3 win XP Pro With the above combination most of the scripts I have don't work under Apache, however they do running Omni HTTPd. With Apache for example remote includes fail: Warning: failed to open stream: Bad file descriptor Failed opening 'http://somedomain.com/test.htm'

Re: [PHP-WIN] form vars missing...

2003-09-29 Thread Jas
so prior to php 4 it was (!$var_name) and from php 4 on it is (!$_post['var_name'] ? jas "Gerardo Rojas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] you also need reference the values as such $_POST['fname'] in the action script. -Original Message- From: Jas [mailto:[EMAI

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Gerardo Rojas
you also need reference the values as such $_POST['fname'] in the action script. -Original Message- From: Jas [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 11:08 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] form vars missing... You know I have tried that as wel

Re: [PHP-WIN] form vars missing...

2003-09-29 Thread Jas
You know I have tried that as well... ex. And I have tried adding a hidden form element as well... ex. All to no avail, I am thinking IIS is my problem but I am going to try it in a *nix environment just to be certain. jas "Gerardo Rojas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Gerardo Rojas
I believe you need to add the value="your value goes here" in the form. -Original Message- From: Jas [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 10:59 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] form vars missing... Here is my problem: Using both the Get and Post method

php-windows Digest 29 Sep 2003 16:00:56 -0000 Issue 1932

2003-09-29 Thread php-windows-digest-help
php-windows Digest 29 Sep 2003 16:00:56 - Issue 1932 Topics (messages 21583 through 21607): Re: Problem: URL Encoded Parameters 21583 by: Warren Vail 21584 by: The Hub 21585 by: The Hub Re: Writing to a file 21586 by: Fabian Cenedese Re: File Ext 215

[PHP-WIN] form vars missing...

2003-09-29 Thread Jas
Here is my problem: Using both the Get and Post methods my variables are missing on the resulting page. Example of code is listed below: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Matching arrays to build tables (Solved)

2003-09-29 Thread Mike Quinn
I got a very modest email from Bill Baron with the following code which works absolutely perfectly even though Bill never tested it! (Slick!). Thank's a million for that Bill and also thanks to Svensson for all the help - very much appreciated. Here is the code which I modified ever so slightly to

RE: [PHP-WIN] SQL query problem - SOLVED

2003-09-29 Thread George Pitcher
The date format in my query works fine with Access. I solved the problem by splitting the query into two separate queries and it now works fine. Cheers George > -Original Message- > From: Disko_kex [mailto:[EMAIL PROTECTED] > Sent: 29 September 2003 1:25 pm > To: 'George Pitcher' > Subj

RE: [PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Svensson, B.A.T. (HKG)
I am not sure I understand your problem or what it consist of, but maybe you might like to do it like this then: SELECT day, SUM(amount) AS amount_sum, DISTINCT(code) AS code FROM WHERE GROUP BY day, amount_sum, code ORDER BY code, day Displaying this result set should not be much of a problem.

[PHP-WIN] Re: SQL query problem

2003-09-29 Thread Mike Quinn
Hi George, Just at a quick glance it might be to do with the Date(); Remove that clause and see what happens. I could be wrong. Rgds, Michael "George Pitcher" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Hi, > > I'm having a problem with the following query (ODBC on M$

[PHP-WIN] SQL query problem

2003-09-29 Thread George Pitcher
Hi, I'm having a problem with the following query (ODBC on M$ Access): select Pack.*, Transacts.*, Extracts.* from Pack, Transacts, Extracts where ( Pack.End > date() and Pack.Term='Lent' and Transacts.Week=1 and Transacts.Pack_ID=Pack.Pack_ID and Extracts.ID=Transacts.Extract_ID) ORDER BY Pack.T

Re: [PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Mike Quinn
Sorry, very well spotted and I should have said so before - the codes will be the same as they will be related to the same transaction. Thnks, Michael "B.A.T. Svensson" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Just a question for the purpose of giving a proper answer:

RE: [PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Svensson, B.A.T. (HKG)
Just a question for the purpose of giving a proper answer: is it possible to have different codes on the very same day? -Original Message- From: Mike Quinn To: [EMAIL PROTECTED] Sent: 29-9-2003 7:11 Subject: Re: [PHP-WIN] Matching arrays to build tables Hi Svensson, Thanks for that. (I

Re: [PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Mike Quinn
Hi Svensson, Thanks for that. (I can certainly use that to get the values for the added amounts for me) but I wish for the table to be built with 15 days in the left hand column some of which will not contain entries but for the days that there are items I wish for the HTML table to display these

RE: [PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Svensson, B.A.T. (HKG)
Would something like SELECT day, SUM(amount) AS amount_sum, DISTINCT(code) AS code FROM WHERE GROUP BY day,amount _sum, Code be usefull for you? Or do you already do this? -Original Message- From: Mike Quinn To: [EMAIL PROTECTED] Sent: 29-9-2003 6:30 Subject: [PHP-WIN] Matching arrays

RE: [PHP-WIN] unsubscribe

2003-09-29 Thread Svensson, B.A.T. (HKG)
Hello, please raise my sallary! -Original Message- From: Herzog, Hermann To: [EMAIL PROTECTED] Sent: 29-9-2003 12:30 Subject: [PHP-WIN] unsubscribe Hello, please unsubscribe me from the PHP-WIN - mailinglist. Thank you ! Hermann -- PHP Windows Mailing List (http://www.php

RE: [PHP-WIN] unsubscribe

2003-09-29 Thread Duane Lakoduk
Herman, Use the link at the bottom and unsubscribe yourself. > please unsubscribe me from the PHP-WIN - mailinglist. > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

[PHP-WIN] unsubscribe

2003-09-29 Thread Herzog, Hermann
Hello, please unsubscribe me from the PHP-WIN - mailinglist. Thank you ! Hermann -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] unsubscribe

2003-09-29 Thread Herzog, Hermann
Hello, please unsubscribe me from the PHP-WIN - mailinglist. Thank you ! Hermann -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] unsubscribe

2003-09-29 Thread Herzog, Hermann
Hello, please unsubscribe me from the PHP-WIN - mailinglist. Thank you ! Hermann -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Matching arrays to build tables

2003-09-29 Thread Mike Quinn
Hi, I have 3 dynamic arrays which is related data pulled from a mySQL database, the first being day $days[],second being amount $amount[] and third being a specific code $code[]. What I need to do is display a table with 1 to 15 in the left hand column (days) but where the array $days[] contains a

[PHP-WIN] unsubscribe

2003-09-29 Thread Herzog, Hermann
Hello, please unsubscribe me from the PHP-WIN - mailinglist. Thank you ! Hermann -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Array matching to build table

2003-09-29 Thread Mike Quinn
Hi, I have 3 dynamic arrays which is related data pulled from a mySQL database, the first being day $days[],second being amount $amount[] and third being a specific code $code[]. What I need to do is display a table with 1 to 15 in the left hand column (days) but where the array $days[] contains a

Re: [PHP-WIN] File Ext

2003-09-29 Thread H Marc Bower
- Original Message - From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> > > I can\ only assume that it does work ok with a linux-based > > webserver or it wouldn't be in there. In fact, if I put in is_file() > > instead of !is_dir, it returns nothing at all. > > That code wont work on a un

[PHP-WIN] unsuscribe

2003-09-29 Thread Vikas Pande
- Do you Yahoo!? The New Yahoo! Shopping - with improved product search

RE: [PHP-WIN] File Ext

2003-09-29 Thread Svensson, B.A.T. (HKG)
> I can\ only assume that it does work ok with a linux-based > webserver or it wouldn't be in there. In fact, if I put in is_file() > instead of !is_dir, it returns nothing at all. That code wont work on a unix based system since in many cases files does not have an exstensions at all, like exec