[PHP-WIN] How to display GIF image

2003-06-06 Thread William Cheung
How could I display GIF image in 4.3.2. I tried the example in "Image Functions" manual and showed nothing.     <>-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Deleting users from htpasswd

2003-06-06 Thread Max Graham
If you want a script that's premade that'll do it for you, I suggest PHPAccess ... http://www.krizleebear.de/phpaccess/dynamisch/ If nothing else, it'll give you some code to look at to see how it's done in case you don't want to use this and would rather customize your own Message-ID: <[EMAIL P

[PHP-WIN] PHP, ODBC, Unable to Connect

2003-06-06 Thread Joseph McDonald
Here is the code (acct # blurred for obvious reason): ##begin paste## ##end paste## Here is the result: ##being paste## Warning: SQL error: [Simba Technologies Inc.][SimbaEngine C/S ODBC Driver][SimbaClient][SimbaClient LNA]Client RPC error. Error = (103) Error sending message. Trap = (111) Error

Re: [PHP-WIN] Re: Display new Page after Form is processed

2003-06-06 Thread Per Lundberg
On Fri, 2003-06-06 at 18:19, Cristian MARIN wrote: > Yes,you can, I just did it. I don't know if it is because I use > php4.3.2 or what is the cause You probably have some form of output buffering enabled. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: h

php-windows Digest 5 Jun 2003 23:32:20 -0000 Issue 1763

2003-06-06 Thread php-windows-digest-help
php-windows Digest 5 Jun 2003 23:32:20 - Issue 1763 Topics (messages 20200 through 20210): Re: PHP, COM and Excel 20200 by: Manuel Lemos 20205 by: Luis Ferro how do i skip primary keyz 20201 by: toby z 20202 by: Svensson, B.A.T. (HKG) 20203 by: t

[PHP-WIN] RE: [PHP] php4isapi.dll and header("Location: ...")

2003-06-06 Thread John W. Holmes
> Have somebody successed with the function < header("Location: > http://...";) > > using the php4isapi.dll ??? > > My code works well with PHP using the CGI php.exe, but impossible to make > it > work with the ISAPI module !!! Do you have exit(); after your header() call? I use header() all the

Re: [PHP-WIN] Re: Display new Page after Form is processed

2003-06-06 Thread Cristian MARIN
Yes,you can, I just did it. I don't know if it is because I use php4.3.2 or what is the cause -- - Cristian MARIN InterAKT Online (www.interakt.ro) +4021 411 2610 [EMAIL PROTECTED] "Stephen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

Re: [PHP-WIN] Re: Display new Page after Form is processed

2003-06-06 Thread Stephen
No, you can. You can use header() at any time providing that absolutely nothing has been output to the users browser. So, don't use any echo or print functions and it should work fine - Original Message - From: "The.Wiz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 06, 2

Re: [PHP-WIN] PHP, ODBC, Unable to Connect

2003-06-06 Thread Joseph McDonald
I have also tried this with just "SELECT * FROM ACCT" ACCT holds all member account information. I am trying to write a form where someone here can create a CD on our core system, and then go to this form and type in the account number and suffix of that CD and print out the certificate of deposi

[PHP-WIN] Re: Display new Page after Form is processed

2003-06-06 Thread Cristian MARIN
This page work excellent even the location is at the end of the source. If you don't send anything before you can used anywere in the page ... If you send anything before the user cannot see the page because it is redirected. getNoRows(); //PHP ADODB document - made with PHAkt 2.4.9?> M

[PHP-WIN] Re: Display new Page after Form is processed

2003-06-06 Thread The.Wiz
I thought you couldn't use header(location:???) if its not listed first, as in before the DB code. If this is the case you a redirect by using the meta refresh option. "Cristian Marin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Put header("Location: my_second_page.php"); after the

[PHP-WIN] Re: install PHP 431 on Windows 2003 server

2003-06-06 Thread The.Wiz
Yes, do a manual install. "Peter Misun" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > i was installing 4.3.1 on W2000 server and received the same error before the end of installation - so I had to setup manually, but then everithing works fine till now > > 5o > > > S wrote: > >

[PHP-WIN] Recommendation of Windows Clients

2003-06-06 Thread Guillermo Scharffenorth
Hello everyone, I am a new PHP user working on winxp with apache and mysql. I have tested some php develpment environments, but none of them seem to really work well. None of them, for example, are able to debug multiple scripts in sequence, as, for example, when there is a php or html form that

[PHP-WIN] Re: doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
here is answer I was waiting for: Per Lundberg wrote: > On Fri, 2003-06-06 at 14:17, Peter Misun wrote: > > > but I couldn't find case, in which is better to use the first form > > why should I have copy, if there is an original where I'm not having > > control over it ?!? > > You shouldn't. T

Re: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Luis Moreira
It all depends on what you want to do. The first syntax creates a copy of the object, since it calls "new" by value The second creates a "link" since it uses "&" before "new", thus calling it "by reference". In the first form, you have a copy, that you can use leaving the original object intact.

[PHP-WIN] Re: install PHP 431 on Windows 2003 server

2003-06-06 Thread Peter Misun
i was installing 4.3.1 on W2000 server and received the same error before the end of installation - so I had to setup manually, but then everithing works fine till now 5o S wrote: > I can't install PHP 4.3.1 on a Windows 2003 server. > Return message for a missing OCX file. > > Simos Anagnos

Re: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
but I couldn't find case, in which is better to use the first form why should I have copy, if there is an original where I'm not having control over it ?!? 5o Per Lundberg wrote: > On Fri, 2003-06-06 at 11:23, Peter Misun wrote: > > need help: > > what do you suggest to use: > > > > $mc =

Re: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Per Lundberg
On Fri, 2003-06-06 at 11:23, Peter Misun wrote: > need help: > what do you suggest to use: > > $mc = new myclass(); > or > $mc = &new myclass(); The first form will copy the object. If you don't want this, use the second form. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040

[PHP-WIN] Re: Variable Problems

2003-06-06 Thread George Nicolae
In the name.php file try to echo "Hello ".$_GET["name"]; If it works mean that you have register_globals = off in your php.ini file. Make the register_globals = on and the echo "Hello $name" will work but I advive you to not make the register_globals = on due to some security issues. -- Best re

Re: AW: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
Sven Schnitzke wrote: > This is conceptual. If you want to know if &new() is 'cheaper' > than new() you might want to ask the developers list or take > a look at execution time for 1 [&]new()s or so. yes, this is what I want to know I'll ask in php.dev developers list forum 5o -- PHP W

php-windows Digest 6 Jun 2003 11:48:57 -0000 Issue 1764

2003-06-06 Thread php-windows-digest-help
php-windows Digest 6 Jun 2003 11:48:57 - Issue 1764 Topics (messages 20211 through 20220): PHP, ODBC, Unable to Connect 20211 by: Joseph McDonald 20218 by: Luis Ferro Re: Deleting users from htpasswd 20212 by: Guru P Chaturvedi 20217 by: Cristian MARIN insta

[PHP-WIN] Re: doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
why? there is written, that not using & sign will assign only copy ov object created - that means, you have one object 2 times in memory (in the first case) 5o Dvdmandt wrote: > I do believe you want the first version... > "Peter Misun" <[EMAIL PROTECTED]> skrev i meddelandet > news:[EMAIL PR

AW: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Sven Schnitzke
Hi Peter, with new() logically this doesn't make any difference because PHP is using the reference concept anyway. $b = &anything tells PHP to get hold of final effective "anything" and if it evaluates to something referenceable: _not_ build a copy of it and then set variable "b" to reference i

Re: [PHP-WIN] PHP, ODBC, Unable to Connect

2003-06-06 Thread Luis Ferro
I just got lost in the query string... Try to "echo $query;" and then see if there is any typo in the query itself... i work that way with php/mysql and most of the cases where i find such an error is some sort of typo in the query... Cheers... Luis Ferro Joseph McDonald wrote: Here is the cod

[PHP-WIN] Re: Deleting users from htpasswd

2003-06-06 Thread Cristian MARIN
$user = "bubu"; $file_ht = fopen("path_to_the_htaccess","r+"); if ($file_ht){ $content_file = fread($file_ht, filesize("path_to_the_htaccess")); fclose($file_ht); $content_file = preg_replace("/".$user.".*\n/","",$content_file); $file_ht=fopen("path_to_the_htaccess","w+"); if ($

[PHP-WIN] Re: doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread DvDmanDT
I do believe you want the first version... "Peter Misun" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > > need help: > what do you suggest to use: > > $mc = new myclass(); > or > $mc = &new myclass(); > > because in any tutorial I can see the first form, but on page "what refe

[PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Peter Misun
need help: what do you suggest to use: $mc = new myclass(); or $mc = &new myclass(); because in any tutorial I can see the first form, but on page "what references do" in PHP manual I found out the second form so? 5o -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP-WIN] imagettftext

2003-06-06 Thread Doug Dossett
Hello all, I'm using the following code to create images on the fly on a web site for page headers. This works great for the most part, but a couple times now the text has started resizing for no apparent reason. The first time it was just slightly wider than normal. Most recently the text

[PHP-WIN] Variable Problems

2003-06-06 Thread Dylan Williams
Hi all, I'm having trouble using variables. If I create a PHP file and define the variables within it (e.g. $name = "Bob";) and then ask the same file to ouput the variable as part of an echo command (e.g. echo( "Hello, $name"); ), it works fine. The problem comes when I try to link to a PHP fi

[PHP-WIN] install PHP 431 on Windows 2003 server

2003-06-06 Thread s
I can't install PHP 4.3.1 on a Windows 2003 server. Return message for a missing OCX file. Simos Anagnostakis Dept. of Primary Education University of Crete Campus Rethymno 74100 tel +302831077623 fax 77596 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP-WIN] php4isapi.dll and header("Location: ...")

2003-06-06 Thread Eric Tonicello
Hi ! Have somebody successed with the function < header("Location: http://...";) > using the php4isapi.dll ??? My code works well with PHP using the CGI php.exe, but impossible to make it work with the ISAPI module !!! Configuration: -Windows 2000 server - PHP 4.3.2 "php.ini" : - output_buffer

[PHP-WIN] back button

2003-06-06 Thread Harpreet
I am having problems using the back button in my web application I created using PHP. Whenever i press the back button or forward button to go to the previous page i get the follwoing message: Warning: Page has Expired The page you requested was created using information you submitted in a form.

Re: [PHP-WIN] Best way to upgrade? How do you do it?

2003-06-06 Thread Rod Martin
That sounds good, but doesn't sound like what most PHP-WIN users use. To all: How do you move to a new point version? How do you update without losing PHP on your site during that time? Is there a simple way you move your particular settings from one version to the next? Thanks! On Tuesday,