Make sure to parse the input, instead of using $_GET... it's too easy for
hackers to embed stuff...
Shawn McKenzie <[EMAIL PROTECTED]> wrote:
$result = yoursqlfunc("SELECT person FROM sometable WHERE
firstname='$_GET[fn]' AND lastname='$_GET[ln]'");
So if you are using Apache as your webserver you can use mod_rewrite to
rewrite the URL to something else.
So for example, create a rewrite rule to rewrite firstname_lastname to
people.php?fn=firstname&ln=lastname
RewriteRule ^([^-]+)\-([^-]+)\.html$ people.php?fn=$1&ln=$2 [L,NC,NS]
Next, the PH
PHP General,
I have a PHP/MySQL web site where there are profiles for performers at
a comedy show. The profiles are accessed by passing a variable to the
PHP script via URL, which can then look up the right performer data in
the database.
The resulting URL looks like this:
I haven't tried them yet, but I've been tagging all the PHP
frameworks I come across:
http://del.icio.us/rkm28/php+framework
The first one I want to try is PHP on Trax (http://
www.phpontrax.com/). It was used to build the KatrinaHousing.org
site that was used to provide housing for victim
Shawn McKenzie wrote:
I searched on "Zend PHP Framework" because I had seen it
referenced somewhere, however I can just find plans and
objectives and no usable "framework".
It hasn't been released yet. However, there are many components that are
finished, and I think Zend hopes to release a be
Thanks. I searched on "Zend PHP Framework" because I had seen it
referenced somewhere, however I can just find plans and objectives and
no usable "framework".
Thanks!
-Shawn
Zareef Ahmed wrote:
> Hi,
> There are a lot of PHP frameworks like Mojavi, Phrame, php.MVC,
> phpwebtk, Horde.
>
Thanks Rob, that solved the problem for me!
Rob Richards wrote:
Kenneth Andresen wrote:
I am having problems with the following functions where my return
simply is "#text Joe #text Smith #text unknown", it should have read
firstname Joe lastname Smith address unknown
What am I doing wrong?
Hi,
There are a lot of PHP frameworks like Mojavi, Phrame, php.MVC,
phpwebtk, Horde.
My choice is Mojavi.
BTW Zend is also doing some great work on it.
Zareef Ahmed
- Original Message -
From: "Shawn McKenzie" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 23, 2005 2:57 PM
S
Is there a good recent article on PHP Frameworks, or do people here has
a predominant one that outshines the others?
I'm looking for something that is easy to use, fast and stable.
Thanks!
-Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
John Nichel wrote:
Okay, maybe it's just the fact that I'm concentration on getting out of
here for the holidays more than I am on my work, but I'm pulling my hair
out. Say I have a string -
Now, is the time; for all good men! to come to the aide? of their
What I want to do is drop everythin
John Nichel wrote:
Okay, maybe it's just the fact that I'm concentration on getting out of
here for the holidays more than I am on my work, but I'm pulling my hair
out. Say I have a string -
Now, is the time; for all good men! to come to the aide? of their
What I want to do is drop everythin
Jochem Maas wrote:
...
Jochem's correct. I was in too big a hurry trying to help. It was
you don't mind if I forward that to my girlfriend? ;-) (the bit about me
being correct)
obvious that Anders was not getting much useful help. His points 3 and 4
the lack of help is due to the
Okay, maybe it's just the fact that I'm concentration on getting out of
here for the holidays more than I am on my work, but I'm pulling my hair
out. Say I have a string -
Now, is the time; for all good men! to come to the aide? of their
What I want to do is drop everything after (and includi
...
Jochem's correct. I was in too big a hurry trying to help. It was
you don't mind if I forward that to my girlfriend? ;-) (the bit about me being
correct)
obvious that Anders was not getting much useful help. His points 3 and 4
the lack of help is due to the fact that the problem
Jochem Maas wrote:
Al wrote:
I didn't fully test this; but it should get you started.
fully? more like not at all.
point 1:
"%.+%i";
^-- double quotes are not escaped == parse error
point 2:
"%.+%i";
^-- this will inject the string 'Array' into the regexp
strin
Al wrote:
I didn't fully test this; but it should get you started.
fully? more like not at all.
point 1:
"%.+%i";
^-- double quotes are not escaped == parse error
point 2:
"%.+%i";
^-- this will inject the string 'Array' into the regexp
string
po
David Hall wrote:
> Albert wrote:
>
> > same server at the same time. Don't know where to change it in Mozilla.
> >
> >
>
> type about:config in browser window
> network.http.max-persistent-connections-per-server in the line
> the default value is 2, so I think that's our answer
Yes it resolved
Albert wrote:
same server at the same time. Don't know where to change it in Mozilla.
type about:config in browser window
network.http.max-persistent-connections-per-server in the line
the default value is 2, so I think that's our answer
David Hall
--
PHP General Mailing List (http://www.p
Ron Rudman wrote:
> The log makes it look like *all* the frames are held back. Seems like the
> request is logged when it completes, so the logging process can't show us
> whether the client held back frame 3 or frame 3 was put on hold by the
> server.
I checked my logs and it seems the same. But
I tried quite a few tests. Each time, the frameset logged immediately, then
4-5 seconds later came the rest. Examples:
192.168.1.1 - - [23/Dec/2005:07:09:18 -0500] "GET /vsg/test.php HTTP/1.1"
200 167
192.168.1.1 - - [23/Dec/2005:07:09:23 -0500] "GET /vsg/test1.php HTTP/1.1"
200 0
192.168.1.1 -
> On 12/22/05, Ron Rudman <[EMAIL PROTECTED]> wrote:
>
>>I've got this down to a bare bones test but am still stumped. Can anyone
>>explain why I get the behavior I do?
>>
>>I have a frameset with 3 frames:
>>
>>testing
>>
>>
>>
>>
>>
>>
>>
>>test1.php and test2.php are both simply:
Kenneth Andresen wrote:
I am having problems with the following functions where my return simply
is "#text Joe #text Smith #text unknown", it should have read
firstname Joe lastname Smith address unknown
What am I doing wrong?
You're trying to access the name of the Text node which is always
PHP Superman wrote:
I'm taking a wild guess here, maybe the browser insists on waiting for some
content but it's maximum content wait time is 5 seconds, the browser could
detect the connection to the server is still open and wait for 5 seconds or
another time
to get an idea of what the browser
Mike Rondeau wrote:
I am still a newbie, but I am suprised that it effects browers at all, since it
returns
pure HTML to the browser, right? Something so simple as echoing a "hello world"
shouldn't cause trouble in so popular a browser as Netscape I would think...
* Netscape is not supor
Sweet. Thanks!
The {'..'} works perfectly. Never knew about that syntax.
-Charlie
Jochem Maas wrote:
Charlie Davis wrote:
Hey all, I've run into a snag trying to use some XML output from NOAA.
what NOAA when its at home?
The problem is that some of the fields it sends to me have a hyph
Charlie Davis wrote:
Hey all, I've run into a snag trying to use some XML output from NOAA.
what NOAA when its at home?
The problem is that some of the fields it sends to me have a hyphen in
the name. Simple XML then creates objects with hyphens in their name.
So here's the object I am ha
Hey all, I've run into a snag trying to use some XML output from NOAA.
The problem is that some of the fields it sends to me have a hyphen in
the name. Simple XML then creates objects with hyphens in their name.
So here's the object I am having issues with:
object(SimpleXMLElement)#7 (2) {
27 matches
Mail list logo