Roberto Mansfield wrote:
Internally, 75.82 can't be stored exactly, so 75.82 * 100 is probably
7581.92 rather than the expected integer value of 7582. So intval is
behaving properly. Sounds like you want intval(round($a));
[EMAIL PROTECTED] wrote:
Very weird and counter intuitive. Lookin
Hi everyone,
Let me know if there is a better place to post this.
I am playing with the idea of creating a true (KISS) abstraction layer
that makes full use of PHP5's OOP support. So logically it would make
sense to make use PDO wherever possible, however, one of PDO's design
decisions was to
David Duong wrote:
Sebastian wrote:
i'm looking for a function that can highlight certain search terms in
a string. anyone have something already made that i can plugin to my
exisiting code?
I found a couple but they do not work very well.. some break html code
if the string contain
Sebastian wrote:
i'm looking for a function that can highlight certain search terms in a
string. anyone have something already made that i can plugin to my
exisiting code?
I found a couple but they do not work very well.. some break html code
if the string contains the keywords in the html.
dence over Perl. Everything
is Open Source (under GPL) and on CVS. If you are unfamiliar with CVS, I'll
have a tutorial set up shortly.
David Duong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
See topic.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
btw - What do you mean by paypal generated passwords? I am interested in
using PayPal as an alternative to my current credit card handler.
Just a link is appreciated.
- David
"Rob Packer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I use PayPal to ge
Try http://www.php.net/md5.
Use md5 to encrypt the password, then when you need to check from login just
encrypt what is given, and see if this matches the md5 found in the
database.
- David
"Rob Packer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I us
s = off. Go through the
> predefined server array instead, it's sexier:
>
> print $_SERVER['PHP_SELF'];
>
> See also:
> http://www.php.net/manual/en/reserved.variables.php
>
> Regards,
> Philip Olson
>
>
> On Sat, 13 Jul 2002, David Duong wrote:
Is their a function that returns an equivalent of $PHP_SELF?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Go to http://www.cs.tut.fi/~jkorpela/forms/file.html; It gives an example.
Press Find on Page (ctrl+F for Internet Explorer) and type in "Style Sheet",
you should find what you are looking for by reading the paragraph and any
below that concern Style Sheet.
For more info about Style Sheets do a
I am not quite sure but this will do the trick:
http://64.4.14.24/spacer.gif\"; width=1 height=2>";
$fixedfile=preg_replace("/src=[^>]*?>/","src=\"\">",
$fixedfile);
#preg_replace("/[search]/","[replacement]",[string]);
exit ($fixedfile);
?>
I have made some differences from what you were tryi
to splice.
"David Duong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is their 1 function method to remove an element within an array using its
> key instead of its position within the element?
>
> I am looking for a
Is their 1 function method to remove an element within an array using its
key instead of its position within the element?
I am looking for a substitution for placing removing an element without
having to make another array just to list all the array elements and then
using that to specify where t
How would I get the difference between strings?
Example:
ViewCVS can browse directories, change logs, and revisions of files. It can
display diffs between versions and show selections of files based on tags or
branches...
This was word for word from sourceforge project ViewCVS, however ViewCVS w
Ok, I see.
You have to declare global first and then assign value.
"David Duong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How could I have a function create variables that can be used in other
> functions?
>
> _
Sqlcoders.com Dynamic data driven web solutions
>
> - Original Message -
> From: "David Duong" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: May 22 2002 04:21 PM
> Subject: [PHP] Making varibles (more than one) with a function.
> >
How could I have a function create variables that can be used in other
functions?
_Example_:
makevars() {
list($md5,$pusername,$pproject,$pfile) = explode(":",$authok);
$user = $pusername;
$project = $pproject;
$file = $pfile;
}
function display () {
makevars();
echo "$user,$project,$file";
}
I
I am referring to whole PHP/Perl files. It is necessary to load them as
much as 20+ times within the same hour what would be better MySql or
Flatfile?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I'm David Duong of the CGI open source Foundry. We are looking for a script
to produce. If you have a good script an would like some programmers to
help develop it I invite you to visit http://cosf.sourceforge.net.
--
PHP General Mailing List (http://www.php.net/)
To unsubs
To store large values (100k+) and load them as much as 6+ times within the
same hour what would be better MySql or Flatfile?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Currently I am using SourceForge for a variety of Projects and now some
issues have surfaced concerning SF quality. Now I am now wonder what is the
worst downfall about SF? Now SourceForge is a very great tool as mention
earlier, it is a very useful tool in Open Source and I am quite
Hello, I need a script that can track impressions through PHP.
I know you load a php script from tags than some how the image is
loaded or redirected.
Is their a way I can record impressions and environment variables like IP,
Browser, referrer, etc.
--
PHP General Mailing List (http://www.p
How do I add extra fields after it has already been set?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe, http://www.phpbb.com
-David.
"Boaz Yahav" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
http://www.phorum.org ?
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Me
COSF will be a CGI foundry that produces scripts from:
- The existing projects of its members (which means if you have a project
in the works which was supposed to be finished a year ago right before you
started on the new one)
- The Scripts which have been abandoned because the scripter lost h
Is their anyone who would like to join the CGI Open Source Foundry (COSF)?
COSF will be a CGI foundry that produces scripts from:
- The existing projects of its members (which means if you have a project
in the works which was supposed to be finished a year ago right before you
started on the n
I was wondering what is the equvilent of the perl coommand: grep.
Can you list all the files in a certain directory and put it in an array.
Can you list all the files with *.htm in a certain directory and put it in
an array.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
empty -- Determines whether a variable is set
gives a boolean result.
$var = 0;
if (empty($var)) { // evaluates true
echo '$var is either 0 or not set at all';
}
if (!isset($var)) { // evaluates false
echo '$var is not set at all';
}
I don't think that
would work. Try:
If you want
I didn't put mailing list I meant Usenet lists.
"Bvr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> Why not try www.perl.com ???
>
> I found: http://www.perl.com/cs/user/query/q/6?id_topic=50
>
> bvr.
Does anyone have a PHP project that you need more help on?
"David Duong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The objective of this foundry is to develop scripts that will be usefull
to
> anyone.
>
> We will be
This may be the worst place to put this but here goes:
Does anyone know of a Perl NewsGroup?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
who are incharge of distributing the
script. Thus most of their time will be spent "marketing".
"David Duong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I need some experienced people to become managers of the CGI O
d CGI still mainly Perl even though PHP is somewhat easier, quicker
thus easier suited for CGI.
I think the meaning of CGI is quite blured.
Anyone else think so?
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sun, 17 Mar 2002, David Duong
I need some experienced people to become managers of the CGI Open Source
Foundry (COSF)?
I am planning to make a CGI Open Source Foundry
We will start in stages.
Stage 1 getting initial members (Hard Part)
- Once we gain 10-20 members we will start stage 2.
Stage 2 Dividing them into group
35 matches
Mail list logo