[PHP] Unzipping file through PHP

2008-05-22 Thread Suamya Srivastava
Hi, I am writing a code to upload multiple files on the server using PHP. I zipped the folder containing these files, uploaded the zipped file through my application on the server. Now,I am trying to unzip the .zip file using PHP. I tried it in different ways using: 1. `unzip filename.zip` 2. syst

Re: [PHP] Sending multiple values from a form having same field names.

2008-03-19 Thread Suamya Srivastava
>>> 2008. 03. 14, péntek keltezéssel 14.08-kor Suamya Srivastava ezt >>> írta: >>> >>>> Hi, >>> > >>> > How can I send multiple values from a form to be stored in a >>> database, as >>> > name

[PHP] Sending multiple values from a form having same field names.

2008-03-14 Thread Suamya Srivastava
Hi, How can I send multiple values from a form to be stored in a database, as name of the fields is the same? For example: "; } elseif ($datatype=="textarea") { echo ""; } echo ""; } ?> This creates a form with field names and text box or textarea box next t

[PHP] Re: [PHP-DB] Re: [PHP] Passing variables to a PHP script on clicking a hyperlink

2007-08-24 Thread Suamya Srivastava
use cookies. > session.use_cookies = 1 > session variable is saved here if the user have cookies turned off it will > still work if your have trans-sid turn on. > BTW you don't have to use a dropdown radio buttons or tick box will work > as > well > Johan > "&qu

[PHP] Re: [PHP-DB] Re: [PHP] Passing variables to a PHP script on clicking a hyperlink

2007-08-24 Thread Suamya Srivastava
Thank you all for the help. I did not want to use dropdown box..that was the very reason i was wondering if I can pass the variables through a hyperlink. I used $_GET and it worked fine. However, as mentioned in the posts its not advisable to use $_REQUEST. Could you please elaborate on the reason?

[PHP] Passing variables to a PHP script on clicking a hyperlink

2007-08-23 Thread Suamya Srivastava
Hello, How can I pass variables on clicking a hyperlink to a PHP script? I have 5 hyperlinks, all pointing to the same PHP script. However, on clicking each hyperlink a different value of the variable needs to be passed to the PHP script. i.e. I have 5 databases from which I want to obtain inform