Re: [PHP-DB] variable conversion

2003-01-31 Thread Jason Wong
On Friday 31 January 2003 15:44, bismi jomon wrote: hi, while creating a php page , how can ipass avalue in a text box or any boxex to another page? i hav created one page wiht text boexes in one file and i hav to send it to another program. i did it with post method and in order to get

Re: [PHP-DB] - Update help

2003-01-31 Thread Jason Wong
On Friday 31 January 2003 15:31, nikos wrote: I've download some patches for PHP 4.0.6. and I dont know how to use it. For example rfc1867.c.diff-4.0.6 file how can I run it and do the update? I have PH 7,2 Linux and Apache 1,32 Thank you If there's no compelling reason for you to be staying

[PHP-DB] Is there a Php MySql Scripting Tool or Gui ??

2003-01-31 Thread tmb
I need to do some Php scripting for a MySql db running on a Linux / Apache web server... Is there a GUI or other tool to help someone create the scripts or must you write them all using a text editor ?? Just trying to save a little time on this project. Thanks for any info. tmb -- PHP

Re: [PHP-DB] variable conversion

2003-01-31 Thread Cornelia Boenigk
Hi Use ?php echo $HTTP_POST_VARS(fname); ? instead, or in newer PHP versions ?php echo $_POST(fname); ? Regards Conni -- Datenbanklösungen + PostgreSQL + Webdesign http://www.cornelia-boenigk.de | http://www.pgsql.info http://www.dpunkt.de/buch/3-89864-175-9.html -- PHP Database Mailing List

Re: [PHP-DB] Is there a Php MySql Scripting Tool or Gui ??

2003-01-31 Thread Jason Wong
On Friday 31 January 2003 18:42, tmb wrote: I need to do some Php scripting for a MySql db running on a Linux / Apache web server... Is there a GUI or other tool to help someone create the scripts or must you write them all using a text editor ?? Just trying to save a little time on this

[PHP-DB] Array

2003-01-31 Thread Rui Miguel Palma
como posso adicionar valores a um array com dois campos É algo assim: tenho n alunos para os quais vou á base de dados buscar resultados e quero criar uma array com o id e o email de cada um, por forma a ir buscar da seguinte forma $aluno[0][email] e $aluno[0][id]?? Desde já os melhores

Re: [PHP-DB] check box help

2003-01-31 Thread Matt
Thanks for the suggestion. I tried that too, but still no luck. I don't know what I am doing wrong here. I had the form tag at the top of the page, so it will pass the variables to the next page. It passes all the variables except the check boxes to the next page. This is what I changed it

Re: [PHP-DB] check box help

2003-01-31 Thread Jason Wong
On Friday 31 January 2003 19:55, Matt wrote: Then on the next page, this is how I try to output it, but it doesn't work: for($i=0; $i $counter; $i++) { echo $CheckBox[$i]; echo br; } Add these lines: print_r($_GET); print_r($_POST); I just can't get it to work, and I have been

Re: [PHP-DB] check box help

2003-01-31 Thread Matt
Okay, I finally got it working. I was just stupid and wasn't sending over ther $counter variable to the next page, so I created a hidden input for that. Thanks a lot for your help. I really appreciate it. Matt Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP-DB] Re: passing variables through frames

2003-01-31 Thread Stefan Panayotov
And how does it work? -- Matt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Nevermind everyone... I found out. Thanks Matt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does anyone know how to pass a variable to a

[PHP-DB] warnings

2003-01-31 Thread Rui Miguel Palma
o que posso fazer para não obter o seguinte warning Warning: Cannot add header information - headers already sent in c:\apache\htdocs\anula_reserva.php on line 21 __ Rui Palma ICQ#: 171381429 Current ICQ status: +

Re: [PHP-DB] warnings

2003-01-31 Thread Jeffrey_N_Dyke
sorry i don't speak (spanish?)...but this means you have sent information to the browser before the header() function call. even a space at the top of the page, before the opening ?php tag will cause this. hth jeff

[PHP-DB] warnings

2003-01-31 Thread Miguel Brás
Hi, to Jeffrey: it's portuguese, anyway he is asking what he can do in order to not receive that message. to Rui: se estás a usar header(), deverás usar antes de enviares qualquer informação para o script. Se enviaste alguma info para o script e só depois usas o header(), essa msg vai ser sempre

Re: [PHP-DB] warnings

2003-01-31 Thread Jeffrey_N_Dyke
hello. sorry to have tried to guess at the language. I've received a couple emails, some nicer then others. i had no intention of insulting anyone, i meant no offense. unfortunately i could not read his statement but knew his issue, luckily he is smarter then I am, and understood my reply.

[PHP-DB] Re: passing variables through frames

2003-01-31 Thread Matt
It basically just looked something like this: form method='POST' action='url.php?var1=$var1var2=$var2' You just post the variables you want to pass throught the url string. It is pretty simple. Stefan Panayotov [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... And

[PHP-DB] login script

2003-01-31 Thread Matt
Anyone have any suggestions on how to go about creating a solid login script? I have a MySQL database with a field called LoggedIn that is by default NO but I want it to turn to YES when the user logs in, and I want it to turn back to NO when the user either logs out, or a certain amount of time

RE: [PHP-DB] login script

2003-01-31 Thread SELPH,JASON (HP-Richardson,ex1)
try: http://www.hotscripts.com/PHP/Scripts_and_Programs/User_Authentication/ there are loads of pre done scripts you can reference. Cheers Jason -Original Message- From: Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 11:48 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] login

RE: [PHP-DB] login script

2003-01-31 Thread Bruno Pereira
Hi, is like this, i will try to explain my self. I have a sendmail in GNU/linux, and a radiator GNU/Linux with Mysql. I have to give a diferente user for de dialup login and the sendmail, cause i can't or i dont know a way to change the user and pass for the user in the two servers. Like this, the

[PHP-DB] what does % mean?

2003-01-31 Thread Mignon Hunter
Hello list, I am trying to decipher some code written by someone else. In it there is a query: $query = select description from $prodtable where description like '%' or type like '%' group by description; I've seen it used as mathematical modulos, but not sure how it's used here. Thx --

Re: [PHP-DB] what does % mean?

2003-01-31 Thread John Krewson
It's a wildcard Example: I'm looking for the value A1 in a column that has values A1-1, A1-2, A1-3 select count(*) from table where column like '%A1%' will give me a count of three Mignon Hunter wrote: Hello list, I am trying to decipher some code written by someone else. In it there is a

Re: [PHP-DB] what does % mean?

2003-01-31 Thread 1LT John W. Holmes
I am trying to decipher some code written by someone else. In it there is a query: $query = select description from $prodtable where description like '%' or type like '%' group by description; I've seen it used as mathematical modulos, but not sure how it's used here. It is a wildcard,

[PHP-DB] how can I start running a perl cgi from php

2003-01-31 Thread qt
Dear Sirs, I want to run a perl script with a command in my php script. I think include() is not suitable to run perl script. When I use include(), it brings source of the perl script. Would you help me which command is very usefull for that purpose. Best Regards -- PHP Database Mailing

RE: [PHP-DB] how can I start running a perl cgi from php

2003-01-31 Thread John W. Holmes
I want to run a perl script with a command in my php script. I think include() is not suitable to run perl script. When I use include(), it brings source of the perl script. www.php.net/virtual ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy