Hi Terence
Assign ids to multiple select field and then use id attribute of select tag
in JavaScript to access (copy,del etc.) instead of using the name attribute.
Hope this helps.
Cheers
Binay
- Original Message -
From: "Terence" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday,
On Monday 29 Dec 2003 10:24 am, you wrote:
> Hi,
>
> This compilation of your is really excellent.
> Over the last few months i have noticed that
> many posters are cleary sending messages
> without having read your newby guide. IMHO
> whenever that happens all of us on this list
> should suggest
On Sunday 28 December 2003 11:17 pm, Cesar Aracena wrote:
> $fp = fopen("../files/welcome.txt", "a+");
>
Change to
$fp = fopen("../files/welcome.txt", "r");
Use "r" to read, when you use "a" it appends (or adds) to the file
Its also suggested to use the "b" option to so it would look like
$fp =
Dear All,
The only way I know to retrieve all the values from a multiple select field
is to use
the square brackets after the field name ie. user_id[]
The problem however is that when I use a javascript function to transfer the
items
from multiple_select_list1 to multiple_select_list2, I cannot u
Hi,
This compilation of your is really excellent. Over the last few months i
have noticed that many posters are cleary sending messages without
having read your newby guide. IMHO whenever that happens all of us on
this list should suggest that the user should read this message in the
archive
Hello,
I am trying to open my first text file using PHP and my PC almost freezed...
please don't laught. Here's my script:
function welcometext()
{
$fp = fopen("../files/welcome.txt", "a+");
while (!feof($fp, 100))
{
$text = fgets($fp, 100);
echo $text;
}
fclose($fp);
}
What can be wr
Hi,
Monday, December 29, 2003, 9:30:11 AM, you wrote:
MW> Hello!
MW> I'm trying to use mcrypt to encrypt some values (login and password) I have
MW> to pass from one website to another.
You will need to pass the $iv which kinda defeats the object of it, or
use a null one. Here is a class I use
===
This message is for the benefit of new subscribers
and those new to PHP. Please feel free to add
more points and send to the list.
===
1. If you have any queries/problems about PHP try
http://www.php.net/manual/en first
Hello!
I'm trying to use mcrypt to encrypt some values (login and password) I have
to pass from one website to another.
I thook this code from the php.net website as an example:
I put this in the page starting from:
&password=" target="_blank">link
In the destination page (destinationpage.p
Hello,
Wednesday, December 17, 2003, 11:50:52 AM, you wrote:
wmc> Here is what i have i call 2 cookies in the top of my script, now i need to
wmc> call another when another script is called but it keeps givin me the error
wmc> headers already sent,
wmc> now ive seen this done in other scripts but
Here is what i have i call 2 cookies in the top of my script, now i need to
call another when another script is called but it keeps givin me the error
headers already sent,
now ive seen this done in other scripts but wont work for me so please help
me is it in my php.ini or is it just not possible
Unfortunately, creating/editing .htaccess is not an operational requirement.
Thanks anyway.
Chris
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> if you are lucky LimitRequestBody could go into a .htaccess file (not
> sure though been a couple of month
Hi Lab,
I normally use code of the following format, which I think is quite neat:
//Note that you do not need curely brackets in an "if" statement is there is
only one line
if ($_SERVER['REQUEST_METHOD'] == 'POST')
$add = $HTTP_POST_VARS['textbox'];
if ($add == 'Hello')
do something
//
php-general Digest 28 Dec 2003 21:19:11 - Issue 2499
Topics (messages 173394 through 173402):
Re: newbie mysql and php
173394 by: Chris
173395 by: tony
173396 by: tony
Can't upload files > then 400K to MySQL
173397 by: ahmetax
173399 by: Raditha Dissa
Hello, I have only one simple question..
I'm using this method to get the values from the text box:
if(isset($_POST["Submit"]) && $_POST["Submit"]=="Submit")
{
$add = $_POST['textbox'] ;
}
But I don't know how to write the source for this:
If the value from the textbox ($add) is "Hello" t
Hi,
Thanks for replying, sorry for the late replies but was busy with the
holidays.
Will look in to what you guys wrote, dont fully understand it :-p so will
spend some time with it and if I run into any problems will get back to ya.
Cheers,
-Ryan
Basically, have an array of # of days per mo
Hi,
if you are lucky LimitRequestBody could go into a .htaccess file (not
sure though been a couple of months since i last read the manual)
Chris wrote:
It has been my experience that max_file_size does terminate the upload
process if you include it in the form.
But you are right, if it gets t
hi
try this article: http://www.radinks.com/upload/config.php
It's a quick guide on configuring php for large file uploads.
all the best
ahmetax wrote:
Hi,
I have the following PHP code to upload files to a MySQL table.
It works fine, but, I can't upload any files greater then 400K.
What mi
Hello all,
I have been struggling for some time now to develop or find some product
that will allow me to scan documents (I have that part down no problem,
using OMNIPAGE 14.0) and put then into a searchable database with a copy of
it in some form that is readable like a formatted txt file.
I am
Hi,
I have the following PHP code to upload files to a MySQL table.
It works fine, but, I can't upload any files greater then 400K.
What might be the problem?
TIA
ahmet
AxTelSoft-Uploading a file
" method="post">
Send this file:
Explanations :
--
PHP General Mailing L
Hi,
I fixed it, I have not realize that my database was not connected to a user.
so when i logged as prog_tony dealer was not a member of prog_tony so it
could not be found.
thanks for the help
"Tony" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hello
>
> I'm new with php just
the problem i get is that its say no database selected
Anthony
"Chris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It looks like mysql_query is failing, add these two lines to your code,
and
> see what message pops up:
>
> ...
> $dbdo = mysql_query($query,$dbcon
It looks like mysql_query is failing, add these two lines to your code, and
see what message pops up:
...
$dbdo = mysql_query($query,$dbconnect);
if(false === $dbdo) echo mysql_errno(),': ',mysql_error();
else echo 'The query worked, $dbdo value is:',$dbdo;
php-general Digest 28 Dec 2003 07:55:28 - Issue 2498
Topics (messages 173383 through 173393):
Re: How New Is <<--- Begin Message ---
Bingo!
Thanks, everyone! And thanks especially to Andrew! You were right: I needed
the action and method attributes. And then it does increment.
My last ques
Found it!
Just use exit();
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This one should be simple.
>
> I am wondering if there is a simple way in which to stop the processing of
a
> file.
>
> The current example is a program that checks to see if the user is lo
25 matches
Mail list logo