FallsNiagra Falls/option
(View source is a powerful tool!)
-Brad
-Original Message-
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]
Sent: May 31, 2006 2:28 PM
To: Beauford
Cc: php-general@lists.php.net
Subject: Re: [PHP] Session variables and words with spaces
Perhaps you should load up your
Angelo Zanetti wrote:
Jochem Maas wrote:
Angelo Zanetti wrote:
Hi all.
I have a situation where people enter values into a textfield can
include the following:
1 ! 2 @ 3 # 4 $ 5 % 6 ^ 7 8 * 9 ( 10 ) 11 ; 12 : 13 14 ' 15 ? 16
- 17 _ 18
now once the move to another page and then
?
It seems that addslashes gets a lot of flack, but is there any
other/better way?
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem Maas wrote:
Brad Bonkoski wrote:
All...
A lot has been said recently about the dangers of the family of
magic_quotes...
I understand the dangers.
The question is, for those of us using a database that does not have
a *real_escape_string function...Oracle for example.
What
Jochem Maas wrote:
Brad Bonkoski wrote:
Jochem Maas wrote:
...
Understood what the esacpe character needs to be...the question is
the best way to get it there?
Currently I have:
magic_quotes_sybase = On
this adds single quotes automatically - addslashes (unless Im mistaken
it would be the same as say:
$user = quote_smart($_POST['username']);
$pass = quote_smart($_POST['pasword']);
$query = select * from users where user=$user and password=$pass;
Your query would not use the quote_smart() function, as well as be wrong
it those values were strings
-Brad
--
PHP
in your php.ini file what is the value of:
magic_quotes_gpc?
(hint: should be off, if it is on, then you are add slashes twice...)
-Brad
[EMAIL PROTECTED] wrote:
ok. I just made one test and if you can then explain something to me:
I entered in form (textarea)
afan's crazy web
and stored in db
Perhaps check out some of these
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
-Brad
Dallas Cahker wrote:
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine
which
site
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before
your DB insert, just to keep those things under your command)
-Brad
Richard Lynch wrote:
On Mon, May 22, 2006 11:37 am, Brad Bonkoski wrote:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
If you are using http://php.net/stripslashes on data coming out of
your database, you
, will certainly cut down on development/debugging.
2). Performance...don't know if it is faster for PHP to parse through a
comma separated list or parse through a larger DB record set. I guess if
this is really important to you, you might want to attempt both ways to
see on performance.
-Brad
In Exploder 7 beta 2 I actually get an access denied error...
but works in firefox.
Mike wrote:
I am not seeing a blank page here.
Porpoise wrote:
tedd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try this:
http://xn--ovg.com/ajax_page1
Please understand: a) It's a
Not really a PHP question...
But, since it is Friday ;-)
As our friend Google:
http://www.google.com/search?hl=enq=Javascript+disable+back+button
HTH
-Brad
Sugrue, Sean wrote:
Does anyone know how to launch a new page with having the back arrow
button grayed out?
Sean
--
PHP General
?php
$var = $_GET['var'];
echo( Welcome to our Web site, $var! );
?
-B
IraqiGeek wrote:
Hi all,
I'm somewhat new to php, though I have played a bit with the language.
I'm currently learning the language, and I'm having a problem passing
variables through URL query. Here is what I have:
A
');
$count = 0;
foreach( $colors as $k = $v) {
$count++;
if( $count == 2 )
echo \$colors[$k] = $v.\n;
}
?
-Brad
Jay Blanchard wrote:
[snip]
Is there any way to call for an element value in an array by the
position?
Like
\
A
HREF=\javascript:open_window('.$_SERVER['PHP_SELF'].?action=view_recorduserid=$userid');\View/A
---^---^
concatenate the $_SERVER variable to the string...
HTH
-Brad
What is the problem with it?
R.
--
PHP
I get nothing
do you get something different?
Jay Blanchard wrote:
[snip]
$colors =
array('white'='#ff','black'='#00','blue'='#ff');
[/snip]
What happens when you echo $colors[1]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Nope... dead air.
Of course getting an indexed value into an associative array seems a bit
odd to me... maybe Jonas could shed some light on why he would go this
route...
Jay Blanchard wrote:
[snip]
I get nothing
do you get something different?
[/snip]
Not even 'array'?
--
PHP
Here's a stab...
$colors = array(red=#ff,gree=#00ff00,blue=#ff);
echo $colors[blue];
should output #ff
HTH
-Brad
Jonas Rosling wrote:
Hi all,
I'm kind of new with PHP. I work alot with another language called Lasso,
reminds kind of PHP but not the same.
I trying to search after
I don't believe you 'push' to an associative array like this,
but if you want to add black for example...just do:
$colors['black'] = '#ff';
-Brad
Jonas Rosling wrote:
Need solve another case regarding array maps. Is it possible to insert more
values like with array_push in arrays
or white ;-)
Stut wrote:
Brad Bonkoski wrote:
$colors['black'] = '#ff';
Black? Are you sure?
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What kind of values are stored in $row[2] and $row[5]?
You might need to keep the single quotes
$test['$row[2]'] = $row[5];
-Brad
Jonas Rosling wrote:
There's allways mutch to learn. :-) I'm very happy for all help I can get.
I ran into another problem when trying to insert a value.
I
no POST
variables are actually passed to the report page, so refreshing it will
just present the same data...
-Brad
Jeff wrote:
Is there a way to prevent a re-posting of the form data when a user
pushes the refresh button on the browser?
I have a page that has a form to enter credit's
Perhaps this will work..
http://www.php.net/manual/en/function.substr.php
Ross wrote:
I have a word say 'example' I want to chop of two or 3 chacters from the
front to leave 'ample' or 'mple'. Is there a php function to do this?
Ross
--
PHP General Mailing List (http://www.php.net/)
Bing Du wrote:
Hello,
Here are the two scripts. The result is 'var is' rather than 'var is
foo'. My suspect is I did not set the file path right in 'include'. So
in file2.php, how should I get the actual absolute path it really gets for
file1.php? Is it stored in some environment
the validate the XML schema? I am working
with an XML document and a DTD file which is separate, do the files have
to share a name with a different extension, or does the DTD somehow have
to be embedded?
TIA
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Maybe it is just me, but I think these types of discussions/debates
concerning opposing view points on the direction of web programming is
as imperative to the general PHP community (i.e. this list) as the
dangers of register globals and magic quotes etc
At least more relevant then the
Assuming the PHP web page is available, anyone else having problems
connecting to php.net?
-B
Jay Blanchard wrote:
[snip]
is there a ready script that handle entering user name and password for
authentication by extracting the Data from Oracle10g DB without showing
the
URL in the address
.
-Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
session_start();
$s = SID; //get Session ID
echo a href=\page.php?$s\Page/a;
Mostly for passing the session as a GET variable to another page, like
for anything from authentication tokens to form data etc...
Of course for form data it would probably be better to encapsulate the
session
How about this:
class foo {
var $name;
function setName($value) {
$this-name = $value;
}
}
-B
Merlin wrote:
Hi there,
I would like to assign a value inside a class like this:
var $db_username = $old_name;
Unfortunatelly this does not work and I do get following error:
tedd wrote:
-B
At 12:51 PM -0400 4/7/06, Brad Bonkoski wrote:
How is the CPU not in question? Does this script run on air?
I did not say that. I said that it was not MY CPU that was involved
and it isn't.
Who cares, it is irrelavent who's CPU it is runing on.
It may not be YOUR
guess this is what happens when people get a ton of data before they
properly planned to get that much data
-Brad
Brad Ciszewski wrote:
Perhaps try implementing some AJAX on the page. Therefore, once the page has
loaded, the select tag is populated with different options, without actually
Hello,
I have a form for user interaction and part of it is a select box with a
large number of options from a database ~12K options.
Currently I have a function which queries the DB to get fresh data and
loads the HTML (option value=XY/option) into a string, so the DB is
only hit once,
but
Good point...
Maybe the gods of usability can kick the user's in the butt to get them
to clean up the data!
Previously they used a free text field, which is why the problem is as
bad as it is currently
All the data has to be available, so the only other option I can think
of is to select
Interesting...
as for your first question...
Know that PHP/Apache does not have free reign to your CPU, so the times
could be different based on the scheduling going on in the OS kernel.
As for the second one...
No idea why you would get a negative number, I just copied and ran from
the
If your users are using Windows, then something like
http://www.hypervisual.com/winbinder/
might be good on the user side, as you can bundle the PHP binary and
everything else needed into one executable (with some work of course)
And then they can create a file formatted to your specifications
How is the CPU not in question? Does this script run on air?
It may not be YOUR CPU, but it is still a CPU bound by the sceduling
algorithm of the Operating System, so the time differentials are too be
expected.
-B
tedd wrote:
At 12:24 PM -0400 4/7/06, Brad Bonkoski wrote:
Interesting
why do you have single quotes around year?
-B
Tom Chubb wrote:
I'm working on an insert record page with a multiple file upload script of
which I understand the fundamentals.
However, on submission I am getting the following error:
Parse error: syntax error, unexpected
thanks for the clarification, I guess the other solution would be to
avoid using names with special meaning for column names...
-B
Ray Hauge wrote:
On Friday 07 April 2006 12:53, Joe Henry wrote:
On Friday 07 April 2006 1:37 pm, Tom Chubb wrote:
$insertSQL = INSERT INTO cars (model,
Perhaps try implementing some AJAX on the page. Therefore, once the page has
loaded, the select tag is populated with different options, without actually
lagging the page.
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
I have a form for user interaction and part
1. Look at this: http://javascript.internet.com/forms/form-focus.html
2. See Below
3. Take a look at this function:
http://www.php.net/manual/en/function.date.php
-B
marvin hunkin wrote:
Hi.
doing this script for an assignment, and got it basically working.
the only problems are:
1.
short_open_tag
Dallas Cahker wrote:
What is that called and where in the php.ini file do I enable it? Sorry if
this is a stupid question but since I dont know what its called it makes it
difficult to google it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am using PHP with Oracle, but not executing stored procedures.
I assume you are already validating the contents of the $addr variable
before you bind it?
Otherwise, no real ideas here...
-B
Jay Blanchard wrote:
[snip]
I have a stored procedure in Oracle;
p_BILL_TO_ADDRESS1 IN
limitations,
but can also be helpful. So it really depends on the wielder of the
tool if it should be used or not.
-Brad
Angelo Zanetti wrote:
Hi guys.
I've just read an article that gives a good explanation about escaping
single quote characters with slashes, the author then says
Create a page like this:
?php
phpinfo();
?
and see what the output tells you about mysql...might shed some light on it.
-B
Alain Roger wrote:
i've seen that non of extension are activated...neither mysql.dll nor
mysqli.dll
after uncommenting them and restarting Apache, it still does not
:\WebServer\PHP511\ext
4. i restarted apache
5. phpinfo still provide no info regarding MySQL
what should i do ?
On 4/5/06, Brad Bonkoski [EMAIL PROTECTED] wrote:
Create a page like this:
?php
phpinfo();
?
and see what the output tells you about mysql...might shed some light on
it.
-B
Jochem Maas wrote:
Brad Kowalczyk wrote:
Grae Wolfe - PHP wrote:
Hey there... I am setting up a new test server for one of my clients
to use, and I am curious if there is a reason to go with php4.xx over
php5.xx, or the other way around. I would think that I would want to
go
as expected on php5 (but not the the other way
around) and the benefits of php5 are many.
Cheers,
Brad Kowalczyk
www.ibiscode.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Real simple question
How do I change this from disabled to enabled.
Thanks
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think I may be headed down the wring direction.
I'm using Apache.
What I'd like to be able to do is to
pass arguments to a script as though it were a directory.
Something like so
http://server.com/script.php/some-virtual/dirs/
On 11/15/05, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
Real
arguments to a script as though it were a directory.
Something like so
http://server.com/script.php/some-virtual/dirs/
[/snip]
http://us2.php.net/dir
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
Ah, both those links are useless for what he wants to do.
Brad, Make a script
server. How do I know? Because I
build these configurations almost daily. If you get stuck with init
scripts there's something wrong. Maybe you should man chkconfig.
Brad Dameron
Senior Systems Administrator
SeaTab Software
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
table. The same could be applied to the
other tables.
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
piece of the application should be implemented.
It was a good exercise in understanding where my opinions came from.
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
migration.
I'm wondering if you could expand on this some. How does not running
in a J2EE environment limit PHPs ability to expand? In my opinion this
is not the case, but I'm always open to being convinced otherwise. I'm
also curious what you mean by small scale.
- Brad
--
PHP General Mailing List
. Of course it doesn't have to be done that
way.
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
concerns.
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
If management can see that you are stoked to use PHP that might help your cause.
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
REDIRECT TO:
http://www.nimblepedic.com/services.php/body_tools
Please only answer if you know exactly how to do so. The advise is very crucial
to me.
Thanks very much in advance
Dr. Brad
--
Dr. Brad R. Lustick/CEO Ergonomic Supervisor
Back Be Nimble--Your One-Stop Back Shop
Nimble-Pedic
,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This seems to be what I was looking for, but I am curious, will the / be
included in the variable? Will I have to do a stripslashes() command on it?
Brad
Hans Juergen von Lengerke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Brad Brevet:
Hi, I am curious how to pass a variable
look at
http://cvs.php.net/co.php/php-src/ext/mcve/mcve.c?r=1.28.2.2
the m_completeauthorizations function.
-Brad
Chris Cranford wrote:
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
pass variables by reference to my function without enabling call-time pass
by reference
What is the function, or how do you make a script that displays the server's
uptime?
Thanks,
Brad Ciszewski
www.BradTechnologies.com Web Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
Any ideas?
Thanks;
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this link for more info.
http://us3.php.net/manual/en/language.operators.comparison.php
Try using === instead.
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any ideas?
It's a permissions problem. Both of those files are owned by the root
user and I would guess that apache is not running as root (and it
shouldn't be!). Find out who apache is running as (commonly www or
nobody) and give that user access to those files.
Brad
--
PHP General Mailing
/layout.jpgnbsp;/td
/tr
/table
/div
/body
/html
Code Ends Here
Any help will be greatly appreciated!!
Sincerely,
Brad Ciszewski
www.BradTechnologies.com Web Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= $_POST[email];
$checkEmail = mysql_query(SELECT *
FROM memberInformation
WHERE email = '$email');
Thanks in advance!!
Brad Ciszewski
www.BradTechnologies.com Web Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
i appologize i forgot to add the rest:
if($checkEmail != 0){
echo(centerfont color=\#99\The email address has already been
registerd with an account./font/center);
include(../includes/footer.php);
exit;
}
Thanx!
Brad Ciszewski
www.BradTechnologies.com Web Services
Brad Ciszewski [EMAIL
i need the script which will do this all automaticly.. i know there is a
feature to get the server which the user is from.
Danny Brow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, 2004-12-09 at 18:17 -0600, Brad Ciszewski wrote:
i need help to figure out the isp
}
$thisRow++
-Brad
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does anybody have any tips or links for creating a system for managing
user's passwords. I want to make it so that when a user is created, an
email is sent with a link that allows them to set their password
?PHP echo($insertdate); ?/td
td?PHP echo($referenceid); ?/td
td?PHP echo($hiddentext); ?/td
/tr
?PHP
$thisRow++
} ?
+=+=+ SCRIPT ABOVE +=+=+
thanx in advance!
- Brad
www.BradTechnologies.com - Web Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
i need help to figure out the isp of a user. can anyone help me with this?
-Brad
www.BradTechnologies.com
99.9% Uptime
24/7 Support
Packages as low as 3.50 p/month!
www.BradTechnologies.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
besure to have the to emails have only a , inbetween them.
Example: $to = [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]; etc
Hope that helps :)
-Brad
www.BradTechnologies.com
99.9% Uptime
24/7 Support
Packages as low as 3.50 p/month
cPanel/PHP/mySQL
www.BradTechnologies.com
Wil
Hey all, I have a log-in all set up on my site using PHP Sessions but I want
to add the Remember Me function, but I don't know what to set in the cookie
to make it that way. Please help. :)
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Is this the all I would need to do to set a cookie with a username stored
for 30 days? Sorry I am new at this.
setcookie (Cookie Name, $username, time()+60*60*24*30);
Greg Donald [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 3 Dec 2004 07:38:47 -0800, Brad Brevet
[EMAIL
Nevermind, I figured it all out, thanks for the info.
Brad Brevet [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is this the all I would need to do to set a cookie with a username stored
for 30 days? Sorry I am new at this.
setcookie (Cookie Name, $username, time()+60*60*24*30
else should I be worried about as far as security is concerned with
Sessions and Cookies?
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Brad Brevet wrote:
Hey all, I have a log-in all set up on my site using PHP Sessions but I
want
to add the Remember Me function
Well, is what my plan is, is to create a session on log-in along with a
stored cookie, so that once the browser is closed the session is removed and
only the cookie remains for the 30-day time period.
Brad
Brian Dunning [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When I use
is there a code you can put at the top of the your php files so that the
imgs etc. load as the are put on to your computer, and it doesnt wait for
the whole site to be downloaded until it is loaded to the user? *turning off
the buffer basicly*
Brad Ciszewski
www.BradTechnologies.com
99.9% Uptime
try, ?PHP header(Location: Page_here); ?
www.BradTechnologies.com
99.9% Uptime
24/7 FREE Support
Plans starting at $3.50 per month
www.BradTechnologies.com
Pascal Platteeuw [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello everyone,
Here is a newbie question for you guys who
i have several tables with data, and they all have a server column. there
are a few tables which i need to exclude a particular server from that
table. i am currently running an array to extract the data, and was
wondering if i could either use PHP code or a mysql-query exclude function
or
is there an 'and' statement for mysql, when you are doing multiple wheres?
www.BradTechnologies.com
99.9% Uptime
24/7 FREE Support
Plans starting at $3.50 per month
www.BradTechnologies.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
err i mean ... an 'or' statement sry
www.BradTechnologies.com
99.9% Uptime
24/7 FREE Support
Plans starting at $3.50 per month
www.BradTechnologies.com
Brad Ciszewski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
is there an 'and' statement for mysql, when you are doing multiple
hi everyone, i am looking for a snipplet to round down a number. i was
wondering if you could put a negative number in the round() statement to do
this, i want it to round down even if its at something.9, as long as its not a
whole number, if needs to be rounded down. can anyone help me?
i am not sure if this uses PDFlib but, this is a wonderful script which
helps create a PDF file. http://sourceforge.net/projects/pdf-php/
- Original Message -
From: Jacob Friis [EMAIL PROTECTED]
To: Christopher Way [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, November 26, 2004
does anyone know the function to get the IP address before the proxy-IP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, high traffic sites.
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Read this..
http://www.php.net/release_4_1_0.php
(Especially the part about global variables...)
- Original Message -
From: Chuck PUP Payne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 13, 2004 9:02 PM
Subject: [PHP] A simple question
Hey,
I have just upgrade my box
repeating
the validation everywhere the function is called. It also makes the
function more self-contained. It expects a certain input and
complains, or returns false, if it doesn't get it.
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Thanks,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There has been talk in the past about making a phpscript that would run on
the client, but then there are all the problems with browser integration,
and universal support. I say this is a good niche for javascript, so make
use of it if you need it just like you don't use a hammer to
this. Dovecot is the default IMAP server on
FC2. I haven't had time to try it yet, but here is a link I found
about compiling PHP with dovecot:
http://www.dovecot.org/list/dovecot/2004-July/004282.html
I should have a chance to try later today and will let you know if I
have any luck.
Brad
--
PHP
On Fri, 15 Oct 2004 10:49:27 -0600, Brad Pauly [EMAIL PROTECTED] wrote:
I am also trying to do this. Dovecot is the default IMAP server on
FC2. I haven't had time to try it yet, but here is a link I found
about compiling PHP with dovecot:
http://www.dovecot.org/list/dovecot/2004-July
the best recommended way for
doing that?
One way would be to create an array of ips and look for it in that array:
$ips = array('127.0.0.1','192.168.1.50');
if (in_array($REMOTE_ADDR, $ips)) {
// do stuff
}
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
URL before any of your queries are executed.
http://server/html/hash-of-your-variables.html
Or, for the pdf version.
http://server/pdf/hash-of-your-variables.pdf
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 23 Sep 2004 22:39:06 +0100, Graham Cossey
[EMAIL PROTECTED] wrote:
Brad: When you say a hash of the query string do you mean passing the
variable part of the URL thru mhash to obtain a hash/key/digest or whatever
you wish to call it? If so, do you recommend any particular hash, ie MD5
and $_COOKIE. You might want to do this method if
your script could be accessed via a GET or POST.
http://us4.php.net/manual/en/reserved.variables.php#reserved.variables.request
- Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it ignores the content-type header. You might want to try
adding space char after the filename, I've heard it works.
Apparently IE sometimes makes multiple requests for a URI and this can
cause problems with large PDF files.
http://support.microsoft.com/default.aspx?scid=kb;en-us;293792
- Brad
301 - 400 of 745 matches
Mail list logo