I suggest you to use something like this as your cart:
$cart => Array
(
[LT4697] => Array
(
[qty] => 1
)
[LT1234] => Array
(
[qty] => 2
)
)
So you can easily check with in_array() / is_array() if product is in
the cart allre
I have an array that looks something like this:
$cart => Array
(
[0] => Array
(
[id] => LT4697
[qty] => 1
)
[1] => Array
(
[id] =>
Hi,
I am working on a php script which is accessed as below
http://10.10.10.10/pageone.php?hellohowareyou
in the pageone.php i am accessing the variable $_SERVER["QUERY_STRING"
and i am getting the proper "hellohowareyou" as value.
All these days i was accessing this over the browser. But
Michael Sims wrote:
> Octavian Rasnita wrote:
>> No, there is no way for customizing the headers Outlook Express use
>> to put in the email messages.
>> I wish there was, because I don't like them also...
>
> Although I haven't used it personally, OE-QuoteFix may help:
>
> http://home.in.tum.de/~
On Tue, 21 Sep 2004 22:01:02 +0100, Luke <[EMAIL PROTECTED]> wrote:
> however, i'd like to add more meaningful names as the field name
> headings in the excel file. can anyone suggest how i can write a list of
> tab separated headings into $header?
>
If you're talking about hard coding the header
Never mind...
As usual, about the time you ask for help, the brain gets unstuck and you
find the solution.
Thanx anyways
Leon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I may have found something, a perl script that with all the appropriate
pieces turns a page into a jpg image.
http://marginalhacks.com/Hacks/html2jpg/
from there resizing using GD is a snap.
Warren Vail
-Original Message-
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Friday, Septem
I'm new to php, but am familar with ASP.
I have this code to open and read a text file.
What I need is to take out the 'while' and present the data one line at a
time.
I read up on fgetcsv, but we will be using one text file per record.
I just need to format how it is displayed.
Under fgetcvs the
Hi,
Thanks for the your comments. I'll definitely submit it to PECL as
soon as it is more stable, but I'm not sure it is a good idea to
submit a pre-alpha...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 21 Sep 2004 20:25:44 -0700 (PDT), zareef ahmed
<[EMAIL PROTECTED]> wrote:
>
> All values passed via query string will be available
> via in $_GET array. You can simply get them from this
> array.
You can also acces them via the $_REQUEST array, which also contains
the values in $_POST an
Hi,
All values passed via query string will be available
via in $_GET array. You can simply get them from this
array.
Example
http://www.example.com/script.php?fname=me&lname=you
then fname and lname will be available as
$fname =$_GET['fname'];
$lname =$_GET['lname'];
BTW it is basic PHP, I
On Tue, 21 Sep 2004 20:16:50 -0700, AMC <[EMAIL PROTECTED]> wrote:
> How do you access values sent to a page as part of a querystring in php?
They arrive in the $_GET array in modern PHP installs.
print_r($_GET);
--
Greg Donald
http://gdconsultants.com/
http://destiney.com/
--
PHP General Ma
Anyone using this?
http://mojavi.org/
If so, how do you like it?
--
Greg Donald
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 22 Sep 2004 12:17:57 +0930, David Robley <[EMAIL PROTECTED]> wrote:
> Go get him, troops :-0
Sorry.
--
Greg Donald
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
How do you access values sent to a page as part of a querystring in php?
ac
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For this simple query simple do a call to $item->date to get your time.
If the query is more complex in reality, do a foreach using xpath. See the
example on Xpath at www.php.net/simplexml
Yoed
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2
On Wed, 22 Sep 2004 05:57, John Nichel wrote:
> John Holmes wrote:
>> From: "Andre Dubuc" <[EMAIL PROTECTED]>
>>
>>> I click 'Reply' and I get your personal address (instead
>>> of the correct 'To:' address.
>>
>>
>> Oh, for the love of god, jub or whoever, can we not turn this into a
>> who-th
Dustin Krysak wrote:
Hi there I have a VERY simple blogging system, and I want to add a
link that will append a "" into the end of the existing text
whenever it is clicked.. that way users do not need to remember the HTML
code.
How would i go about this?
Javascript.
--
---John Holmes...
Ama
* Thus wrote Curt Zirzow:
> * Thus wrote John Holmes:
> >
> > A later example implements ArrayAccess and IteratorAggregate and then
> > says you can use count($A), but it doesn't work for my tests. It always
> > returns 1.
>
> That example i think is minor mistake. As noted in the example
> abo
* Thus wrote John Holmes:
>
> A later example implements ArrayAccess and IteratorAggregate and then
> says you can use count($A), but it doesn't work for my tests. It always
> returns 1.
That example i think is minor mistake. As noted in the example
above you have to call pass ->getIterator() t
Hi there I have a VERY simple blogging system, and I want to add a
link that will append a "" into the end of the existing text
whenever it is clicked.. that way users do not need to remember the
HTML code.
How would i go about this?
Thanks!
d
--
PHP General Mailing List (http://www.php.net
Kevin Waterson wrote:
Is anyone using SPL iterators out there? Any examples you'd like to share
that you find useful? Iterating through databases or large files, etc? Just
curious what people are using this for before I write some stuff myself. :)
I am using them in the current script I am writi
While we're in the middle of it:
Don't top-post to a message that's already been bottom-posted ... it's
unbelivably messy and makes it loads harder to figure out what you're
replying to than needs be ... stay in the format ... if the message you
reply to is top-posted, continue that way, if it's
You can set it during compile time i think... if thast of any help
Jason
"Jamie" <[EMAIL PROTECTED]> wrote:
>
> Im using php version 4.3.8 and im trying to setup a small webserver on my
> usb memory stick so i can work on my php projects when im at college without
> having to work ways arroun
Marek is correct the behavior of the "browse" file selector is essentially a
client side thing, and not directly controllable from PHP. One difficulty
is how to know when a directory is clicked because it is selected, or
clicked because the operator wanted the directory expanded, because he
wanted
Im using php version 4.3.8 and im trying to setup a small webserver on my
usb memory stick so i can work on my php projects when im at college without
having to work ways arround the college firewalls and blocks on ftp.
The only problem i have is that i cannot load the php.ini file from its
loca
On Tue, 21 Sep 2004 16:18:06 -0500, Ongkiko, Richard M
<[EMAIL PROTECTED]> wrote:
> I am trying to implement some sort of a shuffle. What I am trying to do is a random
> shuffling of an array whose contents were records from a database. I am basically
> trying to shuffle/randomize, questions, s
Richard M Ongkiko wrote:
I am trying to implement some sort of a shuffle. What I am trying to do is a random
shuffling of an array whose contents were records from a database. I am basically
trying to shuffle/randomize, questions, so that different users will have different
versions of questio
Ongkiko, Richard M wrote:
I am trying to implement some sort of a shuffle. What I am trying to do is a random
shuffling of an array whose contents were records from a database. I am basically
trying to shuffle/randomize, questions, so that different users will have different
versions of questi
Joerg P wrote:
I have to be more specific:
I dont want the file, I want the folder.
This happens on the client side, it has nothing to do with php.
You could possibly do it with signed java applets or activex scripts.
Joerg
Greg Donald wrote:
On Tue, 21 Sep 2004 23:05:17 +0200, Joerg P <[EMAIL PROT
I am trying to implement some sort of a shuffle. What I am trying to do is a random
shuffling of an array whose contents were records from a database. I am basically
trying to shuffle/randomize, questions, so that different users will have different
versions of questions in an exam, whose ques
Oh, I see. Thanks for clarifying.
- Original Message -
From: "Matthew Weier O'Phinney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 21, 2004 4:05 PM
Subject: Re: [PHP] php5 and php4?
* Minuk Choi <[EMAIL PROTECTED]>:
But then, don't you run the risk of having 2 d
I have to be more specific:
I dont want the file, I want the folder.
Joerg
Greg Donald wrote:
On Tue, 21 Sep 2004 23:05:17 +0200, Joerg P <[EMAIL PROTECTED]> wrote:
I am building a script only for local use and would like the user to
choose a specific folder on his computer, to catalogize all files
This one time, at band camp, "John Holmes" <[EMAIL PROTECTED]> wrote:
> Is anyone using SPL iterators out there? Any examples you'd like to share
> that you find useful? Iterating through databases or large files, etc? Just
> curious what people are using this for before I write some stuff mysel
Phil Roberts <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> I like the event handling system you're using. When the supported
> widget set is more complet it looks like this will be very
> promising indeed. Certainly more so than GTK.
Hope so... We'll get there :)
--
PHP Ge
On Tue, 21 Sep 2004 23:05:17 +0200, Joerg P <[EMAIL PROTECTED]> wrote:
> I am building a script only for local use and would like the user to
> choose a specific folder on his computer, to catalogize all files in
> this folder.
>
> How do I let the user choose this folder?
--
Greg Donald
http
hello,
I am building a script only for local use and would like the user to
choose a specific folder on his computer, to catalogize all files in
this folder.
How do I let the user choose this folder?
Joerg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
hi there,
i am currently using the following code to loop through the results of a
sql query and extract the field names ($export contains the query
results from the database). the script goes on to place the results in
an excel file.
for ($i = 0; $i < $fields; $i++) {
$header .= mysql_field_
Matthew Weier O'Phinney wrote:
* Mattias Thorslund <[EMAIL PROTECTED]>:
I'm trying to set up a list manager on a hosted site. PHPlist
(phplist.com) seemed promising but I read on their forums that it takes
some users hours and hours to send a couple thousand emails. Without
terminal access,
Manuel Lemos wrote:
Hello,
On 09/21/2004 04:17 PM, Mattias Thorslund wrote:
I'm trying to set up a list manager on a hosted site. PHPlist
(phplist.com) seemed promising but I read on their forums that it
takes some users hours and hours to send a couple thousand emails.
Without terminal access
John Holmes wrote:
From: "Andre Dubuc" <[EMAIL PROTECTED]>
I click 'Reply' and I get your personal address (instead
of the correct 'To:' address.
Oh, for the love of god, jub or whoever, can we not turn this into a
who-the-list-should-reply-to thread?!?!? Been there,
done-beat-the-dead-horse-abo
Luke Mackenzie wrote:
Subject: using foreach() to capture multiple selections
hi,
i would like to to put multiple selections from a form list into a single
variable using foreach but am unsure how to do so.
can someone advise how to adapt the following code?
print "You are interested in: ";
foreac
I've been looking around for some SPL
(http://www.php.net/manual/en/ref.spl.php) examples and uses, but have only
found one good article on Sitepoint
(http://www.sitepoint.com/article/php5-standard-library/).
Is anyone using SPL iterators out there? Any examples you'd like to share
that you fi
Hello,
On 09/21/2004 05:03 PM, Matthew Weier O'Phinney wrote:
To give an example, where I work, we have a bulk mailer we've developed.
The management interface is PHP, but mails are sent via a perl
application. The perl application sends the mails via Postfix.
I wonder why aren't you using PHP to s
* Minuk Choi <[EMAIL PROTECTED]>:
> But then, don't you run the risk of having 2 different architectures, that
> is, PHP5(possibly PHP6) and PHP 4.something may evolve down to include
> different features or even different behaviors?
PHP4 is in *maintenance* mode -- that means no new features. P
* Mattias Thorslund <[EMAIL PROTECTED]>:
> I'm trying to set up a list manager on a hosted site. PHPlist
> (phplist.com) seemed promising but I read on their forums that it takes
> some users hours and hours to send a couple thousand emails. Without
> terminal access, I suspect the PHP sending
From: "Andre Dubuc" <[EMAIL PROTECTED]>
I click 'Reply' and I get your personal address (instead
of the correct 'To:' address.
Oh, for the love of god, jub or whoever, can we not turn this into a
who-the-list-should-reply-to thread?!?!? Been there,
done-beat-the-dead-horse-about that...
---John
On Tue, 21 Sep 2004 16:25:37 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> i need to insert a current timestamp into a mysql field when a form is posted.
> can anyone suggest a simple way of doing this?
Here's the MySQL answer: If you have a (data type) timestamp field in
your table, you d
On Wednesday 22 September 2004 03:26, Luke Mackenzie wrote:
> Subject: using foreach() to capture multiple selections
> i would like to to put multiple selections from a form list into a single
> variable using foreach but am unsure how to do so.
manual > PHP and HTML
--
Jason Wong -> Gremlins
Hello,
On 09/21/2004 04:17 PM, Mattias Thorslund wrote:
I'm trying to set up a list manager on a hosted site. PHPlist
(phplist.com) seemed promising but I read on their forums that it takes
some users hours and hours to send a couple thousand emails. Without
terminal access, I suspect the PHP
>
> i would like to to put multiple selections from a form list into a single
> variable using foreach but am unsure how to do so.
>
> can someone advise how to adapt the following code?
>
>
> print "You are interested in: ";
>
> foreach($myGoals as $value)
>
> {
>
> print "$value ";
>
> }
>
> ?>
[snippy]
Sam Hobbs wrote:
Um.. you do realize you have more problems than php not being able
to connect to the database.
This is the type of unproductive comment that causes problems. The only
reason you are saying this is because you are desperate to make me wrong.
You have exhausted reason
From: "Luke Mackenzie" <[EMAIL PROTECTED]>
i would like to to put multiple selections from a form list into a single
variable using foreach but am unsure how to do so.
can someone advise how to adapt the following code?
print "You are interested in: ";
foreach($myGoals as $value)
{
print "$value ";
On Tue, 21 Sep 2004 20:26:04 +0100, Luke Mackenzie <[EMAIL PROTECTED]> wrote:
> i would like to to put multiple selections from a form list into a single
> variable using foreach but am unsure how to do so.
>
> can someone advise how to adapt the following code?
";
foreach($myGoals as $key => $v
On Tuesday 21 September 2004 03:02 pm, John Nichel wrote:
> While the thread still lives, let me add a pet peeve of mine. People
> who reply to all. Just reply to the list...if you have to click reply
> to all to get the list address in there, fine, but take a few seconds to
> remove all other ad
On Tue, 21 Sep 2004 14:24:08 -0500, j kensler <[EMAIL PROTECTED]> wrote:
> I'm trying to create a php page that automatically posts data to
> several other webpages (to log in). However one of the pages is using
> some sort of CGI HTTP authentication. Is there any way that I can see
> what the name
On Tue, 21 Sep 2004 19:37:45 +0100, b2 <[EMAIL PROTECTED]> wrote:
> I'm trying to create images with a bit of text pasted on top
> using the code bolow
> My problem is that the text color either are lost (lighter colors) or print
> in a different color
> it seems that it's mix the text color and th
Sam,
You're correct - the manual does leave a little bit of a grey area about
which extension you should use for 4.1.0 < MySQL version < 4.1.3
However, as you're using 5.0.1 this really shouldn't confuse you to
quite the extent which it has.
Sam Hobbs wrote:
"Curt Zirzow" <[EMAIL PROTECTED]> wr
Subject: using foreach() to capture multiple selections
hi,
i would like to to put multiple selections from a form list into a single
variable using foreach but am unsure how to do so.
can someone advise how to adapt the following code?
-
lukem - quality c
I'm trying to create a php page that automatically posts data to
several other webpages (to log in). However one of the pages is using
some sort of CGI HTTP authentication. Is there any way that I can see
what the names of the fields are (such as user or username or
whatever). And also is there any
Hi,
I'm trying to set up a list manager on a hosted site. PHPlist
(phplist.com) seemed promising but I read on their forums that it takes
some users hours and hours to send a couple thousand emails. Without
terminal access, I suspect the PHP sending page will time out long
before most of my e
On Tue, 21 Sep 2004 15:02:27 -0400, John Nichel <[EMAIL PROTECTED]> wrote:
> While the thread still lives, let me add a pet peeve of mine. People
> who reply to all. Just reply to the list...if you have to click reply
> to all to get the list address in there, fine, but take a few seconds to
> re
Hi
I'm trying to create images with a bit of text pasted on top
using the code bolow
My problem is that the text color either are lost (lighter colors) or print
in a different color
it seems that it's mix the text color and the background color
Is there away around this
also
where can I find dif
Hi
I'm trying to create images with a bit of text pasted on top
using the code bolow
My problem is that the text color either are lost (lighter colors) or print
in a different color
it seems that it's mix the text color and the background color
Is there away around this
also
where can I find dif
If course, if you don't have shell access, phpMyAdmin is all you'll ever
need
http://www.phpmyadmin.net
Cheers
Chris
Brian V Bonini wrote:
On Mon, 2004-09-20 at 19:37, Stut wrote:
On Mon, 20 Sep 2004 16:20:21 -0700, AMC <[EMAIL PROTECTED]> wrote:
Is there a tool that will generate a scrip
While the thread still lives, let me add a pet peeve of mine. People
who reply to all. Just reply to the list...if you have to click reply
to all to get the list address in there, fine, but take a few seconds to
remove all other addresses.
Thank you for your time. We now return you to your r
Just to clear up, there is no isempty() function - the correct function
is empty() and its details can be found here: http://uk.php.net/empty
Cheers
Chris
-{ Rene Brehmer }- wrote:
At 01:54 20-09-2004, Chris Mach wrote:
What is the best way to determine if a variable is empty?
I have a feeling th
And after that - go and try to find out a little on your own - contrary
to a common misconception, it's not the sole purpose of members of this
list to write all your code for you.
The old favourites RTFM and STFW would serve you well here - there are
thousands of PHP tutorials that will tell y
Are you by any chance doing something like this?
while (1)
{
$dbh = mysql_connect(x, x, x);
mysql_query(...);
sleep(10);
}
If so, you could run into that maxclients problem very quickly because
you're not closing those mysql connections (they'll time out eventually,
and there are persistent co
Octavian Rasnita wrote:
> No, there is no way for customizing the headers Outlook Express use
> to put in the email messages.
> I wish there was, because I don't like them also...
Although I haven't used it personally, OE-QuoteFix may help:
http://home.in.tum.de/~jain/software/oe-quotefix/
I do
So I've just recently fallen in love with simplexml. But from what I've
read, is it true that xpath doesn't really work properly?
I'm using an XML file that has a section like this:
Title
Link
Desc
Subject
2004-09-20T18:15:00+00:00
My sample of my PHP code is:
item as $item) {
echo $item->
its pretty easy to make your function recursive, all you need to do is
test if the current file is a directory (if (is_dir($file)){run
function} else if (eregi('/_vti_cnf/',$file))), then delete all files
as long as they are located in a "_vti_cnf" directory. And I'm sure
I've done something wrong
Sorry John, but I forgot to write that detail: I test locally on Win
machine, but directories are on Linux server.
Afan
John Nichel wrote:
Jesse Castro wrote:
rm -r will recursively remove the directory and
everything in it
He's on a Windows system, that won't work. As a side note, on *nix
ba
Afan Pasalic wrote:
directories are on Linux server and Windows System Commands will not
work there.
I forgot to make a note:
warning shows c:\ap\artwork\ap.php because I test it locally, n windows
machine. but directories are on Linux box
sorry for misleading you guys.
Then that's a bit easier..
Every time I send a email to php-list I get the email below. Can
somebody take this email out of list?
Thank you.
Afan
Original Message
Subject:Destinatario No exitente
Date: Tue, 21 Sep 2004 13:47:02 -0400
From: Mailer Iguanahosting.com <[EMAIL PROTECTED]>
To: A
directories are on Linux server and Windows System Commands will not
work there.
I forgot to make a note:
warning shows c:\ap\artwork\ap.php because I test it locally, n windows
machine. but directories are on Linux box
sorry for misleading you guys.
John Nichel wrote:
Afan Pasalic wrote:
I hav
Jesse Castro wrote:
rm -r will recursively remove the directory and
everything in it
He's on a Windows system, that won't work. As a side note, on *nix
based systems, rm -rf would be better suited so that it doesn't
prompt for conformation on each file/directory.
--
John C. Nichel
ÜberGeek
K
Thanks Jesse, but I don't have an access to server. Just FTP. That's why
I have to use php script.
Jesse Castro wrote:
rm -r will recursively remove the directory and
everything in it
-Original Message-
From: Afan Pasalic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 12:31
Afan Pasalic wrote:
I have directory with huge number of directories (names by date artwork
requested and client id number) with clients artwork.
by accident, directory was opened by FrontPage and now in each directory
is created _vti_cnf directory with copy of the artwork.
i have to delete all t
But then, don't you run the risk of having 2 different architectures, that
is, PHP5(possibly PHP6) and PHP 4.something may evolve down to include
different features or even different behaviors?
- Original Message -
From: "Thomas Goyne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
rm -r will recursively remove the directory and
everything in it
-Original Message-
From: Afan Pasalic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 12:31 PM
To: php-general
Subject: [PHP] deleting directories
I have directory with huge number of directories (names by dat
I have directory with huge number of directories (names by date artwork
requested and client id number) with clients artwork.
by accident, directory was opened by FrontPage and now in each directory
is created _vti_cnf directory with copy of the artwork.
i have to delete all those '_vti_cnf' dire
Gerben wrote:
I would like to know which headers I have to send on my own 404page?
I read somewhere I have to send the header "HTTP 302 Found"
I also want to know which header I have to send when I redirect from my
404page?
do I need "HTTP 201"?
http://www.onlamp.com/pub/a/onlamp/2003/02/13/davi
[snip]
I would like to know which headers I have to send on my own 404page?
I read somewhere I have to send the header "HTTP 302 Found"
I also want to know which header I have to send when I redirect from my
404page?
do I need "HTTP 201"?
[/snip]
Have you checked the http://www.w3c.org ?
--
PH
I would like to know which headers I have to send on my own 404page?
I read somewhere I have to send the header "HTTP 302 Found"
I also want to know which header I have to send when I redirect from my
404page?
do I need "HTTP 201"?
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Don't think that is it, but for the record, it is compiled with-png.
Thanks for the stab though :)
--
Chris Bruce
[EMAIL PROTECTED]
Idextrus E-Business Architects
http://www.idextrus.com
3282 Wilmar Cres.
Mississauga, ON
L5L4B2
CA
905.828.9189 South Office
705.361.0331 North Office
**
> Just, the result returned by the fuinction is mainly used to creatre
> links in the pages, only in some very special cases will be used with
> the header function. Just I use the & entity in links because I
> want all my pages being validated by the W3C validator service.
As well as that, you sh
On Mon, 20 Sep 2004 20:23:53 -0700 (PDT), Chris Shiflett
<[EMAIL PROTECTED]> wrote:
>
> > header('Location: '. html_entity_decode($url));
> >
> > I would like to know if there is a better way to do it
>
> This should work fine. However, I would prefer to keep the data in its
> original format an
Possibly you need to compile php with-png ?? im not sure of this, im
just taking a stab in the dark..
Jason
Chris Bruce <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am using the PDF creation classes from http://www.ros.co.nz/pdf
>
> Everything is working great with the exception of not being a
John Nichel wrote:
Al wrote:
How can get "Edit/Mail & Newsgroups/Composition/defaults for Html" to
work?
"Edit/Mail & Newsgroups/Send Format/Send in HTML is checked.
All newsgroups and emails default to plain small text.
Is this a bug, or am I missing something?
Thanks..
Huh?
Sorry everyone. I w
Hello,
I am using the PDF creation classes from http://www.ros.co.nz/pdf
Everything is working great with the exception of not being able to use
a PNG image with the ezImage extension. JPG works but is not as crisp
as the image that I want to place is a logo. All file paths and
spellings are cor
If you are working with a timestamp in some other format, this works
well:
$ts = date("Y-m-d H:i:s",strtotime($sring_with_timestamp));
If you want to create a timestamp at the execution time, this works
well:
$ts = date("Y-m-d H:i:s");
Both will generate mysql compatiable date/t
Not really a MySQL question - the answer happens to be MySQL, but the
question asks how to do it in PHP
This might still be necessary if the OP is using something like
DB_DataObject, as you can't really use NOW() in that situation
Try strftime [ http://uk.php.net/strftime - RTFM :) ] - a good f
[EMAIL PROTECTED] wrote:
Subject: inserting timestamp into mysql field
hi there,
i need to insert a current timestamp into a mysql field when a form is posted.
can anyone suggest a simple way of doing this? i would like to set a variable
in my php script to add into the insert statement. it needs t
Subject: inserting timestamp into mysql field
hi there,
i need to insert a current timestamp into a mysql field when a form is posted.
can anyone suggest a simple way of doing this? i would like to set a variable
in my php script to add into the insert statement. it needs to be in the
format 00-0
From: "Al" <[EMAIL PROTECTED]>
How can get "Edit/Mail & Newsgroups/Composition/defaults for Html" to
work?
"Edit/Mail & Newsgroups/Send Format/Send in HTML is checked.
All newsgroups and emails default to plain small text.
Is this a bug, or am I missing something?
I think we're all missing someth
* Thus wrote Jean-Yves:
> Hi,
>
> Is there a documented way to create in PHP a critical section: I want a
> piece of code to not be executed in the same time several times?
http://php.net/semma
Curt
--
The above comments may offend you. flame at will.
--
PHP General Mailing List (http://www
Al wrote:
How can get "Edit/Mail & Newsgroups/Composition/defaults for Html" to work?
"Edit/Mail & Newsgroups/Send Format/Send in HTML is checked.
All newsgroups and emails default to plain small text.
Is this a bug, or am I missing something?
Thanks..
Huh?
--
John C. Nichel
ÜberGeek
KegWorks.com
7
How can get "Edit/Mail & Newsgroups/Composition/defaults for Html" to work?
"Edit/Mail & Newsgroups/Send Format/Send in HTML is checked.
All newsgroups and emails default to plain small text.
Is this a bug, or am I missing something?
Thanks..
--
PHP General Mailing List (http://www.php.net/)
To uns
On Tue, 2004-09-21 at 13:58, John Wards wrote:
> Not sure if anyone is interested in what I have come up with, its busy
> running just now but it seems to be performing ok.
Again adding to this thread for future reference.
Its just compleated all 90 threads in 1 hour 50 minutes and that was
runni
1 - 100 of 136 matches
Mail list logo