Re: [PHP] How is this possible???? (addslashes)

2011-02-17 Thread Paul S
On Thu, 17 Feb 2011 07:50:45 +0700, Daniel Brown paras...@gmail.com wrote: No offense, but are you kidding me? The host disables phpinfo() for security reasons, but keeps 4.4.4 running? Talk about running, Paul run away from them. Fast. AND they have a condition (this reported)

[PHP] How is this possible???? (addslashes)

2011-02-16 Thread Paul S
Can anyone please tell me how the addslashes output (note = Everyone''s a card on the \earth) in the following example is possible. It is addslashes output but this result is consistent with the output from post when runtime is set: 1): a single quote is inserted before a single quote and nothing

Re: [PHP] How is this possible???? (addslashes)

2011-02-16 Thread Daniel Brown
On Feb 16, 2011 7:07 PM, Paul S pau...@roadrunner.com wrote: Can anyone please tell me how the addslashes output (note = Everyone''s a card on the \earth) in the following example is possible. It is addslashes output but this result is consistent with the output from post when runtime is set:

[PHP] How is this possible?

2009-10-28 Thread tedd
Hi gang: I am reviewing some old code (circa 2003) where the programmer had one script call another and placed variable values in the URL, like so: a href=user_edit.php?user_id=5223action=edit That seems innocent enough. However, in the called script (i.e., user_edit.php) there are no:

Re: [PHP] How is this possible?

2009-10-28 Thread David Otton
2009/10/28 tedd t...@sperling.com: Hi gang: http://php.net/manual/en/security.globals.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How is this possible?

2009-10-28 Thread Adam Randall
I don't do this personally, but you can probably get your script working by doing something like this: foreach( $_GET as $k = $v ) $$k = $v; You would put that at the top of your page, but be aware that it allows other people to set variables on your page (just like register globals does). If

Re: [PHP] How is this possible?

2009-10-28 Thread Andrew Ballard
On Wed, Oct 28, 2009 at 1:27 PM, tedd t...@sperling.com wrote: Hi gang: I am reviewing some old code (circa 2003) where the programmer had one script call another and placed variable values in the URL, like so:    a href=user_edit.php?user_id=5223action=edit That seems innocent enough.

Re: [PHP] How is this possible?

2009-10-28 Thread Ashley Sheridan
On Wed, 2009-10-28 at 13:47 -0400, Andrew Ballard wrote: On Wed, Oct 28, 2009 at 1:27 PM, tedd t...@sperling.com wrote: Hi gang: I am reviewing some old code (circa 2003) where the programmer had one script call another and placed variable values in the URL, like so: a

Re: [PHP] How is this possible? [Solved]

2009-10-28 Thread tedd
To all: I found the problem, which basically was that I had declared a variable in a preceding script with the same name, namely $user_id. When I changed my script to $u_id, everything worked as before. Clearly, Globals are evil. It's a bitch to have to work with code you can't change

RE: [PHP] How is this possible? [Solved]

2009-10-28 Thread Bob McConnell
From: tedd I found the problem, which basically was that I had declared a variable in a preceding script with the same name, namely $user_id. When I changed my script to $u_id, everything worked as before. Clearly, Globals are evil. It's a bitch to have to work with code you can't

Re: [PHP] How is this possible? [Solved]

2009-10-28 Thread Robert Cummings
Bob McConnell wrote: From: tedd I found the problem, which basically was that I had declared a variable in a preceding script with the same name, namely $user_id. When I changed my script to $u_id, everything worked as before. Clearly, Globals are evil. It's a bitch to have to work with

Re: [PHP] How is this possible? [Solved]

2009-10-28 Thread tedd
At 2:48 PM -0400 10/28/09, Robert Cummings wrote: Bob McConnell wrote: From: tedd I found the problem, which basically was that I had declared a variable in a preceding script with the same name, namely $user_id. When I changed my script to $u_id, everything worked as before. Clearly,

Re: [PHP] How is this possible? [Solved]

2009-10-28 Thread Jim Lucas
tedd wrote: At 2:48 PM -0400 10/28/09, Robert Cummings wrote: Bob McConnell wrote: From: tedd I found the problem, which basically was that I had declared a variable in a preceding script with the same name, namely $user_id. When I changed my script to $u_id, everything worked as before.

[PHP] How is this possible?

2003-07-27 Thread Ryan A
Hi, I am trying to get my data into a very similar layout as this: http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3=605 see the table with the plans...how is he getting that in one table? what kind of logic is that? the best I can do is for each column I have to use another

Re: [PHP] How is this possible?

2003-07-27 Thread Robert Cummings
ASP merely outputs HTML. His table is basic HTML dynamically rendered perhaps by an ASP component. This is also trivial to do in PHP. Cheers, Rob. On Sun, 2003-07-27 at 18:38, Ryan A wrote: Hi, I am trying to get my data into a very similar layout as this:

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Hi, I am trying to get my data into a very similar layout as this: http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3=605 see the table with the plans...how is he getting that in one table? what kind of logic is that? the best I can do

Re: [PHP] How is this possible?

2003-07-27 Thread Ryan A
Hi, Thanks for replying. You say: Nothing special html wise. then can you tell me how its done? The content is dynamic being pulled from the database..how do i get it in one table in that layout? There are different ways you can do this it could help to know what kind of data structure you

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Hi, Thanks for replying. You say: Nothing special html wise. then can you tell me how its done? The content is dynamic being pulled from the database..how do i get it in one table in that layout? There are different ways you can do this it

Re: [PHP] How is this possible?

2003-07-27 Thread skate
You say: Nothing special html wise. then can you tell me how its done? there's some nice simple CSS behind it to give the nice border and colour changes, but yes, nothing special HTML wise. it's a simple table The content is dynamic being pulled from the database..how do i get it in one

Re: [PHP] How is this possible?

2003-07-27 Thread skate
Hi, Thanks for replying. no probs... I have not worked with arrays much other than simple arrays like the $_get or $_post and the database ones...can you give me a another emample on how to do this please? like how to put my db into an array and then call each part sorry, i'm

Re: [PHP] How is this possible?

2003-07-27 Thread Ryan A
Hey, Thanks again. It should take me around an hour or two just to figure out what you wrote...:-D I guess i have to hit the manual quite a bit. Thanks, -Ryan Hi, Thanks for replying. no probs... I have not worked with arrays much other than simple arrays like the $_get or $_post

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Hi, Thanks for replying. You say: Nothing special html wise. then can you tell me how its done? The basic logic is like this: table foreach option_of_hosting_service tr tdname_of_service/td foreach hosting_company_service

[PHP] How to upgrade? possible?(newbie)

2002-08-19 Thread Ryan A
Hi everyone, I have just downloaded the MySql,PHP,Apache triad but notice the version for php is 4.1.1 which is the old version right? How do I upgrade just the PHP in the whole setup to the latest stable version? Kindly reply or point me to where the answer is, I do not want to compile the

[PHP] how is it possible?

2001-07-27 Thread Balaji Ankem
Hi! dearest friends, i am able to connect to mysql server through php program and i am able to do operations on the database like choosing particular database and inserting the data in to table,deletion and modification and all.. But from dos prompt i am able to connect to mysql