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?
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
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
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, 2002
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,
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
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
Thank's
Here's a little piece of code that gives me a weird problem:
?php
if (!$logout)
{
if ($_SESSION['loggedin'])
{
unset($_SESSION['loggedin']);
}
}
?
I have the session started and everything, but it gives me the following
error.
Warning: Undefined variable: logout in
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).
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]=3
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
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
element,
merging
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, etc with no
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 insert the
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 I
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
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
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
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.org.
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
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
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
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
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-
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
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 =
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 headers?
When they say that you need to put session_start() before the headers,
they're referring to the HTTP headers, not the head tag of the
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'Reilly book, and their
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
That is
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
php script :
?php
$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
file.
Any
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 can
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
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
Nico Vrouwe wrote:
$iord('Z') seems easier to me than $iord('A')+26 :)
Easier:
?php
for ($a = $i = 'A'; $i != 'Z'; $a .= ++$i) ;
?
now $a contains 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 in php?
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
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 referring
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 since
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://hostname/sqladmin using GUI then MySql is
giving error.
Any help
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
Good, but no
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,
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
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://hostname/sqladmin using GUI then
MySql is giving error.
What's the error? That would certainly help us
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
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 just
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 value
Hello everyone,
I would like to know why you put this character (!) in front of this:
?php
$var1 = Hello;
$var2 = hello;
if (!strcasecmp($var1, $var2)) {
echo '$var1 is equal to $var2 in a case-insensitive string comparison';
}
?
Do you see the (!) in front of the strcasecmp() function?
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:
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
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:
PHTry...
PH
PHlynx -dump
PH
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
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 ability to
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 to be
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?
As for
101 - 154 of 154 matches
Mail list logo