Re: [PHP-WIN] problems with variables

2003-06-16 Thread malte
you probably got register globals turned off in your php.ini file. Turn it on or use the $HTTP__VARS['varname'] Arrays can be POST, GET, SESSION and so on malte - Original Message - From: Felipe Lorente [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 15, 2003 7:57 PM

php-windows Digest 16 Jun 2003 07:36:33 -0000 Issue 1778

2003-06-16 Thread php-windows-digest-help
php-windows Digest 16 Jun 2003 07:36:33 - Issue 1778 Topics (messages 20325 through 20334): Re: more on HTTP post variables 20325 by: weifan agusman TIP - Creating 'neat' Word documents with PHP 20326 by: George Pitcher Re: Help please: undefined index in sample code

[PHP-WIN] Sessions via shared memory

2003-06-16 Thread M.Staiger
Hello NG, sessions are usually stored in files on disk or directly in a database. However when not only reading these sessions but also writing to them extensively, it might be unseful to store these sessions directly in memory. Rumors say, this is possible via shared memory functions which

[PHP-WIN] Re: TIP - Creating 'neat' Word documents with PHP

2003-06-16 Thread sven
nice workaround ;-) but how about this: save your rtf-file and use it as a template with unique place-holders (e.g. your rtf-part %yourUniqueDateField% next rtf-part). use preg-replace() and replace your place-holders with your content. save your copy or mail it. ciao SVEN George Pitcher

[PHP-WIN] question about mail function

2003-06-16 Thread [EMAIL PROTECTED]
hi everybody, i'am have problem about php send mail function, how can i send extra header with it's. I'am crazy now because I can send it by using users defined variable , but when I've send it with a html form, it's don't work at all by use $_POST variable please help me, thanks you,

RE: [PHP-WIN] more on HTTP post variables

2003-06-16 Thread Svensson, B.A.T. (HKG)
Thanks for the hidden input thingy. another question, when we use this kind of format in an URL: ./something.php?name=meaddress=far does it mean I'm using global variables (name and address?) is this a good thing or should I do it some other way? if I'm not mistaken, to use this

[PHP-WIN] Re: question about mail function

2003-06-16 Thread sven
i don't really understand your question. for the extended headers in mail use something like this: $to = [EMAIL PROTECTED]; $subject = some subject; $header = content-type: text/html; charset=\iso-8859-1\\n. from: \[EMAIL PROTECTED]\n; $message = some message; if (mail($to, $subject,

Re: [PHP-WIN] problems with variables

2003-06-16 Thread Felipe Lorente
Thanks, but where should I use $HTTP__VARS['varname'] Arrays?? Thanks again. Felipe. Malte [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] you probably got register globals turned off in your php.ini file. Turn it on or use the $HTTP__VARS['varname'] Arrays

Re: [PHP-WIN] problems with variables

2003-06-16 Thread sven
your vars you want to send to your next page are stored in these arrays. so if you POSTed a form with $name and $email use $_POST['name'] or $HTTP_POST_VARS['email'] in your script instead of the awaited $name and $email. ciao SVEN Felipe Lorente [EMAIL PROTECTED] schrieb im Newsbeitrag

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread toby z
my dear man if u try $tireqty = $_POST['tireqty']; with register globals on it gives u the same error :) i didn ask that without any reazon toby --- Stephen [EMAIL PROTECTED] wrote: Which just goes to show some people will say anything... I don't think this has anything to do with

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread Herhuth, Ron
Undefined index is an error generated due to something trying to access a value in an array that doesn't exist. That array can be the form elements array. You should check all values with the !isset function to see if they exist before trying to access them in case the user did not enter a

[PHP-WIN] Re: Subject: Re: User Authentication...

2003-06-16 Thread Neil Smith
Try this. Please note that on windows you *cannot* raise a http auth box this way (PHP_AUTH_USER is not defined for Apache on windows), so you will need to use this on your live unix Apache/PHP server : function getUserAuthPW() { // If present, set user Authenticate Password box values

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread Stephen
Toby, $_POST should exist even if register globals are on! Thats why I said it would probably be nothing to do with it. Unless I am mistaken Stephen - Original Message - From: toby z [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED] Cc: Windows Helplist (PHP) [EMAIL PROTECTED] Sent:

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread Luis Moreira
Toby, If you write $tireqty = $_POST['tireqty'] you're telling PHP that the calling script is sending a variable called 'tireqty'. Since on your case the name of the value and of the POST are the same, I mean that if you write $AFTER_POST = $_POST['VALUE_PASSED'] you will set a variable

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread toby z
jeez it didn work with me .. i mean when i had register globals on it didn work . i guess i must ve tried that in the stone age .. :| toby --- Stephen [EMAIL PROTECTED] wrote: Toby, $_POST should exist even if register globals are on! Thats why I said it would probably be

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread toby z
thats rather sweet of luis thnx :) but it was somebody elses problem this time i was only replying to stephen :) ;) toby --- Luis Moreira [EMAIL PROTECTED] wrote: Toby, If you write $tireqty = $_POST['tireqty'] you're telling PHP that the calling script is sending a variable

[PHP-WIN] Undefined variables

