Hi,
I was wondewring if someone know the reason to the error below,
I'm no Unix guru and my sysadm says he cant get ldap to work due to this,
is there anyone who tell me what to tell him to get it to work?
greetings
Jimmy
Lund Sweden
//ERROR ENCLOSED BELOW.
gcc -DSOLARIS2=260 -I/usr/local/src/p
steinm Tue Mar 20 23:58:20 2001 EDT
Modified files:
/php4/ext/hyperwave hg_comm.c
Log:
- fulltext query are working now
Index: php4/ext/hyperwave/hg_comm.c
diff -u php4/ext/hyperwave/hg_comm.c:1.40 php4/ext/hyperwave/hg_comm.c:1.41
--- php4/ext/hyperwave/hg
Should work just fine.
On Wed, 21 Mar 2001 [EMAIL PROTECTED] wrote:
> Hi,
>
> I`m having whats probably a very basic problem but just can`t get my head
> around it this late in the day, anyone have any idea why this won`t work?
>
> $URL="domain.com";
>
> header ("Location: Http://www.$URL/member
Hi,
I`m having whats probably a very basic problem but just can`t get my head
around it this late in the day, anyone have any idea why this won`t work?
$URL="domain.com";
header ("Location: Http://www.$URL/members/index.php");
$URL changes so I can`t write it directly into the header line, an
Addressed to: "Henkie" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Henkie" <[EMAIL PROTECTED]> Tue, 20 Mar 2001 09:37:22
-
>
> Hi,
>
> Recently, I saw a presentation by Rasmus Lerdorf about php. He used
> netscape and php scripts as presentation software and i
Hello
Is possible to execute a file which was write in Perl from inside a PHP file?
If yes, how can I do that?
--
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-mai
On Wed, 21 Mar 2001 17:45, Paul Juliano wrote:
> Hello,
>
> How would I simulate an http post in PHP. Something like the
> equivalent of this:
>
>
>
>
>
>
>
>
> And how would I be able to read the resulting page.
You might find more info here:
http://marc.theaimsgroup.com/?l=php-general&
Hello,
How would I simulate an http post in PHP. Something like the equivalent
of this:
And how would I be able to read the resulting page.
__
www.edsamail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Addressed to: Jen Hall <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Jen Hall <[EMAIL PROTECTED]> Tue, 20 Mar 2001 19:59:26
-0500
>
> Hi there
> I am trying to build an application where a user can use an
> HTML form, fill out some fields, select a file from their
> h
ssb Tue Mar 20 22:58:25 2001 EDT
Modified files:
/CVSROOTavail
Log:
* added mboeren
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.122 CVSROOT/avail:1.123
--- CVSROOT/avail:1.122 Mon Mar 19 10:41:46 2001
+++ CVSROOT/avail Tue Mar 20 22:58:25 2001
ssb Tue Mar 20 22:48:06 2001 EDT
Modified files:
/CVSROOTcvsusers gen_acl_file.m4
Log:
* added mboeren (Marc Boeren <[EMAIL PROTECTED]), access to php4/ext/dbx
Index: CVSROOT/cvsusers
diff -u CVSROOT/cvsusers:1.240 CVSROOT/cvsusers:1.241
--- CVSROOT/
On Wed, 21 Mar 2001 17:01, Dhaval Desai wrote:
> Hi@
>
> I have a database in whih I have a lot of emails. What
> I want to do is basically a small newsletter kindaa
> thing which is to be mailed to all the emails which I
> am goingto pick from the database.
>
> If I use
>
> while($r=mysql_fetch_a
while($r=mysql_fetch_array($result)
$to .=$r['email'].",";
mail($to,);
Dhaval Desai wrote:
> Hi@
>
> I have a database in whih I have a lot of emails. What
> I want to do is basically a small newsletter kindaa
> thing which is to be mailed to all the emails which I
> am goingto pick
sbergmann Tue Mar 20 22:33:00 2001 EDT
Modified files:
/php4 run-tests.php
Log:
Disable maximum execution time for tests.
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.17 php4/run-tests.php:1.18
--- php4/run-tests.php:1.17 Tue Mar 20 22
Hi@
I have a database in whih I have a lot of emails. What
I want to do is basically a small newsletter kindaa
thing which is to be mailed to all the emails which I
am goingto pick from the database.
If I use
while($r=mysql_fetch_array($result)
{
$email = $r['email'];
}
and then use the mail()
Jeanne,
Your script example looks very promising. I have spent two solid days
trying to solve this problem. I think what you have provided will be a big
help. I am having trouble getting the navigation frame to update, though.
I'm not sure what I'm missing. Do you have a working example?
Best,
andre Tue Mar 20 22:17:13 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4 run-tests.php
Log:
1) fixed tests on *both* win32+linux
2) made tests more sophisticated (checking against compiled in modules)
3) minor changes
4) win32 improvements
In
Jimmy Bäckström wrote:
>
> Yo!
> I'm thinking of writing a bulletin board and I wonder about threads. I want the
>board to be built on threads but I don't know how to do it. I want it to look
>something like this:
>
> subject 1
>|
>|__ reply1 to 'subject 1'
>| |
>|
On Wed, 21 Mar 2001 16:15, Mike Gifford wrote:
> Hi David,
>
> I counted the number of rows using mysql_numrows(), but I've been told
> that count() is way faster. Unfortunately, I can't seem to get count
> working.. Any ideas?
>
> echo mysql_numrows(mysql_query("select * FROM phPetition",$db))
On 21-Mar-01 Mike Gifford wrote:
> Hi David,
>
> I counted the number of rows using mysql_numrows(), but I've been told that
> count() is way faster. Unfortunately, I can't seem to get count working..
> Any
> ideas?
>
> echo mysql_numrows(mysql_query("select * FROM phPetition",$db));
>
> /
andre Tue Mar 20 22:04:37 2001 EDT
Modified files:
/php4 run-tests.php
Log:
1) fixed tests on *both* win32+linux
2) made tests more sophisticated (checking against compiled in modules)
3) minor changes
4) win32 improvements
Index: php4/run-tests
> Why wouldn't this redirect?
Because you need to do this:
Jason
--
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]
Mr. Jeff, following is the code i'm using in my page,
could you tell me what i'm doing wrong, besides of
course the famous "uh ohh i got a row back()" code
that needs to be replaced
=sdate and '$realsdate'<=edate) or
('$realedate'>=sdate and '$realedate'<=edate)",$db);
if (uh_ohh_I_got_a_r
Why wouldn't this redirect? The query works, but the page won't redirect. I
have used the same two lines successfully on other pages. I'm very tired,
it's probably obvious.
G'Night
Dean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Mr. Armstrong, i'm trying hard to get the message, and
i've got most of it and i'm gonna give it a whirl...
only place where i'm seeing a dizzy question mark is
this :
if (uh_ohh_I_got_a_row_back())
right, now what exactly do i put in here that tells me
uh ohh, i got a row back The logic is
Mr. Armstrong, i'm trying hard to get the message, and
i've got most of it and i'm gonna give it a whirl...
only place where i'm seeing a dizzy question mark is
this :
if (uh_ohh_I_got_a_row_back())
right, now what exactly do i put in here that tells me
uh ohh, i got a row back The logic is
steinm Tue Mar 20 21:45:41 2001 EDT
Modified files:
/php4/ext/domxmlphp_domxml.c php_domxml.h
Log:
- added EntityReference and Notation class
- fixed handling of PI nodes
- implemented more class functions
Index: php4/ext/domxml/php_domxml.c
diff -
Jeff, following is the code as it comes out in my
page...can u tell me what i'm doin wrong, besides the
fact that i have to replace that famous "uh ohh i got
a row back()" with an actual snippet :
=sdate and '$realsdate'<=edate) or
('$realedate'>=sdate and '$realedate'<=edate)",$db);
if (uh_
Hi David,
I counted the number of rows using mysql_numrows(), but I've been told that
count() is way faster. Unfortunately, I can't seem to get count working.. Any
ideas?
David Robley wrote:
> $same_Email_query is a pointer to a result set from the query and will
> always be true if the quer
you can use a cookie that's sent with the image, or better yet put the whole
thing in an
Well that's how i'd do it at least.
Gfunk - [EMAIL PROTECTED]
Hi =)
I'd like to setup a banner exchange with some friends. Some of them don't
have PHP access, so I'm trying to come up with something that will work for
everyone. I checked one site that's running a banner exchange and saw them
using a cgi script like this:
http://www.site.com/exchange.c
what is the standard with setting the amount of time in
session.gc_maxlifetime it has defaulted to 1440 (24 mins) is that considered
long enough?
Peter Houchin
[EMAIL PROTECTED]
=
_ __ /\
/_/_/_\
You and I have not met, but because youre a respected business professional with an
interest in improving employee productivity, I would like to offer you a free preview
of the Professional Selling SkillMap(tm). This new assessment and skill development
resource from Frontline Learning can hel
On Wed, 21 Mar 2001 14:58, Mike Gifford wrote:
> Hello,
>
> I'd like the presense or absense of information within a database to be
> involved in an if statement, however I'm having trouble getting it to
> work. I've set up the following:
>
> $same_Email_query = mysql_query("SELECT Email FROM phP
> Can anyone tell me what the best form of Email validation
> there is? It needs to be quick & as open to - and . as possible.
We use this one on www.inww.com:
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http:
Hello Again,
Can anyone tell me what the best form of Email validation there is? It needs to
be quick & as open to - and . as possible.
I've seen the following:
But this one looks quite impressive too:
Not sure which is the best.
Mike
--
Mike Gifford, OpenConcept Consulting, http://ope
Hello,
I'd like the presense or absense of information within a database to be involved
in an if statement, however I'm having trouble getting it to work. I've set up
the following:
$same_Email_query = mysql_query("SELECT Email FROM phPetition WHERE Email='" .
$Email . "'");
if($same_Email_que
jon Tue Mar 20 20:15:41 2001 EDT
Modified files:
/php4/pear DB.php
Log:
Style and whitespace, based mostly on a submission from
"Tomas V.V.Cox" <[EMAIL PROTECTED]>.
Index: php4/pear/DB.php
diff -u php4/pear/DB.php:1.50 php4/pear/DB.php:1.51
--- php4/
I have searched long and hard to resolve this issue. I've tried many
variations for the header tag. However, I cannot seem to get it to work
with IE5.5.
I am trying to read an Acrobat created PDF file that I uploaded into my
MySQL database.
The problem occurs when I print the data via IE5.5.
No prob, that works fine. Thanks so much :)
-Original Message-
From: Tyrone Mills [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 21 March 2001 2:04 PM
To: Matt Stone; PHPlist
Subject: RE: [PHP] Cache
Yup, at the beginning of your PHP script. Sorry, I should have mentioned
that... :)
-
Yup, at the beginning of your PHP script. Sorry, I should have mentioned
that... :)
-Original Message-
From: Matt Stone [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:04 PM
To: Tyrone Mills; PHPlist
Subject: RE: [PHP] Cache
That goes in the PHP code no?
-Original Messag
That goes in the PHP code no?
-Original Message-
From: Tyrone Mills [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 21 March 2001 1:56 PM
To: Matt Stone; PHPlist
Subject: RE: [PHP] Cache
Hi Matt,
For a very extensive solution, check this out:
http://www.zend.com/codex.php?id=435&single=1
php-general Digest 21 Mar 2001 03:53:22 - Issue 579
Topics (messages 44763 through 44866):
Re: Problems with Linux PHP
44763 by: Dennis Gearon
Re: Editing Variables from another script.
44764 by: Neil Kimber
Re: how do i get a variable type? - not that simple
44765
Hi Matt,
For a very extensive solution, check this out:
http://www.zend.com/codex.php?id=435&single=1
Or, if you just want all your pages to be forced to load all the time
regardless...
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
head
Hi,
This might be a little of topic...
I am having real trouble with cached PHP pages, they just never seem to
refresh... I have dissabled my local cache (IE5.5 Win2k) to the best of my
knowledge (suggestions on how to do this properly welcome) but are still
having trouble.
I am not sure whether i
Leaders of the industry with a geocities address... whopdee do
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 21 March 2001 1:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] A NETWORK MARKETER?
ATTENTION: ANY SERIOUS NETWORK MARKETER
TAKE A LOOK AT
ATTENTION: ANY SERIOUS NETWORK MARKETER
TAKE A LOOK AT THE FOLLOWING OPPORTUNITY I CAME ACROSS!!
IF YOU PLUG INTO THEIR PROVEN SYSTEM, THEY GUARANTEE YOU SUCCESS,
AND PROVIDE YOU WITH FREE LEADS TO BUILD YOUR GROUP!!
DO NOT LET THIS SLIP AWAY!! CLICK BELOW AND FIND OUT AS I DID,
WHY THESE
Ola,
utiliza um numero mui grande! :)
;)
Nuno
Francesc Lladó wrote:
>
>
> Utilizo este código para depositar una cookie en el cliente, lo único
> que me caduca al cabo de un tiempo, ¿alguién sabe qué es lo que tengo
> que poner para que la cookie no caduque nunca?
>
> Gracias
>
> --
> F
ATTENTION: ANY SERIOUS NETWORK MARKETER
TAKE A LOOK AT THE FOLLOWING OPPORTUNITY I CAME ACROSS!!
IF YOU PLUG INTO THEIR PROVEN SYSTEM, THEY GUARANTEE YOU SUCCESS,
AND PROVIDE YOU WITH FREE LEADS TO BUILD YOUR GROUP!!
DO NOT LET THIS SLIP AWAY!! CLICK BELOW AND FIND OUT AS I DID,
WHY THESE
Can anyone point me at a way to pick up a url entered in a form
and construct an HTTP request that will download the requested
page into the browser window with an enforced refresh that
bypasses a local cache ?
(I have a tough local policy to get thru which doesn't take account
of developers
If you have time please take a look and let me know
there are any corrections you would make in terminology
and accuracy. I'm fairly new to PHP. I want everything
to be correct.
http://www.webdesigns1.com/php/tutorial_test.php
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsub
On Wed, 21 Mar 2001 06:10, Richard wrote:
> Greetings.
>
> This is a part of my "reading one line" message...
>
> If one would need to remove one line in a flatfile, how would it be
> done? I know there is no simple solution, and one is going to increment
> through the chosen file.. But how is
edit php.ini for the expiry and the gc (garbage collection) percentage.
--
Chris Lee
[EMAIL PROTECTED]
""Peter Houchin"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
on my server in /tmp it saves the session details ... but for some reason
it's keepin
Hi Almir,
Yes I checked the names and they are correct. Yes I am able to connect using
the command prompt from the remote server as I am able to list the databases,
tables, etc. remotely.
Thanks,
Floyd
almir wrote:
> when you connect to server issue
> "show databases" -query then look inside
> I'm trying to convert the timestamp '2001032018' into '2001 03 20 18' or
an
> Array which I can easily format. Do you remember any date or string
function
> I can use?
Convert the timestamp into a string, then use substr() to get the dates out
of it. Look at the on-line manual (http://www.php.n
Hi there
I am trying to build an application where a user can use an
HTML form, fill out some fields, select a file from their
hard drive, and have it emailed as an attachment with the
contents of the form. (essentially, fill in your name and
address, use my module to attach ms-word file of your
Thanks..
So $date_output should only be used to print out current time, and
$timestamp is the one I should use to compare the dates?
- Richard
""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message
998rej$16l$[EMAIL PROTECTED]">news:998rej$16l$[EMAIL PROTECTED]...
> If I were doing this for s
On Wed, 21 Mar 2001 06:33, Bill Mitcheson wrote:
> I was wondering if there was a way to check output and syntax of a php3
> file while in UNIX similar to perl: perl [file].
>
> Bill Mitcheson (Network Admin, Pyramus Online).
You would need to compile PHP as cgi (if not already done) then you can
If I were doing this for simplicity's sake I would alter this to be:
$timestamp = mktime();
$date_output = date("Y-m-d H:i A", $timestamp);
Then store the $timestamp in the (pseudo)database. Any operations I need to
compare times will be done on the $timestamp data rather than the
$date
On Wed, 21 Mar 2001 08:46, Clayton Dukes wrote:
> > I have a script that looks for tags, but it doesn't seem to be
> picking up the titles, can anyone tell me why?
>
>
> Almost all of the web pages look like:
>
>if(!isset($mainfile)) { include("mainfile.php"); }
> if(!isset($headers_sent))
uw Tue Mar 20 15:45:33 2001 EDT
Added files:
/php4/pear/Experimental/HTMLMenu_Browser.php
Log:
Warning: alpha code!
A simple filesystem scanner/browser that maps the filesystem structure into a menu
hash so that you can build simple fusebox (
I forgot to mention that the timestamp is:
$date_output = date("Y-m-d H:i A");
But that would work as fine correct?
- Richard
""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message
998p9a$hqp$[EMAIL PROTECTED]">news:998p9a$hqp$[EMAIL PROTECTED]...
> Depending on what sort of timestamp you ar
Oh...Well, learning something new every day. Seriously; I have never been
coding against a database.
- Richard
""James Atkinson"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I don't know of any PHP bulletin boards that use flat files. I database is
> far b
Depending on what sort of timestamp you are getting you should be able to
just do:
if ($loggtime > $oldLoggtime) then...
With just a straight unix timestamp(via mktime();) this would work fine.
--
phill
""Richard"" <[EMAIL PROTECTED]> wrote in message
998o75$aol$[EMAIL PROTECTED]">news:998o75$ao
I don't know of any PHP bulletin boards that use flat files. I database is
far better for storing data like this anyway. Ever seen a UBB board with
over 1,000,000 posts? Doing a simple search on it crashes the server...
The next version of phpBB will have support for MySQL, Postgres, MSSQL, ODBC
Greetings.
(yes.. I am active)
When a user loggs on, I pass the string $loggtime, that is written to a
file. Whenever a this user refreshes any of the pages, certain tasks are
performed, and a file's contents is checked, (which contents is a single
line of time). If the $loggtime is newe
Do you know anyone that doesn't use MySQL? I mean, that uses flatfiles?
- Richard
""Yoshi Melrose"" <[EMAIL PROTECTED]> wrote in message
032601c0b192$1eaed610$0214a8c0@enterprise">news:032601c0b192$1eaed610$0214a8c0@enterprise...
> Ahh... that's right, my bad. =)
>
> - Original Message
Ahh... that's right, my bad. =)
- Original Message -
From: "James Atkinson" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 4:59 PM
Subject: RE: [PHP] Create a Bulletin Board
> Anyone who wants a threaded discussion board won't be satisfied w
Anyone who wants a threaded discussion board won't be satisfied with phpBB.
It dosan't contain a threaded view and probably never will :)
- James Atkinson
Lead Developer, phpBB
> You could also check out phpBB:
>
> http://www.phpbb.com
> > > > Just keep track of a parent message number. You sho
on my server in /tmp it saves the session details ... but for some reason
it's keeping them there ... is there a way (hopefully with out doing a cron
job) that i can tell em to delete them selves after x number of hrs/mins?
Peter Houchin
[EMAIL PROTECTED]
=
phanto Tue Mar 20 14:45:10 2001 EDT
Modified files:
/php4 php.ini-optimized php.ini-dist
Log:
added [com] section
Index: php4/php.ini-optimized
diff -u php4/php.ini-optimized:1.33 php4/php.ini-optimized:1.34
--- php4/php.ini-optimized:1.33 Wed Mar 7 02:
Bill Mitcheson <[EMAIL PROTECTED]> wrote:
> I don't know if anyone got my last message
>
> I was wondering if there was a way to execute a php3 file in UNIX so I
> can check for syntax, etc.? It would be similar to the command: perl
> [filename].
>
just do
/path/to/php/php script.ph
You could also check out phpBB:
http://www.phpbb.com
- Original Message -
From: "Boget, Chris" <[EMAIL PROTECTED]>
To: "'Kath'" <[EMAIL PROTECTED]>; "'Jimmy Bäckström'" <[EMAIL PROTECTED]>;
"PHP General List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 4:40 PM
Subject: RE: [PHP] C
http://fractalcore.com/cgi-bin/Ultimate.cgi?action=intro&number=1&category=1
vBulletin looks the same.
- Kath
- Original Message -
From: "Boget, Chris" <[EMAIL PROTECTED]>
To: "'Kath'" <[EMAIL PROTECTED]>; "'Jimmy Bäckström'" <[EMAIL PROTECTED]>;
"PHP General List" <[EMAIL PROTECTED]>
S
I don't know if anyone got my last message
I was wondering if there was a way to execute a php3 file in UNIX so I
can check for syntax, etc.? It would be similar to the command: perl
[filename].
Thank you,
Bill Mitcheson (Network Admin., Pyramus Online).
--
PHP General Mailing List (http:
phanto Tue Mar 20 14:35:28 2001 EDT
Added files:
/php4/ext/com com.h
Modified files:
/php4/ext/com typedef_VARIANT.c php_COM.h COM.c
Log:
@Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
@and even COM
Yes it is you just need to make sure you have the port open,
to find out more read the manual
-Original Message-
From: McShen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 12:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] load DB from other server
hi
is it possible to load m
> > Just keep track of a parent message number. You should be able
> > to use that one field to trace any message back to a root message.
> > And with that information, you should be able to build a "thread".
> I concur on that.
Good to see it's not just me. :p
> However, I am more fond of the
> Just keep track of a parent message number. You should be able
> to use that one field to trace any message back to a root message.
> And with that information, you should be able to build a "thread".
I concur on that.
However, I am more fond of the UBB/vBulletin style of threads, personally.
hi
is it possible to load my DB from other servers? if yes, how?
like
mysql_connect("http://blah.com","username","pass");
thanks.
--
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
phanto Tue Mar 20 14:25:10 2001 EDT
Modified files:
/php4/win32 php4dllts.dsp
Log:
added com.h
Index: php4/win32/php4dllts.dsp
diff -u php4/win32/php4dllts.dsp:1.32 php4/win32/php4dllts.dsp:1.33
--- php4/win32/php4dllts.dsp:1.32 Fri Feb 23 14:55:28 2001
Look for a missing terminator (semi-colon or curly brace) just *above* the
line in the error message.
Kirk
> -Original Message-
> From: Jaxon [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] parse error inside comment
>
> To
I have a script that looks for tags,
but it doesn't seem to be picking up the titles, can anyone tell me
why?
Almost all of the web pages look like:
if(!isset($mainfile)) { include("mainfile.php");
} if(!isset($headers_sent)) { include("header.php");
} ?>
Some Title
zeevTue Mar 20 13:59:50 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4 configure.in
/php4/main php_version.h
Log:
4.0.5RC2
Index: php4/configure.in
diff -u php4/configure.in:1.221.4.3 php4/configure.in:1.221.4.4
--- php4/configure.in:1.221
sterlingTue Mar 20 13:30:43 2001 EDT
Modified files:
/php4/ext/curl curl.c
Log:
remove some unneccessary casts, remove unneccessary error casts, standardize
the coding format for some of the stuff.
Index: php4/ext/curl/curl.c
diff -u php4/
Thanks for the pointer!
It was actually a missing quote " in the function declaration ABOVE the one
that the error was being reported in. Quite strange.
regards,
jaxon
On 3/20/01 4:09 PM, "Johnson, Kirk" <[EMAIL PROTECTED]> wrote:
> Look for a missing terminator (semi-colon or curly brace) ju
> Yo!
> I'm thinking of writing a bulletin board and I wonder about
> threads. I want the board to be built on threads but I don't
> know how to do it. I want it to look something like this:
> subject 1
>|
>|__ reply1 to 'subject 1'
>| |
>| |__ reply1 to 'reply1 to su
Yo!
I'm thinking of writing a bulletin board and I wonder about threads. I want the board
to be built on threads but I don't know how to do it. I want it to look something like
this:
subject 1
|
|__ reply1 to 'subject 1'
| |
| |__ reply1 to 'reply1 to subject 1'
|
>I recommend people don't do this unless their web server is going
>to serve only(or mostly) php pages, and very few straight html pages.
>the increase in overhead isn't really worth it.
I've tried this in many real-world examples.
I have PHP parsing ALL files on ALL of my 8 Linux servers.
In article <998dqa$akd$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (CC Zona) wrote:
> I could have sworn I once saw a function that would check whether the
> script was being cancelled because a timeout had occured, thereby allowing
> you to make a more graceful exit from the script. But now I can'
ohrnTue Mar 20 12:48:43 2001 EDT
Modified files:
/php4/ext/standard rand.c
Log:
Fix erronous out of bounds error message in rand(min,max)
Index: php4/ext/standard/rand.c
diff -u php4/ext/standard/rand.c:1.25 php4/ext/standard/rand.c:1.26
--- php4/ext/st
fmk Tue Mar 20 12:25:55 2001 EDT
Modified files:
/php4/ext/fbsql php_fbsql.c
Log:
Fixing crash when result conrains 0 rows
Index: php4/ext/fbsql/php_fbsql.c
diff -u php4/ext/fbsql/php_fbsql.c:1.2 php4/ext/fbsql/php_fbsql.c:1.3
--- php4/ext/fbsql/php_fbs
It's called the 'ternary operator' (taking three arguments and stuff).. and
I believe it is the only ternary operator at least in PHP.
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 3:11 PM
To: 'Brandon Orther'; PHP User Group
Subject: RE: [
http://www.php.net/manual/it/html/language.operators.comparison.html#AEN3156
called a trinary operator
At 12:08 PM 3/20/01 -0800, Brandon Orther wrote:
>heloo,
>
>Could someone plese explain this line if code??? What does the "?" do?
>
>$r = ($r < 1) ? $config['maxResults'] : $r;
>
>Thank you,
>
I'm resetting set_time_limit() with each iteration of a rather long loop.
Right now when the script reaches its time limit I sometimes end up getting
just a blank page. Even though I call flush() within each iteration and do
lots of error checking along the way, it seems to not be enough.
andiTue Mar 20 12:13:09 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/midgard config.m4
Log:
- MFH - This is required for PHP to build. If anything else needs merging
for midgard that is related then please do it or rollback the latest
midgar
Hi Gurus - any suggestions here would be welcome, I'm baffled.
I have a file that does this:
but when I call this file, it gives me a parse error in
function_definitions.php. No biggie, so I start trying to figure out what
paren, quote, etc. I've forgotton, and I cannot.
The line that PHP is
ohrnTue Mar 20 12:04:41 2001 EDT
Modified files:
/php4/ext/ypyp.c
Log:
really fix the build
Index: php4/ext/yp/yp.c
diff -u php4/ext/yp/yp.c:1.18 php4/ext/yp/yp.c:1.19
--- php4/ext/yp/yp.c:1.18 Tue Mar 20 04:50:26 2001
+++ php4/ext/yp/yp.c
> Could someone plese explain this line if code??? What does the "?" do?
> $r = ($r < 1) ? $config['maxResults'] : $r;
It's short circuit IF (I believe that's the right word for it). This is the
same
thing as doing this:
if( $r < 1 ) {
$r = $config['maxResults'];
} else {
$r = $r;
}
Chri
This is a little off topic, but has anyone had any experience using
dialtoneinternet.com for either virtual or RaQ hosting?
Please respond privately so as to not clutter up the list more. I'll be glad to
forward on responses to anyone who is interested.
Tobe
--
PHP General Mailing List (ht
1 - 100 of 241 matches
Mail list logo