>I remember seeing someone post something like this:
>
>$sql = " SELECT * FROM table_name
> WHERE towns LIKE \"$town\" ";
>
>so if the search word is not EXACTLY like a row in the database, it may
>return results to partial words.
I think you mean
$sql = "SELECT * FROM table_name WHERE to
Here's what you wrote, 01-01-14:
>I'd like to be able to trim out some html tags, but only certain ones. I've
>used eregi_replace before and have some replacements running on some
>scripts...
For this, I'd use strip_tags().
Example: strip_tags($contents, "")
Will remove all tags from a us
> >>
> >> what are you doing making a connection to a database on the same page you
> >> spit out the results from?
> >
As long as the password and username are on an include not available
in the http doc tree, I would assume you can use that included
function to connect as much as you want
I was wondering what Im sure a well knowledged php expert like your self
would recommend a hands on php crash course. The best way for me to jump
right in to understanding php and getting started making my first data
base.
with php3 and mysql. I understand that is how you have to do it.
See Im run
^.+@.+\\..+$ This regular expression can check if the email address is
valid. But it cannot validate the email address with two "@", does anybody
know how to enhance this regular expression to be able to validate the email
address with two "@".
--
PHP General Mailing List (http://www.php.net/
Is it possible to find out who is logged in a site and display their name in
PHP?
--
best wishes,
enethk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
Addressed to: Alex Black <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001 17:16:50
-0800
>
> > Whoever said NFS is slow hasn't used a NetApp
>
OK, I'll bite. What is NetApp? Network Appliance?
Is this a cache technolo
Addressed to: "Matt Friedman" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Matt Friedman" <[EMAIL PROTECTED]> Sun, 14 Jan 2001
21:21:32 -0800
>
> There are a number of methods in the session class of phplib.
>
> With phplib and php4.0.4 I am seeing the following war
First, the ()'s in the split regex makes no sense. Split has no registers
to save stuff to.
Second, that is a rather clunky way to loop through an array.
Third, since the regex in split defines the delimiter to use to split the
string on, the actual "1 -->" part of the data is gone. Why are yo
Hello Jacky,
(Jl == "Jacky@lilst") [EMAIL PROTECTED] writes:
Jl> This may sound too easy to ask but I want ot make sure if I'm
Jl> correct. I have a form with date, month and year select fields in
Jl> it. When I submit, i want to tie those three fields value together
Jl> and insert into a fiel
Hi,
This "special server" is usually called an SMSC - SMS Center, run by your
mobile operator. These SMSC's are pretty powerful in the way that you can
access them through TCP (VPN for sure, and sometimes even HTTP), or through
a direct link connexion. You'd need to talk to your mobile operator t
I think that is what you are looking for...
http://px.sklar.com/
anyway in php.net they have a bunch of them in the links section.
Have fun!
Rom
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 15, 2001 1:23 AM
Subject: [PHP] I once saw a sit
> may be I did not make my question clear about what I try to
> do. Basically if I have 2 date values in the same format like
> -mm-dd, can I use both values to find out if one come
> before another and then display message or something? Say I
> have $date1 = 20010115 and $date2 = 20010120
> It has px...something...i cannot remember the exact site.
>
> could someone point me to that site?
http://px.sklar.com
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
It has px...something...i cannot remember the exact site.
could someone point me to that site?
thank you.
bernie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
Hi people,
may be I did not make my question clear about what I try to do. Basically if I have 2
date values in the same format like -mm-dd, can I use both values to find out if
one come before another and then display message or something? Say I have $date1 =
20010115 and $date2 = 20010120
Hi
Im getting a parse error with this:
$sqlCheckLogin = sqlExecute( "Select * from Sky where SkyUName =
'".$HTTP_POST_VARS['UserName']."'
AND SkyPasswd = '".($HTTP_POST_VARS['Password'])."'" ) ;
Help
Ok, but the warning says that call time pass by reference is deprecated.
Will there be an update at some point to address this in phplib?
Matt Friedman
Spry New Media
http://www.sprynewmedia.com
Lead Programmer/Partner
email: [EMAIL PROTECTED]
phone: 250 744 3655
fax: 250 370 0436
- Origi
all right, now I have both date values in the same format (/mm/dd), say
$Date1 = 20010115 and $Date2 =20010120. If what I want is to find out if
$Date1 come before $Date2, can I just use this sniplet below?
if ($Date1 < $Date2) {
...
} else {
...
}
Do I still need to use mktime()
Hey people!
What is wrong with this code?
$buffer = split("([0-9] -->)",$pagedata);
$x = count ($buffer);
echo $x;
for ($i=0;$i<$x;$i++) {
ereg("([0-9] -->)", $buffer[$i], $text);
ereg_replace (" -->","", $text[1]);
echo $text[1];
}
Since $pagedata has 8 appearences of the REGEX I a
> can I used the value from that variables to compare with another
> date value? Say another date value I will use is also retrieved
> from a field in table which is in Date data type as well.
When you get into this stuff, it all starts getting a lot more complicated.
If you want to compare tw
Stig Bakken wrote:
> ssb Sun Jan 14 17:11:06 2001 EDT
>
> Modified files:
> /php4/ext/odbc php_odbc.c php_odbc.h
> Log:
> @- Added odbc_error() and odbc_errormsg() functions (Stig)
PHP 4 does not build on Win32 after this patch:
php_odbc.c
D:\Programme\MS Visual Stu
Also, a great tutorial on strings is (print this out):
Using Strings:
--
http://www.zend.com/zend/tut/using-strings.php
by Nathan Wallace
As well as the manual entry :
PHP Manual
Greeting all,
Just now I asked about to tie string values together and would like to thank
Jason for that. Anyway one more thing, after I have tied string values
together and assigned that to a virables. can I used the value from that
variables to compare with another date value? Say another date
There are a number of methods in the session class of phplib.
With phplib and php4.0.4 I am seeing the following warnings:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function na
>> For example: the week number is 26, and I have to know which
>> was its first day (the date, not the day of the week), say 06/21/2001,
>> monday.
>
>If the week number is 26, then thats 26 x 7 = 182 days into the year.
That would give him the number of days into the year the last day of week
> This may sound too easy to ask but I want ot make sure if I'm correct. I
> have a form with date, month and year select fields in it. When I submit,
i
> want to tie those three fields value together and insert into a field in
> table which has date data type. Is it correct to tie those three val
hi all,
This may sound too easy to ask but I want ot make sure if I'm correct. I
have a form with date, month and year select fields in it. When I submit, i
want to tie those three fields value together and insert into a field in
table which has date data type. Is it correct to tie those three val
This has been covered extensively in the archives - just an FYI.
--Joe
On Sun, Jan 14, 2001 at 10:10:56PM -0600, Cal Evans wrote:
> Actually, I understand what he's trying to say, even if I don't agree with
> him. The main problem people have had with load balancing is sessions. If a
> particul
Actually, I understand what he's trying to say, even if I don't agree with
him. The main problem people have had with load balancing is sessions. If a
particular scripting language *cough*ASP stores session information in
memory then the load balancing system has to always send the session from a
> I know what you mean, but I have more than 200 rows already
> with these surrounding my texts and to modify manually
> would take ours... I didn't think in that before...
Only 200? Why not just do a global search and replace? Or write a
script to do it for you. It'll save you a headache when
> Either way, it should be easy enough to change that code I gave you
> to do that?
I know what you mean, but I have more than 200 rows already with these surrounding my texts and to modify manually would take ours... I
didn't think in that before...
How would be a REGEX to recognize the tag a
> This is a nice idea but would not be more efficient if I
> substitute the entire block like this:
Not sure - it may be slightly slower to search for a larger block. I
am Jack's complete lack of clue on this matter (Rasmus?).
Either way, it should be easy enough to change that code I gave you
This is a nice idea but would not be more efficient if I substitute the
entire block like this:
this is what I have in the database:
ANY TEXT
this is what I want:
ANY TEXT
what youl be a REGEX to substitute that block for this one above?
Thank you,
Rom
> Then, you get your complete text
I think the ! might have an effect on the regexp interpretter... it's easy
enough to escape it (\!) though.
--Toby
- Original Message -
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'Romulo Roberto Pereira'" <[EMAIL PROTECTED]>; "php-general"
<[EMAIL PROTECTED]>
Sent: Sunday, January 14,
> Very good: keep the thing on a secure connection all the time, set a
> session id cookie and keep all user info (possibly including remote ip)
> in the server's session db... (vulnerable to nothing I can think
> of at the moment...)
>
> There are probably more things you could do I haven't th
> So, before the end HTML comment I would like to add an image.
> How do I do that?
The first thing I suggest you do is use a comment for starting and a
comment for ending - this makes it all a LOT easier to parse.
Start:
End:
Then, you get your complete text into $buffer and just:
";
sas Sun Jan 14 19:21:05 2001 EDT
Modified files:
/php4/main php_ini.c php_globals.h
Log:
Defer loading of extensions until all configuration entries have been
added to the configuration hash.
Index: php4/main/php_ini.c
diff -u php4/main/php_ini.c:1.47
Please note:
The php-dev list is for developers of PHP (who create/maintain PHP, which
is written in C); questions about programming in PHP should be addressed to
[EMAIL PROTECTED] For more information, please see
php.net/support.php.
---shifted to php-general from php-dev---
> I would like to as
Hey Folks!
I am bringing from the database HTML source like this:
We are committed to our employee’s well being and professional
development
I would like to make this:
We are committed to our employee’s well being and professional
development
So, before the end HTML comment I would
Another technique is use a quick-and dirty save of one line to a text
file, and have a cron script or somehting similar simply run every
day or every few hours that reads from your home-made log into a
db table, and then empties the file.
Gfunk
My name was Brian McGee,
I stayed up
For a good distributed logging solution, check out mod_log_spread
(http://www.backhand.org/mod_log_spread/). It's an apache module that
handles distributed logging by writing logs to reliable multicast
groups. Additionally, because it multicasts data, additional clients
and log writers can be ad
I like this one and I think I'll comment on it...
> > can people give me opinions as to why
> a. PHP4 specific
> b. Many do not know what it is / what it does
> c. Will not work when short_tags are disabled
> d. Does not follow PEAR standards (ed. guess)
> e. Looks funny / weird / out
Use a separate DB for something like this - have a data database, and a 'logging'
database. We're setting up something similar - currently we have 2 databases for
separate things, and will probably merge the first two datasets back into the main
database, and turn the second one into a logger.
Wasn't directed quite at me, but I'll chime in nonetheless
We used LocalDirector for awhile, with it's 'sticky bit' functionality,
and it basically didn't work with AOL. I just looked at the
coyote product and they claim it works with 'large ISP' proxies - maybe a veiled
reference to AOL dir
Hey Folks!
I have the following situation:
I store in a MySQL table part of the HTML code that is used to mount
dinamically the pages of a web site. The file looks something like this:
Before I enter any data in the database I put HTML comments like this: before and after any text that appea
Hey Folks!
I have the following situation:
I store in a MySQL table part of the HTML code that is used to mount
dinamically the pages of a web site. The file looks something like this:
Before I enter any data in the database I put HTML comments like this: before and after any text that appea
php-general Digest 15 Jan 2001 02:33:14 - Issue 455
Topics (messages 34471 through 34539):
Problems sending to several recipients with mail() using WIN NT and Apache
34471 by: Trond Straume
PHP vs JSP
34472 by: hsmith.twilyt.com
34473 by: Cal Evans
34479 by:
> I've worked on a couple of projects with JSP, and decided to use PHP to
> build binarycloud. 'nuff said :)
>
ok, that's ONCE today.. =)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
Yes, eval() is expensive.
On Sun, 14 Jan 2001, Adam Powell wrote:
>
> Hi, in my application I am making a lot of use of the eval() function,
> however I was wondering if this is going to cause any extra load. Does it
> do anything like load in the PHP engine again or anything? We just added it
Hi, in my application I am making a lot of use of the eval() function,
however I was wondering if this is going to cause any extra load. Does it
do anything like load in the PHP engine again or anything? We just added it
in and the load on our web servers went up... so I was wondering if I shou
david Sun Jan 14 18:14:12 2001 EDT
Modified files:
/php4/ext/vpopmail php_vpopmail.c php_vpopmail.h
Log:
restored vadddomain/vdeldomain to use library functions rather than invoking
vpopmail executables
implemented vaddaliasdomain natively
global variabl
> No options?
>
> No SGML editors out there with a tag catalog, etc?
Emacs
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello Alex,
(AB == "Alex Black") [EMAIL PROTECTED] writes:
AB> can people give me opinions as to why > From: [EMAIL PROTECTED] (Philip Olson)
>> Newsgroups: php.general
>> Date: 13 Jan 2001 12:18:08 -0800
>> Subject: Re: [PHP] Use >
>> My understanding is :
>>
>> 1. http://www.php.net/)
To u
> can people give me opinions as to why http://www.cornado.com/
On Sun, 14 Jan 2001, Alex Black wrote:
> can people give me opinions as to why
> me = love :
> :)
>
> _a
>
>
> --
> Alex Black, Head Monkey
> [EMAIL PROTECTED]
>
> The Turing Studio, Inc.
> http://www.turingstudio.com
>
>
shane Sun Jan 14 17:52:47 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest notes.txt stresstest.cpp
Log:
test now produce valid OK or FAIL.
Index: php4/sapi/isapi/stresstest/notes.txt
diff -u php4/sapi/isapi/stresstest/notes.txt:1.2
php4/sapi/isapi/stres
Could someone give/sell me a clue as to variable tracking and/or cookie
usage over multiple form pages
for multiple users?
Environment: website
Number of variables: 390 or so.
I have 4 pages of forms, 4 result pages, and want to email all the results.
I put up one page of forms, they input, it sp
> A lot of technical people aren't keen on WYSIWYG editors. Especially when
I'm technical, and I'm not looking for WYSIWYG. I'm looking for something
that doesn't require me to memorize yet another large set of tags. :)
> dealing with something like docbook that is designed to generate
> docume
> There are things that can be done to speed things up though...cacheing files
> at the page level, or even cacheing templated components at the sub-page
> level where possible can overcome much of the overhead of using templates.
but that doesn't do you any good on pages that are getting results
ssb Sun Jan 14 17:19:29 2001 EDT
Modified files:
/php4/pear/DB STATUS
Log:
* status update: odbc now supports errorNative
Index: php4/pear/DB/STATUS
diff -u php4/pear/DB/STATUS:1.13 php4/pear/DB/STATUS:1.14
--- php4/pear/DB/STATUS:1.13Sun Jan
check out
http://www.coyotepoint.com/
only $4000!
does 512 clients!
can even stick clients through the famous AOHell proxies!
cheap!
:)
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Ce
shane Sun Jan 14 17:17:45 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest stresstest.cpp
Log:
dont do results if not using test files
Index: php4/sapi/isapi/stresstest/stresstest.cpp
diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.7
php4/sapi/isapi/
can people give me opinions as to why http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
> From: [EMAIL PROTECTED] (Philip Olson)
> Newsgroups: php.general
> Date: 13 Jan 2001 12:18:08 -0800
> Subject: Re: [PH
> Whoever said NFS is slow hasn't used a NetApp
amen brother.
-a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ssb Sun Jan 14 17:14:59 2001 EDT
Modified files:
/php4/pear/DB odbc.php
Log:
* DB_odbc: added native error support
Index: php4/pear/DB/odbc.php
diff -u php4/pear/DB/odbc.php:1.24 php4/pear/DB/odbc.php:1.25
--- php4/pear/DB/odbc.php:1.24 Tue Jan 9
what?
you use an utterly completely stateless model?
craziness!
so you set cookies, and store the sig in the db?
agh! :)
I'm using this box from "coyote systems" called, wait for it:
"THE EQUALIZER"
which is a really obnoxious name, but it sticks clients with a particular
server intelligen
shane Sun Jan 14 17:13:51 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest stresstest.cpp
Log:
clean up temp files
Index: php4/sapi/isapi/stresstest/stresstest.cpp
diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.6
php4/sapi/isapi/stresstest/stresstes
the horse is back from the dead!
I can't resist:
> From: [EMAIL PROTECTED] ("Iván Sánchez Ortega \"MR\"")
> Newsgroups: php.general
> Date: 13 Jan 2001 14:17:35 -0800
> Subject: Re: [PHP] mixing HTML and PHP code
>
> "Alex Black" ...
>>> >> connect_to_database();
>>> parse_query();
>>> execu
ssb Sun Jan 14 17:11:06 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c php_odbc.h
Log:
@- Added odbc_error() and odbc_errormsg() functions (Stig)
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.69 php4/ext/odbc/php_odbc.c:1.7
ssb Sun Jan 14 17:10:14 2001 EDT
Added files:
/php4/pear/DB/tests/odbc.cvsignore 002.phpt 003.phpt 004.phpt
006.phpt 007.phpt 010.phpt connect.inc
dsn.inc mktable.inc
Modified files:
well, I suppose it could, but it's pretty weird...
why would you want to directly hook up presentation w/sql queries ? :)
-a
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth
the problem with that is as soon as you run a load-baanced installation,
collecting apache logs start to be a pain in the a$$ :)
I have given some thought to the logging thing, but am still undecided re:
letting apache do its thing, and writing scripts to aggregate the logs, or
turning off apache
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
gah:
"Also, any organization doing clustering or failover with PHP is in largely
uncharted waters. "
what _bull_!
what does loadbalancing and clustering have to do with any scripting
language? this guy is obviously one of th
shane Sun Jan 14 16:57:16 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest stresstest.cpp
Log:
check files open
Index: php4/sapi/isapi/stresstest/stresstest.cpp
diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.5
php4/sapi/isapi/stresstest/stresstest.c
A lot of technical people aren't keen on WYSIWYG editors. Especially when
dealing with something like docbook that is designed to generate
documentation in dozens of formats. vim with its syntax colouring or
emacs with its validation mode really do a good job. I have been writing
a lot of docbo
> I have to write a schedule program, for which I need the following:
> I have to calculate the date from a given week and vice versa.
>
> For example: the week number is 26, and I have to know which
> was its first day (the date, not the day of the week), say 06/21/2001,
> monday.
If the week
shane Sun Jan 14 16:56:23 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest stresstest.cpp
Log:
fix file reading, add results
Index: php4/sapi/isapi/stresstest/stresstest.cpp
diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.4
php4/sapi/isapi/stresstest
Hi,
I have to write a schedule program, for which I need the following:
I have to calculate the date from a given week and vice versa.
For example: the week number is 26, and I have to know which was its first
day (the date, not the day of the week), say 06/21/2001, monday.
Thanks to Bignose,
hi all,
anyone found a good graphical SGML editor for any platform that's no a
fortune?
http://www.adobe.com/store/products/framemakersgml.html
It would be really annoying to have to write a bunch of documentation for
binarycloud inside an plaintext xml document.
I'm surprised DocBook has gain
shane Sun Jan 14 16:29:49 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest notes.txt stresstest.cpp stresstest.dsp
Log:
Multithreaded stress test program for isapi module now supports phpt files
still stuff to do before it's realy done, but does run the te
rasmus Sun Jan 14 16:28:10 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
All sorts of karma for Shane
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.38 CVSROOT/avail:1.39
--- CVSROOT/avail:1.38 Sun Jan 14 08:24:56 2001
+++ CVSROOT/avail
yeah you can do that, don't know about other phones, but for nokia
you need the cable, a phone with the appropriate plugs (ie a 5xx0 /
6xx0 / 7xx0 / 9xx0 model phone, not a 8xx0 or 3xx0 model), and
the nokia data suite or free alternative if they exist for your operating
system.
Gfunk
My
probably because ssh requires an interactive
login; i.e. it expects STDIN as well. try adding
a command after the login parameter such as "ls"
and see what you get.
-jeff
> Can anyone shed any light on why the following code doesn't work? I'm
> trying to interact with ssh through PHP's popen
""Bastian"" ...
> Hello!
>
> A requirement is a special server that sends them, but such a server costs
> money, every message costs some.
I read somewhere that you could send SMs if you had your mobile phone linked
to your computer, and special software to needful to make the PC-mobile
interacti
PHP has a function called file_exits I belive... you can read about it on
the php manual at php.net under file functions.
*
Philip M. Gollucci (p6m7g8)
Web-site: http://www.p6m7g8.com
E-mail : [EMAIL PROTECTED
There is an interesting ZD Net comparison of several
scripting languages at
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
Some time ago I did the comparison of JSP to PHP and
JSP turned out to be much, much slower.
Now I'm just learning CodeCharge generator and so far
it s
There is an interesting ZD Net comparison of several
scripting languages at
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
Some time ago I did the comparison of JSP to PHP and
JSP turned out to be much, much slower.
Now I'm just learning CodeCharge generator and so far
it s
> is it possible to write a script that can screen scrape a
> site that uses session cookies for authentication? the reasoning
> for this is so that i can add check boxes to a list so i can reset
> more then one port on my isp router at a time. thanks
You could have cURL make POST and GET requ
Can anyone shed any light on why the following code doesn't work? I'm
trying to interact with ssh through PHP's popen function.
Julia
";
maxpsi(0);
?>
--
[ Julia Anne Case ] [Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really
david Sun Jan 14 14:21:15 2001 EDT
Modified files:
/php4/ext/vpopmail config.m4
Log:
vpopmail's bin dir is unnecessary as the library exports these functions
Index: php4/ext/vpopmail/config.m4
diff -u php4/ext/vpopmail/config.m4:1.2 php4/ext/vpopmail/conf
> Here are some queries of the above table with their results
> bases='Ft. Worth' returns record 1
> bases LIKE '%Worth%' returns record 1
> bases LIKE '%Ft.%' returns 1 & 2
> bases LIKE '%' returns all records (in this case, 1 & 2)
>
> See?
That makes perfect sense. Thank you!
--
PHP Ge
> > towns = '$town'
> > ...and...
> > towns LIKE '$town'
> >
> > ...are essentially the same without the % wildcard character. Thus,
> >
> > towns = '$town'
> > ...is much different than...
> > towns LIKE '%$town%'
>
> How different are they? I'm not even sure what a wildcard is?
A wildcard
Sweet! Thanks ;)
> > I'd like to strip out everything but the link name, so if someone
inputs:
> >
> > http://www.php.net">PHP!
> >
> > It replaces it with:
> >
> > PHP!
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional com
> You've basically got it... the advantage of LIKE is that you can add
> wildcards to specify what can be different...
>
> towns = '$town'
> ...and...
> towns LIKE '$town'
>
> ...are essentially the same without the % wildcard character. Thus,
>
> towns = '$town'
> ...is much different than...
> t
You've basically got it... the advantage of LIKE is that you can add
wildcards to specify what can be different...
towns = '$town'
...and...
towns LIKE '$town'
...are essentially the same without the % wildcard character. Thus,
towns = '$town'
...is much different than...
towns LIKE '%$town%'
check http://www.php.net/strip_tags
> -Original Message-
> From: James, Yz [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 14, 2001 11:05 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Another q, this time eregi_replace
> I'd like to strip out everything but the link name, so if someone
I'd like to be able to trim out some html tags, but only certain ones. I've
used eregi_replace before and have some replacements running on some
scripts...
Some of the help pages and user notes on the quick reference functions have
given me good examples of how to go about it. One thing I'm int
Can anyone tell me what I would use to query a MySQL database in a search?
If the search field, was for example, a variable like "town", would the
results page use something like this? :
$sql = " SELECT * FROM table_name
WHERE towns = \"$town\" ";
I remember seeing someone post somethin
I'd do it with JavaScript. Dynamically composed JavaScript if need be. But
it seems to me that it would be easier to do this on the client side.
Cal
http://www.calevans.com
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 2:33 PM
To: php lis
In Tobias Ratschiller & Till Gerken book (Web Application Development)
the authors mention at least two times about Andrei Zmievski plan to
incorporate template API in standard PHP.
I'd like to ask if the plan is in the works and if it will be implemented.
Maciek
--
PHP General Mailing Li
1 - 100 of 158 matches
Mail list logo