Re: [PHP-WIN] sending an array through post

2002-01-14 Thread Pac mon
If they don't need to be visible include this form element in the form to be submited: > >Hello, >I need to send a lot of numbers with a form(post). How can I do that. I've >tried just this: > > > >But that won't work. > >How then? >polleke ___

Re: [PHP-WIN] Re: calling an ASP program or object from within php

2002-01-14 Thread Nicole Lallande
Thanks Frank - I'm afraid I got windows-panic - duh -- stick to basics - I was making it alot tougher than it should have been just 'cause I was working with windows. Best, Nicole Frank M. Kromann wrote: > Hi, > > If you just need to execute an ASP script on the same (or any other server) y

Re: [PHP-WIN] Re: calling an ASP program or object from within php

2002-01-14 Thread Frank M. Kromann
Hi, If you just need to execute an ASP script on the same (or any other server) you can do it with fopen(). http://some-url.com?var1=$var1&var2=$var2";; if ($fp = fopen($url)) { $data = fread($fp, 4069); fclose($fp); ) ?> - Frank > Yikes -- seems pretty complex for what I need to do righ

[PHP-WIN] Re: calling an ASP program or object from within php

2002-01-14 Thread Nicole Lallande
Yikes -- seems pretty complex for what I need to do right now but definately cool to download and use for windows development down the road - thanks, Nicole Andrew Stopford wrote: > Hi, > > You have a couple of options but I would recommend using WDDX > (http://www.openwddx.org), both ASP an

[PHP-WIN] Re: calling an ASP program or object from within php

2002-01-14 Thread Andrew Stopford
Hi, You have a couple of options but I would recommend using WDDX (http://www.openwddx.org), both ASP and PHP support WDDX and its great way of sharing data between the two. -- Andrew Stopford http://www.a-coda.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

[PHP-WIN] calling an ASP program or object from within php

2002-01-14 Thread Nicole Lallande
Greetings, Documentation searched through: book, search through newsgroup archive, php.net -- frankly having a tough time posing the question. I am new to php-windows and am clueless about ASP. I am having to create a code that will call an ASP script for the database connectivity. I need

Re: [PHP-WIN] cant read php.ini

2002-01-14 Thread Alain Samoun
Use the Start/find to find if there is any other php.ini file somewhere. A+ Alain On Mon, Jan 14, 2002 at 04:03:11PM -, Adrian Kelland wrote: > PHP is working fine on an NT4 Terminal Server except for mail functions. I > have entered the correct settings in the php.ini file. These were tested

php-windows Digest 14 Jan 2002 21:34:42 -0000 Issue 952

2002-01-14 Thread php-windows-digest-help
php-windows Digest 14 Jan 2002 21:34:42 - Issue 952 Topics (messages 11419 through 11440): passing variable in include 11419 by: Sandeep Murphy 11420 by: Pac mon passing variables 11421 by: Sandeep Murphy 11422 by: Nicole Amashta 11423 by: Pac mon

[PHP-WIN] cant read php.ini

2002-01-14 Thread Adrian Kelland
PHP is working fine on an NT4 Terminal Server except for mail functions. I have entered the correct settings in the php.ini file. These were tested OK in a script. The problems seems to be that the php.ini file is not being read. phpinfo() expects it to be in c:\winnt, so I put it there instead of

Re: [PHP-WIN] sending an array through post

2002-01-14 Thread Afan Pasalic
Try function implode of an array (to make a string from your array) before you send it through form and then explode that string into array Afan - Original Message - From: Polleke To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 3:15 PM Subject: [PHP-WIN] sending an a

[PHP-WIN] sending an array through post

2002-01-14 Thread Polleke
Hello, I need to send a lot of numbers with a form(post). How can I do that. I've tried just this: But that won't work. How then? polleke

[PHP-WIN] Re: Unique id Number

2002-01-14 Thread Manuel Lemos
Hello, James Mansfield wrote: > > OK...newbie question it must be: > I want to add an entry into a db tb (using php obviously) and when its added > into the db its gets a sequencially numberred idnow can I retrieve this > id numbe rin the same php coded page as what I create the entry with?

[PHP-WIN] can you help me with this php error?

2002-01-14 Thread JR
Can you help me setup php on my local machine? I ran into a problem trying to execute php files on my machine. I followed the directions for setting up php on Windows XP with IIS from php.net's installation instructions. I ran into one of the problems described in php.net FAQ but I don't unde

Re: [PHP-WIN] Please help a newbie -- have pity!

2002-01-14 Thread Frank M. Kromann
Using the prowser to view a file on your file system will just show the content. The browser does not have any knowledge of the PHP parser. A web server on the other hand will be able to run the requested script through a parser an send the converted document (usually as html) to the browser fo

[PHP-WIN] Please help a newbie -- have pity!

2002-01-14 Thread tom
Can someone tell me how to use this php.exe file?? The docs are totally confusing. Okay - I run a rented unix server that supports php, no problem. But I want to test my site files offline on my win 2k machine. Online IE displays the php test files just fine, but offline it ignores the php conten

[PHP-WIN] php_gd.dll

2002-01-14 Thread John Moeller
Where can I find a 1.8.4 version of php_gd.dll? John

[PHP-WIN] php_gd.dll 1.8.4

2002-01-14 Thread John Moeller
Where can I find a 1.8.4 version of php_gd.dll? John

RE: [PHP-WIN] Re: passing variables

2002-01-14 Thread Svensson, B.A.T. (HKG)
>The data has to be dynamically fed into the parser... I am trying to make >the parser into a form of a class with a function that receives this >variable but so far Unsuccessful.. Just keep up that happy debugging spirit... :) >If anyone has any further suggestions/ideas, wud be damn gratefull!

RE: [PHP-WIN] Re: passing variables

2002-01-14 Thread Sandeep Murphy
hi, Thnx to all of you... Actually I realized that my problem is slightly more different and complicated.. The xml output is actually received from a servlet (sorry for saying php before!:)) and Needs to be directly passed into another PHP which contains an XMLparser... The data has to be dynam

