Re: [PHP-WIN] errors while uploading my php site ...... ! ! ! !

2002-08-14 Thread toby z
brian and Luis thnx a billion zillion guys . the problem turned out 2 b two 1st: as luis said version mismatch ... well i had php 4.2.1 on my machine n da host that i launched my site has 4.2.2 ven i upgraded mine to 4.2.2 it threw da same errors at me so i did pull

[PHP-WIN] GD.DLL

2002-08-14 Thread Martin
I now have php 4.2 but now I cant get past the screen about cgi.force_redirect. I have tried to shut it off via the php.ini but it didnt help. How do i use the cgi.force_redirect so I can access my scripts Thanks Martin

Re: [PHP-WIN] GD.DLL

2002-08-14 Thread Kit Kerbel
Which version of php? I know I had the same problem and I upgraded to 4.2.2 and it fixed the problem. Hope that helps, kit Original Message Follows From: "Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [PHP-WIN] GD.DLL Date: Wed, 14 Aug 2002 20:37:23 -0500 I have omniht

[PHP-WIN] GD.DLL

2002-08-14 Thread Martin
I have omnihttpdpro server installed on Windows98. I have a php script which requires the GD.DLL which I have in a folder in the php directory. I uncommented the line in the php.ini to use the gd.dll. The problem is it will not load. the page will not load and none of my pages load. Till I comm

php-windows Digest 15 Aug 2002 01:18:15 -0000 Issue 1289

2002-08-14 Thread php-windows-digest-help
php-windows Digest 15 Aug 2002 01:18:15 - Issue 1289 Topics (messages 15252 through 15270): Re: errors while uploading my php site .. ! ! ! ! 15252 by: Brian 'Bex' Huff Re: PHP & "POST" 15253 by: Samura1 15254 by: Svensson, B.A.T. (HKG) 15255 by: brother

[PHP-WIN] Problem using COM, specifically the FileScriptingObject

2002-08-14 Thread Kyle
I have included my code below. This is my first experience trying to use COM objects in PHP. My problem is that the foreach loop does not output anything, regardless of whether or not there are files in the folder. Can anyone tell me what is wrong with my script? Thanks for any help.

[PHP-WIN] AllowPathInfoForScriptMappings in IIS5 (was Re: [PHP] URL path question)

2002-08-14 Thread Seairth Jacobs
I came accross the following IIS4/5 Metabase setting: AllowPathInfoForScriptMappings It can be set at either the service or site level: W3SVC/ W3SVC/1/ MS claims that this forces PATH_INFO and PATH_TRANSLATED to act according to the CGI specification, however this setting seems to have

[PHP-WIN] Power Function In PHP 4.2.2

2002-08-14 Thread Andrew V. Romero
I have just recently upgraded to PHP 4.2.2 and am trying to get this version to do the following compounding interest problem, which PHP3 had no problem with. $futureValue = $currentAmount * pow( 1 + ($interestRatePercent/100), $timeInYears); In PHP4, it issues a warning saying " Invalid argu

Re: [PHP-WIN] Re: php cookie / session problem

2002-08-14 Thread Scott Carr
Did you change the location for the Cookies? In the php.ini it starts off in /tmp which does not exist on a windows machine. Try changing it to c:\temp or something that actually exists on your box. -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/ Quo

Re: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Luis Ferro
Samura1 wrote: >One more thing, >I found that POST is better than GET as user won't see the variables >But there must be a disadvantage of POST, otherwise, no one use GET... >do you know what are the disadvantages of POST? > > The disvantage of POST, or better, the advantage of GET is that

[PHP-WIN] Re: php cookie / session problem

2002-08-14 Thread Arijit Chaudhuri
if you are using IIS on Win2000, its better to swotch to Apache server. I was forced to switch as the IIS cookie bug is really bugging. Regards, Arijit "Mickel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i'm pretty new to php and just installed a few scr

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Svensson, B.A.T. (HKG)
> I did read the spec and I can understand how to use that... (also read a lot > of docs) > but the problem I've got before was: > I don't know how to get the data, if I don't know how to get the data, I > wouldn't have a clue whether the way I use POST is correct or not... > w3.org does provide a

[PHP-WIN] PHP & "POST"

