Carles Xavier Munyoz Baldó schrieb:
Hi,
Is there any free PHP class with which I can create lines and bars graphics ?
For example, for represent temperature samples over time, population of a
country over time, etc.
Greegints.
---
Carles Xavier Munyoz Baldó
[EMAIL PROTECTED]
I got the code as follows bellow. I'm having some problems to get it to
work. Maybe some of you are able to help me a bit.
First of all I got an array (salespersons) containing names of dynamic array
names. For example it can contain Johan, Mark, Jenny, Bill etc.
By calling for the possision in
-Ursprungligt meddelande-
Från: Jonas Rosling [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 10:06
Till: PHP List
Ämne: [PHP] Getting an advanced foreach to work
Should look like this:
foreach (${$salespersons[$count]} AS $key = $value) {
--
PHP General Mailing List
this shoul work:
while ($count count($salespersons)) {
foreach ($salespersons[$count] AS $key = $value) {
echo htmlentities($key).' - '.$value;
$count++;
}
}
On 5/23/06, Jonas Rosling [EMAIL PROTECTED] wrote:
I got the code as follows
Jonas Rosling wrote:
...
while ($count count($salespersons)) {
I see you have solved it - just one comment.
This particular line will get evaluated every time. If you have a large
number of elements in $salespersons, it will slow things down considerably.
From a performance point of
Use the unix command file to determiner what file you have.
I have had the same problem...
Don't depend on it.
graphic.php
GIF89
?php do_bad_stuff(); ?
ANY_GIF_FOOTERS_HERE
should according to file be a gif, but contains embedded php.
Many thanks!
Greetings
Michelle Konzack
--
-Ursprungligt meddelande-
Från: Chris [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 10:24
Till: Jonas Rosling
Kopia: PHP List
Ämne: Re: [PHP] Getting an advanced foreach to work
From a performance point of view you're much better off doing:
$sales_count = count($salespersons);
Hi all, I am writing an app that runs a prize draw, wherein the admin
chooses the duration by adding a start date and number of days for the draw
to run. These values are passed into a small function that generates an
array holding the start date, end date and all dates in between as follows:
I find this problem very strange. I've got two parts of code (allmost the
same) in different TD's with vars and arrays (with same name) but it's only
the top code that gives result. I've allso tryied to rename the vars and
TD's in the bottom without any luck. The only vars/arrays that I haven't
On 5/23/06, Dave Goodchild [EMAIL PROTECTED] wrote:
Hi all, I am writing an app that runs a prize draw, wherein the admin
chooses the duration by adding a start date and number of days for the draw
to run. These values are passed into a small function that generates an
array holding the start
On 5/23/06, Jonas Rosling [EMAIL PROTECTED] wrote:
I find this problem very strange. I've got two parts of code (allmost the
same) in different TD's with vars and arrays (with same name) but it's only
the top code that gives result. I've allso tryied to rename the vars and
TD's in the bottom
-Ursprungligt meddelande-
Från: chris smith [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 13:38
Till: Jonas Rosling
Kopia: PHP List
Ämne: Re: [PHP] One works, but the other doesn't
On 5/23/06, Jonas Rosling [EMAIL PROTECTED] wrote:
I find this problem very strange. I've got two
I'm having very occasional problems with my PHP5 applications which only
seem to be explained if the script is run twice.
Example - page has 'Add Ticket' button, which adds a record and marks it
as being processed by the location that created it. 99.99% of the time
no problems, but just now
On 5/23/06, Lester Caine [EMAIL PROTECTED] wrote:
I'm having very occasional problems with my PHP5 applications which only
seem to be explained if the script is run twice.
Example - page has 'Add Ticket' button, which adds a record and marks it
as being processed by the location that created
Lester Caine wrote:
I'm having very occasional problems with my PHP5 applications which
only seem to be explained if the script is run twice.
Example - page has 'Add Ticket' button, which adds a record and marks
it as being processed by the location that created it. 99.99% of the
time no
On 5/23/06, Jonas Rosling [EMAIL PROTECTED] wrote:
-Ursprungligt meddelande-
Från: chris smith [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 13:38
Till: Jonas Rosling
Kopia: PHP List
Ämne: Re: [PHP] One works, but the other doesn't
On 5/23/06, Jonas Rosling [EMAIL PROTECTED]
-Ursprungligt meddelande-
Från: chris smith [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 14:13
Till: Jonas Rosling
Kopia: PHP List
Ämne: Re: [PHP] One works, but the other doesn't
On 5/23/06, Jonas Rosling [EMAIL PROTECTED] wrote:
-Ursprungligt meddelande-
Från: chris
OK I found this out last week... if its not a coding error... its this..
There is a bug with IE7, I have some billing scripts for a large Sydney ISP
and I was working on a script on my laptop which I recently updated to
IE7... after tipping my hair out for a few hours cause I was certain it was
On 5/23/06, Jonas Rosling [EMAIL PROTECTED] wrote:
-Ursprungligt meddelande-
Från: chris smith [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 14:13
Till: Jonas Rosling
Kopia: PHP List
Ämne: Re: [PHP] One works, but the other doesn't
On 5/23/06, Jonas Rosling [EMAIL PROTECTED]
-
Well, I'm kind of a newbie at this. So you think this will solve my problem?
Why don't you test it?
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Futher to this...
I found thatit does not do it with all my scripts... well as far as I am
aware... how much is IE7 stuffing up I have NFI
CK
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 May 2006 10:06 PM
To: Lester Caine
Cc: PHP List
Subject: Re:
Chris wrote:
Jonas Rosling wrote:
...
while ($count count($salespersons)) {
I see you have solved it - just one comment.
This particular line will get evaluated every time. If you have a large
number of elements in $salespersons, it will slow things down considerably.
Quick
-Ursprungligt meddelande-
Från: Barry [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 14:24
Till: php-general@lists.php.net
Ämne: Re: SV: [PHP] One works, but the other doesn't
-
Well, I'm kind of a newbie at this. So you think this will solve my
problem?
Why
Stut wrote:
Lester Caine wrote:
I'm having very occasional problems with my PHP5 applications which
only seem to be explained if the script is run twice.
Example - page has 'Add Ticket' button, which adds a record and marks
it as being processed by the location that created it. 99.99% of
[snip]
While tabindex is a neat thing to use it does not necessarily give focus
to the first element of the form, it merely dictates the order in which
form elements will be given focus when the tab key is pressed. The
action may vary from browser to browser. Likely, when going to a form
with
Does anyone know how to specify the encryption cipher used in this
funciton as documented in OpenSSL's genrsa(1)?
Why isn't the encryption method a value in [array configargs] ?
-des|-des3|-idea
These options encrypt the private key with the DES, triple DES,
or
Lester Caine wrote:
Stut wrote:
Lester Caine wrote:
I'm having very occasional problems with my PHP5 applications which
only seem to be explained if the script is run twice.
Example - page has 'Add Ticket' button, which adds a record and marks
it as being processed by the location that
some one is about to run out of karma.
Jonas Rosling wrote:
-Ursprungligt meddelande-
Från: Barry [mailto:[EMAIL PROTECTED]
Skickat: den 23 maj 2006 14:24
Till: php-general@lists.php.net
Ämne: Re: SV: [PHP] One works, but the other doesn't
-
Well, I'm kind of
At 9:45 AM +0100 5/23/06, Rory Browne wrote:
Use the unix command file to determiner what file you have.
I have had the same problem...
Don't depend on it.
graphic.php
GIF89
?php do_bad_stuff(); ?
ANY_GIF_FOOTERS_HERE
should according to file be a gif, but contains embedded php.
Rory:
Is the 'Add Ticket' button a GET or POST request? If it's a POST then
chances are the script itself has a logic error since the user would get
asked if they wanted to repost the data. If it's a get then you've
violated one of the cardinal rules of web-based application development
- GETs
This may be far-fetched, but can php convert a doc file to HTML? I
vaguely remember a thread that discussed converting pdf's, but I
cannot find reference to either that or to doc in the manual. Any
input would be appreciated.
If php cannot do this, then could someone recommend a tool that runs
[snip]
This may be far-fetched, but can php convert a doc file to HTML?
[/snip]
http://www.google.com/search?hl=enq=php+convert+word+doc+to+html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 7:09 PM +0300 5/23/06, Dotan Cohen wrote:
This may be far-fetched, but can php convert a doc file to HTML? I
vaguely remember a thread that discussed converting pdf's, but I
cannot find reference to either that or to doc in the manual. Any
input would be appreciated.
If php cannot do this,
On 5/23/06, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
This may be far-fetched, but can php convert a doc file to HTML?
[/snip]
http://www.google.com/search?hl=enq=php+convert+word+doc+to+html
Thanks, Jay. I mostly found Windows software on google that would do
the job. So I decided to
On 5/23/06, tedd [EMAIL PROTECTED] wrote:
At 7:09 PM +0300 5/23/06, Dotan Cohen wrote:
This may be far-fetched, but can php convert a doc file to HTML? I
vaguely remember a thread that discussed converting pdf's, but I
cannot find reference to either that or to doc in the manual. Any
input would
Dotan Cohen wrote:
This may be far-fetched, but can php convert a doc file to HTML? I
vaguely remember a thread that discussed converting pdf's, but I
cannot find reference to either that or to doc in the manual. Any
input would be appreciated.
If php cannot do this, then could someone
mbneto wrote:
Hi,
I am looking for sample code/class that can generate a thumbnail (can be a
png/jpeg) image from a tiff image. So far I've only found examples using
png/jpg/gif as input.
Any tips?
ImageMagick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine which
site is which.
http://www.domain.com/subdir1
http://www.domain.com/subdir2
http://www.domain.com/subdir3
and subdir1, subdir2 and subdir3 all need
Perhaps check out some of these
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
-Brad
Dallas Cahker wrote:
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine
which
site is
Lester Caine wrote:
I'm having very occasional problems with my PHP5 applications which only
seem to be explained if the script is run twice.
Example - page has 'Add Ticket' button, which adds a record and marks it
as being processed by the location that created it. 99.99% of the time
no
At 02:29 PM 5/23/2006, Dallas Cahker wrote:
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine which
site is which.
http://www.domain.com/subdir1
http://www.domain.com/subdir2
http://www.domain.com/subdir3
Dallas Cahker wrote:
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine
which
site is which.
http://www.domain.com/subdir1
http://www.domain.com/subdir2
http://www.domain.com/subdir3
and subdir1, subdir2 and
On Tue, 2006-05-23 at 14:08, Lester Caine wrote:
I can't believe that this has not surfaced before. I should not need to
prevent duplicate actions, but it looks as that is required by the
Mozilla browsers :(
Why not? Why is it the browser's responsibility? Are you suggesting that
when I
Greetings,
Seem to have a bit of a problem I can't figure out. I'm trying to query
servers via SNMP with PHP's snmpget function. Everything seems to work
fine, no problems at all - except I'd like the web page to print the
string value instead of the numeric value (I.E. OK for the Compaq Drive
A new version on PostgreSQL came out with a security SQL-injection hole
fixed. Reading the docs, I find that clients have to be rebuilt, and with
changes in regard to the use of the libpq library.
Is there going to be a new version of PHP4 and 5 to ajust to this?
Here is the data:
On Mon, 22 May 2006, John Nichel wrote:
Brad Bonkoski wrote:
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before your
DB
On Mon, 22 May 2006, Richard Lynch wrote:
On Mon, May 22, 2006 11:25 am, [EMAIL PROTECTED] wrote:
After the form is submitted, some fields are filled with single and/or
double quote info (like: 1'2x2'4, or sky's blue, or cool stuff).
I validate what I got using mysql_real_escape_string() and
2006/5/23, Dotan Cohen [EMAIL PROTECTED]:
On 5/23/06, tedd [EMAIL PROTECTED] wrote:
At 7:09 PM +0300 5/23/06, Dotan Cohen wrote:
This may be far-fetched, but can php convert a doc file to HTML? I
vaguely remember a thread that discussed converting pdf's, but I
cannot find reference to
At 11:08 AM 5/23/2006, Lester Caine wrote:
I could not believe that double clicking a link would run the link
twice. It just does not make any sense. So I've been round the
browsers. IE does NOT process the link twice how ever I try and
since all the user sites are IE they should be OK.
Moz,
PHP seems to cache POST data, and waits for the entire POST to finish
sending before it makes it available to php://input.
I'd like to be able to read the post data from php://input while the
client is still uploading it. How can I cause PHP to make the POST data
available right away instead
On Tue, 2006-05-23 at 15:01, Paul Novitski wrote:
At 11:08 AM 5/23/2006, Lester Caine wrote:
I could not believe that double clicking a link would run the link
twice. It just does not make any sense. So I've been round the
browsers. IE does NOT process the link twice how ever I try and
Thanks for the example, Tedd. That script would work if I already had
the files in HTML format.
Try searching the site using html, I found 85 examples that did
something with html and php.
Searching Google, presented this:
http://www.needscripts.com/Resource/15472.html
That's another
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine which
site is which.
http://www.domain.com/subdir1
http://www.domain.com/subdir2
http://www.domain.com/subdir3
and subdir1, subdir2 and subdir3 all need
You have users who double-click on their submit button.
Deal with it. :-)
Add a token to the form and mark it used in the database on first
submit.
On Tue, May 23, 2006 6:55 am, Lester Caine wrote:
I'm having very occasional problems with my PHP5 applications which
only
seem to be
On 5/23/06, P. Guethlein [EMAIL PROTECTED] wrote:
Anyone have any recommendations/Links to Shopping Cart Software that
will run on Windows/Apache/PHP ?
Thanks, -Pete
Have you tried OSCommerce?
-Mike
--
Michael E. Crute
http://mike.crute.org
It is a mistake
On Tue, 2006-05-23 at 15:01, Paul Novitski wrote:
An additional strategy to make your system more robust is to use
three pages for your form submission:
1) the form itself, which submits to:
2) the script that processes input, which redirects to:
3) the page that displays the results (or
On 5/23/06, Dallas Cahker [EMAIL PROTECTED] wrote:
how do I get the subdirectory that a page is being pulled from.
say I have three sites running the same script and I need to determine which
site is which.
http://www.domain.com/subdir1
http://www.domain.com/subdir2
On Tuesday 23 May 2006 13:40, Richard Lynch wrote:
You have users who double-click on their submit button.
Deal with it. :-)
Add a token to the form and mark it used in the database on first
submit.
You could even go so far as to disable the form element with the onClick
event. Should
At 4:02 PM -0400 5/23/06, Robert Cummings wrote:
On Tue, 2006-05-23 at 15:01, Paul Novitski wrote:
At 11:08 AM 5/23/2006, Lester Caine wrote:
I could not believe that double clicking a link would run the link
twice. It just does not make any sense. So I've been round the
browsers. IE does
Paul Novitski wrote:
An additional strategy to make your system more robust is to use three
pages for your form submission:
1) the form itself, which submits to:
So I need separate forms for each function on the main page rather than
just a link to ...
2) the script that processes
On 5/23/06, Martin Alterisio [EMAIL PROTECTED] wrote:
If that's the case, why don't you just use the export as web page or save
as web page tools of MS Word (if you don't have it anymore you can as
someone who still has it, or I think OpenOffice also has a similar tool).
Because there are
Richard Lynch wrote:
You have users who double-click on their submit button.
Deal with it. :-)
Add a token to the form and mark it used in the database on first
submit.
As I have indicated - the code SHOULD have delt with it - that is part
of the problem :( I just had not anticipated a
On Tue, 2006-05-23 at 16:47, tedd wrote:
Considering that everyone is putting in their $0.02, here's my suggestion.
1. Keep the form and processing on one page. The number of pages is
not the problem -- double clicking is.
2. Start a session.
3. Initialize a variable that is
On Tue, May 23, 2006 1:08 pm, Lester Caine wrote:
IE does NOT process the link twice how ever I try and since all the
user
sites are IE they should be OK.
Moz, Firefox and Sea Monkey *DO* run the link twice, and any code
attached to that link.
I can't believe that this has not surfaced
Adam Zey wrote:
PHP seems to cache POST data, and waits for the entire POST to finish
sending before it makes it available to php://input.
I'd like to be able to read the post data from php://input while the
client is still uploading it. How can I cause PHP to make the POST data
available
On Tue, May 23, 2006 7:19 am, Jonas Rosling wrote:
Well, I'm kind of a newbie at this. So you think this will solve my
problem?
Yes, as we told you a week ago. :-)
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 01:50 PM 5/23/2006, Lester Caine wrote:
2) the script that processes input, which redirects to:
Yep that is the one, and it does check if the user already has an
existing ticket, but it does not see the ticket created by the first
click of double click in Moz :(
*THAT* should prevent the
mktime() args are hour/minute/second/month/day/year or somesuch.
You are passing in a string, which PHP tries to convert to int, which
results in who knows what, on the line that starts $added =
On Tue, May 23, 2006 6:11 am, Dave Goodchild wrote:
Hi all, I am writing an app that runs a prize
On Tue, May 23, 2006 3:45 am, Rory Browne wrote:
Use the unix command file to determiner what file you have.
I have had the same problem...
Don't depend on it.
http://php.net/getimagesize
would be slightly better, as it tries to dig out width/height and
number of colors for any given format,
On Tue, May 23, 2006 9:52 am, tedd wrote:
At 9:45 AM +0100 5/23/06, Rory Browne wrote:
I'm not disagreeing with you, but how would that work? The file would
still have a suffix of .gif and as such wouldn't be recognized as
code to execute.
Unless you have ANOTHER bug somewhere in those
Jochem Maas wrote:
Adam Zey wrote:
PHP seems to cache POST data, and waits for the entire POST to finish
sending before it makes it available to php://input.
I'd like to be able to read the post data from php://input while the
client is still uploading it. How can I cause PHP to make the
On Mon, May 22, 2006 5:10 pm, mbneto wrote:
I am looking for sample code/class that can generate a thumbnail (can
be a
png/jpeg) image from a tiff image. So far I've only found examples
using
png/jpg/gif as input.
In those examples, change the line that reads:
imagecreatefromjpeg(...)
to
On Tue, May 23, 2006 4:39 pm, Adam Zey wrote:
The only other approach I can figure out is to send periodic POST
requests with the latest data, the downside of which is a huge
increase
in latency between data production and consumption.
Sounds like you maybe want to run your own server...
2006/5/23, Dotan Cohen [EMAIL PROTECTED]:
On 5/23/06, Martin Alterisio [EMAIL PROTECTED] wrote:
If that's the case, why don't you just use the export as web page or
save
as web page tools of MS Word (if you don't have it anymore you can as
someone who still has it, or I think OpenOffice
Richard Lynch wrote:
On Tue, May 23, 2006 4:39 pm, Adam Zey wrote:
The only other approach I can figure out is to send periodic POST
requests with the latest data, the downside of which is a huge
increase
in latency between data production and consumption.
Sounds like you maybe want
Adam Zey wrote:
Jochem Maas wrote:
...
Essentially what I want is a persistant HTTP connection over which I can
stream data and have the server-side PHP script process the data as it
arrives, rather than when all the data is sent.
The only other approach I can figure out is to send
Jochem Maas wrote:.
...
Richard's suggestion is most likely the best option (assuming you want
to use php)
otherwise you'll probably end up hacking webserver and/or php sources
(painful, time consuming
and a probable maintainance nightmare) ... which also comes with the
risk of breaking
my 2cents
Martin Alterisio wrote:
2006/5/23, Dotan Cohen [EMAIL PROTECTED]:
On 5/23/06, Martin Alterisio [EMAIL PROTECTED] wrote:
If that's the case, why don't you just use the export as web page or
save
as web page tools of MS Word (if you don't have it anymore you can as
someone
Adam Zey wrote:
Jochem Maas wrote:.
...
Richard's suggestion is most likely the best option (assuming you want
to use php)
otherwise you'll probably end up hacking webserver and/or php sources
(painful, time consuming
and a probable maintainance nightmare) ... which also comes with the
risk
Jochem Maas wrote:
why is port 80 a requirement - HTTP can technically over any port.
It must be accessible to any client, no matter what sort of firewall or
proxy they go through. The only way to absolutely assure that is, as far
as I know, to use port 80. It is the only port that you can
[snip]
As I mentioned in my more recent mail, this unfortunately isn't an
option since I need to run on port 80 without disturbing the existing
webserver, which requirse that the script be running through the
webserver :(
[/snip]
I have been reading this thread with much interest and think
Greetings,
PHP Rookie here with a quick question - how do I go through 2 arrays at
once with different keys?
I'd like to combine these 2 arrays into one:
for ( $i = 0; $i sizeof($logicalDrive); $i++) {
echo $arrLogDrive[$i]br /\n;
}
for (reset($logicalDrive); $i =
Jay Blanchard wrote:
[snip]
As I mentioned in my more recent mail, this unfortunately isn't an
option since I need to run on port 80 without disturbing the existing
webserver, which requirse that the script be running through the
webserver :(
[/snip]
I have been reading this thread with
At 4:34 PM -0500 5/23/06, Richard Lynch wrote:
On Tue, May 23, 2006 9:52 am, tedd wrote:
At 9:45 AM +0100 5/23/06, Rory Browne wrote:
I'm not disagreeing with you, but how would that work? The file would
still have a suffix of .gif and as such wouldn't be recognized as
code to execute.
Pavleck, Jeremy D. wrote:
Greetings,
PHP Rookie
that explains why you may not have bumped into 'foreach' yet :-)
...
here with a quick question - how do I go through 2 arrays at
once with different keys?
I'd like to combine these 2 arrays into one:
for ( $i = 0; $i
Pavleck, Jeremy D. wrote:
Greetings,
PHP Rookie here with a quick question - how do I go through 2 arrays at
once with different keys?
I'd like to combine these 2 arrays into one:
for ( $i = 0; $i sizeof($logicalDrive); $i++) {
echo $arrLogDrive[$i]br /\n;
}
for
[snip]
Essentially, I'm looking to write something in the same vein as GNU
httptunnel, but in PHP, and running on port 80 serverside.
[/snip]
All of that was nice, but still does not explain what you are trying to
accomplish other than maintaining a connection state between client and
server.
At 5:33 PM -0500 5/23/06, Pavleck, Jeremy D. wrote:
Greetings,
PHP Rookie here with a quick question - how do I go through 2 arrays at
once with different keys?
I'd like to combine these 2 arrays into one:
Jeremy:
array_merge
Review this:
http://www.weberdev.com/array_merge
hth's
tedd
2006/5/23, Jochem Maas [EMAIL PROTECTED]:
my 2cents
Martin Alterisio wrote:
2006/5/23, Dotan Cohen [EMAIL PROTECTED]:
On 5/23/06, Martin Alterisio [EMAIL PROTECTED] wrote:
If that's the case, why don't you just use the export as web page
or
save
as web page tools of MS Word (if
Jay Blanchard wrote:
[snip]
Essentially, I'm looking to write something in the same vein as GNU
httptunnel, but in PHP, and running on port 80 serverside.
[/snip]
All of that was nice, but still does not explain what you are trying to
accomplish other than maintaining a connection state
date(a); output = AM
Is there any easy way to change the formatting of the output of above
from am to a.m. in order to conform to AP style?
Something like this below would work, but I'm wondering if there is
something I could do differently in the date() fuction to make it work:
$date
Kevin Murphy wrote:
date(a); output = AM
Is there any easy way to change the formatting of the output of above
from am to a.m. in order to conform to AP style?
Something like this below would work, but I'm wondering if there is
something I could do differently in the date() fuction to
Hi
can anybody explain how require works, and what's the difference between
_once and regular? What's going on when php file is processed? In manual is
written just, that it's readed once if include_once. What does to mean
readed? Thank You
--
Mindaugas
Mindaugas L wrote:
I'm still new in php:) what about using cookies? nobody mentioned
anything? store info in client cookie, and read it from server the
same time? :))
On 5/24/06, *Adam Zey* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
*snip*
Regards, Adam Zey.
--
PHP
Mindaugas L wrote:
Hi
can anybody explain how require works, and what's the difference between
_once and regular? What's going on when php file is processed? In manual is
written just, that it's readed once if include_once. What does to mean
readed? Thank You
The difference between include
On Tue, 2006-05-23 at 17:26, Paul Novitski wrote:
At 01:50 PM 5/23/2006, Lester Caine wrote:
2) the script that processes input, which redirects to:
Yep that is the one, and it does check if the user already has an
existing ticket, but it does not see the ticket created by the first
click
Martin Marques wrote:
A new version on PostgreSQL came out with a security SQL-injection hole
fixed. Reading the docs, I find that clients have to be rebuilt, and
with changes in regard to the use of the libpq library.
Is there going to be a new version of PHP4 and 5 to ajust to this?
Here
jekillen wrote:
On May 23, 2006, at 3:37 PM, Adam Zey wrote:
Essentially, I'm looking to write something in the same vein as GNU
httptunnel, but in PHP, and running on port 80 serverside. The
server-client part is easy, since a never-ending GET request can
stream the data and be consumed
Pavleck, Jeremy D. wrote:
how do I go through 2 arrays at
once with different keys?
for ( $i = 0; $i sizeof($logicalDrive); $i++) {
echo $arrLogDrive[$i]br /\n;
}
for (reset($logicalDrive); $i = key($logicalDrive); next($logicalDrive))
{
echo $i:
Pavleck, Jeremy D. wrote:
Greetings,
Seem to have a bit of a problem I can't figure out. I'm trying to query
servers via SNMP with PHP's snmpget function. Everything seems to work
fine, no problems at all - except I'd like the web page to print the
string value instead of the numeric value
1 - 100 of 104 matches
Mail list logo