On Sun, 2005-12-11 at 02:03, The.Rock wrote:
> Rob, I thought I had tried everything, except...the following:
>
> $item = $_POST["item$i"]; //Where $i increments and loops thru my POST
> vars...WOHOO!
>
> This actually works. Why it works, I'll never know. but it does!
*lol* It's semantically t
Rob, I thought I had tried everything, except...the following:
$item = $_POST["item$i"]; //Where $i increments and loops thru my POST
vars...WOHOO!
This actually works. Why it works, I'll never know. but it does!
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On
Rob, I thought I had tried everything, except...the following:
$item = $_POST["item$i"]; //Where $i increments and loops thru my POST
vars...WOHOO!
This actually works. Why it works, I'll never know. but it does!
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On
Rob, I thought I had tried everything, except...the following:
$item = $_POST["item$i"]; //Where $i increments and loops thru my POST
vars...WOHOO!
This actually works. Why it works, I'll never know. but it does!
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
On Sun, 2005-12-11 at 01:15, The.Rock wrote:
> I tried that, and every combination thereafter. All I get is the following:
>
> "PHP Parse error: parse error, unexpected"
>
> I tried!
Hmmm, the following works for me verbatim in a shell script... make sure
you don't include the opening and closin
On Sun, 2005-12-11 at 00:41, Robert Cummings wrote:
> On Sun, 2005-12-11 at 00:27, The.Rock wrote:
> > Here is an example of one of the fields:
> >
> >
> > I'm looping thru this form several times, so each time the name gets
> > incremented. Do you have an example of what your talking about?
Ooo
I tried that, and every combination thereafter. All I get is the following:
"PHP Parse error: parse error, unexpected"
I tried!
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sun, 2005-12-11 at 00:27, The.Rock wrote:
>> Here is an example of one of the fields
Stephen,
I'm using a template and so:
becomes:
and so on.
But when I need to get the post data, I cannot access in the way I'm used to
like:
$var1 = $_POST['item1'];
$var2 = $_POST['item2'];
If its in an array, how do I loop thru a POST array?
"Stephen Johnson" <[EMAIL PROTECTE
On Sun, 2005-12-11 at 00:27, The.Rock wrote:
> Here is an example of one of the fields:
>
>
> I'm looping thru this form several times, so each time the name gets
> incremented. Do you have an example of what your talking about?
Cheers,
Rob.
--
.---
Here is an example of one of the fields:
I'm looping thru this form several times, so each time the name gets
incremented. Do you have an example of what your talking about?
"Stephen Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 12/10/05 9:06 PM, "The.Rock" <[EMAIL P
I would do this instead
Increment the $var with the {number} that you are using.
In the following PHP page
You would do
$var = $_POST['item'];
$var would then be an array accessed the same way you would access it
normally.
Does that make sense.?
On 12/10/05 9:27 PM, "The.Rock" <[EMAIL PRO
Here is an example of one of the fields:
I'm looping thru this form several times, so each time the name gets
incremented. Do you have an example of what your talking about?
"Stephen Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 12/10/05 9:06 PM, "The.Rock" <[EMAIL P
Here is an example of one of the fields:
I'm looping thru this form several times, so each time the name gets
incremented. Do you have an example of what your talking about?
"Stephen Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 12/10/05 9:06 PM, "The.Rock" <[EMAIL P
Here is an example of one of the fields:
I'm looping thru this form several times, so each time the name gets
incremented. Do you have an example of what your talking about?
"Stephen Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 12/10/05 9:06 PM, "The.Rock" <[EMAIL P
On 12/10/05 9:06 PM, "The.Rock" <[EMAIL PROTECTED]> wrote:
> Is there a way to do this?
>
> $var = $_POST["$var"];
>
> I have a form that submits data, except the name of each input field is
> incrementing. So I need to increment the $_POST var. Any ideas?
>
> I can't seem to get anything to wor
Is there a way to do this?
$var = $_POST["$var"];
I have a form that submits data, except the name of each input field is
incrementing. So I need to increment the $_POST var. Any ideas?
I can't seem to get anything to work
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Got it fixed now... tnx...
-Original Message-
From: Ben Blay [mailto:[EMAIL PROTECTED]
Sent: Friday, December 09, 2005 9:46 AM
To: Mark Steudel
Cc: php-general@lists.php.net
Subject: Re: [PHP] broken code
I believe the difference between using =& and = is that the former
passes the
kumar kumar wrote:
Hi
i am sending encrypted data(AES-CBC) every large
files to the php pages as streams, in php i am
decrypting the data .
The code is working fine for the filesize less than
12MB each (if 30files each of 12 Mb total = 360 Mb)
its working file .
If i am trying to upload a fil
Marlin Unruh wrote:
Sure, here is the main function and the function that sends the
files/links to the browser. This works fine on two w2k machines, but not
on our XP machine. If I place the mouse pointer over the link on the web
page it shows correct in the IE status bar. Example:(
file:///c:
hello,
I just found out why one reason for a meta refresh is a bad idea, it does
exactly that, it refreshes the page every 3 or 2 or 0 seconds which
basically is constant..so maybe the header idea is better in this case.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I'm writing a content management application which saves file paths in a
database and allows users to search the database for those files. Problem I'm
having is that although the PHP script that handles the database queries
works fine, when the search results get to the browser, all the paths ar
Sure, here is the main function and the function that sends the
files/links to the browser. This works fine on two w2k machines, but not
on our XP machine. If I place the mouse pointer over the link on the web
page it shows correct in the IE status bar. Example:(
file:///c:/suncosys/act/2d/file
Would it be possible to see your code for this? I have had similar problems
within firefox but never within IE.
Regards,
David
Marlin Unruh <[EMAIL PROTECTED]> wrote: I apologize because I posted this
question earlier under Re: [PHP] href
difference between OS's, and am still struggl
well i learned once again, or maybe it is a new commandment for me: "thou
shalt not code after midnight" lol because the blank page after the
refresh was a really stupid blunder on my part. it seems like I was
trying to use $type as a variable but it was refreshing/redirecting to
the same pag
Hi
i am sending encrypted data(AES-CBC) every large
files to the php pages as streams, in php i am
decrypting the data .
The code is working fine for the filesize less than
12MB each (if 30files each of 12 Mb total = 360 Mb)
its working file .
If i am trying to upload a file greater than 15 mb
I'm writing a content management application which saves file paths
in a database and allows users to search the database for those
files. Problem I'm having is that although the PHP script that
handles the database queries works fine, when the search results get
to the browser, all the pat
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Zareef Ahmed" <[EMAIL PROTECTED]>
Cc: "Aaron Koning" <[EMAIL PROTECTED]>; "PHP-General"
Sent: Saturday, December 10, 2005 11:40 AM
Subject: Re: [PHP] simple-ish question but something i never knew
> On Sat, 2005-12-1
On Sat, 2005-12-10 at 11:08, Zareef Ahmed wrote:
>
> Yes indeed, but normally people do not know about this.
> Alternatively we can reverse the script, I mean, we can write the header
> line as first line of script.
Maybe so, but if you don't know to plug the power saw in, you're not
going to get
On Sat, 2005-12-10 at 11:25, mail wrote:
>
> xml_set_element_handler($parser, "xml_start_element", "xml_stop_element");
> //can't find function
use array notation for object method handlers:
xml_set_element_handler
(
$parser,
array( $this, 'xml_start_element' ),
array( $this, 'xml_st
I apologize because I posted this question earlier under Re: [PHP] href
difference between OS's, and am still struggling with the problem. I
think I have fished all the way around the lake, with no results.
I cannot get href links to local files to work on an XP machine. The
exact script that
Hi!
I've been playing around a bit with the XML parser in PHP, but I couldn't
figure out, how to get it object oriented.
I would like to do something like this:
class MyParser {
private function xml_start_element(...) {
}
private function xml-stop_element(...) {
}
public function parse() {
[
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Zareef Ahmed" <[EMAIL PROTECTED]>
Cc: "Aaron Koning" <[EMAIL PROTECTED]>; "PHP-General"
Sent: Saturday, December 10, 2005 11:03 AM
Subject: Re: [PHP] simple-ish question but something i never knew
> On Sat, 2005-12-10
On Sat, 2005-12-10 at 10:45, Zareef Ahmed wrote:
> - Original Message -
> From: "Robert Cummings" <[EMAIL PROTECTED]>
> To: "Aaron Koning" <[EMAIL PROTECTED]>
> Cc: "PHP-General"
> Sent: Saturday, December 10, 2005 3:07 AM
> Subject: Re: [PHP] simple-ish question but something i never kne
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Aaron Koning" <[EMAIL PROTECTED]>
Cc: "PHP-General"
Sent: Saturday, December 10, 2005 3:07 AM
Subject: Re: [PHP] simple-ish question but something i never knew
> On Sat, 2005-12-10 at 03:01, Aaron Koning wrote:
> >
On Dec 10, 2005, at 7:43 AM, Leonard Burton wrote:
That is one thing I notice is convieniently left out of the
tutorials. If they don't know about ctl+ why would I waste time
reading their tutorial? When I come across a tutorial on replacing
tables with CSS I look to see if it mentions the us
Since we are talking CSS and Tables one of the first things I do when
I come across a site that is blatantly using CSS is to resize the
text. I find that in about 80% of the cases the pages are not
designed to handle resizing the text, which is a big pain.
This is why I tend to stay with tables i
Johny John wrote:
> How to pass an array (from php ) to java script
http://www.json.org/ is a good choice.
PHP implementations include http://mike.teczno.com/json.html and
http://www.aurore.net/projects/php-json/
> and display it using javascript?...
That depends on how you
hello again,
I tried the meta tag stuff and well where i had it it didn't redirect or
refresh, it just litterally echo'd the meta stuff so maybe i read the
manual page wrong but it either does that, or presents me with a blank
page and i know the pages i have it go to aren't blank :p so i guess
On Sat, 2005-12-10 at 03:01, Aaron Koning wrote:
> My experience was with the Location keyword, it might work better with the
> Redirect keyword in the header function. I stopped using header and Location
> after a few problems and has never failed for me. MHO.
What kind of problems did you have?
On Sat, 2005-12-10 at 02:55, Michael Hulse wrote:
> On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote:
> > Its been my experience that meta tags work better.
>
> header("Refresh: 0; URL=https://www.theNewUrl/forward.html";);
I didn't know you could do that *lol*. Either way, I think the example I
ga
My experience was with the Location keyword, it might work better with the
Redirect keyword in the header function. I stopped using header and Location
after a few problems and has never failed for me. MHO.
Aaron
On 12/9/05, Michael Hulse <[EMAIL PROTECTED]> wrote:
>
> On Dec 9, 2005, at 11:35 P
41 matches
Mail list logo