2002-08-14 Thread Svensson, B.A.T. (HKG)
The answer to your question is, as always with computer: "It depends on" I can tell you some about it by checking out the HTTP specifications, but I think I have provided you by enough information now so you will be able to find this information and figure it out your self. But even knowi

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Daniel Masson
Scoot said it all !! .. Just one more little thing , .. When posting a form using POST you do a response page lets say form.php, if you want to reload the page the browser will ask you to send the data again so form.php can handle the data again, you dont have this problem with GET because, as s

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread dash php
Another reason for GET is the ease of emailing someone else a link, as if I need you to go here: http://www.site.example.com/scripts/getinfo.php?youneedthisinfo=12345 the person on the other side doesn't have to put in 12345 for youneedthisinfo :) -Dash -Original Message- From: Scott C

Re: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Samura1
I did read the spec and I can understand how to use that... (also read a lot of docs) but the problem I've got before was: I don't know how to get the data, if I don't know how to get the data, I wouldn't have a clue whether the way I use POST is correct or not... w3.org does provide a very clear

Re: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Scott Carr
Therein lies the difference. With POST, you cannot see the variables that are being passed, because they are passed as a header directly to the server. With GET, you see the variables, because they are part of the URL that is passed to the Server. The other difference is in that URL's tend to

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Svensson, B.A.T. (HKG)
I still think you should invest some time in study the Hyper Text Transfer Protocol (HTTP) and the Hyper Text Markup Language (HTML) at www.w3.org, they explain everything you need to know in order to make an implementation correct: anything else found at the web, or elsewhere, is derived from tho

Re: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Samura1
One more thing, I found that POST is better than GET as user won't see the variables But there must be a disadvantage of POST, otherwise, no one use GET... do you know what are the disadvantages of POST? Thank you. p.s and I'm looking for a very good website which talk about when you should

Re: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Samura1
Hey man, your post is very helpful ... But actually, I just found out the solution on the web... You know what, most web sites are just telling you what does it do (submit to the server, header...$#&Q*^$@#) , but doesn't give u an example... Until I just found an example on the web, make my mind

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread brother
> -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > > Once we press the "Go Now" button, the form data will be > posted to the > webserver, but the handlig page (START.ASP) need a script to extract > the data. This is done like this is VBScript: > >Tis

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Svensson, B.A.T. (HKG)
Well lest go trough the basic steps then (but I still recomend you to visist the www.w3.org and realy spend some time trying to understand the specifications - it will save you lots of headache in the future...): First you start with the FORM tag: Here we see two attributes METHOD and ACTI

Re: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Samura1
First, I don't know how to use POST, is it just changing the value GET in the form to POST? Secondly, because I don't know where does it send to, I don't know where to get it, and I don't know how to get it even I know... so... Anyone can show me an example coding for POST and how to get the d

Re: [PHP-WIN] errors while uploading my php site ...... ! ! ! !

2002-08-14 Thread Brian 'Bex' Huff
The only reason why you'd be getting those session and header error messages is if you output some html (even a few blank lines) on your PHP page before the cookie functions are called. It looks like you have a wrapper PHP page called 'styl.php', in which you reference an include 'lgn3.php',

php-windows Digest 14 Aug 2002 13:06:03 -0000 Issue 1288

2002-08-14 Thread php-windows-digest-help
php-windows Digest 14 Aug 2002 13:06:03 - Issue 1288 Topics (messages 15243 through 15251): Re: Code Conversion ASP --> PHP Example 15243 by: Thoenen, Peter Mr. EPS session, error occuring when using session_start() 15244 by: Daniel Canil results of mysql_fetch are retur

[PHP-WIN] imagecreatfrompng() only work for 24bits png ?

2002-08-14 Thread NoWhErEMan
Hi all, I use following script to generate a resized png image on the fly. I tried for several hours and found that it not works for every png image. And finally i found that the imagecreatfrompng() only works for 24bits png. i.e my script does not works on my abc.png which is 8bpp(bitsperpixel),

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread Svensson, B.A.T. (HKG)
Have you tried this URL yet: http://www.w3.org/TR/html401/interact/forms.html#edef-FORM (www.w3.org might want to be your first choice when your are looking for specifications details about HTML and HTTP transfers.) Also remember that GET is restricted to ASCII transfers, and if you happens to

[PHP-WIN] PHP & "POST"

2002-08-14 Thread Samura1
Hey guys, I want to know how to retrieve data from POST (form) ... What I want to do is... I've got a textarea for ppl to enter large amount of text (essay), and I let ppl submit it (using POST), then insert these data into mySQL. I get it working if I use GET (I only know how to use GET, dunno

Re: [PHP-WIN] errors while uploading my php site ...... ! ! ! !

2002-08-14 Thread Luis Ferro
When performing the last stage of development (placing the code from the development server [my machine in my case] to the production server [a test directory in the hosting server]) carefull must be taken regarding the following: a) Versions of PHP and MySQL I'd to retrofit a site, repla