Boyd wrote:
-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 2:30 PM
To: php-general@lists.php.net
Subject: Re: [PHP] basic php question...
Richard Heyes [EMAIL PROTECTED] wrote:
users who browse without Javascript
On Tue, 2008-11-04 at 16:15 -0500, Wolf wrote:
Boyd wrote:
-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 2:30 PM
To: php-general@lists.php.net
Subject: Re: [PHP] basic php question...
Richard Heyes [EMAIL
Richard Heyes a écrit :
users who browse without Javascript enabled,
Heretics!
No, paranoid :D
--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do disability browsers support JavaScript?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 05 November 2008 1:20:34 am Yeti wrote:
Do disability browsers support JavaScript?
This is not a PHP question, basic or otherwise.
However, the answer to your question is some do, some don't to varying
degrees, just to keep life interesting.
Search engines, however, do not. So
hi
how do i go about displaying an address which appears on google maps for a
business on a web page.
what are the steps.
if some one knows about this please let me know.
thanks
On Sun, 2008-11-02 at 13:43 +1300, Sudhakar wrote:
hi
how do i go about displaying an address which appears on google maps for a
business on a web page.
what are the steps.
if some one knows about this please let me know.
thanks
Have you actually tried looking at Google's API for
.
have fun!
-Original Message-
From: Sudhakar [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2008 8:49 PM
To: php-general@lists.php.net
Subject: [PHP] question about using sql server with php
i have a question about how to use sql database with php instead of using my
sql database
when
, October 26, 2008 8:49 PM
To: php-general@lists.php.net
Subject: [PHP] question about using sql server with php
i have a question about how to use sql database with php instead of using
my
sql database
when i use my sql database the php code to connect to the my sql database
is
=
$conn
!
-Original Message-
From: Sudhakar [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2008 8:49 PM
To: php-general@lists.php.net
Subject: [PHP] question about using sql server with php
i have a question about how to use sql database with php instead of using
my
sql database
Robbert van Andel wrote:
You also need to make sure that your server has the mysql drivers
installed. A linux server does not come with this support natively.
He's not using mysql, he's using sql server.
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List
on the net, as well as in
the
php.net website.
have fun!
-Original Message-
From: Sudhakar [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2008 8:49 PM
To: php-general@lists.php.net
Subject: [PHP] question about using sql server with php
i have
Sorry, that was a typo. I meant MSSQL.
On Mon, Oct 27, 2008 at 2:12 PM, Chris [EMAIL PROTECTED] wrote:
Robbert van Andel wrote:
You also need to make sure that your server has the mysql drivers
installed. A linux server does not come with this support natively.
He's not using mysql,
i have a question about how to use sql database with php instead of using my
sql database
when i use my sql database the php code to connect to the my sql database is
=
$conn = mysql_connect($hostname, $user, $password);
if(!$conn)
{
echo Unable to connect to Database;
}
else
{
if i have to connect to a sql databse instead of my sql database as some
companies use sql database, how can i change the php code to connect, run a
query and close connection to the sql database.
apart from changing the code to connect to sql database is there something
else i need to do.
Hi,
I want to make sure I completely understand __destruct() and when its hit...
Understand that it will run if all references to a particular object are
removed, but is that also true when a page ends its execution?
Example, I call a database class. It constructs, connects, then my page
pulls
I am trying real hard to write clean code...
Print it out and stick it in the washing machine... :-)
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 7 Oct 2008, at 12:48, Jason Pruim wrote:
On Oct 7, 2008, at 7:41 AM, Stut wrote:
On 7 Oct 2008, at 12:38, Jason Pruim wrote:
I am trying to track down an error and can't seem to figure it
out... Here is the error out of my log:
[Tue Oct 7 07:31:43 2008] [error] PHP Warning: date()
On 7 Oct 2008, at 12:38, Jason Pruim wrote:
I am trying to track down an error and can't seem to figure it
out... Here is the error out of my log:
[Tue Oct 7 07:31:43 2008] [error] PHP Warning: date() expects
parameter 2 to be long, string given in /Volumes/RAIDer/webserver/
At 1:08 PM +0100 10/7/08, Stut wrote:
On 7 Oct 2008, at 12:48, Jason Pruim wrote:
Thanks for the quick response... You were right... I did a var_dump
both on $row['timein'] and $row['timeout'] and the error was
because of the way that I update the records. for time in, I insert
a new record,
On Oct 7, 2008, at 7:41 AM, Stut wrote:
On 7 Oct 2008, at 12:38, Jason Pruim wrote:
I am trying to track down an error and can't seem to figure it
out... Here is the error out of my log:
[Tue Oct 7 07:31:43 2008] [error] PHP Warning: date() expects
parameter 2 to be long, string given
Good morning all!
I am trying to track down an error and can't seem to figure it out...
Here is the error out of my log:
[Tue Oct 7 07:31:43 2008] [error] PHP Warning: date() expects
parameter 2 to be long, string given in /Volumes/RAIDer/webserver/
Documents/dev/stimecard/timecard.php
On Oct 7, 2008, at 7:49 AM, Richard Heyes wrote:
I am trying real hard to write clean code...
Print it out and stick it in the washing machine... :-)
The way I used to write code I'd have to soak it in bleach for a week
before having a chance of it coming out clean! :P
--
Jason Pruim
On Tue, 2008-10-07 at 07:54 -0400, Jason Pruim wrote:
On Oct 7, 2008, at 7:49 AM, Richard Heyes wrote:
I am trying real hard to write clean code...
Print it out and stick it in the washing machine... :-)
The way I used to write code I'd have to soak it in bleach for a week
before
Luckily for me it all still worked afterwards!
The pen drive or the code? :-)
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2008-10-07 at 19:47 +0100, Richard Heyes wrote:
Luckily for me it all still worked afterwards!
The pen drive or the code? :-)
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
Both!
Ash
www.ashleysheridan.co.uk
--
PHP
LKSunny schreef:
Hello,
i want on inner EOF do something, calculate and call function ? can not ? if
yes, how to ?
no you can't, store the results of calculation and function calls in
variables and use them in the HEREDOC statement.
a HEREDOC declaration is just a string declaration like
At 12:48 PM +0800 9/30/08, LKSunny wrote:
Hello,
i want on inner EOF do something, calculate and call function ? can not ? if
yes, how to ?
?
echo EOF
some text
can i calculate on inner EOF ? 10*100 display 1000 ?
can i add function on inner EOF ? date('Y') display 2008 ?
any more text.
Hello,
i want on inner EOF do something, calculate and call function ? can not ? if
yes, how to ?
?
echo EOF
some text
can i calculate on inner EOF ? 10*100 display 1000 ?
can i add function on inner EOF ? date('Y') display 2008 ?
any more text.
EOF;
//i want output is
/*
some text
can
?php
/*
I have a question here regarding object orientation in PHP and any other
language.
Let's start with some hypothetical code:
*/
// --- 1st CLASS
class ParkingLot {
var size; // size in sq feet
var max_number_of_cars; // how many cars there is space for
function __construct($size,
On Fri, 2008-07-11 at 18:03 +0200, Yeti wrote:
?php
/*
I have a question here regarding object orientation in PHP and any other
language.
Let's start with some hypothetical code:
*/
// --- 1st CLASS
class ParkingLot {
var size; // size in sq feet
var max_number_of_cars;
Object-oriented programming, with it's class and object approach,
is meant to model real life more closely than functional programming.
In, a parking space is physically inside a parking lot, but a
parking space is not a subclass of a parking lot. It's not a variation
or mini parking
Corrected code example:
(too early in the morning to think)
?php
class ParkingLot {
var $size;
var $num_spaces;
var $spaces = array();
}
class ParkingSpace {
var $ps_ID;
var $occupied_by;
var $st_time;
}
?
In the above class definition, simply populate the $spaces array
On Fri, Jul 11, 2008 at 12:03 PM, Yeti [EMAIL PROTECTED] wrote:
?php
/*
I have a question here regarding object orientation in PHP and any other
language.
Let's start with some hypothetical code:
*/
// --- 1st CLASS
class ParkingLot {
var size; // size in sq feet
var
-- Forwarded message --
From: Yeti [EMAIL PROTECTED]
Date: Fri, Jul 11, 2008 at 2:08 PM
Subject: Re: [PHP] Question regarding OO
To: Eric Butera [EMAIL PROTECTED]
I understand my error in thinking now.
Apple can't extend Tree.
Oak, Evergreen or Willow extend Tree.
I thank you
[snip]
I understand my error in thinking now.
Apple can't extend Tree.
Oak, Evergreen or Willow extend Tree.
I thank you all for helping me to understand.
[/snip]
By jove, I think he's got it!
Parking space could be a member variable of parking lot, that would make
sense.
--
PHP General
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2008 1:51 PM
To: Eric Butera; php php
Subject: RE: [PHP] Question regarding OO
[snip]
I understand my error in thinking now.
Apple can't extend Tree.
Oak, Evergreen or Willow extend Tree
Hey,
Dude you could use it this way
input type='checkbox' name='something' value='1'
input type='checkbox' name='something' value='2'
input type='checkbox' name='something' value='3'
Once u submit it,
do a small server side validation
if(isset($_POST['something'] || $_POST['something']) != ){
sorry it needs to be a array for checkbox for the example below. So you
could use is_empty() instead. something like that.
input type='checkbox' name='something[]' value='1'
input type='checkbox' name='something[]' value='2'
input type='checkbox' name='something[]' value='3'
On Tue, Jul 8,
Hi everyone!
So it's been a nice long weekend, I come in to work and try and mess
with a project that I'm working on to get some new features added. All
was going well until I realized that now my application is breaking...
Here's the details...
PHP 5.2
MySQL 5.2
I store the info in the
Jason Pruim wrote:
The problem I'm running into though, is when a value has not changed
it doesn't get $_POSTed back
Are you certain about that? I'm pretty certain _all_ values are posted
back, regardless of whether they've changed or not. Otherwise, how
would you ever get a hidden value
Jason Pruim [EMAIL PROTECTED] wrote:
Hi everyone!
So it's been a nice long weekend, I come in to work and try and mess
with a project that I'm working on to get some new features added. All
was going well until I realized that now my application is breaking...
Here's the
The problem I'm running into though, is when a value has not changed it
doesn't get $_POSTed back and my update script erases the info in the
database... I'm trying to avoid using $_GET since it can be quite a few
variables.
Is there anyway I can do it without comparing the original field
On Jul 7, 2008, at 3:36 PM, Wolf wrote:
Jason Pruim [EMAIL PROTECTED] wrote:
Hi everyone!
So it's been a nice long weekend, I come in to work and try and mess
with a project that I'm working on to get some new features added.
All
was going well until I realized that now my application
Jason Pruim wrote:
MAIN PAGE:
?PHP
echo $row['Tab']; //what do you get?
if($row['Tab'] == done){
$Tchecked1 = CHECKED;
$Tchecked2 = NULL;
}else{
$Tchecked1 = NULL;
$Tchecked2 = CHECKED;
}
echo
fieldsetTabBR
input type=radio name=rdoTab value=done $Tchecked1Done BR
input
At 3:25 PM -0400 7/7/08, Jason Pruim wrote:
Hi everyone!
So it's been a nice long weekend, I come in to work and try and mess
with a project that I'm working on to get some new features added.
All was going well until I realized that now my application is
breaking...
Here's the details...
please oh please also run that through filter_input() before throwing
a $_POST directly into the db query ;p
On 7/7/08, Shawn McKenzie [EMAIL PROTECTED] wrote:
Jason Pruim wrote:
MAIN PAGE:
?PHP
echo $row['Tab']; //what do you get?
if($row['Tab'] == done){
$Tchecked1 =
doh - and mysql_escape_string or equivalent.
On 7/7/08, mike [EMAIL PROTECTED] wrote:
please oh please also run that through filter_input() before throwing
a $_POST directly into the db query ;p
On 7/7/08, Shawn McKenzie [EMAIL PROTECTED] wrote:
Jason Pruim wrote:
MAIN PAGE:
Oh, and make sure you bottom post too so you actually follow everything! ;)
mike [EMAIL PROTECTED] wrote:
doh - and mysql_escape_string or equivalent.
On 7/7/08, mike [EMAIL PROTECTED] wrote:
please oh please also run that through filter_input() before throwing
a $_POST
Here is a VERY simplified test :)
MAIN PAGE:
?PHP
if($row['Tab'] == done){
$Tchecked1 = CHECKED;
$Tchecked2 = NULL;
}else{
$Tchecked1 = NULL;
$Tchecked2 = CHECKED;
}
echo
fieldsetTabBR
input type=radio name=rdoTab value=done $Tchecked1Done BR
input type=radio
Dears,
Here is my question:
I am write a project manage system.
Now I need to echo one week’s data and send to html show.
Any one got a good idea or codes?
My code has some issues about the loop function. Could you help me check or
give me some suggestion?
The show item like this:
:[EMAIL PROTECTED]
Enviada em: segunda-feira, 2 de junho de 2008 22:20
Para: php-general@lists.php.net
Assunto: [PHP] question, about mysql query
two table, tablea and tableb
tablea
uid, col1, col2, col3
1,xx, xx, xx
2,xx, xx, xx
3,xx, xx, xx
tableb
id, uid, col1, firstdata
1, 1, xx, 1
2
This isn't a PHP question at all. It's a MySQL question.
However, answers are below, with forwards to the appropriate lists for
archiving purposes.
On Mon, Jun 2, 2008 at 9:19 PM, LKSunny [EMAIL PROTECTED] wrote:
two table, tablea and tableb
tablea
uid, col1, col2, col3
1,xx, xx, xx
LKSunny [EMAIL PROTECTED] wrote:
two table, tablea and tableb
tablea
uid, col1, col2, col3
1,xx, xx, xx
2,xx, xx, xx
3,xx, xx, xx
tableb
id, uid, col1, firstdata
1, 1, xx, 1
2, 2, xx, 0
3, 2, xx, 0
4, 1, xx, 0
i want query tablea, and join tableb, uid is
i have a registration page called register.php if the data entered is
validated correctly i call a file called thankyou.php or else validate.php
presently a user after seeing the url website.com/thankyou.php if they enter
the url directly in the browser as website.com/thankyou.php they can
How are you calling thankyou.php?
1. are you -redirecting- the user to that file?
--or--
2. are you -including- that file into register.php upon a successful
submission?
The method you're using determines how you best secure thankyou.php
from direct access.
If you're redirecting, then
two table, tablea and tableb
tablea
uid, col1, col2, col3
1,xx, xx, xx
2,xx, xx, xx
3,xx, xx, xx
tableb
id, uid, col1, firstdata
1, 1, xx, 1
2, 2, xx, 0
3, 2, xx, 0
4, 1, xx, 0
i want query tablea, and join tableb, uid is associate, ok LEFT JOIN
`tableb` b ON a.uid = b.uid, and than
Hej Sudhakar,
what a long e-mail ;) !
I would suggest you use e-mail address as user name. There are many good
reasons why to do so, I will give you some, if you wish.
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Sudhakar [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 5:26 PM
To: php-general@lists.php.net
Subject: [PHP] question about validation and sql injection
A) validating username in php
as part of a registration form a user fills there desired username
A) validating username in php
as part of a registration form a user fills there desired username and this
is stored in a mysql. there are certain conditions for the username.
a) the username should only begin either letters or numbers, and Underscore
character
example = user123, 123user,
your validation looks good enough to me. If you only allow
alphanumerical chars, then your should not be worried about sql injection
also use addslashes($username) before you insert into database and you
should be fine.
Usually addslashes is enough to prevent this, but the validation that
you
Dmitri wrote:
your validation looks good enough to me. If you only allow
alphanumerical chars, then your should not be worried about sql injection
also use addslashes($username) before you insert into database and you
should be fine.
Usually addslashes is enough to prevent this, but the
Hello all,
I am just trying to see if I can connect up with my internal FTP server from
our website. The server is accessible from the outside world, as we can log
in using a client, etc. I am not really sure how to troubleshoot this, but
below is the script that I have. I found it on the net (and
On 5/3/08, Adam Richardson [EMAIL PROTECTED] wrote:
I have a quick question on what's coming in PHP 6.
I've incorporated use of the ability to call instance methods through
static calls, allowing for me to mimic multiple inheritance without having
to make edits to classes that are already
I have a quick question on what's coming in PHP 6.
I've incorporated use of the ability to call instance methods through
static calls, allowing for me to mimic multiple inheritance without
having to make edits to classes that are already working because of
the behavior of '$this' when
I've incorporated use of the ability to call instance methods through
static calls, allowing for me to mimic multiple inheritance without
having to make edits to classes that are already working because of
the behavior of '$this' when instance methods are called statically.
As stated on in
You would have better luck posing this question to the internals list:
[EMAIL PROTECTED]
Cheers,
Rob.
On Sat, 2008-05-03 at 17:32 -0400, Adam Richardson wrote:
I've incorporated use of the ability to call instance methods through
static calls, allowing for me to mimic multiple
Hi, I'm having a strange problem with fopen
For clearence, here is the phpinfo page:
http://www.grondengoed.nl/phpinfo.php
I will shortly explain the problem I'm having:
$imagenamesmall = $foldersystem . '/' . $id . $imgstr . '-s' .
$i . '.jpg';
echo $imagenamesmall; // For
Hi, I'm having a strange problem with fopen
For clearence, here is the phpinfo page:
http://www.grondengoed.nl/phpinfo.php
I will shortly explain the problem I'm having:
$imagenamesmall = $foldersystem . '/' . $id . $imgstr . '-s' .
$i . '.jpg';
echo $imagenamesmall; //
Hi,
I help maintain a Movable Type install for a non-profit organization. Things
have worked well with the site but the other day the home page went blank
and the rest of the pages lost all of their formatting. I've done some
debugging and it seems that some include statements are no longer
On Thu, Apr 3, 2008 at 11:22 AM, jwynacht [EMAIL PROTECTED] wrote:
Hi,
I help maintain a Movable Type install for a non-profit organization. Things
have worked well with the site but the other day the home page went blank
and the rest of the pages lost all of their formatting. I've done
On Thu, Apr 3, 2008 at 11:42 AM, Jon Wynacht [EMAIL PROTECTED] wrote:
Hi Dan,
I just tried that and didn't see any errors on the screen or in my log
file. I'm really quite stumped and am wondering if my ISP made some changes
on their end?
Thanks,
Jon
Please keep all replies
Whoopssorry abut the reply ;-(
Thanks for the advice...I'll start making the changes in the path.
Cheers,
Jon
On Apr 3, 2008, at 8:56 AM, Daniel Brown wrote:
On Thu, Apr 3, 2008 at 11:42 AM, Jon Wynacht
[EMAIL PROTECTED] wrote:
Hi Dan,
I just tried that and didn't see any errors on
i have two select tags as part of a registration form, city1 city2 where
city1 has a list of regions and similar for city2
there are different regions for city1 and city2 so instead of all the
regions appearing one after the other i would like to create a blank option
followed by the next set of
Code wise your form options are too bulky and you need to look at slimming that
down like below. Not that my example is prefect but easier to control the
option enviroment.
echo select name='city1';
for($d=1; $d=2; $d++)
{
if($city1 == region$d){
echo option selected
On Mon, Mar 24, 2008 at 10:28 PM, Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
i would
[snip]
i need to connect to the linux server using an editor. can anyone
suggest
[/snip]
I use Putty to connect and then call all sorts of command line editors.
I may have Putty windows open to many servers at once.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
i would need to connect to the server.
Sudhakar wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
i would need to connect to the server.
please advice.
thanks.
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
i would need to connect to the server.
please advice.
thanks.
On Mon, Mar 24, 2008 at 7:28 PM, Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
i would
Casey wrote:
On Mon, Mar 24, 2008 at 7:28 PM, Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
On Mon, Mar 24, 2008 at 8:09 PM, Mark Weaver [EMAIL PROTECTED] wrote:
Casey wrote:
On Mon, Mar 24, 2008 at 7:28 PM, Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
Jim Lucas wrote:
Sudhakar wrote:
if a user by mistake types the wrong url directly in the address bar ex=
www.website.com/abou.php instead of
typing www.website.com/aboutus.php instead of the browser displaying File
not found or a 404 error message i would like to display a customized
page
On Thu, Mar 20, 2008 at 6:54 PM, Sudhakar [EMAIL PROTECTED] wrote:
if a user by mistake types the wrong url directly in the address bar ex=
www.website.com/abou.php instead of
typing www.website.com/aboutus.php instead of the browser displaying File
not found or a 404 error message i would
if a user by mistake types the wrong url directly in the address bar ex=
www.website.com/abou.php instead of
typing www.website.com/aboutus.php instead of the browser displaying File
not found or a 404 error message i would like to display a customized page
which will still have the same look and
Sudhakar wrote:
if a user by mistake types the wrong url directly in the address bar ex=
www.website.com/abou.php instead of
typing www.website.com/aboutus.php instead of the browser displaying File
not found or a 404 error message i would like to display a customized page
which will still have
Sudhakar wrote:
instead of using mysql database which is conventionally used as database
with php, if sql server database is used with php are there any major
differences to keep in mind.
In syntax or what? Yes there are differences between the two as far as
sql syntax goes.
1.
are the
On Mar 18, 2008, at 1008PM, Sudhakar wrote:
1. are the connection statements ex = $conn =
mysql_connect($hostname, $user,
$dbpassword); etc does these remain the same or are they different.
http://php.net/mssql
2. unlike in mysql with phpmyadmin which is browser based to access
databases
Again, another question better-asked on the PHP-DB list, so it's
being CC'd there. Responses in-line
On Wed, Mar 19, 2008 at 1:08 AM, Sudhakar [EMAIL PROTECTED] wrote:
instead of using mysql database which is conventionally used as database
with php, if sql server database is used
hi
my question is about displaying a friendly message when someone
directly types a url in the browser.
example i have one file called form.php which processes the
information entered in the form and lets say the next page is
thankyou.php?firstname=david
by seeing the url if someone types
On 18 Mar 2008, at 12:46, Sudhakar wrote:
my question is about displaying a friendly message when someone
directly types a url in the browser.
example i have one file called form.php which processes the
information entered in the form and lets say the next page is
thankyou.php?firstname=david
instead of using mysql database which is conventionally used as database
with php, if sql server database is used with php are there any major
differences to keep in mind.
1.
are the connection statements ex = $conn = mysql_connect($hostname, $user,
$dbpassword); etc does these remain the same or
At 10:20 PM -0700 3/10/08, Mike wrote:
Wait, what?
You are defining user role ids as MD5 hashes of UUIDs created from
random numbers that change on every request?
Am I missing something or is this completely insane advice?
Mike:
What you're missing is that it doesn't matter. Each session
Eric Butera wrote:
Read up on ACL's.
Apart from Zend which you've mentiond below, is there anything in/for
PHP that will help implement ACLs for a PHP application?
http://en.wikipedia.org/wiki/Access_control_list
http://framework.zend.com/manual/en/zend.acl.html
Does anyone use the
On Tue, Mar 11, 2008 at 3:21 AM, Per Jessen [EMAIL PROTECTED] wrote:
Eric Butera wrote:
Read up on ACL's.
Apart from Zend which you've mentiond below, is there anything in/for
PHP that will help implement ACLs for a PHP application?
On Mar 11, 2008, at 12:20 AM, Mike wrote:
Wait, what?
You are defining user role ids as MD5 hashes of UUIDs created from
random numbers that change on every request?
Am I missing something or is this completely insane advice?
I'm probably wrong on this, but I think the point is that it
On Mar 11, 2008, at 10:42 AM, Philip Thompson wrote:
On Mar 11, 2008, at 12:20 AM, Mike wrote:
Wait, what?
You are defining user role ids as MD5 hashes of UUIDs created from
random numbers that change on every request?
Am I missing something or is this completely insane advice?
I'm
On Tue, Mar 11, 2008 at 10:42 AM, Philip Thompson
[EMAIL PROTECTED] wrote:
I do understand the security aspect though. It's like a password that
changes quite frequently - it would be, for all intensive purposes,
impossible to guess.
Very similar, yes. You've got the idea.
Oh, I
Hi Everyone, Happy Monday to all of you!
I am trying to think through a user management issue for a application
I am working on. What I want to do, is be able to provide a multi user
environment (All accessing the same page, but depending on company
name they get different data) and be
301 - 400 of 1773 matches
Mail list logo