php-general Digest 14 Oct 2004 09:35:50 - Issue 3052
Topics (messages 199424 through 199462):
Installing PHP 5.0.2 on Fedora Core 2
199424 by: Don
199436 by: Greg Donald
Re: ezmlm-sub or alternative
199425 by: Mark Hubert
199447 by: Jason Wong
hy problems
Can I know the platform on which you are running apache.
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 1:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] .htaccess and .htpasswd
# .htaccess
AuthType Basic
AuthName Restricted Area
I'm having a bad day with sessions which hopefully someone can help me with.
A user logs in to my 'site' (script1.php) and I store relevant details in a
session, all fine. I redirect to another page (script2.php) which checks and
retrieves certain session values, all fine. My problem is with
On Thursday 14 October 2004 17:35, Graham Cossey wrote:
A user logs in to my 'site' (script1.php) and I store relevant details in a
session, all fine. I redirect to another page (script2.php) which checks
and retrieves certain session values, all fine. My problem is with
script3.php which
Graham Cossey wrote:
I'm having a bad day with sessions which hopefully someone can help me with.
A user logs in to my 'site' (script1.php) and I store relevant details in a
session, all fine. I redirect to another page (script2.php) which checks and
retrieves certain session values, all fine. My
--- Jason Wong [EMAIL PROTECTED] wrote:
Use an absolute URL for header redirects.
Glad to see someone else preaching the good HTTP gospel. :-)
You're passing the session id (SID) onto script2 but not to
script3, if that's the only method by which you're propagating
the session id then
--- John Holmes [EMAIL PROTECTED] wrote:
header('Location: http://www.example.org/script2.php?.SID);
He is human after all. :-)
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming December 2004http://httphandbook.org/
No
I think it's more likely that one of his tentacles slipped
Chris Shiflett wrote:
--- John Holmes [EMAIL PROTECTED] wrote:
header('Location: http://www.example.org/script2.php?.SID);
He is human after all. :-)
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly HTTP
Thanks guys for the help, adding SID to my iframe src solved my immediate
problem.
Am I correct in thinking then that the SID is automatically passed on
relative URLs only within the same browser/[i]frame/window when
use_trans_sid is enabled?
Graham
-Original Message-
From: Chris
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 13 October 2004 16:12, Mag wrote:
Hey,
Dont worry about talking crap, I took that risk when I
started this thread :-) I was hopeing that maybe the
image would have the
Hi Guys ,
How do we get the time_stamp of a Table creation ,
I know something like this would work ...
SHOW TABLE STATUS LIKE 'table name' ;
But How do I get only the column of time stamp column.
Thanks,
Nikhil.
[snip]
How do we get the time_stamp of a Table creation ,
I know something like this would work ...
SHOW TABLE STATUS LIKE 'table name' ;
But How do I get only the column of time stamp column.
[/snip]
There is no specific way to get that column using just a query (just ask
a SQL list).
hi...
i'm curious.. if i'm putting together a project, and am looking for a few
php developers as sweat equity partners, is this an appropriate place to
post my request..???
thanks
-bruce
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[snip]
i'm curious.. if i'm putting together a project, and am looking for a
few
php developers as sweat equity partners, is this an appropriate place to
post my request..???
[/snip]
This is one place, you can also go to http://www.phpcommunity.org
--
PHP General Mailing List
Thanks but problem is already solved
:)
-afan
Mulley, Nikhil wrote:
Can I know the platform on which you are running apache.
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 1:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] .htaccess and
Hi.
We're currently working on a project and need a few php developers to really
ramp up the creation of the application/system.
We're building an overall system to allow college students to buy/sell used
books online. The systems to support this effort have a number of components
that have to
Why use the min function? Just sort the array and then grab the first
element in the sorted array. No random picking required.
E
Paul [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks guys. Yes I figured using an array and the MIN function would be a
start.
Now the random
On Thu, 2004-10-14 at 05:55 -0700, bruce wrote:
hi...
i'm curious.. if i'm putting together a project, and am looking for a few
php developers as sweat equity partners, is this an appropriate place to
post my request..???
thanks
-bruce
[EMAIL PROTECTED]
craigslist.org too.
--
Jason Wong wrote:
On Thursday 14 October 2004 00:55, Jay Blanchard wrote:
Looking at http://www.php/net/downloads I do not see one.
Maybe that's why the OP asked? Anyway I don't see the reason why one would
want a patch. Surely bandwidth can't be an issue? And applying a patch would
most
Steve Brown wrote:
Hello, I would like to know if there is a patch just for the security
fix from PHP-4.3.8 to PHP-4.3.9 and where can I found it.
4.3.8 - 4.3.9 is not a security fix, i.e. there are no security holes
closed in 4.3.9. From the 4.3.9 announce:
PHP Development Team is proud to
Yeah I did it, But asked for any specic statement , any way Thanks :)
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 5:53 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Table Creation Time Stamp.
[snip]
How do we get the time_stamp of
Hi Guys,
I was wondering if anyone knows of a project for creating a
troubleshooting wizard, much like in the Microsoft help. I've managed to
make something which kind of works myself, but the problem is writing an
interface to add/remove/add/manage the questions and steps.
Thanks in advance.
* Thus wrote Federico Petronio:
...
Well.. that's why I prefer patching to upgrading.
Looking in the CVS I found this, but I am not sure if that is ALL the
change needed to fix the security bug.
http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.45.2.6r2=1.45.2.7ty=u
I'd
goto
sourceforge.net
there's tons of stuff there.. No need to reinvent the wheel ;-)))
pete
Lee Standen wrote:
Hi Guys,
I was wondering if anyone knows of a project for creating a
troubleshooting wizard, much like in the Microsoft help. I've managed
to make something which kind of works myself,
The link: HYPERLINK
http://www.php.net/manual/en/install.configure.phphttp://www.php.net/manua
l/en/install.configure.php no longer functions. Where can I get a list of
all the PHP 5 configure options at compile time as well as documentation and
what they do?
---
Outgoing mail is certified Virus
On Thursday 14 October 2004 23:24, Don wrote:
The link: HYPERLINK
http://www.php.net/manual/en/install.configure.phphttp://www.php.net/manu
a l/en/install.configure.php no longer functions. Where can I get a list of
all the PHP 5 configure options at compile time as well as documentation
and
On Thu, 14 Oct 2004 11:24:41 -0400, Don [EMAIL PROTECTED] wrote:
The link: HYPERLINK
http://www.php.net/manual/en/install.configure.phphttp://www.php.net/manua
l/en/install.configure.php no longer functions. Where can I get a list of
all the PHP 5 configure options at compile time as well as
OK thanks but I guess I didn't explain what I am trying to do properly.
I need to be able to identify the variable name as well as pick the variable
with the lowest value.
Something like this:
Whose turn is it to take out the garbage?
Mike has done it 3 times
Bob has done it 2 times
Jane has
Thanks for the reponse. Yes, the destination paths look fine and the PHP
error log displays no errors. Any other ideas?
Thanks.
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thursday 14 October 2004 02:40, Dave Grant wrote:
echo Thumb image uploaded to
Just to clarify, everything looks like it works fine except for moving the
images to the destination path. The images upload, the server recognizes
them, but they don't get moved to the destination path.
Thanks.
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On
On Thu, 14 Oct 2004 10:52:20 -0500, BOOT [EMAIL PROTECTED] wrote:
OK thanks but I guess I didn't explain what I am trying to do properly.
I need to be able to identify the variable name as well as pick the variable
with the lowest value.
Something like this:
Whose turn is it to take out
/* Untested Code */
$arr[0]['id'] = 3;
$arr[0]['name] = 'Mike';
$arr[1]['id'] = 2;
$arr[1]['name'] = 'Bob';
$arr[2]['id'] = 5;
$arr[2]['name'] = 'Jane';
array_multisort($arr['id'],$arr['name']);
print It's .$arr[0]['name'].'s Turn To Take Out The Garbage!;
/* End Untested Code */
On Thu, 14
Hi all - I am looking at using a dbm-style cache system and was wondering if
anyone has any recommendations from the plethora of systems listed here:
http://us2.php.net/manual/en/ref.dba.php
Is there a favorite?
I know if probably depends on what I want to do, so in short, I am looking
to
On Thu, 14 Oct 2004 10:52:20 -0500, BOOT [EMAIL PROTECTED] wrote:
OK thanks but I guess I didn't explain what I am trying to do properly.
I need to be able to identify the variable name as well as pick the variable
with the lowest value.
Something like this:
Whose turn is it to take out
On Thu, 14 Oct 2004 10:46:02 -0600, Jed R. Brubaker
[EMAIL PROTECTED] wrote:
Hi all - I am looking at using a dbm-style cache system and was wondering if
anyone has any recommendations from the plethora of systems listed here:
http://us2.php.net/manual/en/ref.dba.php
Is there a favorite?
I
Hi,
I am creating a site where users record details of their clients and record
their progress. The whole point of the system is to reduce the amount of
paper work and store everything online.
The problem here is that each user will have their own forms to fill in on
their clients, some will
[snip]
I am creating a site where users record details of their clients and
record
their progress. The whole point of the system is to reduce the amount of
paper work and store everything online.
[/snip]
How much time have you spent with the users? How well do you understand
their needs? Have
Please, i need output a intenger, what function can i use for this?.
Print?, echo?
Thank you.
JP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 14 Oct 2004 18:01:48 +0100, Shaun [EMAIL PROTECTED] wrote:
I am creating a site where users record details of their clients and record
their progress. The whole point of the system is to reduce the amount of
paper work and store everything online.
Like project management? Know about
Create some format to store the info for the form contents...
like off the top of my head...
TEXT:Name:20:RADIO:Sex:Option1:Option2:CHECKBOX:State:Option1:Option2:...:PASSWORD:Password:20:
Just an example, but doable to store in a database, then you create parsing functions
to handle this
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
I am creating a site where users record details of their clients and
record
their progress. The whole point of the system is to reduce the amount of
paper work and store everything online.
[/snip]
How much time have
Thanks Pete,
I've already spent about 45 minutes trying to find a project which does
this, to no avail...
On Thu, 14 Oct 2004, pete M wrote:
goto
sourceforge.net
there's tons of stuff there.. No need to reinvent the wheel ;-)))
pete
Lee Standen wrote:
Hi Guys,
I was wondering if anyone knows of
Start here...
http://us2.php.net/manual/en/language.types.php
- Original Message -
From: Juan Pablo Herrera [EMAIL PROTECTED]
Date: Thursday, October 14, 2004 1:19 pm
Subject: [PHP] intenger
Please, i need output a intenger, what function can i use for this?.
Print?, echo?
Thank
Juan Pablo Herrera wrote:
Please, i need output a intenger, what function can i use for this?.
Print?, echo?
Thank you.
JP
Why not try them both, and see which one works.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I have never done this before (but in my first test it
seems to work), I am include()ing a file into a
variable like this:
$a=include(th-file.php);
Will this give me any extra problems later on? or is
this resource intensive?
The reason I am doing this is because I want to put
whole pages
Please, i need output a intenger, what function can i use for this?.
Print?, echo?
$i = 12;
echo $i;
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you mean an integer? As in
$i = 5;
Print $i;
?
-Original Message-
From: Juan Pablo Herrera [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 10:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] intenger
Please, i need output a intenger, what function can i use for
I have interviewed a few users and it has become instantly
apparent that
they all work differently and record slightly different
information about
their clients making it impossible to produce a general set
of forms that
would encompass all users. I haven't done any other forms of
I think the problem here will be in the database design.
You certainly could store PDFs or the like, but then someone is going to
want to run queries, produce reports, make updates etc etc.
The problem (I think) is to come up with a db design that is not fixed to a
given form structure. Using
Ed Lazor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have interviewed a few users and it has become instantly
apparent that
they all work differently and record slightly different
information about
their clients making it impossible to produce a general set
of forms
I believe that include() returns true|false, so $a would equal true if
the file is included and false if it is not.
On Thu, 14 Oct 2004 10:35:15 -0700 (PDT), Mag [EMAIL PROTECTED] wrote:
Hi,
I have never done this before (but in my first test it
seems to work), I am include()ing a file into a
[snip]
$a=include(th-file.php);
[/snip]
Mag,
I have never seen this approach before.
This is the way I would do something like
that.
$file=./th-file.php;
if (!($fp = fopen($file,r))){
echo Could not open .$file;
exit();
}
$a = fread($fp, filesize($file));
fclose($fp);
See
* Thus wrote Mag:
Hi,
I have never done this before (but in my first test it
seems to work), I am include()ing a file into a
variable like this:
$a=include(th-file.php);
Will this give me any extra problems later on? or is
this resource intensive?
The reason I am doing this is
I'm trying to add some new features to an existing project. The project
uses pg_pconnect and sets it into a global var...
What I'm trying to do is to create a new database class which connects to
a different database on the same server. By the time my code gets
reached, the pg_pconnect global
I am trying to set up a script that will do different things based on the
reffering page, without having to include the information in the URL. Does
PHP have a built in variable or function that would tell the rest of the
script what page the user came from? Any help is much appreciated.
Ben
[snip]
Do you mean an integer? As in
$i = 5;
Print $i;
?
[/snip]
That would be the one(1)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I found it interesting... you did a good job.
However I am running confused laps in my brain on what do I do to
actually set it up... I know about sessions... but I am even more
concerened now about the use of cookies but I am not 100% sure on how
to accomplish this
when I was dabbling in
ApexEleven wrote:
I believe that include() returns true|false, so $a would equal true if
the file is included and false if it is not.
If you use *return* on global scope in include file that value will be
returned to $a.
-- test.php --
$test = Hello;
return $test;
-
$a = include test.php;
//
Mag wrote:
Hi,
I have never done this before (but in my first test it
seems to work), I am include()ing a file into a
variable like this:
$a=include(th-file.php);
Will this give me any extra problems later on? or is
this resource intensive?
I've seen other people do something similar to this,
but
I have interviewed a few users and it has become instantly
apparent that
they all work differently and record slightly different
information about
their clients making it impossible to produce a general set
of forms that
would encompass all users. I haven't done any other
[snip]
I am trying to set up a script that will do different things based on
the reffering page, without having to include the information in the
URL. Does PHP have a built in variable or function that would tell
the rest of the script what page the user came from? Any help is
much
$referrer = $_SERVER['REFFERER'];
something like that...
then you can do something like
if ($referrer == 'whatever')
$sdaf = whatever;
I usually do something like
if (strpos($referrer,'pagename.php'))
//execute code
I am trying to set up a script that will do different things based
Yes,
write a script with:
?php
phpinfo();
?
and you will find all the wonderous variables at your disposal...
-B
- Original Message -
From: Ben [EMAIL PROTECTED]
Date: Thursday, October 14, 2004 3:37 pm
Subject: [PHP] Referring Page
I am trying to set up a script that will do different
[snip]
I'm trying to add some new features to an existing project. The project
uses pg_pconnect and sets it into a global var...
What I'm trying to do is to create a new database class which connects
to a different database on the same server. By the time my code gets
reached, the pg_pconnect
I am trying to set up a script that will do different things based on the
reffering page, without having to include the information in the URL. Does
PHP have a built in variable or function that would tell the rest of the
script what page the user came from? Any help is much appreciated.
Has anyone had any luck installing with the --with-imap configuration
option. IMAP doesn't seem to be installed (nor imap-devel) and the c
library specified in the docs at php.net does not compile.
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
Ben wrote:
I am trying to set up a script that will do different things based on the
reffering page, without having to include the information in the URL. Does
PHP have a built in variable or function that would tell the rest of the
script what page the user came from? Any help is much
Jonathan Villa wrote:
$referrer = $_SERVER['REFFERER'];
Will return nothing.
$_SERVER['HTTP_REFERER']
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Curt,
Thanks for replying.
class SaveToFile {
function open($file) {
//open file...
}
function write($buf) {
//write to file...
}
function close() {
//close file
}
}
$obSaveFile = new SaveToFile();
$obSaveFile-open('/path/to/file.html');
I am trying to set up a script that will do different things based on
the
reffering page, without having to include the information in the URL.
Does
PHP have a built in variable or function that would tell the rest of the
script what page the user came from? Any help is much appreciated.
Can't be put any more plainly than that, thanks...
Ben wrote:
I am trying to set up a script that will do different things based on
the
reffering page, without having to include the information in the URL.
Does
PHP have a built in variable or function that would tell the rest of the
On Thu, 14 Oct 2004 14:30:18 -0500 (CDT), Jonathan Villa [EMAIL PROTECTED] wrote:
I'm assuming that I need to close the persistent connection before I can
open a new one, but from my understanding, persistent connections cannot
be closed...
That is true for all persistant db connection
*typo
Jonathan Villa wrote:
$referrer = $_SERVER['REFFERER'];
Will return nothing.
$_SERVER['HTTP_REFERER']
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks all. That did it perfectly.
-Original Message-
From: Matt M. [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 2:21 PM
To: Ben
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Referring Page
I am trying to set up a script that will do different things based on the
reffering
Please do not top-post.
On Thursday 14 October 2004 23:52, Dave Grant wrote:
Thanks for the reponse. Yes, the destination paths look fine and the PHP
error log displays no errors. Any other ideas?
move_uploaded_file() _will_ spit out an error if there are any problems. So if
you're
On Thu, 14 Oct 2004 16:47:08 -0400, John Nichel [EMAIL PROTECTED] wrote:
Will return nothing.
$_SERVER['HTTP_REFERER']
Just an FYI.. Some versions of IE do not report this info. And some
of the newer home firewall software applications scrub it out under
the guise of privacy, Norton
On Friday 15 October 2004 05:03, Jonathan Villa wrote:
there is $_SERVER['HTTP_REFERER']
but it is unreliable
Can I ask why?
archives.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
I am trying to set up a script that will do different things based on
the
reffering page, without having to include the information in the URL.
Does
PHP have a built in variable or function that would tell the rest of the
script what page the user came from? Any help is much
[snip]
I'm trying to add some new features to an existing project. The project
uses pg_pconnect and sets it into a global var...
What I'm trying to do is to create a new database class which connects
to a different database on the same server. By the time my code gets
reached, the
[snip]
I then have the page main.php which has
?php
global $sys_dbhost,$sys_dbuser,$sys_dbpasswd;
$dbconn = pg_connect(user=$sys_dbuser dbname=bisprojects
host=$sys_dbhost password=$sys_dbpasswd); echo '-'.$dbconn.'-'; ?
the scripts just dies whenever I include the pg_connect function... if I
* Thus wrote Mag:
Hi Curt,
Thanks for replying.
$obSaveFile = new SaveToFile();
$obSaveFile-open('/path/to/file.html');
ob_start(array($obSaveFile, 'save'), 1024);
/* do your stuff here */
ob_end_flush();
$obSaveFile-close();
Problem is, I have not really learnt classes
Chris Shiflett wrote:
--- John Holmes [EMAIL PROTECTED] wrote:
header('Location: http://www.example.org/script2.php?.SID);
He is human after all. :-)
That's just a rumour' I started...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for
For what period of time a session can exist? Or session exist as soon
as browser is open?
TH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On what percent browsers Javascript is enabled?
On Wed, 13 Oct 2004 15:48:51 -0700, Mattias Thorslund
[EMAIL PROTECTED] wrote:
There are several JavaScript solutions for validating forms on the
client side. Search on hotscripts.com and google.com.
Client-side validation (in the browser) is
Jerry Swanson wrote:
For what period of time a session can exist? Or session exist as soon
as browser is open?
1. For as long as the user is active
2. Depends on what page the browser opens
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine
I wanna setup a tree structure. Each node in this tree is a
table. Each table has a link field. For each record, the
data in this field is a pointer to another table or null.
I read mysql manual but don't find any clues that SQL
supports such a link field. Does anyone has an idea about
that?
For what period of time a session can exist? Or session exist as soon
as browser is open?
1. For as long as the user is active
2. Depends on what page the browser opens
I'm gonna elaborate a bit...
In your php.ini there is a session idle timeout setting. The
inactivity John mentioned is
Hi guys,
Recently, I had to reformat one of the web servers and now I have
encountered an unusual problem. I am not sure whether this is an issue which
can be fixed in the .ini file or whether its specific to the version of php
I am using.
Here is the problem:
$query=SELECT * FROM
This should be simple but having never have done it before and at
deadline...help please.
Need to change:
[EMAIL PROTECTED]
to;
user=domain
Thank you!
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This should be simple but having never have done it before and at
deadline...help please.
Need to change:
[EMAIL PROTECTED]
to;
user=domain
str_replace() is what you want...
$var = str_replace( @, =, $oldvar );
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To
On Friday 15 October 2004 09:58, Dale Hersowitz wrote:
For some reason, on the last row, I am not unable to reference a particular
index in the array using a php variable. This has been working for almost
12 months and now the coding is breaking all over the place. I don't have
an answer. Any
$selectedCol=$row[selectedCol];
echo $selectedCol;
$selectedColName=$row[$selectCol]; //--- PLEASE NOTE THIS SPECIFIC
ROW
Please give me the output, what do you get from echo $selectedCol;? If I
had to guess, it looks like you're confusing key and value of an
associatative array.
need a regexp to get the contents of this marker or one very simular:
{!STATISTICS:starbucks!}
what I am looking for is to get the STATISTICS and starbucks into
an array() if possible. I believe with the correct regexp this can be
accomplished using preg_split() or by getting the contents of
Teng Wang wrote:
I wanna setup a tree structure. Each node in this tree is a
table. Each table has a link field. For each record, the
data in this field is a pointer to another table or null.
I read mysql manual but don't find any clues that SQL
supports such a link field. Does anyone has an idea
I see that php 5.0.2 has added the ldap_sasl_bind function. I compiled
php-5.0.2 against our OpenLDAP w/ SASL support libraries, and went ahead to
give it a whirl:
#!/usr/local/bin/php
?php
$ds = ldap_connect(ldap-test3.stanford.edu);
if($ds) {
$r = ldap_sasl_bind($ds);
} else {
echo Unable
On Friday 15 October 2004 10:35, Robet Carson wrote:
need a regexp to get the contents of this marker or one very simular:
{!STATISTICS:starbucks!}
what I am looking for is to get the STATISTICS and starbucks into
an array() if possible. I believe with the correct regexp this can be
On 15/10/2004, at 2:46 AM, Jed R. Brubaker wrote:
Hi all - I am looking at using a dbm-style cache system and was
wondering if
anyone has any recommendations from the plethora of systems listed
here:
http://us2.php.net/manual/en/ref.dba.php
Is there a favorite?
I know if probably depends on
Hi,
I'm a new member in this mailing list.
I have a problem with large data in mssql (more than 100.000 record in
one table). If I want to browse it from record 10 until 19 (like when
I press next button), php have to read all data (select * from table).
Is it posible to read only the record that
On Thu, 2004-10-14 at 21:04 -0500, Mark Hubert wrote:
This should be simple but having never have done it before and at
deadline...help please.
Need to change:
[EMAIL PROTECTED]
to;
user=domain
Did you try searching on the php site or google first?
I made this code to pick a random record from a changeable number of
records in a given table.
I'm just curious if any of the more awake coders out there can see a way to
optimize this for better performance, since there's several other DB
queries on the same page.
$records =
100 matches
Mail list logo