In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mark) wrote:
> in php.ini there is a variable called arg separator.input that looks
> like it can help but when I add the line:
>
> arg separator.input = ""
>
> I still get $id = "0#top"
Did you restart the server after modifying php.ini?
On Friday 08 March 2002 13:10, Analysis & Solutions wrote:
> On Fri, Mar 08, 2002 at 12:44:30PM +0800, Manisha wrote:
> > thanks, you are right, gpc_magic_quotes of php.ini was off.
>
> Oh, so then in your script, you weren't using the addslashes() function.
>
> Personally, I prefer *magic_quotes
Why don't you call the script as command line one and redirect output
to /dev/null.
On Fri, 8 Mar 2002, Uma Shankari T. wrote:
>
>
> I have given like that you have mentioned below.again it is giving the
> same error.pls tell me how i will solve that..
>
> "" Your terminal lacks the abi
On Fri, Mar 08, 2002 at 12:44:30PM +0800, Manisha wrote:
> thanks, you are right, gpc_magic_quotes of php.ini was off.
Oh, so then in your script, you weren't using the addslashes() function.
Personally, I prefer *magic_quotes to be off, allowing me to precisely
control what I want to do with
I have given like that you have mentioned below.again it is giving the
same error.pls tell me how i will solve that..
"" Your terminal lacks the ability to clear the screen or position the
cursor.""
-Uma
On Wed, 6 Mar 2002, Philip Hallstrom wrote:
PH>Try...
PH>
PH>lynx -dump
PH>
P
Hi
In search of the definition for your question, I've came across an
intersting Doc. Iam just giving here the snapshot of that.
In PHP terms, the toplevel directory would be the global
namespace, and the pathname separator would be ->. Thus, the names
$cart->items and $another_cart-
> I would like to know why you put this character (!) in front of this:
An ! means that the following statement should be false. So:
if (!isset($variable))
means "If $variable is not set"
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Hello everyone,
I would like to know why you put this character (!) in front of this:
Do you see the (!) in front of the strcasecmp() function? That! Why do you put
that there?
I'm trying to learn PHP, but it's been kinda hard. THANKS A LOT GUYS!
-GENESiS DESiGNS
-Sean Kennedy
-http://www.g
thanks, you are right, gpc_magic_quotes of php.ini was off.
At 11:08 PM 3/7/02 -0500, Analysis & Solutions wrote:
>Hi Manisha:
>
> > If I give the command through text file - Insert into test values
> > ('manisha\' test') - then this is ok, but when i try to insert the
> > manisha ' test valu
Josiah Wallingford wrote:
> I have a file called dbconnect that stores all of my mysql information
> (host, user, pass) up until now I have always just used localhost as the
> hostname because it was on my local server. My question is what do I have to
> do to connect to a different server? Do I j
I have a file called dbconnect that stores all of my mysql information
(host, user, pass) up until now I have always just used localhost as the
hostname because it was on my local server. My question is what do I have to
do to connect to a different server? Do I just have to put in the computers
i
Hi Manisha:
> If I give the command through text file - Insert into test values
> ('manisha\' test') - then this is ok, but when i try to insert the
> manisha ' test value through http:///sqladmin using GUI then
> MySql is giving error.
What's the error? That would certainly help us help yo
Thanks again for your help last night Jim. I found another source that by
passes the middle man and this script (see below) is quicker. It works great
for ONE ticker symbol. Yahoo allows one to retrieve multiple quotes by
typing in comma separated tickers with no spaces.msft,rhat,^dji
The com
Hi,
I use PHP 4.0.6, I am not sure about $_POST but $HTTP_POST_VARS removes
duplicate entries. As far as $QUERY_STRING is concerned well I knew it
could do it but I want to use POST method.
Not that happy knowing that PHP doesn't support this feature when Java and
CGI-Perl can.
Regards,
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> > > Anyone know of an easy to use library/or code that will read and write
> > > an ini file?
> > See parse_ini_file() together with the file handling functions.
>
> Dave,
> http://www.php.net/manual/en/function.parse-ini-file.php
> Goo
I am inserting into the table values with single Quote.
If I give the command through text file - Insert into test values
('manisha\' test') - then this is ok, but when i try to insert the manisha
' test value through http:///sqladmin using GUI then MySql is
giving error.
Any help regarding
Used in conjunction with classes.
class Foo
{
var bar;
function Foo($bar)
{
$this->bar = $bar;
}
}
$foo = new Foo("foobar");
echo $foo->bar; // "foobar"
For interests sake here's the same in C++ (correct me if I'm wrong it's been
a long time s
Javascript, if that's acceptable for the environment you're working in...
Bogdan
Steven Walker wrote:
> Hello,
>
> I'm having trouble getting the referring url. I have tried:
> $HTTP_REFERER
> getenv(HTTP_REFERER);
> $_SERVER[HTTP_REFERER];
> ... but they are all blank.
>
> The refe
> > Anyone know of an easy to use library/or code that will read and write
> > an ini file?
> See parse_ini_file() together with the file handling functions.
Dave,
http://www.php.net/manual/en/function.parse-ini-file.php
Good, but no code to write to an ini file?
:) John
--
PHP General Mailing
PHP uses -> as C++ uses ".", since PHP already uses "." for strings.
Stephano Mariani
> -Original Message-
> From: Kearns, Terry [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 8 March 2002 12:28 AM
> To: 'S.Murali Krishna'; Jack
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] What is "->" mean
Nico Vrouwe wrote:
> $i
now $a contains 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The book will be coming out. I have seen the galleys and the appendices
have gone in.
-Rasmus
On Fri, 8 Mar 2002, DL Neil wrote:
> Hi Erik,
>
> > > Rasmus/others,
> > >
> > > O'Reilly are advertising the imminent release (Mar 2002) of
> "Programming
> > > PHP" (http://www.oreilly.com/catal
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Anyone know of an easy to use library/or code that will read and write
> an ini file?
See parse_ini_file() together with the file handling functions.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List
In article <006401c1c600$ba52c210$0600a8c0@aspire006>,
[EMAIL PROTECTED] says...
> Dear Mark,
>
> Thanx for your reply.
>
> The solution you mentioned I knew it allready but i cannot change the name
> of order to order[] or something else but i still want to know is there any
> other way i
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> php script :
>
> $ini_array = parse_ini_file("conf/conf.php");
> echo($ini_array[var1]);
> ?>
>
> content of conf/conf.php :
>
> [data]
> var1 = xxx
>
>
> After execution of the php script, it is impossible to delete the conf.php
>
In article <[EMAIL PROTECTED]>, vallee.marc-
[EMAIL PROTECTED] says...
> Hi,
>
> Here is a foo.txt file :
>
> name=foo
> age=100
> sex=y
>
> I want to open the file, find the age line, and then replace the 100 with
> another value.
> The only way i see, is to rewrite the entire file
Th
Hi Erik,
> > Rasmus/others,
> >
> > O'Reilly are advertising the imminent release (Mar 2002) of
"Programming
> > PHP" (http://www.oreilly.com/catalog/progphp/desc.html).
> > Is that still going ahead?
> > (I'll submit an advanced purchase order...)
> >
>
> Hmmm... on the one hand, it's an O'Reill
On Thursday, March 7, 2002, at 07:25 PM, Matthew Walker wrote:
> Do I have to place a session_start() function at the top of a page
> (.php) before the ?
When they say that you need to put session_start() before the headers,
they're referring to the HTTP headers, not the tag of the HTML
doc
I have a question about cookies,why is the time that the cookies
expired not same as the time that parameter of session.cookie_lifetime
set?
for example, I wanna the cookies expired 5 minutes later,what should I
do?I think I should set the parameter,as follow:
session.cookie_lifetime =
Because I'm not a hacker on the PHP engine, I don't really know but I also
saw this symbol when learning C++ recently. It is used in C++ as a shortcut
to dereferencing and accessing an objects properties/methods on objects
which are on the free store (heap). Normally C++ uses the dot operator to
a
You must place session_start() before any other /output/. It can come
after other code, as long as nothing will be output before it.
Alternately, you can turn on output buffering and just not worry about
it.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
I understand your confusion. The thing is that empty() and ! are two
completely different arguments.
if(empty($var)) is looking for: $var = '';
if(!$var) is looking for: $var = false; or $var = 0;
If $var is set to anything other than 0 or false then the ASCII value of
the string is (by defini
Don't forget The Exchange Project, which is now called osCommerce:
http://www.oscommerce.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, just two quick notes:
About text and similar fields:
http://mysql.com/doc/S/t/String_types.html
About not storing images:
http://mysql.com/doc/T/i/Tips.html (close to the middle).
That's it :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP Ge
Good day,
This isn't really on the topic of PHP.
But, to answer your question- yes, MySQL will let you do lots of neat things
with those large text fields, like looking for substrings and such. If you
want to store some text information, even that which might have special
characters, line feeds
> But for storing images and PDFs or other binary data, there's
> no other way.
Actually, after having some problems with BLOB columns when
mysqldump'ing and moving the data into a new database, I did
find another way. I borrowed a trick from MIME mail handling,
and base64_encod'ed, then chunk_
On Thursday, March 7, 2002, at 05:22 PM, Paul Roberts wrote:
> Amazon have it listed as folows.
>
> http://www.amazon.com/exec/obidos/ASIN/1565926102/qid=1015539436/sr=2-3/ref=
> sr_2_3/104-7882944-0058305
Hm. Too bad they don't have that "read a sample chapter" set up yet.
That's a feature
On Thursday, March 7, 2002, at 07:16 PM, gregory hernandez wrote:
> can i insert the actual file (i.e. "document.txt", of course with it
> contents) into a mysql?
>
> in other words, i don't want to read the contents of the file and
> insert the
> contents into a field in mysql. i want to ins
On Thursday, March 7, 2002, at 05:50 PM, Bradley Goldsmith wrote:
> Ive got an array of associations like this:
>
> [1]=>2 [2]=>3 [3]=>4 etc
>
> I want to add a new element [8]=>6.
>
> How do I do this? I have tried several ways: pushing the element,
> merging arrays, et
it sounds like you want:
$array[8]=6;
On Fri, 8 Mar 2002 09:50:24 +1100, Bradley Goldsmith wrote:
>Hi,
>
>Ive got an array of associations like this:
>
>[1]=>2 [2]=>3 [3]=>4 etc
>
>I want to add a new element [8]=>6.
>
>How do I do this? I have tried several ways: pushing the
elem
I'll answer my own question.
$keyarray[$item[0]] = $node;
*duh*
How embarrasing is it that this thread will end up on google :)
-bcg
-Original Message-
From: Bradley Goldsmith [mailto:[EMAIL PROTECTED]]
Sent: Friday, 8 March 2002 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Add asso
I'd think $arr['8'] = 6 would work...
Using a number (as in $arr[8] = 6) would possibly confuse things, though
I can't get to a PHP machine right now so I'm not sure.
M
On Fri, 8 Mar 2002, Bradley Goldsmith wrote:
> Hi,
>
> Ive got an array of associations like this:
>
> [1]=>2 [2]
Hi,
I'm having a problem dealing with #'s in my urls. Most browsers will
not send the # with the request because they know it's only for use
with a named anchor.
so when you type in: http://mysite.com/test.php?id=0#top
all that the browser will send as a request is
http://mysite.com/test.php?id=0
Hi,
Ive got an array of associations like this:
[1]=>2 [2]=>3 [3]=>4 etc
I want to add a new element [8]=>6.
How do I do this? I have tried several ways: pushing the element,
merging arrays, etc with no luck (it either increments the key or doesn't
work at all).
Here's a little piece of code that gives me a weird problem:
I have the session started and everything, but it gives me the following
error.
Warning: Undefined variable: logout in c:\inetpub\wwwroot\uslogin.php on
line 13
I've seen this used on several examples. I know that if I just use
empty
Hi list,
I'm developing an CMS, and I started a session with PHP 4.1.1
With I use this in javascript "alert(document.forms[0].elements[0].name)"
it returns "PHPSESSID" and if i use
"alert(document.forms[0].elements[0].value)", it returns a number.
It's a bug???
I'm using IE5 in macos 9.2.2
Tha
Amazon have it listed as folows.
http://www.amazon.com/exec/obidos/ASIN/1565926102/qid=1015539436/sr=2-3/ref=sr_2_3/104-7882944-0058305
List Price: $39.95
Our Price: $27.96
You Save: $11.99 (30%)
This item will be published in March 2002. You may order it now and we will ship it to
you when i
Hello,
I'm having trouble getting the referring url. I have tried:
$HTTP_REFERER
getenv(HTTP_REFERER);
$_SERVER[HTTP_REFERER];
... but they are all blank.
The referring page has a meta http-equiv=Refresh header. If the user
waits for the page to automatically redirect, t
www.fishcart.org :)
i've been trying to decide which one to use to tackle a big mall project,
but don't know enough about 'carts to make an intelligent assessment yet.
cheers,
jaxon
> -Original Message-
> From: Bradley Goldsmith [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 200
Dunno, Havn't looked at it. What's the Url?
-bcg
-Original Message-
From: Jaxon [mailto:[EMAIL PROTECTED]]
Sent: Friday, 8 March 2002 8:49 AM
To: Bradley Goldsmith; 'Peter Haywood'; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [PHP] A good PHP Shop
hi
how does it compare to fis
hi
how does it compare to fishcart?
cheers,
jaxon
> -Original Message-
> From: Bradley Goldsmith [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 4:40 PM
> To: 'Peter Haywood'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] A good PHP Shop
>
>
> Check out phpshop.o
I just tried that Robert. It still gives me the same error that it did
before. There is no error after the mysql_connect. It definitely is
connecting. If it didn't connect then it wouldn't pass the query to the
database in the first place and spit out an error on the SQL syntax. I
checked the synt
If you are looking for the security patch (I believe the only reason 1.2
was released), don't worry, the bug doesn't affect Windows.
Unless there are other changes?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www
Check out phpshop.org.
It's base implimentation is a little dry (but extremely functional).
You can view a heavily modified version in the wild at my shop:
www.artsupplies.com.au
All the best,
Brad
-Original Message-
From: Peter Haywood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 7 Ma
> Does anybody know of a php script that will email the daily
> userfriendly.org comic?
Why not write one yourself? Most of the file names can be guessed,
today is http://www.userfriendly.org/cartoons/archives/02mar/uf004027.gif
for example.
By the way...
> Josiah Wallingford
> Email = [EMAIL
Yes, Jason. I posted it earlier, but here it is again.
// Error I'm getting
Error in query: SELECT label FROM menu WHERE id = 3
Warning: Supplied argument is not a valid MySQL result resource in
e:\localhost\menu\menu.class.php on line 47
// Object being called from get.php
get_label(1);
?>
Are you planning on using MySQL as a filesystem?
There seems to be great confusion here.
Good luck!
--- gregory hernandez <[EMAIL PROTECTED]> wrote:
> hello everyone.
>
> i'm wondering if i can do the following:
>
> FIRST,
> using php, can i create/generate a text file
> on-the-fly (not sav
Erik:
thank for answering my first question:
> the word "file" indicates that this is represented by an entity in a
> filesystem -- thus, it would be saved to a server.
now let me rephrase the second part. what i meant to say was the following:
can i insert the actual file (i.e. "document.txt
On Wednesday, March 6, 2002, at 05:11 AM, DL Neil wrote:
> My 'rules' are simple:
>
> If the date/time is for processing, keep it as a timestamp (consider
> which type).
> If the timestamp is being used to keep track of RDBMS activity, then
> use a TIMESTAMP column.
By RDBMS activity, do you
Rodrigo Peres wrote:
> Hi list,
>
> I'm new to PHP, but I found it greate. But I have a question. Recently I've
> saw a friend using asp and the object record set seems perfect, I mean the
> function to count records, navigate in throw record (back and forth)
> everything automatic is amazing. Th
On Thursday, March 7, 2002, at 06:05 AM, DL Neil wrote:
> Rasmus/others,
>
> O'Reilly are advertising the imminent release (Mar 2002) of "Programming
> PHP" (http://www.oreilly.com/catalog/progphp/desc.html).
> Is that still going ahead?
> (I'll submit an advanced purchase order...)
>
Hmmm...
Nick Richardson wrote:
> I'm getting this error:
>
> Warning: mcrypt module initialization failed in /home/www/common.php on line
> 314
>
> When running this code:
>
> function encryptPassword($password) {
> $key = randomString();
> $code = mcrypt_ecb(MCRYPT_BLOWFISH_128, $key, $password,
On Thursday, March 7, 2002, at 04:30 PM, gregory hernandez wrote:
> i'm wondering if i can do the following:
>
> FIRST,
> using php, can i create/generate a text file on-the-fly (not saved to a
> server)
>
> THEN,
> insert the actual text file (and not its contents) into a mysql
> database.
Hi list,
I'm new to PHP, but I found it greate. But I have a question. Recently I've
saw a friend using asp and the object record set seems perfect, I mean the
function to count records, navigate in throw record (back and forth)
everything automatic is amazing. There's a way, to implement such th
David Johansen wrote:
> I'm new to this php thing and I would like to set up a web page were the
> users can login and edit their preferences and all that stuff. I have the
> basic login stuff worked out and I was passing the username and password as
> a hidden input in the form, but then the pass
I'm new to this php thing and I would like to set up a web page were the
users can login and edit their preferences and all that stuff. I have the
basic login stuff worked out and I was passing the username and password as
a hidden input in the form, but then the password can be seen with view
sou
Michele,
Possible a dumb question, but does the machine you are running it on have PHP
installed and configured to work with the server software?
If so, did you name the file correctly? It may need to be called "page.php"
rather than "page.html"...
M
On Thu, 7 Mar 2002, Michele wrote:
> I cur
Anyone know of an easy to use library/or code that will read and write
an ini file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm getting this error:
Warning: mcrypt module initialization failed in /home/www/common.php on line
314
When running this code:
And i can't find any documentation on what might be causing this... anyone
out there know?
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
Can nobody help? This is so frustrating. I cannot see what's wrong, open
to ANY suggestions!
Thanks.
Paul
"Paul" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I wonder if anyone can help me with a problem I have. I have some sites
> hosted on a
I am having problem with an array filled with an object. I am trying to
access it using current($object_array)->object_var. Here is the line of
code that is giving me the problem, any help that can be provided will be
greatly appreciated.
if((current($retrieved)->beginTime > $morning) &&
(curre
Thanks for the information, was definitely very helpful in clearing up that
question.
Joshua E Minnie
[EMAIL PROTECTED]
"Don't work for recognition, but always do work worthy of recognition." ~
Unknown
"Michael Kimsal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED
On Thu, 2002-03-07 at 06:25, Matt Williams wrote:
> Hi all
>
> I get a variable that is set be a select box on a page.
> I want to use this variable to call a function within a class that is based
> on it's name.
>
> so if $var = "me"
>
> I want to call $class->me_function();
>
> or if
>
>
When i upload an image file (i.e. a jpeg) to the server
using php, it gets corrupted. Indeed the GIMP is no
longer able to open it.
Opening the uploaded file with a text editor i found that
the following 2 lines were added at the top (as displayed by
vim, my text editor):
Content-Type: image/jpeg
When uploading image files to my powerpc linux box (derived
from redhat 7.1) running apache + php4.0.4pl1 something
wierd happen.
Images get corrupted by (IMHO) php itself. It adds the
following 2 lines at the top of the file:
Content-Type: image/jpeg^M
^M
...(rergular image file data)
(as displ
ooops
On Thursday 07 March 2002 09:09 pm, Andrey Hristov wrote:
> try this:
> echo "foo".$i++;
> echo "\n";
> echo "bar".($+++0);
> ?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try this:
Thanks for showing that I add new element to the array. This is because on last
iteration $k is null and I access $ar[$k] which automatically adds the new element.
Why? I don't know? Maybe because I refer it by reference!
The fixed code is
This will not add new element to the arra
On Tuesday 05 Mar 2002 15:07, Erik Price wrote:
> On Monday, March 4, 2002, at 06:10 PM, Jonathan Duncan wrote:
> > I want to make a web site that displays news headlines from my favorite
> > news
> > sites.
>
PEAR has an RSS headline class that's dead easy to use and works for RDF
files.
Inci
EXCELLANT!
I have found that
$username = $_SERVER['REMOTE_USER'];
does exactly what I need it to do.
Now, final question is how do I program a "LOGOUT" button, so when clicked
the person will "lose" their identity and I can bounce them to a
"non-secure" page.
Any ideas?
Dave
"Jason Wong" <[
On Thursday 07 Mar 2002 16:22, Josiah Wallingford wrote:
> Hello,
>
> Does anybody know of a php script that will email the daily
> userfriendly.org comic?
Not sure about this -- Userfriendly.org is maintained by advertising, so
unless you want to pay them a royalty for every page you view they
I changed mysql_db_query() to mysql_query(). I took the quotes away from
the id. It still gives me an error:
Error in query: SELECT label FROM menu WHERE id = 3
Where else could I be going wrong?
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2
Hi,
I'm about to compile the 4.1.2 version found on php.net. I have the
following configure command:
./configure --with-apache=../apache_1.3.23 --with-mysql
--with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir
--with-freetype-dir --with-gd --enable-gd-native-ttf --with-tiff-dir
--with
You can use a string to keep the file content. And then put it the
mysql(probably a BLOB field)
Best regards,
Andrey Hristov
IcyGEN Corporation
On Thursday 07 March 2002 11:30 pm, you wrote:
> hello everyone.
>
> i'm wondering if i can do the following:
>
> FIRST,
> using php, can i create/gen
If you are not going to save, I wouldn't call it a file :-)
Just store the contents in a string and insert in a TEXT (etc) field.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.a
hello everyone.
i'm wondering if i can do the following:
FIRST,
using php, can i create/generate a text file on-the-fly (not saved to a
server)
THEN,
insert the actual text file (and not its contents) into a mysql database.
many thanks in advance,
gregory hernandez
[EMAIL PROTECTED]
-
> -Original Message-
> From: karthikeyan [mailto:[EMAIL PROTECTED]]
> Sent: 07 March 2002 17:52
>
[]
>
> I am very sure that there must be some solution to this but
> I don't know
> how to do this in PHP. I have one solution using GET method
> but not with
> POST.
Then you're v
Joshua E Minnie wrote:
> I was just wondering if anyone could tell me when would be the time to
> choose require(), require_once(), or include(). I know a little bit about
> using each one, but I am just not sure if there is one that is better than
> the other in certain situations.
>
For all
require includes code only once(on the parse), include includes code
everytime it is called. if you have some libs and in two or more you do
require or include of some core lib you have to use require_once or to define
some constant and use it to check. I am sure when but require changed its
b
I wouldn't say .htaccess and .htpasswd files are pointless. They might not
be applicable to your situation, fine, but they're not totally useless. And
.htaccess/passwd files do provide directory-level security -- the directory
they're in, plus any subdirectories if need be.
But there are a m
Dear Mark,
Thanx for your reply.
The solution you mentioned I knew it allready but i cannot change the name
of order to order[] or something else but i still want to know is there any
other way i can solve this issue. I got so many anwer saying that it is
not possible I wonder why because
I was just wondering if anyone could tell me when would be the time to
choose require(), require_once(), or include(). I know a little bit about
using each one, but I am just not sure if there is one that is better than
the other in certain situations.
--
Joshua E Minnie
CIO
[EMAIL PROTECTED]
"
Yes.
If you know what is garbage collector then you will understand why it is
there. The GC is started from time to time and cleans expired session data.
Best regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
On Thursday 07 March 2002 07:54 pm, you wrote:
> Firstly i create a ses
I've the same problem here
If i do logout it doesn't doe a session_destroy :(
-Original Message-
From: Beta [mailto:[EMAIL PROTECTED]]
Sent: jeudi 7 mars 2002 18:54
To: [EMAIL PROTECTED]
Subject: [PHP] Why session is not deleted ???
Firstly i create a session, After that when i close th
Firstly i create a session, After that when i close the browser the sesion
can still be seen in tmp directory in apache webserver.
I just wanted to know that If i close the browser, Does the session
terminates ?
Beta
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
>
> http://www.phpdeveloper.org/
>
> "Well, everyone's favorite PHP developer multiplied last night - Rasmus
> Lerdorf now has a son (9.0lbs, 19.25in. - a big boy) was born at 13:26
> PDT on Wednesday March 6, 2002. If you'd like to see some pics from the
> family, check out this page - or t
The code below is too weird. I spent 15 min writing it but now works:
for(reset($ar),list($k,)=each($ar),$v=&$ar[$k];$k;list($k,)=each($ar),$v=&$ar[$k]){
var_dump($k,$v);
$v='ather'.($j+++0);
var_dump($k,$v);
}
The $ar array is generated in
Does anyone know when this will be available?
Or if it already is, where it can be downloaded?
Thanks
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 08 March 2002 00:36, Dave wrote:
> Hello all,
>
> I have an .htaccess and .htpasswd file in a directory. This is working
> fine, when anyone attempts to enter this directory, they are prompted for a
> user name and password, and if correctly entered, the page will load fine.
>
> What I
php script :
content of conf/conf.php :
[data]
var1 = xxx
After execution of the php script, it is impossible to delete the conf.php
file.
Any idea ?
greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
I have an .htaccess and .htpasswd file in a directory. This is working
fine, when anyone attempts to enter this directory, they are prompted for a
user name and password, and if correctly entered, the page will load fine.
What I would like is the ability to capture, or trap the user
1 - 100 of 155 matches
Mail list logo