;
}
?
--script2.php--
// modified for loop
?php
$res = array();
for( $i=0; $icount($res); $i++ ) {
$res[$i] = $i;
echo $i, \n;
}
?
That's much better. ;-)
Peter Brett
- ---
peter:AT:peter
got no clue if it's
done that way. Seems to be related to opening and closing a file. In Perl the file
will close when the script exits and that's fine for quick stuff but once a script
begins to grow it allows for bugs.
I vote to suggest use of mysql_close().
Peter
--
PHP General Mailing
in ... thinking about what you are going to do
and how you are going to grow it and test it are very important.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
refused to work
on some old stuff I wrote. Better to re-write it I said. Not so much a rewrite as a
reorganize. If
you spend time thinking how to organize your code in the beginning you will find that
growing your app will be a pleasure rather than a nightmare.
Peter
http://www.coremodules.com
it could be better you might want to enter into a dialogue with the author. Try
to avoid spinning your own wheels when others
have already done so.
And here is another one:
http://pear.php.net/package-info.php?pacid=13
The PEAR::Net_Whois class provides a tool for querying Whois Servers
Peter
place it has issues is when I am
processing a $POST (works fine for all the $GETS))
Thank in advance,
-Peter
##
Peter Thoenen - Systems Programmer
Commercial Communications
Camp Bondsteel, Kosovo
##
--
PHP General Mailing List (http
seconds and checks to see if process X has finished, if so
then redirect to the next step, if not then just return but upgrade the timer so you
can increase your counter (perhaps a percentage in a table cell).
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
to do that fork with the file-upload. But there is
a mod_perl module which does this. It might give some clues to someone
who will pursue this (not me :)
http://theoryx5.uwinnipeg.ca/CPAN/data/Apache-UploadMeter/UploadMeter.html
Peter
--
PHP General Mailing List (http://www.php.net
://validator.w3.org/ (make sure the code adheres to a standard, I use the referrer
as my html is never whole until you request a page)
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
has done a real good thing
here that might wake up some other companies. All this stuff was
available years ago. Who's working at these big companies.
Here is a site with lots of shipping info:
http://shipping.langenberg.com/
Peter
--
http://www.coremodules.com/
PETER J. SCHOENSTER
(901)-652
than 50 php files floating all over the place and no
documentation.
Peter
---
Reality is that which, when you stop believing in it, doesn't go
away.
-- Philip K. Dick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
request ...
subsequent request this is set so no warning.
Cheers,
-Peter
##
Peter Thoenen - Systems Programmer
Commercial Communications
Camp Bondsteel, Kosovo
##
Stumbled Upon...heh (Score:5, Funny) /.
by $carab on 23:00 23 August
] =
[_order_by] =
[_limit] =
[_data_select] = *
[_link_loaded] =
[_lastError] =
)
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
keeps telling me that it's not formed correctly (because of the in
the quotes).
mytag
![CDATA[xy]]
/mytag
But lt; will most probably be displayed as in the example the other person gave
you, only the source view shows lt;
Peter
--
PHP General Mailing List (http://www.php.net
a solution for no
problem? I'd suggest looking at your
templating system. Which one are you using? You didn't create your own did you?
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it and it works like a charm :) I would like something that has some statistics,
works with MySQL, but they'd prefer a freebie or low cost. They don't need a
super duper package at this time.
Thanks,
Peter
http://www.coremodules.com/
Web Development and Support at Affordable Prices
901-757-8322
.
At a complete loss how this can be so.
Any help on this would be appreciated.
Thanks,
-Peter
# START CODE ###
require_once 'auth.php';
$date=date(ymd);
if (isset($submit)){
foreach ($submit as $value){
digit($value
Smarty. I'd like something
that is as OO as possible. Something that's got all the core features
and is then easy to extend as every customer has their uniqure
requirements.
Anyone got some suggestions?
Peter
http://www.coremodules.com/
Web Development and Support at Affordable Prices
901
templates
and the viewer would manipulate the data depending on the caller).
Peter
http://www.coremodules.com/
Web Development and Support at Affordable Prices
901-757-8322[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
\)');
-Peter
-Original Message-
From: Taylor York [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 21, 2002 00:17
To: [EMAIL PROTECTED]
Subject: [PHP] Reg Exp issue
Hello, I am trying to find a string in another string with
mysql. Normally,
this would work.
select 'foo' REGEXP
a different layout, perhaps minimal
header and footer or none at all. Or you could do some processing on
the data or whatever.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this:
http://www.alistapart.com/stories/netscape/
And one for easy printing:
http://www.alistapart.com/stories/goingtoprint/
I gotta go back and refresh myself. Thanks for the links.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
://www.zend.com/zend/tut/using-strings.php
And of course take care of the magic (imho, black magic) that can go on
with auto escaping, quoting etc. that I should fathom but haven't.
the php.net site is wealth of info, good search, I find 98% of my
answers there.
Peter
--
PHP General Mailing List (http
errors ... I'm trying to componentize my stuff to decouple it
all ...
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 22 Sep 2002 at 13:52, Michael Sims wrote:
Well, that is basically my question. I considered both SOAP and
XML-RPC (which you mention later) but I wasn't sure what the impact on
performance would be. I am basically looking for anecdotal evidence
from people who have implemented this sort
5 in this case) doesn't have write permissions to
the directory.
This is NOT the case here as far as I can tell. Other scripts I run write
just fine and as seen in the below code, 'abc.txt' is written with no
problems before the script dies with the above error.
Any ideas?
-Peter
?php
$fp
as above in PHP,
well, I would have if I had known one. The solutions I've seen so far
are not very elegant or evolutionary imho. Can the above be done in
PHP so you don't have to tell every page your write to check for
permissions?
Peter
--
PHP General Mailing List (http://www.php.net
.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
never used any bb systems to say one way or another. Certainly
easy to install.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
just not recognized the nutcracker.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the sun.
Anyone know of something like this?
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of it. What I want has
nothing really to do with html forms, just data validation.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use of section looks good to me. You've got those if statements.
Sure they are all true.
I'm using section in lots of stuff and it's working fine.
When I run into trouble I work from the most basic, the simplest and
then move up.
Peter
--
PHP General Mailing List (http://www.php.net
/INPUT TYPE=HIDDEN NAME=SPIDERSESSION VALUE=([^]*)/ should work ...
prob. a better way to do this but its functional :)
-Peter
-Original Message-
From: :B nerdy [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 29, 2002 02:05
To: [EMAIL PROTECTED]
Subject: [PHP] preg help
Was written
while( $row = $result-fetchRow( DB_FETCHMODE_ASSOC ) ) {
$rowdata[$i] = $row;
$i++;
I don't think you need the $i.
I need the $i because I'm assigning the every row from the result into
an array.
as $key = $value) {
echo Key: $key; Value: $valuebr/;
}
die;
##3
Cheers,
-Peter
-Original Message-
From: Uma Shankari T. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 29, 2002 05:45
To: PHP
Subject: [PHP] Posting a value to one form to another
hi all,
I've been asked to do some work on some servers where php can only run as
cgi. Unfortunately it seems that php has a bug which means that
#!/usr/local/bin/php
gets printed out at the top of each page if I do this.
Are there any workarounds for this? Is it fixed in the cvs versions?
On Fri, 5 Oct 2001, David Robley wrote:
On Fri, 5 Oct 2001 15:15, James Peter Gregory wrote:
hi all,
I've been asked to do some work on some servers where php can only run
as cgi. Unfortunately it seems that php has a bug which means that
#!/usr/local/bin/php
gets printed out
-lingo (br)
with:
echo nl2br($who);
./peter - Svenska PHP-listan: http://www.kanalen.org/mailinglistor.php
--
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
Ok, Im' pretty new at this, but I can't see what may be wrong here:
Table IMT
-
User (char)
SessionID (char)
StartTime(TIMESTAMP)
EndTime(TIMESTAMP)
Code on first page:
INSERT INTO IMT VALUES ('testuser', '$id', CURRENT_TIMESTAMP, '/0');
Code on second page:
UPDATE IMT SET
Think i figured out my problem...next time i will RTFM!!!
Sorry!
Peter Van Der Maas [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Ok, Im' pretty new at this, but I can't see what may be wrong here:
Table IMT
-
User (char)
S
Richard, Tanks for your thinking,
I have used the register_shutdown_function to test the reason for the
break. This result in a normal shutdown, i.e. nothing wrong at the server
side, the output is completely parsed. When I replace the form method POST
into a GET everything works fine. With
Hi!
I want to know how many users are currently online at my site.
How can I get this info from php? Can I?
Thank you for answer.
Barno
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
and what about this one?
?echo a href=.show_source('source.php').view source/abr;?
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, September 10, 2001 12:19 PM
Subject: RE: [PHP] hi
It still won't work though.
Try ODBC connection...
- Original Message -
From: Balaji Ankem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 1:00 PM
Subject: [PHP] How to connect Excel as a database from mysql
Hi,
I am generating a report in exel sheet.
For this i am planing to
Add that to your http.conf file in apache
ScriptAlias /php4/ drive:/php/
Action application/x-httpd-php4 /php4/php.exe
AddType application/x-httpd-php4 .php
Peter Houchin
[EMAIL PROTECTED
depends what os? .. on windows i like Homepage 4.5
Peter Houchin
[EMAIL PROTECTED
UPDATE user_polls SET value='$value',value1='$value1',etc for more values WHERE id=$id
Peter Houchin
[EMAIL PROTECTED
Why can't you specify the #!/usr/local/bin/php line in your systems path ??
ie something like this
set PATH=$PATH;/usr/local/bin/php
and then you should be able to go ./foo.php
Peter Houchin
Short Term Rental Manager
[EMAIL PROTECTED]
Telephone : (03) 9329 1455
Facsimile : (03
.= \n; // CC to
//send the email
$mail = mail($address, $subject, $body, $headers \nContent-Type: text/plain;
charset=iso-8859-1\nContent-Transfer-Encoding: 64bit );
Peter Houchin
Short Term Rental Manager
[EMAIL PROTECTED]
Telephone : (03) 9329 1455
Facsimile : (03) 9329 6755
What's wrong with doing it like
if ($date == 24) {
if ($hour == 3) {
do something
}
}
??
-Original Message-
From: chris herring [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] IF statements
is it possible to stop these sort of annoying posts? ie this one and the ones that
just say test they
annoy me lol
sorry if seems harsh/selfish
Peter
-Original Message-
From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 3:04 PM
To: [EMAIL PROTECTED
this is probably in the manual .. but I am unsure of what to look for
in there for it .. I'm using MySQL and mysql_connect shows nothing for what i need..
any idea's suggestions would be greatly appreciated
Peter
There is some very basic PHP extensions on the DW UD exchange site .. I have used
mainly DW4 with php no problems.. however I must also say I do the bulk of my php
coding in Homesite 4.5 from there go in to dw
Peter
-Original Message-
From: rm [mailto:[EMAIL PROTECTED]]
Sent
why don't you do something like
$var = $foo $baa;
?
-Original Message-
From: Hasan Niyaz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 12:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] inserting a variable into a variable
Hello all,
I have come to a
$REQUEST_URI gets me home/dir/index.php
but I need to get the domain name.
Can't seem to find it anywhere, what's the environment variable for the
domain name again? Thanks!
Peter
~~
http://liga1.com building multiple language/culture websites
http
I've never needed to assign Enter to = p or br just make sure your using
textarea name=foo cols=20/textarea
and you should have no problems
peter
-Original Message-
From: Joeri Vankelst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:17 AM
To: [EMAIL PROTECTED
try http://astro.phpwebhosting.com/~ttm/
or home site for windows .. however I do think, though am not sure, visual Php is
available on linex windows (I'm using windows)
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 3:42 AM
To:
Rick, just an idea wouldn't the use of a database make this alot easier for you ??
then you can just sort your db results by date
-Original Message-
From: Rick Proctor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 4:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] RE:
Using DW UD 4 I've found no problems with it.. how ever I will suggest that you use
something else to do the bulk of your php coding, although the new layout in UD DW 4
does make it easier than in prevous versions to edit code directly
Peter
-Original Message-
From: Matthew
if the windows machine is the host machine ie for your internet http://localhost/
will only be for the windows machine so if you are tring to get to that address from
your linux machine you won't be able to ... however if your machines ip was say
123.123.123.123(windows machine) then from your
yeah use macromedia's flash is One way there is a java script way ... but i think that
basically just stops people right clicking the page
-Original Message-
From: rodrigo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 10:37 AM
To: php php
Subject: [PHP] How to
why can't you just use plan simple HTML to do it??? rather than make a larger hassle
for your self ie
strong howdy /strong ???
yes that is valid HTML :)
Peter
-Original Message-
From: Dr. Evil [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 10:27 AM
To: [EMAIL
Hi
I just did a rpm rebuild of PHP to 4.0.6 on RH7.1 and now the bcmath
functions are failing
Fatal error: Call to undefined function: bcsub()
Any ideas on this one?
Thanks
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
.html
It's an excellent tutorial on setting up mysql, php,apache and even openssl.
And it works.
Peter
- Original Message -
From: Adrian D'Costa [EMAIL PROTECTED]
To: E. Peter K. Chan [EMAIL PROTECTED]
Cc: php general list [EMAIL PROTECTED]
Sent: Saturday, July 21, 2001 4:48 PM
Subject
that's all
eg 6 months 12 months?
Thanks for your time
Peter
--
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]
http://liga1.com/
new weblog on localisation, internationalisation, globalisation and
accessibility issues.
Any feedback welcome, and feel free to participate, post articles, ...
Peter
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
he generic function.
Any hints?
Thanks!
Peter
~
http://liga1.com ,a weblog on:
- Localisation
- Internationalisation
- Globalisation
- Accessibility
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
weird. It must be there?
Thanks for any tips
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
since there doesn't seem to be a mailing list for ezpublish (a cms in php),
I created one:
http://groups.yahoo.com/group/php-ezpublish
Feel free to join up, I basically created it because it seems a very
powerful but complex system.
Peter
~~
http
no answers to my questions on the forum there...
Thanks for any tips
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
This is going alright for my first time ever install ... :)
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
-httpd-php4 .php3
I restarted apache after doing this but I still get the "X-Powered-By:
PHP/4.0.4 Content-type: text/html" on every php page.
Any ideas?
Peter
~~
http://liga1.com: building multiple language/culture websites
--
PHP
I copied the php_pdf.dll file from the apache/cgi-bin/php/.. directory to
the windows/winnt/system32 directory (it was just a hunch) and behold, it
worked brilliantly!!
Thanks!
Now I just have to figure out how to:
1- get mysql to work
2- get virtual domains to worl
Peter
hello, i'm
to get mysql working. I can install it, but I'm used to
using it on *nix. How can I open a command line and start building databases?
Thanks for any answers / hints / ideas / links!
Peter
~~
http://liga1.com: building multiple language/culture websites
... help?
Peter
~~
http://liga1.com: building multiple language/culture websites
--
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
But when I enter a url that doesn't exist I get this error in the browser:
Not found
The requested URL /peter personal/applications
development/generic/htdocs/subfolder/dfdfdf was not found on this server.
Additionally, a 500 Internal Server Error error was encountered while
trying to use
Also,
I am trying to find a way to get this to work:
within the directory I'm in,
1/5/2/3
should be rewritten to
index.php?a=1b=5c=2d=3
I'm sure lots of people have done this before, but the Apache examples
don't seem to include this. Where can I find a working example?
Thanks!
Peter
Hi,
i
ne...
Any ideas?
Peter
~~
http://liga1.com building multiple language/culture websites
http://poorbuthappy.editthispage.com online ethnology, updown
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Also, when I uncomment stuff, the line that seems to be giving the problems is:
$response = $client-send($msg);
When I comment that no more errors. (but nothing else either ofcourse)
Peter
~~
http://liga1.com building multiple language/culture websites
uninstalling your version
of PHP and installing the PHP4 rpm that comes with RedHat instead.
Works fine for me.
Peter
. wrote:
Yes, it has that in there right out of the box like this:
IfDefine HAVE_PHP4
LoadModule php4_modulemodules/libphp4.so
/IfDefine
#
# AddType: allows you
I have used egroupware in a company setting and found it to be largely
satisfactory. It might be overkill in your case but you can restrict
module access.
www.egroupware.org
HTH
Peter Brown
Todd Cary wrote:
I am looking for an open source calendar program that uses MySQL to
store the data
and radio buttons.
They've made form creation and handling enormously easier.
Peter
Jacques wrote:
I am using PHP. I have a registration page where the user has to select his
country form a drop down list. If the username that the user selected for
himself exists in the database I am sending him
formElement. But why,
why in the world do you REALLY want to do this? Have you truly used and
understood smarty and yet felt this must be done? I haven't.
http://smarty.php.net/
It lets you focus on your application.
Peter
?php
// require_once 'selectField.php';
$test[] = Yea, this works
inherits another and in any one of them the
value of your global variable can be changed. Does anyone know a good
way for tracing such things?
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
don't mind the pop up box that's not a big deal and since most
of my apps go through just a few php handlers I do my own auth/access
for every request and return my custom login page when needed.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
['PHP_SELF']??CS=Customer%20Serviceimg
src=images/cs-bttn.jpg alt=cs/
/div
Will pass your var just like before and much much cleaner :)
Cheers,
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 10 Oct 2002 at 0:48, Andrew Brampton wrote:
Sorry for this slightly off topic question, but I beleive many of you
will have delt with this kind of thing before.
Yeah off-topic but I was wondering the same thing myself as I have not
done many carts in awhile.
So can anyone recommend a
In you php.ini, find max_execution_time = 360 and up it.
-Peter
-Original Message-
From: scott [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 13, 2002 20:06
To: [EMAIL PROTECTED]
Subject: [PHP] Fatal error: Maximum execution time of 30 seconds
exceeded
Hello
Trying
Anybody have reason for using $_SERVER['PHP_SELF'] -v- $_SERVER['URL'] ?
They both seem to always be the same in every instance I have seen so
curious is their is a preferance for one or the other and if there is a case
where PHP_SELF!=URL
Cheers,
-Peter
:] :)
-Peter
-Original Message-
From: Shawn McKenzie [mailto:nospam;mckenzies.net]
Sent: Friday, October 25, 2002 04:48
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Replace illegal filename chars???
Doesn't work. It returned the same as what I put in: What's Up Doc?
-Shawn
Maxim Maletsky
switch($_GET['select']){
case 1:
..
-Peter
-Original Message-
From: Edward Kehoe [mailto:emkehoe;learn.senecac.on.ca]
Sent: Friday, October 25, 2002 19:47
To: [EMAIL PROTECTED]
Subject: [PHP] Trouble with switch statements
Ok...I just recently installed Apache1
template system and for
that reason I'm leery. But I like it better than Nuke which a customer
is using and I've had to work with.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
print /pre;
?
/BODY
/HTML
__end
Of course I'd put the ProcessFormData in some included file, not in a
php file as such.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.mailerssoftware.com/zipcodesolutions/index.htm
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try $file = preg_replace(/[[:punct:][:space:]]/,'',$file);
PEter
-Original Message-
From: rick [mailto:rick;somers.net]
Sent: Friday, November 01, 2002 00:22
To: [EMAIL PROTECTED]
Subject: [PHP] str_replace
How could this be written better? Is there a way to do it all
in 1
Here is the example:
?php
$string = 'asfddsaz';
if (eregi('\s', $string)) {
echo Whitespace present;
}else {
echo NO Whitespace present;
}
?
Why does the above return true? There is no whitespace in the string.
What am I missing?
Peter
--
PHP General Mailing List (http
(strong preference for Smarty) and it uses as many
Pear classes as possible.
Anyone know of one?
Thanks,
Peter
http://www.coremodules.com/
Web Development and Support at Affordable Prices
901-757-8322[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
be the best route to go, but I'd
prefer the documentation app to also be in PHP. I'd imagine others
have had a similar desire and perhaps an app is out there already.
If anyone has insite, please let me know.
Sincerely,
Peter John Hartman
caravelcms.org
--
PHP General Mailing List (http://www.php.net
a print_r on the array passed to
ldap_mod_replace and run ldap_modify from the commandline on it (after
properly formatting it) and it works absolutely and quickly.
I can't figure this out. Any help would be very very nice. If you need
me to provide more information, let me know.
Peter
the ldif file
1701 - 1800 of 1823 matches
Mail list logo