Chris you rule !!!
That great from here I'll be abble to go on.
Thanks.
Rodrigo
Ministério Público wrote:
Here it goes: in a certain page there is a dinamicaly generated Option (
one of those boxes from wich you can select a certain thing in a list) I
want to retrieve the content of these options and the values assigned to
each of them.
So if you have:
Test 1
Test 2
Yo
I showed where the problem is and after var_dump all I get is NULL. I just
sent the code cause I thought it would be easier to see it in context, not
to make somebody trawl trough it. If its not an array how to find out what
it is? What can I do about it?
Thanks.
Rodrigo
Here it goes: in a certain page there is a dinamicaly generated Option ( one
of those boxes from wich you can select a certain thing in a list) I want to
retrieve the content of these options and the values assigned to each of
them.
Thanx.
Rodrigo
Ministério Público wrote:
After using the var_dump the only thing I get is NULL, therefore I'll
try something else that I think is more complete for the fellow programmers.
Nobody's going to trawl through all of your code.
Narrow down where the problem is.
--
Postgresql & php tutorials
http:/
Ministério Público wrote:
What I need to know is that if when I fopen() or the other function you
gave me I get the variables that are assigned on the html, such as the
option for example, if its name is "test", could I access it retrieving
the value $test ???
No. Those functions will retriev
What I need to know is that if when I fopen() or the other function you gave
me I get the variables that are assigned on the html, such as the option for
example, if its name is "test", could I access it retrieving the value $test
???
cause I really need to do it and I cant seem to know where to
Ministério Público wrote:
Hi guys I'm getting the following error and I cant seem to understand what
Im doing wrong, if someone could help me I'd apreciate it.
Here is the error message I get in some fileds of the output on the
browser:
*Warning*: Invalid argument supplied for foreach() in *
Hi guys I'm getting the following error and I cant seem to understand what
Im doing wrong, if someone could help me I'd apreciate it.
Here is the error message I get in some fileds of the output on the browser:
*Warning*: Invalid argument supplied for foreach() in *
c:\apache\htdocs\pobs\pobs.ph
Hi,
In this case I usually creating Iframe with zero with and zero height
and using
your "header" code in the iframe sorce file.
DS
-Original Message-
From: Matthew Pegg [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 7:59 AM
To: php-general@lists.php.net
Subject: [PHP] PHP/Mysql
Hi all,
Working on a PHP script at the moment where I want to be able to
extract a file (PDF file) from a mysql database and force the popup
of the File Download dialog, to allow the user to either save or open
the document (ie. and bypass loading the file using the browser's plugin)
I've found
Robert Cummings wrote:
On Thu, 2006-06-01 at 19:14, Jochem Maas wrote:
Robert Cummings wrote:
Ahh yes, I do like the elegance of prototypes too. They're a different
kind of beast, but a very flexible one.
the more I get in it the pretty it gets - javascript doesn't just give you a
revolver to
Robert Cummings wrote:
Well there "was" a segfault, but that's fixed now, now the warning is
thrown because of some purist attitude that says it's incorrect to pass
a literal to a reference expecting parameter... I can see how that's an
issue in C with pointers, or in a strongly type language li
Awesome, thank you so much! It works!
On 6/1/06, Chris <[EMAIL PROTECTED]> wrote:
George Babichev wrote:
> Ok, I sent it to everyone and you. Now can you answer my question
please?
> I type in
> 1
>
>
>
> 2
> into my form in the program that i made, then when I view it, it shows
> 1 2
> BUT if
Chris wrote:
George Babichev wrote:
Hello everyone, I am programming a blog, and most of it is done, except I
have one issue. When I am typing in the form (before I click submit) and I
click the neter key to make a space, the MySQL database does not recognize
that space. How do I make it reco
George Babichev wrote:
Ok, I sent it to everyone and you. Now can you answer my question please?
I type in
1
2
into my form in the program that i made, then when I view it, it shows
1 2
BUT if I check it in PHP My Admin it displays
1
2
The answer is to change this:
http://www.designmagic
Ok, I sent it to everyone and you. Now can you answer my question please?
I type in
1
2
into my form in the program that i made, then when I view it, it shows
1 2
BUT if I check it in PHP My Admin it displays
1
2
So why is my program not showing those spaces?
On 6/1/06, Chris <[EMAIL PROT
George Babichev wrote:
Ok. well I looked more deeply into the issue, and I noticed that PHP My
Admin does recognize that there are spaces. So if I click edit on PMA,
it displays everything exactly liked I typed it. So why does my program
not display it? This is the code I use
Then you're not
George Babichev wrote:
Hello everyone, I am programming a blog, and most of it is done, except I
have one issue. When I am typing in the form (before I click submit) and I
click the neter key to make a space, the MySQL database does not recognize
that space. How do I make it recognize it?
Unles
Ministério Público wrote:
Hi guys I'm in a predictament, this is why:
How can I retrieve the content of some of the html code in an url. Its
something like this, there is a URL that have an OPTION that shows a "x"
number of options and it has a name "y", how can I access this html output
retriev
Aaron Todd wrote:
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is sub
Hello everyone, I am programming a blog, and most of it is done, except I
have one issue. When I am typing in the form (before I click submit) and I
click the neter key to make a space, the MySQL database does not recognize
that space. How do I make it recognize it?
At 9:46 AM +1000 6/2/06, Richard Luckhurst wrote:
>Hi All
>
>I am in the process of cleaning up an application that was left half finished.
>I
>am fairly new to PHP so I am seeking the wisdom of the community to help with a
>little problem.
>
>In many cases I need to build command strings to be se
Hi All
I am in the process of cleaning up an application that was left half finished. I
am fairly new to PHP so I am seeking the wisdom of the community to help with a
little problem.
In many cases I need to build command strings to be sent to a backend system.
The strings have to contain a coupl
On Thu, 2006-06-01 at 19:14, Jochem Maas wrote:
> Robert Cummings wrote:
>
> > Ahh yes, I do like the elegance of prototypes too. They're a different
> > kind of beast, but a very flexible one.
>
> the more I get in it the pretty it gets - javascript doesn't just give you a
> revolver to shoot you
Robert Cummings wrote:
On Thu, 2006-06-01 at 17:43, Jochem Maas wrote:
...
Other than basic inheritance and the namespace features provided by
classes, I don't see much else that is critically useful. There's was a
strange push for all kinds of advanced OO features in PHP5 and somehow
th
On Thu, 2006-06-01 at 17:43, Jochem Maas wrote:
> Robert Cummings wrote:
> > On Thu, 2006-06-01 at 15:01, John Meyer wrote:
> >
> >>John Nichel wrote:
> >>
> >>
> >>>Do what I do, and don't do OO. ;)
>
> there an 'oo baby' joke in there somewhere :-)
>
> >>>
> >>
> >>In other words, do what wor
Hi guys I'm in a predictament, this is why:
How can I retrieve the content of some of the html code in an url. Its
something like this, there is a URL that have an OPTION that shows a "x"
number of options and it has a name "y", how can I access this html output
retrieve the options and name of t
Richard Lynch wrote:
On Thu, June 1, 2006 3:52 am, Kevin Waterson wrote:
This one time, at band camp, "D. Dante Lorenso" <[EMAIL PROTECTED]>
wrote:
Is SPL meant to be used? If so, is it experimental? Is it
documented?
Should I stay away from SPL for production code? What's the
official wo
Jay Blanchard wrote:
[snip]
RANT
[/snip]
ROFLMMFAO! You have never programmed in C++ have you?
er no - I have this C++ book on my shelf that I keep avoiding though :-P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
On Thu, 2006-06-01 at 15:01, John Meyer wrote:
John Nichel wrote:
Do what I do, and don't do OO. ;)
there an 'oo baby' joke in there somewhere :-)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignor
Open up a DOS shell and try to start Apache by hand.
On Thu, June 1, 2006 7:42 am, Ilja Polivanovas wrote:
> Hello,
>
> maybe someone know what can be the problem and how to solve it. It
> appears
> on startup of Apache, WinXP.
> Apache doesn't start.
>
> --
> Using Opera's revolutionary e-mail
On Thu, June 1, 2006 1:18 am, tedd wrote:
> However, the app isn't reference or linked anywhere on the site, but
> it still occasionally runs all by itself.
>
> My question is -- what's triggering it?
Bad Guys are probably trying to poke at your site, finding URLs at
random, regardless of links, t
On Thu, June 1, 2006 3:52 am, Kevin Waterson wrote:
> This one time, at band camp, "D. Dante Lorenso" <[EMAIL PROTECTED]>
> wrote:
>
>> Is SPL meant to be used? If so, is it experimental? Is it
>> documented?
>> Should I stay away from SPL for production code? What's the
>> official word?
>
> Of
On Thu, June 1, 2006 4:56 am, Merlin wrote:
>>> ^(.*)_a[0-9](.*).htm$
Don't know what it will help, but you need \\.htm in PHP to get \.htm
in PCRE to escape the . in the extension.
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Ray,
Interestingly, I don't' allow special characters in File Names for files
being uploaded to the File Manager. So that problem won't occur.
Thanks.
On 6/1/06 4:23 PM, "Ray Hauge" <[EMAIL PROTECTED]> wrote:
> On Thursday 01 June 2006 13:15, Rahul S. Johari wrote:
>
> Tad different, but that
If you have already visited the page, and chosen another option,
Firefox "remembers" your choice for you.
Quit Firefox and start over, and it should "work"
On Thu, June 1, 2006 1:53 pm, Martin Marques wrote:
> Sorry for the OT, but this is PHP output anyway :-)
>
> I have a bunch of code to input
On Thursday 01 June 2006 13:15, Rahul S. Johari wrote:
> Ave,
>
> I spent 3 hours trying to find or develop a solution for this problem...
> And believe it or not, within 3 minutes of sending the problem to the
> mailing list, I actually generated a solution!! Ray, you’re spot on with
> what’s actu
Ave,
I spent 3 hours trying to find or develop a solution for this problem... And
believe it or not, within 3 minutes of sending the problem to the mailing
list, I actually generated a solution!! Ray, you’re spot on with what’s
actually happening, but this is what I did to resolve it...
Here’s m
On Thursday 01 June 2006 12:58, Rahul S. Johari wrote:
> Ave,
>
> I¹m stuck on a problem here.
> I have a file manager kind of application and I¹m trying to add the
> functionality to delete multiple files.
>
> Basically, there¹s a bunch of rows generated dynamically. Each row has a
> checkbox for
Ave,
I¹m stuck on a problem here.
I have a file manager kind of application and I¹m trying to add the
functionality to delete multiple files.
Basically, there¹s a bunch of rows generated dynamically. Each row has a
checkbox for ³Delete² option, and a hidden field which contains the name of
the Fi
On Thu, 01 Jun 2006 13:06:24 -0600, John Meyer <[EMAIL PROTECTED]> wrote:
> Martin Marques wrote:
>> doesn't seem to get it right. Here is the HTML output:
>>
>>
>> Profesor titular
>> Profesor asociado
>> Profesor adjunto
>> Jefe de trabajos pracáá½ticos
>> Ayudante de cat½edra
>> Ayudante a
On Thu, 2006-06-01 at 15:01, John Meyer wrote:
> John Nichel wrote:
>
> >
> > Do what I do, and don't do OO. ;)
> >
>
> In other words, do what works, realizing that 99 percent of the time
> that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
Other than basic inheritan
John Meyer wrote:
John Nichel wrote:
Do what I do, and don't do OO. ;)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
Actually, the company I work for operates multiple sites which all sha
On 01/06/06, John Meyer <[EMAIL PROTECTED]> wrote:
Martin Marques wrote:
> Sorry for the OT, but this is PHP output anyway :-)
>
> I have a bunch of code to input and modify data through an HTML form.
> When I modify the options, some are in text, others
> in textarea, and some are in select opt
Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form.
When I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the select
John Nichel wrote:
Do what I do, and don't do OO. ;)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form. When
I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the selected one, but my browser
Jochem Maas wrote:
I get this sometimes, it often means I have overlooked something:
Fatal error: Access to undeclared static property:
AreaAgendaItem::$extraFields
EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to
use OO then
all of a sudden the OO nuthouse runs out
Merlin wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a hint why the regex also
[snip]
RANT
[/snip]
ROFLMMFAO! You have never programmed in C++ have you?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 4:01 PM +0200 6/1/06, Jochem Maas wrote:
>I get this sometimes, it often means I have overlooked something:
>
> Fatal error: Access to undeclared static property:
> AreaAgendaItem::$extraFields
>
>EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to use OO
>then
>all of
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is submitted it sends an e
I get this sometimes, it often means I have overlooked something:
Fatal error: Access to undeclared static property:
AreaAgendaItem::$extraFields
EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to use OO
then
all of a sudden the OO nuthouse runs out to put a straight
On 6/1/06, Aaron Todd <[EMAIL PROTECTED]> wrote:
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of the messages get to the destination. I wrote a
At 12:55 PM +0100 6/1/06, André Medeiros wrote:
>When sending it, do this
>
>$server_array = print_r($_SERVER, true);
>
>and use the $server_array variable to obtain some info regarding the
>client that's causing the requests.
Thank you -- that was a most excellent idea.
tedd
--
Ilja Polivanovas wrote:
Hello,
maybe someone know what can be the problem and how to solve it. It
appears on startup of Apache, WinXP.
Apache doesn't start.
fron a quick google I would hazard a guess that your install is f***ed
due to an earlier apache/php installation.
either that or cert
Hello,
maybe someone know what can be the problem and how to solve it. It appears
on startup of Apache, WinXP.
Apache doesn't start.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
At 4:56 PM +1000 6/1/06, Chris wrote:
>If you can, check your apache access logs and that will tell you the ip of the
>person who accessed that page.. will give you a starting point anyway.
Thanks -- have done, see below.
At 8:59 AM +0200 6/1/06, nicolas figaro wrote:
>>However, the app isn't re
Here's what you can do:
Have a timestamp of the last e-mail stored on a file. If time() - that
timestamp < 600 (10 minutes) then don't send the e-mail.
When sending it, do this
$server_array = print_r($_SERVER, true);
and use the $server_array variable to obtain some info regarding the
client
Robin Vickery schrieb:
On 01/06/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm
On 01/06/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
[snip]
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a hint why the regex also is true fo
Dave Goodchild schrieb:
On 01/06/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.h
On 01/06/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody giv
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for "test_a9393.htm", but not for "9393.htm" as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a hint why the regex also is true for tex
This one time, at band camp, "D. Dante Lorenso" <[EMAIL PROTECTED]> wrote:
> Is SPL meant to be used? If so, is it experimental? Is it documented?
> Should I stay away from SPL for production code? What's the official word?
Officially SPL is part of PHP. It provides a standard interface for
nicolas figaro wrote:
tedd a écrit :
tedd,
let us know what your logs say.
but it's not a very good idea to let the script run without any control.
you can be quickly flooded by mail from this script if it's
called very often during the week-end.
dude, what's a week-end? wait let me gu
tedd a écrit :
Hi gang:
Hi
I have a question regarding php and security. My apologies beforehand if this
is common knowledge to everyone except me.
I have a php application sitting at root level on one of my servers who's sole
function is to send me an email whenever it's run. So, whenev
70 matches
Mail list logo