2003-06-16 Thread Jorge L.
I bought a book on PHP, and in one of the examples it declares a variable without assigning it a variable, then it uses the gettype() method to show that the result would be NULL. Well, when I test the script I get the following error: Notice: Undefined variable: testing in C:\Program Files\Apache

Re: [PHP-WIN] Using the installshield vs manually

2003-06-16 Thread Phil Driscoll
The 'installshield' distribution installs the cgi version of php along with a php.ini file which is exactly the same as the php.ini-dist which comes with the zip distribution with the following settings edited to the values set up by your progress through the wizard: SMTP sendmail_from

Re: [PHP-WIN] Using the installshield vs manually

2003-06-16 Thread Daniel Crompton
Hi Phil Thanks for the info. The thing is i have already installed using the installshield on a number of online servers and this all works perfectly fine. It appears i do not need any of the extra extension modules which are only installed with the zip version because everything is working ok

[PHP-WIN] Re: Undefined variables

2003-06-16 Thread DvDmanDT
It's your PHP.ini... You must set error_reporting to like E_ALL ~E_NOTICE or something like that... You might also want to check register_globals, most likely you want this to be On instead of Off which is default... Jorge L. [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] I bought

Re: [PHP-WIN] Using the installshield vs manually

2003-06-16 Thread Phil Driscoll
On Monday 16 June 2003 5:21 pm, Daniel Crompton wrote: My only concern is any security issue. I'm still unsure exactly what security issue people are reffering to. i.e. what are the consequences of using the installshield in real terms. Exactly the same as using the zip distribution and

Re: [PHP-WIN] Re: Undefined variables

2003-06-16 Thread Per Lundberg
On Mon, 2003-06-16 at 18:49, DvDmanDT wrote: It's your PHP.ini... You must set error_reporting to like E_ALL ~E_NOTICE or something like that... You might also want to check register_globals, most likely you want this to be On instead of Off which is default... Both of these are very bad

Re: [PHP-WIN] Re: Undefined variables

2003-06-16 Thread Harpreet
I am getting the following error when i use the IE back button. Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information

[PHP-WIN] Back button error

2003-06-16 Thread Harpreet
I am getting the following error when i use the IE back button. Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information

Re: [PHP-WIN] absolute include files

2003-06-16 Thread dj dust
thanks for the reply. This should be easy enough. First, have you checked to see if register_globals is on or off on your local machine? It defaults to off, so $DOCUMENT_ROOT would become $_SERVER['DOCUMENT_ROOT']. yep, it was set to 'off' so I've changed all the includes now so that they

php-windows Digest 16 Jun 2003 20:27:38 -0000 Issue 1779

2003-06-16 Thread php-windows-digest-help
php-windows Digest 16 Jun 2003 20:27:38 - Issue 1779 Topics (messages 20335 through 20359): Sessions via shared memory 20335 by: M.Staiger Re: TIP - Creating 'neat' Word documents with PHP 20336 by: sven question about mail function 20337 by: tarn.hk 20340

[PHP-WIN] PHP 4.3.2 is Slower Can't Echo to the CLI

2003-06-16 Thread Jon Harrell
I noticed that compared w/ 4.2.3 (the last working fdf/tk until now) that the CLI will not echo correctly... it takes 30-60 seconds and then a whole page is echoed... also simple scripts seems to take minutes instead of seconds... jh -- PHP Windows Mailing List (http://www.php.net/) To

Re: [PHP-WIN] Re: Undefined variables

2003-06-16 Thread DvDmanDT
Because if you are reading a book, and want to try the samples, chances are quite big you want to try it exactly bit by bit, not modifying it on your own... And even more, if you get like a CD or something, it must feel VERY bad to have to rewrite it all... Now, which part was depricated? And in

[PHP-WIN] Fw: PHP mySQL testing server does not map to the URL

2003-06-16 Thread Ildiko Nyari
In fact I am not sure I have installed php correctly. I have downloaded the php files and Apache installed, and alos the phpmyadmin unzipped here: C:\mysql\bin where the mysql database is and C:\phpwhere php is C:\phpmyadmin is here And now, how can I open phpmyadmin? How should I set

[PHP-WIN] [PHP-WIN-IIS6] Header(HTTP authentication)...

2003-06-16 Thread Alain Kumschick
hi there, how can i make HEADER(HTTP AUTHENTICATE) work with IIS6? alain -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Fw: PHP mySQL testing server does not map to the URL

2003-06-16 Thread John Ellingsworth
PHP w/Apache or IIS? w/Apache I wrote some documentation here that may help; let me know if not. http://ellingsworth.org/john/modules.php?op=modloadname=Newsfile=articles id=10mode=threadorder=0thold=0 ( http://ellingsworth.org/john/ ) Thanks, John Ellingsworth -Original Message-

Re: [PHP-WIN] Fw: PHP mySQL testing server does not map to the URL

2003-06-16 Thread toby z
im sure u must have fixed up ur php.ini and httpd.conf files and set ur document root u ve to fix ur mysql'z config file too n myadmin otta be in ur doccument root to work properly good luck toby --- Ildiko Nyari [EMAIL PROTECTED] wrote: In fact I am not sure I have installed php