RE: [PHP-WIN] Unique id Number

2002-01-14 Thread Svensson, B.A.T. (HKG)
From: Asendorf, John Sent: Monday, January 14, 2002 4:49 PM >You can, but there are a number of issues to deal with. One of the >potential solutions is to grab the MAX value from the table id field and >then increment that number for the next inserted record. The problem arises >though when you

[PHP-WIN] Header problem

2002-01-14 Thread Petr Rezek
Here is my question. I wrote a script, which gets parameters from db about document (location on disc, hashed filename and original filename). Then script open this file a send it to user. I use this headers Header("Content-Type: application/download\n"); Header("Content-Disposition: attachment;

Re: [PHP-WIN] Unique id Number

2002-01-14 Thread Piotr Pluciennik
Hi, yes, you can. If you're using MySQL try to use mysql_insert_id function - it should solve your problem. For more explanations and examples - see manual: http://www.php.net/manual/en/function.mysql-insert-id.php and for all mysql functions: http://www.php.net/manual/en/ref.mysql.php Greeting

Re: [PHP-WIN] Unique id Number

2002-01-14 Thread Ross Fleming
That's what I originally did but it can create loads of problems if you remove entries from the database or something similar. Is it SQL you're using? If so then i BELIEVE that there is a way of defining a field to do this automatically, instead of calling a field 'int' or whatever, I remember t

RE: [PHP-WIN] Unique id Number

2002-01-14 Thread Asendorf, John
You can, but there are a number of issues to deal with. One of the potential solutions is to grab the MAX value from the table id field and then increment that number for the next inserted record. The problem arises though when you have multiple users attempting to add records... --

[PHP-WIN] Unique id Number

2002-01-14 Thread James Mansfield
OK...newbie question it must be: I want to add an entry into a db tb (using php obviously) and when its added into the db its gets a sequencially numberred idnow can I retrieve this id numbe rin the same php coded page as what I create the entry with? If not what is the best way around it? Cre

Re: [PHP-WIN] Re: passing variables

2002-01-14 Thread Pac mon
There is NO need for that... When including a file it's as if the file were inline with the code in the spot in which include() is called. You may want to use require() to make sure that the file is actually being added. Also you just need to use $data wherever you want.. Or you can do it like

[PHP-WIN] Re: passing variables

2002-01-14 Thread Nicole Amashta
when you call the 2nd script, new.php, call it like this: new.php?sign=$data that is one way to pass it ... or you can keep the variable hidden by using sessions 1. xmlparse.php --- session_start(); // start a session session_register("data"); // register 'data'

[PHP-WIN] passing variables

2002-01-14 Thread Sandeep Murphy
hi all, I have a variable in a file called xmlparse.php called $data. $data stores in it an output returned by another php script.. I need to pass this variable $data now into yet another php file say new.php .. xmlparse.php $data = "blah blah"; --

Re: [PHP-WIN] passing variable in include

2002-01-14 Thread Pac mon
Just do this: $sign = $data; >new.php > >include('xmlparse.php') > >$sign = "$data"; > >echo "$sign"; > >But my echo "$sign"; is NOT printing anything.. Whats wrong here?? > >TIA, >sands > _ Chat with friends online, try MSN Mess

[PHP-WIN] passing variable in include

2002-01-14 Thread Sandeep Murphy
hi all, I have a variable in a file called xmlparse.php called $data. $data stores in it an output returned by another php script.. I need to pass this variable $data now into yet another php file say new.php .. xmlparse.php $data = "blah blah"; -

php-windows Digest 14 Jan 2002 09:04:08 -0000 Issue 951

2002-01-14 Thread php-windows-digest-help
php-windows Digest 14 Jan 2002 09:04:08 - Issue 951 Topics (messages 11411 through 11418): Re: How to generate bitmaps containing truetype fonts? 11411 by: Emile Bosch Re: Setting up an XML platform/website 11412 by: Manuel Lemos 11416 by: Florian Luethi compare an

RE: [PHP-WIN] Help with mail function

2002-01-14 Thread brother
Maybe they haven't set the mailstuff in the php.ini file? /bro. > -Original Message- > From: Calcware [mailto:[EMAIL PROTECTED]] > Sent: den 13 januari 2002 23:10 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Help with mail function > > > My hosting company is running IIS version 5.0.