guys hi all, quite new in this list
I'm involved in a project with php in a linux embedded environment,
it's impossibile to use a db server,
any suggestion on how to handle few hundreds of simple records ?
tia
-
happy work with php!
--
PHP General Mailing List (http://www.php.net/)
To un
Florian Paucke wrote:
> Hi.
>
> I'm new to PHP.
>
> I need some help from you, because, I'm creating a
> guestbook. But I have a little problem.
>
> I have a table, where the different My-SQL-Entries
> are read out.
> But now I get only one Entry, but not more.
>
> How can do it, that the tabl
Robert,
Murray's suggestion is good. Here is some code to produce the current value of
'county' in a select list:
Aberdeenshire
Angus
Argyll & Bute
Avon
Ayrshire
Bedfordshire
Berkshire
Borders
Western Isles
Here's a basic select list article:
http://www.globalissa.com/articles/articleSe
Florian Paucke wrote:
I need some help from you, because, I'm creating a
guestbook. But I have a little problem.
I have a table, where the different My-SQL-Entries
are read out.
But now I get only one Entry, but not more.
How can do it, that the table read out 4 times, when
4 entries are in the
Hi.
I'm new to PHP.
I need some help from you, because, I'm creating a
guestbook. But I have a little problem.
I have a table, where the different My-SQL-Entries
are read out.
But now I get only one Entry, but not more.
How can do it, that the table read out 4 times, when
4 entries are in the d
bruce wrote:
ben...
your statements/approach is pretty much what i've been thinking of. however,
with regards to the forums/cms apps.. i've yet to find one that actually
keeps a track of the logged in users, that works when the user kills the
browser..
the ones that i've seen, that allow an ad
Death Gauge wrote:
I'll try that...But why shouldn't I have register_globals on (which my
ISP does and every tutorial I've ever read says to do in order to use
several different features of PHP:-/).
http://php.net/security.globals
I would be very worried about the quality of any tutorial that
I'll try that...But why shouldn't I have register_globals on (which my ISP
does and every tutorial I've ever read says to do in order to use several
different features of PHP:-/).
--Death Gauge
"How do you gauge your death?!"
Original Message Follows
From: "Jasper Bryant-Greene" <[
It seems that PHP 5 is not that much compelling to most people to
justify the change.
I'm sure you're right, but I also think it's a question of work load for the
ISP. Many server upgrades don't occur unless it's urgent and even then they
sometimes get missed.
Plus... the last time I went
Hello,
on 09/13/2005 10:46 PM Oliver Grätz said the following:
Always this stuff about breaking backward compatibility. People seem to
think that the change from 4 to 5 means such a lot. In fact the changes
from PHP4.0 to PHP4.4 are much more numerous. The backwarr incompatible
changes between 4
Hello,
on 09/13/2005 10:39 PM Ben said the following:
I guess this should ring a lot of bells for those that expect to
develop products targetted to PHP 5, because the numbers seem to show
that PHP 5 is a flop, despite PHP 5.0.0 was released more than 1 year
ago.
I think it points more to ho
On Monday 12 September 2005 02:08 pm, Florent Monnier wrote:
> Hi,
>
> Is there a way to make dom xml applications compatible PHP4 and PHP5?
>
> Thanks
You can use the PHP_VERSION predefined constant or the function_exists(string)
http://us2.php.net/manual/en/function.function-exists.php
What I
On Wed, September 14, 2005 3:15 pm, Death Gauge said:
> Sorry had to eat too. Ok here is the source that is giving me problems.
> I'd
> dropped a few things from it cause they weren't working either but this
> gives the just of what I'm trying to do. I'm renaming the poster.php files
> to more app
Sorry had to eat too. Ok here is the source that is giving me problems. I'd
dropped a few things from it cause they weren't working either but this
gives the just of what I'm trying to do. I'm renaming the poster.php files
to more appropriate names but you get the idea of what I'm trying but no
blackwater dev wrote:
> Thanks David,
>
> I just set it to AllowOverride All and restarted apache but it still
> doesn't seem to work.
>
> On 9/13/05, David Robley <[EMAIL PROTECTED]> wrote:
>> blackwater dev wrote:
>>
>> > I am using .htaccess files throughout my code directory tree to set
>>
What's the best way to send an executable to a client desktop in PHP?
I'm doing a project where we need to check and see which files need to be
updated on a client-desktop. The idea is for a user to visit the website, an
executable launches, checks the files on the drive, and then sends the da
ben...
your statements/approach is pretty much what i've been thinking of. however,
with regards to the forums/cms apps.. i've yet to find one that actually
keeps a track of the logged in users, that works when the user kills the
browser..
the ones that i've seen, that allow an admin to see who's
I think I finally understand what you are trying to do. I don't see
any reason why you need to use the token functions, and I would
recommend using array functions instead (also, it is exceedingly easy
to sort the elements of an array... see the end).
I believe this will do what you are try
Thanks David,
I just set it to AllowOverride All and restarted apache but it still
doesn't seem to work.
On 9/13/05, David Robley <[EMAIL PROTECTED]> wrote:
> blackwater dev wrote:
>
> > I am using .htaccess files throughout my code directory tree to set
> > certain directives such as php_value
Ben schrieb:
> [...] Hosting
> providers, which account for the vast majority of hosted domains, are
> pretty conservative.
In Germany they're no that conservative. One of the biggest hosters in
Germany (several million domains) allows to chosse between PHP 3, 4.0.6
4.3.x and 5.x via .htaccess
Always this stuff about breaking backward compatibility. People seem to
think that the change from 4 to 5 means such a lot. In fact the changes
from PHP4.0 to PHP4.4 are much more numerous. The backwarr incompatible
changes between 4 and 5 fit on asingle page of screen:
http://de.php.net/manual/
Manuel Lemos wrote:
I guess this should ring a lot of bells for those that expect to develop
products targetted to PHP 5, because the numbers seem to show that PHP 5
is a flop, despite PHP 5.0.0 was released more than 1 year ago.
I think it points more to hosting providers who don't want to f
blackwater dev wrote:
> I am using .htaccess files throughout my code directory tree to set
> certain directives such as php_value auto_prepend_file
> ../lib/libmatrix.php
>
> The problem is, they don't work.
>
> I have this in apache:
>
>
> Options FollowSymLinks
> AllowOverride None
>
>
>
J B wrote:
I've been playing with it and it looks like mssql_fetch_row may be the
problem. Right after this line:
$line = mssql_fetch_row($result);
...I inserted this line:
var_dump($line[0]);
...and this is what I got back:
string(20) "3.67124100206018e+17"
The actual contents of that ce
bruce wrote:
my question is still how do i determine for a given session, that a user is
still on the site, or that the user is no longer on the site/system. i don't
see an automated/system way of doing this.
The web is stateless... There is no automated/system way of doing this.
You know t
I've changed to PHP5 and not experienced any problems with old code. In
fact, the differences and incompatibilities are very minor and most
projects should work without any changes.
PHP5 features the new Zend Engine 2. It's not yet really faster than the
one in PHP4 but has large potential. Withou
My apologies, I meant the PEAR ADODB abstraction layer/
-Original Message-
From: Jens Schulze [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 14 September 2005 12:05 AM
To: php-general@lists.php.net
Subject: [PHP] Re: ADODB vs PHP extension
Do you mean the ADODB database abstraction layer f
Hello,
on 09/13/2005 09:54 PM Ryan A said the following:
Manuel also gave me a very good link:
http://www.nexen.net/interview/index.php?id=49
although the percentages there might not be totally accurate as is today,
coz that may have
been a survey some time back, dont know for sure as I dont und
On 9/13/05, Chris <[EMAIL PROTECTED]> wrote:
>
> Are you sure you're getting the number as you need it from the query?
>
> PHP won't (though I guess there could be a bug) automatically convert a
> numerical string into it's numerical equivalent.
>
> If the code you posted produces this problem,
I am using .htaccess files throughout my code directory tree to set
certain directives such as php_value auto_prepend_file
../lib/libmatrix.php
The problem is, they don't work.
I have this in apache:
Options FollowSymLinks
AllowOverride None
Where realtors is the root directory of my site...
In night college courses right now. I'll supply full code and everything
when I get home in about 2 hours or so. (Had to re-reply cause for some
reason my mail client keeps putting the repliers email in the to box instead
of PHP's mailing list url.
--Death Gauge
"How do you gauge your death?!"
i kind of get this!!!
however, no one has been able to point me to any kind of code sample/site
that actually illustrates how to do this. even from a psuedo code
implementation.
and as far as i can tell, i still don't have a way of knowing when a session
is valid/alive. the session handler articl
Hey all,
Hehe, sorry, didnt mean to ruffle anyones feathersjust reply to me and
not the list
if you want to.
Thanks to everyone who replied, esp those like Manuel Lemos who wrote a
pretty
long explanation for his reasons, as did [EMAIL PROTECTED] (sorry
mate,
you didnt leave your name in the
Are you sure you're getting the number as you need it from the query?
PHP won't (though I guess there could be a bug) automatically convert a
numerical string into it's numerical equivalent.
If the code you posted produces this problem, then the only possiblities
I see are that the mssql modu
bruce wrote:
as an exercise, i took a look at mambo (the cms) and realized that it
doesn't handle users who simply shut down their browser while on the
system...
thoughts/comments...
The only way to deal with such situations is through a garbage
collection routine that periodically deletes o
$str=10,12,14-18;
$tok = strtok($str, ',');
while ($tok !== false) {
$toks[] = $tok;
$tok = strtok(',');
}
foreach ($toks as $token){
if (strpos($token,'-')){
stringtokenize($token);
}else{
$finaltokens[]= $token;
}
}
function stringtokenize($nstr){
$ntok1= strtok($nstr,'-');
I suspect I'm far from the first person to have this problem, but I can't
seem to find the right search terms to locate the solution. Basically, I'm
doing a database query and dumping the results into an array. Then, later,
when I try to display the contents of the array, I run into problems. O
Ryan A wrote:
I'm a bit curious, so far I have had no need to upgrade my skills or use the
slightly different format /
functions of PHP 5.x.infact I have not seen all that many hosts actually
having support for it, so I
thought of this little poll :-)
[x] blah blah
Don't think you'll get a
ok
still have questions regarding how to handle a user/session of a user who
kills their browser. in this case, the user's session information would
still be in the db for the session handler...
am i correct in understanding/assuming that i could iterate through the list
of sessions in the se
Hello,
on 09/13/2005 07:52 PM Ryan A said the following:
I'm a bit curious, so far I have had no need to upgrade my skills or use the
slightly different format /
functions of PHP 5.x.infact I have not seen all that many hosts actually
having support for it, so I
thought of this little poll :
Death Gauge wrote:
I tried what people recommended but I am having major issues because
everyone misunderstood about what I was trying to do. My site has a
What's New news poster, which is on every page and just posts two things
at a time. Then a have a comic book site, game site, novel site,
I tried what people recommended but I am having major issues because
everyone misunderstood about what I was trying to do. My site has a What's
New news poster, which is on every page and just posts two things at a time.
Then a have a comic book site, game site, novel site, animation site, and
any code/pointers to this...
i've been doing the google/search thing and haven't come across anything
which relates to what i'm searching for...
so.. any help in this area would be greatly appreciated!!
i would have thought there would be articles/open course code/apps on this!!
-thanks
bruce
Hi,
I work for a company that makes websites and does custom programming for
private indviduals and
companies, I also freelance (like many on this list)
I'm a bit curious, so far I have had no need to upgrade my skills or use the
slightly different format /
functions of PHP 5.x.infact I have n
Git the first set of tokens to an array, then walk that array retrieving
the subtokens.
Regards
babu wrote:
Hi,
I have different types of main strings seperated by commas(,). I want to tokenize the main string using php's string token function.
I have substrings in the main string which are
Hi,
I have different types of main strings seperated by commas(,). I want to
tokenize the main string using php's string token function.
I have substrings in the main string which are seperated by "-".
examples:
1. 20,21-24
2. 21-24,20
3. 10,20,21-24,25,26,30
so on the whole the main string i
hey, thanks for jogging my memory about the array_keys ; that was exactly
what i wanted,
now I don't have to run the program through the more program now, and i
got all the names of the arrays in the big array without having half of
the info scrolling off the screen.
thanks
matt
--
PHP General
any code/pointers to this...
i've been doing the google/search thing and haven't come across anything
which relates to what i'm searching for...
so.. any help in this area would be greatly appreciated!!
i would have thought there would be articles/open course code/apps on this!!
-thanks
bruce
- Original Message -
From: "Jason Barnett" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, September 13, 2005 11:25 PM
Subject: Re: [PHP] trying to figure out the best/efficient way to tell who
is logged into a site..
Close: You mix both of these ideas.
Create a custom session handler. This
If you want to print the keys for all the arrays in the main array then
use allkeys.
matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will print an array but if that
array has sub-arrays it prints everything and if yo
matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will print an array but if that array
has sub-arrays it prints everything and if you don't use more command or
a pipe of some kind that could be useless in some cases, but
please provide code and an example output, and say how this is
different than you would like. what you describe is unclear.
Jordan
On Sep 13, 2005, at 4:04 PM, matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will p
I see two things that could be it.
#1 your $result is not $result = mysql_query("queryline");
Or #2 your syntax on your query line is bad.
You can try doing something like this:
$query = "SELECT * FROM table etc blah";
$result = mysql_query($query) or die(mysql_error());
$num = mysql_num_rows(
Close: You mix both of these ideas.
Create a custom session handler. This handler creates user entries in a
database. Then when you want to know how many are online you do a count on
the number of user entries in the table. Play around with different
gc_probability values to tune the efficiency
James wrote:
I have a PHP script running on server 1. I want it to call another
script on server 2 to clean up some files. There may be tons of files
and I don't want to wait until the second script is finished.
Is there a way to asynchronously call the second PHP script?
Right now I'm usin
tray print the array this way:
echo '';
print_r($array);
echo '';
-afan
matt VanDeWalle wrote:
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will print an array but if that
array has sub-arrays it prints everything and if you don't use m
I have a PHP script running on server 1. I want it to call another
script on server 2 to clean up some files. There may be tons of
files and I don't want to wait until the second script is finished.
Is there a way to asynchronously call the second PHP script?
Right now I'm using fopen() to c
hello,
I have a simple question, not really a problem this time.
I know that the function print_r() will print an array but if that array
has sub-arrays it prints everything and if you don't use more command or a
pipe of some kind that could be useless in some cases, but I am just
wondering, fo
> I have received an error: Warning: mysql_num_rows(): supplied argument is
> not a valid MySQL result resource in /home/www/mksystem.net when trying to
> execute $num = mysql_num_rows($result);
>
> Please go to http://mksystem.net/phpinfo.php and tell me whether it is due
> to the version of php
[snip]
I have received an error: Warning: mysql_num_rows(): supplied argument is
not a valid MySQL result resource in /home/www/mksystem.net when trying to
execute $num = mysql_num_rows($result);
[/snip]
Post a little code and we might be able to help you. It is likely that
$result is not the vari
I have received an error: Warning: mysql_num_rows(): supplied argument is
not a valid MySQL result resource in /home/www/mksystem.net when trying to
execute $num = mysql_num_rows($result);
Please go to http://mksystem.net/phpinfo.php and tell me whether it is due
to the version of php I have on se
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Tuesday, September 13, 2005 9:26 PM
Subject: Re: [PHP] ini_set()
On Tue, September 13, 2005 2:11 pm, Gustav Wiberg wrote:
Hi there!
I don't get it...
From
> Look at it this way, they have graciously given you full control over a
> small portion of their website. You should reciprocate with some creative
> ideas.
>
> What I would do first is replace /fonts/images/austrise.jpg on my site with
> a picture of something REALLY disgusting, and use a diff
Jordan,
I have a similar problem where someone is using copyrighted images on my
site in a bulletin board. It's not that one specific host is requesting
the files--it's people from all over--but rather that I want to block
one referring URL using Apache, rather than PHP, since the images are
> Hello,
>I have a problem where someone is illegally linking to my site.
> There site is in another language so I'm having trouble contacting
> them. Is there any way that I can use PHP or Apache to stop them from
> linking to these files directly on there website. This is an example
> of
hi...
anybody have pointers to trying to tell who/how long someone is logged into
a system/site. i've thought about setting a session var, but i'm not sure
how to read/tabulate this var across the entire group of people who'd be
logged in. i've also thought about keeping track in a db tbl.. howeve
you need to do it like this:
Order Allow,Deny
Allow from all
Deny from 85.65.154
http://httpd.apache.org/docs/1.3/mod/mod_access.html
Jordan
On Sep 13, 2005, at 2:30 PM, David Pollack wrote:
Hello,
I have a problem where someone is illegally linking to my site.
There site is in an
Hello,
I have a problem where someone is illegally linking to my site.
There site is in another language so I'm having trouble contacting
them. Is there any way that I can use PHP or Apache to stop them from
linking to these files directly on there website. This is an example
of a log entry
On Tue, September 13, 2005 2:11 pm, Gustav Wiberg wrote:
> Hi there!
>
> I don't get it...
>
>
> From the manual...
>
> string ini_set ( string varname, string newvalue )
>
> Sets the value of the given configuration option. Returns the old
> value on
> success, FALSE on failure. The configuration
Hi, am using glob in linux to match files like this with no problems:
glob("../dbimages/banners/{*.[jJ][pP][gG],*.[gG][iI][fF]}",GLOB_BRACE);
that matches gif o jpg case insensitive, now this works on linux with no
problems, but it does not in OSX.
//This works nice in OSX
glob("../dbimages/bann
> Unfortunately, you can't pass along a username/password to apache in a
> simple way.
Well, what about http://user:[EMAIL PROTECTED] I personally wouldn't send
cleartext passwords to a client's browser which might cache them and
stuff, but possible it is.
--
PHP General Mailing List (http://w
Much appreciated all,
I was kindda hopping that I missed something, some mysterious function...
My solution to this is: if a value like 2005416 to ignore it and only look
for 2005/4/16 or 20050416.
Cheers
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hi there!
I don't get it...
From the manual...
string ini_set ( string varname, string newvalue )
Sets the value of the given configuration option. Returns the old value on
success, FALSE on failure. The configuration option will keep this new value
during the script's execution, and will
Murray @ PlanetThoughtful wrote:
I have to create registration forms all the time for people in the office
and
what I keep running into is that I need a way for when they edit a field
that
the drop-down list of choices is automatically set for the right now.
I have 100+ counties in one list, but
Philippe Reynolds wrote:
Greetings all,
I am trying to find a function or a way to parse a date that has the
following format 2005124 or 20051204.
Well, the truth is, computers are stupid, and you need to explain this
kind of date format to him by rewriting such date in a way that a
comput
One usage of PHP I find over and over is to create table interfaces,
usually used by the admin if a site.
It's really a shame to have to redo this code over and over. Is there
any library or class that can handle it?
Good features would include:
* Given a SQL SELECT, create an HTML table
* Pagin
>
> Greetings all,
>
> I am trying to find a function or a way to parse a date that has the
> following format 2005124 or 20051204.
>
> When I have a date that has a single digit (ie month, day)
> all the date/time
> function seem to go bizarre.
>
> When it is a full 8 digit string everythin
Greetings all,
I am trying to find a function or a way to parse a date that has the
following format 2005124 or 20051204.
When I have a date that has a single digit (ie month, day) all the date/time
function seem to go bizarre.
When it is a full 8 digit string everything is fine.
When ther
Hi all
I have a bulgarian/spanish excel file that I have to import to a mysql
database.
Since I can't save it as csv without replacing the foreign chars with
(???) I saved it as unicode text. Next, I thought I would replace the
(\t) with (;) and all the foreign chars with the xx;.
The p
Robert,
The Lampshade framework (and I'm sure others, too) handles pretty much
all of the form controls for you. There' also a specific country()
function used to make a drop-down of countries. Using Lampshade, you
would only need one line of code in your form:
dropdownBox('country', country
> I have to create registration forms all the time for people in the office
> and
> what I keep running into is that I need a way for when they edit a field
> that
> the drop-down list of choices is automatically set for the right now.
>
> I have 100+ counties in one list, but I don't want to writ
Brian wrote:
I haven't used .htaccess before and am currently having an issue with it.
I have a site that has photos from various events on it. Some of the
events need to be password protected to view the photos. They enter a
password, it gets checked in the MYSQL database and then the php p
I haven't used .htaccess before and am currently having an issue with it.
I have a site that has photos from various events on it. Some of the
events need to be password protected to view the photos. They enter a
password, it gets checked in the MYSQL database and then the php page
tries to
I have to create registration forms all the time for people in the office and
what I keep running into is that I need a way for when they edit a field that
the drop-down list of choices is automatically set for the right now.
I have 100+ counties in one list, but I don't want to write 100+ if stat
On Sep 13, 2005, at 4:17 AM, Mark Rees wrote:
I've looked through php.net and scoured Google for a solution to an
issue I'm having with PHP and LDAP but have so far found nothing. I'm
trying to build an intranet site that uses the company LDAP (Active
Directory really) service but I can't seem t
Yeah, I just cut out almost the code that was working fine. My the full code
does a bit more than than that.
Thanks all,
Andrew Darrow
Kronos1 Productions
www.pudlz.com
- Original Message -
From: "Burhan Khalid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, September
- Original Message -
From: "Shaw, Chris - Accenture" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Friday, September 09, 2005 7:21 PM
Subject: RE: [PHP] session.gc_maxlifetime
-Original Message-
From: Gustav Wiberg [mailto:[EMAIL PROTECTE
Do you mean the ADODB database abstraction layer for PHP or the original
ADODB technology of Microsoft?
Jens
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote:
> Install the HTTP_Request package.
That did it. Anyone know why the SOAP package didn't complain about this when i
installed it?
-k.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
Hi,
Can someone tell me what are the differences between ADODB and using the
compiled-in MSSQL extension? Which one is faster? What are the
benefits/pitfalls of using either?
Thanks
Dean.
Peppy wrote:
I've searched online and am unable to find how to increment by more than one in
a for loop.
for ($i = 1; $i <= 6; $i++) {
Is it possible to increment $i by 5?
Everyone has responded with the correct answer, but you do realize that
this loop will only run twice? It will print 1,
On 13 September 2005 00:08, Dan Brow wrote:
> A little confused with mktime, I'm trying to get how many
> days are in a
> year.
>
> $year = "2006";
> $epoch = mktime(0, 0, 0, 1, 0, $year); // I have to have 1
You're asking for the 0th day of the first month here, which is (guess what!)
the last
Hi all,
This is the initial announcement of CBL Partial Updater, an PHP/AJAX
library.
Unlike other libraries, all operations are controlled at the server side.
BY using the library, you can convert existing PHP scripts into AJAX apps in
less than a minute, just by adding a few lines of code.
For
Hi,
Perhaps your /usr/local/bin/php505 is a cgi instead of cli?
Edin
Florent Monnier wrote:
> Hi,
>
> on http://www.php.net/manual/en/features.commandline.php is writen:
> STDERR - An already opened stream to stderr. This saves opening it with:
> $stderr = fopen('php://stderr', 'w');
> ?>
>
Hi all,
This is the initial announcement of CBL Partial Updater, an PHP/AJAX
library.
Unlike other libraries, all operations are controlled at the server side.
BY using the library, you can convert existing PHP scripts into AJAX apps in
less than a minute, just by adding a few lines of code.
For
Rasmus please ignore my last mail, I was being blind and stupid.
Jasper Bryant-Greene wrote:
Jochem Maas wrote:
hello Rasmus,
sorry to interrupt ... but ... could you possibly
spare a moment to explain why the SquirrelMail example you gave
is 'dumb' code? (I for one would like to avoid writin
Jochem Maas wrote:
Jasper Bryant-Greene wrote:
... which has the advantage of being a bit more readable too.
debatable ... no bog deal either way ...
$value = split('/\w/', trim($value));
$value = strtolower($value[0]);
... saves a var, no?
Yeah, but not as readable. $value is first a
> I've looked through php.net and scoured Google for a solution to an
> issue I'm having with PHP and LDAP but have so far found nothing. I'm
> trying to build an intranet site that uses the company LDAP (Active
> Directory really) service but I can't seem to get around the
> "Operations error" and
is it a wrong question?
please help...
On 9/12/05, Vedanta Barooah <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I think documentation is very sparse on PHP LDAPS (LDAP over SSL). I
> am in a situation where I need to auth against the LDAP server over
> SSL. I have the server's certificate database
Jochem Maas wrote:
hello Rasmus,
sorry to interrupt ... but ... could you possibly
spare a moment to explain why the SquirrelMail example you gave
is 'dumb' code? (I for one would like to avoid writing dumb code
wherever possible, and it looks a lot like I line I could have written!)
many thank
1 - 100 of 105 matches
Mail list logo