On Thu, May 18, 2006 9:23 pm, Mark Sargent wrote:
> setcookie('username', 'Joe', time()+60);
Because Microsoft engineers are incapable of reading and following a
spec correctly, you will have to supply a "path" along with that
time-out. The best default path to use is "/"
You can have no time-o
On Thu, May 18, 2006 10:39 pm, Christopher wrote:
> I've built a front-end to display information from a wikimedia
> database
> that uses Text_Wiki and Text_Wiki_Mediawiki, but I can't seem to
> figure
> out how the wiki keeps track of its cookies and such. I would like to
> expand this to front-en
Chris Rukas wrote:
I'm not sure where I should go for wiki community though :-\. I wanted
to try and contact the Text_Wiki or the Text_Wiki_Mediawiki or the
Yawiki guy(I think the same as the Text_Wiki) for this information but
PEAR said talk on this channel. Any recomendations on where I ca
Hmm, didn't think about it until you said database, but storing an RSS
feed in mysql woudl probably be easier than parsing an xml file.. :)
Thanks
And downloaded wikimedia from wikimedia.com :p Not much help there from
what I can get, but I'll try some more. :)
Thanks again.
--
PHP Genera
Please let me know if this would be more appropriate to post in a PEAR or
PECL forum. Today, I've been trying to install some extensions - in
particular, the GD library and the ZIP library. I've finally managed to get
it all working, but there was one issue that I'd like to clear up for future
re
Jay Blanchard wrote:
[snip]
which points to this page,
[/snip]
You forgot the parentheses after session_start(); (Assuming that you cut
and pasted)
Hi All,
ouch! Can't believe I missed that. Thanx. Cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
Christopher wrote:
I've built a front-end to display information from a wikimedia database
that uses Text_Wiki and Text_Wiki_Mediawiki, but I can't seem to figure
out how the wiki keeps track of its cookies and such. I would like to
expand this to front-end so if it can pick up someone has l
I've built a front-end to display information from a wikimedia database
that uses Text_Wiki and Text_Wiki_Mediawiki, but I can't seem to figure
out how the wiki keeps track of its cookies and such. I would like to
expand this to front-end so if it can pick up someone has logged into the
wik
[snip]
which points to this page,
[/snip]
You forgot the parentheses after session_start(); (Assuming that you cut
and pasted)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I have this code,
Movie 1
http://localhost/moviesite.php?favMovie=$favMovie'>";
echo "Click here to see information about my favourite movie!";
echo "";
?>
which points to this page,
My Movie Site -
";
echo "My favourite movie is ";
echo $_REQUEST['favMovi
This worked.
Thanks,
Robert
On 5/18/06, Stut <[EMAIL PROTECTED]> wrote:
John Hicks wrote:
> Robert Filipovich wrote:
>> Looks like all of these are happening.
>>
>>
>> The description for Event ID ( 2000 ) in Source ( php ) cannot be
>> found. The local computer may not have the necessary reg
Stut wrote:
John Hicks wrote:
Robert Filipovich wrote:
Looks like all of these are happening.
The description for Event ID ( 2000 ) in Source ( php ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
On Tue, May 16, 2006 11:38 pm, John Meyer wrote:
> $sql = "INSERT INTO
> BOOKS(CopyrightYear,CoverType,DatePurchased,EditionNumber,ISBNNumber,Notes,Pages,Publisher,LOCNumber)
> VALUES(\"" . $_POST["copyrightyear"] . "\",\"" . $_POST["covertype"] .
> "\",\"" . $_POST["datepurchased"] . "\"," . $_POS
On Wed, May 17, 2006 6:13 am, Jonas Rosling wrote:
> the PHP newbie is here again asking questions.
> Is there anyway in PHP to convert none international characters so the
> are
> displayed correct?
> In my case I have lots of data in the database with å,ä and ö.
E.
Since those probably ARE
On Wed, May 17, 2006 6:55 am, Russell Jones wrote:
> I have a site that is getting 30K+ traffic daily and it is smashing
> mySQL -
> any ideas on what to do to make the mysql connections more efficient,
> or
> anything in general. No bandwidth issue here, just the server getting
> killed.
It depen
On Wed, May 17, 2006 11:40 am, Richard Collyer wrote:
> Richard Lynch wrote:
>> On Mon, May 15, 2006 1:58 am, Jason Wong wrote:
>>> 2) the uploaded file is a "script" (perl/php/python/etc)
>>
>>> In the case of (2), if the script relies on its shebang line to
>>> execute
>>
>> Not necessarily -- Wh
On Wed, May 17, 2006 11:29 am, Jason Wong wrote:
> On Tuesday 16 May 2006 07:45, Richard Lynch wrote:
>> On Mon, May 15, 2006 1:58 am, Jason Wong wrote:
>> > 2) the uploaded file is a "script" (perl/php/python/etc)
>> >
>> > In the case of (2), if the script relies on its shebang line to
>> > execu
On Thu, May 18, 2006 10:50 am, tedd wrote:
>>File permissions is beyond the scope of this mailing list. You need
>>to buy a book, research on the web, etc., on *nix system
>>administration, and concentrate on the
>>filesystem/security/permissions sections, and the section on how
>>apps/daemons ope
On Wed, May 17, 2006 6:01 pm, tedd wrote:
> chmod($url, 0755); //where $url is the file I want to change.
If $url is an actual URL to the file, with http:// in the front, you
almost for sure cannot chmod that...
You have to chmod it as a FILE in the file-system.
> That confuses me, because who'
On Wed, May 17, 2006 10:01 am, tedd wrote:
> I have a program that uploads an image file and then tries to set the
> permissions for the image (to be altered later). However, I get a
> "Warning: chmod(): Operation not permitted" error when trying to set
> the permission, what gives? If my program c
On Wed, May 17, 2006 11:37 am, René Fournier wrote:
> Looking for suggestions on the most compute-efficient way to search
> variable-length strings (~200 characters) for the occurrence of one
> of about 100 possible needles. In other words:
>
> $needles = array ( 1 => "Hello Jim" , 2 => "Yellow Ban
On Wed, May 17, 2006 1:21 pm, Rahul S. Johari wrote:
> I¹m a little confused as to what¹s the best way to handle this.
> I have a form which, apart from lots of other fields, has a set of 25
> 30
> Check Boxes, each of which asks the user for some kind of information
> which
> the user can check
On 18 May 2006, at 21:11, Stut wrote:
The value in that variable is coming from the web server not PHP. I
suggest you change the web server configuration so it's listening
on specific v4 IPs only rather than all IPs. See the docs for your
web server for details on how to do that.
Yup, tha
You could claim that your error_reporting including E_NOTICE is the
problem...
But it would be FAR more correct to say that your code has errors of
level E_NOTICE, and you've never fixed them before. Fix them.
On Thu, May 18, 2006 2:09 pm, Robert Filipovich wrote:
> Looks like all of these are h
On Wed, May 17, 2006 6:59 pm, Andras Kende wrote:
> I trying to add multiple items to a shopping cart with selectable
> quantity
> and price form text field like..
>
> apple : qty: [__] price: [__]
> orange : qty: [__] price: [__]
apple : qty: price:
orange : qty: price:
>
>
> I could ad
On Thu, May 18, 2006 3:25 am, Gustav Wiberg wrote:
> The thing I want to do is to copy a picturefile to another
> picturefile.
That's what you THINK you want to do...
> The thing is that I want to copy this file, show it , and then delete
> it
> (when it has been shown) .Is this possible?
You're
On Thu, May 18, 2006 8:57 am, tedd wrote:
> However, binary-trees are for searching and I use MySQL for that. I
> don't know specifically how MySQL preforms searches. I had hoped that
> somewhere one could set a bit and change the algorithms, but I
> haven't been able to find any references that al
Richard Lynch wrote:
On Thu, May 18, 2006 2:29 pm, Daniel Orner wrote:
I'd like to announce the first release of Sparse, a new way to
create MySQL programs without actually programming anything! Sparse
LOL!
This is really nice -- though what I find amusing is that, in many
ways, it seems
On Thu, May 18, 2006 6:30 am, Gustav Wiberg wrote:
> I wondew which range the mktime has? (in digits)
> In my case it always start with 1.
> something like
> 1147951344
>
> Is this ALWAYS TRUE (that it would start with 1)
No.
0 1/1/1970 midnight
1 1/1/1970 one second after midnight
2 1/1/1970 two
Richard Lynch wrote:
On Thu, May 18, 2006 1:25 pm, Jay Paulson wrote:
I tried with no success yesterday to get an answer to this question so
I'll
try again.
I have an object from using simpleXML and inside that object is an
array
holding even more objects. However, it's not acting like an arr
On Thu, May 18, 2006 2:18 pm, Daniel Orner wrote:
> Try using var_dump rather than print_r... maybe it'll give you more
> accurate data (e.g. to figure out if it's an object, as Rob said, or
> an
> array).
Or not, as it seems to not be very helpful when the object is an
"iterator" whatever t
On Thu, May 18, 2006 1:25 pm, Jay Paulson wrote:
> I tried with no success yesterday to get an answer to this question so
> I'll
> try again.
>
> I have an object from using simpleXML and inside that object is an
> array
> holding even more objects. However, it's not acting like an array and
> the
On Thu, May 18, 2006 2:22 pm, Marcus Bointon wrote:
> I'm running PHP 5.1.4 on OS X. When I look at $_SERVER
> ['REMOTE_ADDR'], it seems to contain an ipv6 address rather than an
> ipv4 one (at present it's giving me 'fe80::1' instead of the usual
> dotted quad), and that confuses the hell out of t
On Thu, May 18, 2006 2:29 pm, Daniel Orner wrote:
> I'd like to announce the first release of Sparse, a new way to
> create MySQL programs without actually programming anything! Sparse
LOL!
This is really nice -- though what I find amusing is that, in many
ways, it seems to me to reflect the
Nicolas Verhaeghe wrote:
Indeed but you specify that you reshow the form and then
redirect...
Actually, he said:
"If there are errors, then the form is reshown with their values populated."
His code from above that matches this statement is:
if (!$form_passes_validation)
In his example and
Robert Samuel White wrote:
> [SNIP]
>
> Now one thing bothers me: how do you redirect in step 4 if you have
> shown the form in step 3?
>
> How do you avoid a "Cannot modify header information - headers
> already sent by ..." error message?
>
> Nicolas Verhaeghe
> E-mail: [EMAIL PROTECTED]
> P
Well... okay, I'll be honest, I never really *wanted* to install it.
8-) And I'm not exactly a server guru (even updating PHP4 proved to be
too much for me... for some reason a bunch of dependencies which were
fine when I got the server no longer work).
er why not? just install a second copy
I got it :)
just put a print_r at each step of the function
like: print_r($part->$parts);
thanks
g
On May 18, 2006, at 11:59 AM, Robert Cummings wrote:
On Thu, 2006-05-18 at 14:11, Graham Anderson wrote:
I am a bit new to Objects and Recursion
Any push in the right direction is appreciat
[SNIP]
Now one thing bothers me: how do you redirect in step 4 if you have shown
the form in step 3?
How do you avoid a "Cannot modify header information - headers already sent
by ..." error message?
Nicolas Verhaeghe
E-mail: [EMAIL PROTECTED]
Phone: 602-490-8000
[/SNIP]
Nicholas,
As long
Robert Samuel White wrote:
> You might want to modify your coding. The way I prevent this problem
> from ever happening is this:
>
>
>
> 1. The user completes information on the form.
>
> 2. The form is validated by PHP.
>
> 3. If there are errors, then the form is reshown with their valu
John Hicks wrote:
Robert Filipovich wrote:
Looks like all of these are happening.
The description for Event ID ( 2000 ) in Source ( php ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The
Jay Paulson (CE CEN) wrote:
...
what happens when you do:
foreach ($xml->RES->R as $key => $r) {
echo $r->__toString();
// or
echo $key;
}
?
That actually works. Strange because I tried this method first yesterday
and spent over an hour trying to get it to work and now it's working? AH!
Marcus Bointon wrote:
I'm running PHP 5.1.4 on OS X. When I look at $_SERVER['REMOTE_ADDR'],
it seems to contain an ipv6 address rather than an ipv4 one (at present
it's giving me 'fe80::1' instead of the usual dotted quad), and that
confuses the hell out of things like MySQL's INET_ATON() func
I tried with no success yesterday to get an answer to this question so I'll
try again.
I have an object from using simpleXML and inside that object is an array
holding even more objects. However, it's not acting like an array and
therefore I can't go through it. (i.e
Daniel Orner wrote:
I haven't been able to install PHP5 on my own server, so I don't
er why not? just install a second copy of php into a custom (e.g. your homedir)
dir and use that - check the archives for Rasmus' quick guide to setting up a
second
apache/php installation.
know for sure,
On Thu, 2006-05-18 at 15:52, Daniel Orner wrote:
> I haven't been able to install PHP5 on my own server, so I don't know
> for sure, but I can't think of any reason why it wouldn't. 8-) Part of
> why I need beta testers.
That's ok PHP5 is a fringe community *lol*. Although I may switch now
Robert Samuel White wrote:
> You might want to modify your coding. The way I prevent this problem
> from ever happening is this:
>
>
>
> 1. The user completes information on the form.
>
> 2. The form is validated by PHP.
>
> 3. If there are errors, then the form is reshown with their valu
Jay Paulson wrote:
don't bother trying to print_r() or var_dump() SimpleXML objects you'll fry
your
brain - seriously you'll never get anything that makes sense - this is due to
the
way simpleXML using iterators or something like that - it's a bit like voodoo
to
me too so I find it hard to explai
I haven't been able to install PHP5 on my own server, so I don't know
for sure, but I can't think of any reason why it wouldn't. 8-) Part of
why I need beta testers.
--Daniel
does it run on php5?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Daniel Orner wrote:
I apologize if this was already posted, but I didn't see it go through.
I'd like to announce the first release of Sparse, a new way to
create MySQL programs without actually programming anything! Sparse
takes care of handling the SQL data, navigation, displaying err
> don't bother trying to print_r() or var_dump() SimpleXML objects you'll fry
> your
> brain - seriously you'll never get anything that makes sense - this is due to
> the
> way simpleXML using iterators or something like that - it's a bit like voodoo
> to
> me too so I find it hard to explain.
>
>
don't bother trying to print_r() or var_dump() SimpleXML objects you'll fry your
brain - seriously you'll never get anything that makes sense - this is due to
the
way simpleXML using iterators or something like that - it's a bit like voodoo to
me too so I find it hard to explain.
I'm sure there
>> I have an object from using simpleXML and inside that object is an array
>> holding even more objects. However, it's not acting like an array and
>> therefore I can't go through it. (i.e. I can't use the count function to see
>> how big it is and loop through it)
>>
>> This below should be an
This keeps getting stranger and stranger. I did the var_dump and I got this
for R:
["R"]=>
array(10) {
So it's an array but when I pass it through is_array it says it's not an
array. However, when I pass it through is_object it says it's an object?!
On 5/18/06 2:18 PM, "Daniel Orner" <[EM
I apologize if this was already posted, but I didn't see it go through.
I'd like to announce the first release of Sparse, a new way to
create MySQL programs without actually programming anything! Sparse
takes care of handling the SQL data, navigation, displaying errors,
input valid
Robert Filipovich wrote:
Looks like all of these are happening.
The description for Event ID ( 2000 ) in Source ( php ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The
following informat
I'm running PHP 5.1.4 on OS X. When I look at $_SERVER
['REMOTE_ADDR'], it seems to contain an ipv6 address rather than an
ipv4 one (at present it's giving me 'fe80::1' instead of the usual
dotted quad), and that confuses the hell out of things like MySQL's
INET_ATON() function. I have ipv6
Try using var_dump rather than print_r... maybe it'll give you more
accurate data (e.g. to figure out if it's an object, as Rob said, or an
array).
--Daniel
Jay Paulson wrote:
I tried with no success yesterday to get an answer to this question so I'll
try again.
I have an object from using
Jay Paulson wrote:
I have an object from using simpleXML and inside that object is an array
holding even more objects. However, it's not acting like an array and
therefore I can't go through it. (i.e. I can't use the count function to see
how big it is and loop through it)
This below should be
Looks like all of these are happening.
The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The
local computer may not have the necessary registry information or message
DLL files to display messages from a remote computer. The following
information is part of the event: php[
On Thu, 2006-05-18 at 14:11, Graham Anderson wrote:
> I am a bit new to Objects and Recursion
> Any push in the right direction is appreciated
>
> Generated from Pear's mimedecode, I have an object whose print_r is:
> http://www.siren.cc/dev/object.txt
>
>
> The function below will correctly tra
On Thu, 2006-05-18 at 14:25, Jay Paulson wrote:
> I tried with no success yesterday to get an answer to this question so I'll
> try again.
>
> I have an object from using simpleXML and inside that object is an array
> holding even more objects. However, it's not acting like an array and
> therefo
I tried with no success yesterday to get an answer to this question so I'll
try again.
I have an object from using simpleXML and inside that object is an array
holding even more objects. However, it's not acting like an array and
therefore I can't go through it. (i.e. I can't use the count functi
I am a bit new to Objects and Recursion
Any push in the right direction is appreciated
Generated from Pear's mimedecode, I have an object whose print_r is:
http://www.siren.cc/dev/object.txt
The function below will correctly traverse the object and find the
'correct' node.
Unfortunately, it
Upgrade your MySQL distribution to the latest version (5+).
Upgrade any shared MySQL libraries to the latest distribute.
Recompile MySQL with mysqli support.
http://php.net/mysqli
And use that instead of the regular MySQL functions.
That's what I did and it has made a huge diffe
You might want to modify your coding. The way I prevent this problem from
ever happening is this:
1. The user completes information on the form.
2. The form is validated by PHP.
3. If there are errors, then the form is reshown with their values
populated.
4. Once all errors are correcte
Please reply to the list.
Robert Filipovich wrote:
I got this in the event viewer when I enabled suslogging.
The description for Event ID ( 2000 ) in Source ( php ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages f
For anyone interested: after some furhter troubleshooting, I found the error.
The password I was passing was incorrect. What I found interesting is that
even though the password was incorrect, the bind function still worked. I'm
thinking that it logged me in as anonymous at that stage.
>Our
Eric Butera wrote:
On 5/18/06, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
I had to do something similar to keep a javascript file from being
cached by an aol proxy. Heres a simple example that you could change
to suit your needs by changing the js to something like image.php and
making it send ima
tedd wrote:
At 10:58 AM -0400 5/18/06, John Nichel wrote:
tedd wrote:
Hi Gang:
When I list one of my directories, via:
echo("");
system("ls -l");
echo("");
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10
On 5/18/06, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
Hi!
The thing I want to do is to copy a picturefile to another picturefile.
The thing is that I want to copy this file, show it , and then delete it
(when it has been shown) .Is this possible?
I want to do this, because of avoiding problems w
At 5:11 PM -0600 5/17/06, Brady Mitchell wrote:
> "chmod() can only change the permissions of files that are owned by
the user running the command. In most cases, this is the user that
the web server runs on."
That confuses me, because who's the user here? Is it just the system
administrat
tedd wrote:
File permissions is beyond the scope of this mailing list. You need
to buy a book, research on the web, etc., on *nix system
administration, and concentrate on the filesystem/security/permissions
sections, and the section on how apps/daemons operate.
--
John C. Nichel IV
John:
John Hicks wrote:
Robert Filipovich wrote:
I am using a chat program and trying to call the status page from another
server and the graphic that the page returns does not show up.
It works if you are calling from the webserver that the chat program is
working so i feel it is some type of config
File permissions is beyond the scope of this mailing list. You need
to buy a book, research on the web, etc., on *nix system
administration, and concentrate on the
filesystem/security/permissions sections, and the section on how
apps/daemons operate.
--
John C. Nichel IV
John:
My questio
At 10:58 AM -0400 5/18/06, John Nichel wrote:
tedd wrote:
Hi Gang:
When I list one of my directories, via:
echo("");
system("ls -l");
echo("");
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css
-rw-r--r
Our organization is migrating away from Novell E-directory to MS Active
Directory. I have a php class that allows me to run various queries on our
e-directory ldap server which I am working to convert to AD. However, I'm
running into an error that i cannot figure out. I have updated the base_
I wrote an article on this subject that might help:
http://shiflett.org/articles/guru-speak-nov2004
Chris
--
Chris Shiflett
Principal, OmniTI
http://omniti.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/19/06, Nicolas Verhaeghe <[EMAIL PROTECTED]> wrote:
I have searched and not found...
http://marc.theaimsgroup.com/?t=10980586931&r=1&w=2
http://marc.theaimsgroup.com/?t=10751522972&r=1&w=2
http://marc.theaimsgroup.com/?t=10620110712&r=1&w=2
--
Postgresql & php tutorials
http:
I have searched and not found...
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 1:21 AM
To: Nicolas Verhaeghe
Cc: php-general@lists.php.net
Subject: Re: [PHP] [Repost] Getting rid of "Web page has expired"
(POSTDATAerror)
Nicolas Verhaeghe wrote:
tedd wrote:
Hi Gang:
When I list one of my directories, via:
echo("");
system("ls -l");
echo("");
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css
-rw-r--r-- 1 ancientstones psacln 658 May 2 14:59 b
tedd wrote:
At 11:18 AM -0400 5/17/06, John Nichel wrote:
tedd wrote:
Hi (please insert your preference):
This should be simple, but I'm having problems.
I have a program that uploads an image file and then tries to set the
permissions for the image (to be altered later). However, I get a
"
yup, psacln is the group of the user ancientstones who`s owner of the files.
tedd wrote:
> Hi Gang:
>
> When I list one of my directories, via:
>
> echo("");
> system("ls -l");
> echo("");
>
> I get:
>
> -rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
> -rw-r--r-- 1 an
tedd schrieb:
Hi Gang:
When I list one of my directories, via:
echo("");
system("ls -l");
echo("");
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css
-rw-r--r-- 1 ancientstones psacln 658 May 2 14:59
Hi Gang:
When I list one of my directories, via:
echo("");
system("ls -l");
echo("");
I get:
-rw-r--r-- 1 ancientstones psacln 6980 Apr 28 18:46 ancientstones.gif
-rw-r--r-- 1 ancientstones psacln 2090 May 14 10:10 as.css
-rw-r--r-- 1 ancientstones psacln 658 May 2 14:59 big_m.php
...
On Thu, 2006-05-18 at 06:41, Andrew Brampton wrote:
> Hi,
>
> In the past few weeks I've found the need for a hash table and a container
> that gives me O(log) search efficiency. Now I'm aware I can use associative
> arrays for my hash table, but I wanted to ensure efficiency. For my O(log)
> c
At 11:41 AM +0100 5/18/06, Andrew Brampton wrote:
Hi,
In the past few weeks I've found the need for a hash table and a
container that gives me O(log) search efficiency. Now I'm aware I
can use associative arrays for my hash table, but I wanted to ensure
efficiency. For my O(log) container I e
> a useful addition can be to use the item id in the 'key' of the input names
> (and always quoting your element attributes is highly recommended):
Yes, when I generate my cart I use the itemID as a key field (since the
ID stayed the same but the # in the database could change).
And ALWAYS quote
Andrew Brampton wrote:
Hi,
In the past few weeks I've found the need for a hash table and a
container that gives me O(log) search efficiency. Now I'm aware I can
use associative arrays for my hash table, but I wanted to ensure
efficiency. For my O(log) container I ended up using a sorted arra
Wolf wrote:
Andras,
Apples
a useful addition can be to use the item id in the 'key' of the input names
(and always quoting your element attributes is highly recommended):
Apples
that way you can easily fish out the quantities when looping the
selected items (example mostly ignores input
-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 9:47 PM
To: Andras Kende
Cc: php-general@lists.php.net
Subject: Re: [PHP] Add Multiple Items, Qty to Cart from html form
Andras,
Apples
Will get you where you need to go on the HTML side of things,
- Original Message -
From: "Barry" <[EMAIL PROTECTED]>
To: ; "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Thursday, May 18, 2006 1:45 PM
Subject: [PHP] Re: Range mktime?
Gustav Wiberg schrieb:
Hi
I wondew which range the mktime has? (in digits)
In my case it always
Gustav Wiberg schrieb:
Hi
I wondew which range the mktime has? (in digits)
In my case it always start with 1.
something like
1147951344
Is this ALWAYS TRUE (that it would start with 1)
Best regards
/Gustav Wiberg
mktime is giving you the time in seconds since 1st april 1970
So no. It's not t
Hi
I wondew which range the mktime has? (in digits)
In my case it always start with 1.
something like
1147951344
Is this ALWAYS TRUE (that it would start with 1)
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
In the past few weeks I've found the need for a hash table and a container
that gives me O(log) search efficiency. Now I'm aware I can use associative
arrays for my hash table, but I wanted to ensure efficiency. For my O(log)
container I ended up using a sorted array, and a binary search (
Hi!
The thing I want to do is to copy a picturefile to another picturefile.
The thing is that I want to copy this file, show it , and then delete it
(when it has been shown) .Is this possible?
I want to do this, because of avoiding problems with cache when uploading
file through an admin-onli
Nicolas Verhaeghe wrote:
I am having an issue with certain pages preventing the user from going back
to the previous page.
The message given by Firefox is: "The page you are trying to view contains
PSTDATA that has expired from cache".
This has been discussed a lot in the past. Check the arc
97 matches
Mail list logo