yes, there is a way out, you can use readfile().
capture the output using ob_*() functions and then parse/eval that string
listed here are the functions you'll need.
http://www.php.net/manual/en/function.readfile.php
http://www.php.net/manual/en/function.ob-start.php
From: Steve Edberg [EMAIL PROTECTED]
Perhaps the Library of Congress??
http://www.loc.gov/z3950/
You could hack the web interface, but it would be more efficient
to
query the database directly using the Z.39.50 stateful protocol:
see
http://lcweb.loc.gov/z3950/gateway.html#about
and
Hello ,
I am trying to connect mysql using php script like this
$link= mysql_connect('$servername','$username','$password');
but it is giving Fatal error call to undefined function mysql_connect()
I have checked wheather php is installed properly by using this
phpinfo();
Everything is
On Tue, 29 Jan 2002 12:11:02 +0800, you wrote:
On Tuesday 29 January 2002 06:36, Floyd Baker wrote:
Yes I have a c:\tmp directory and I see the session being created in
it. And the page_view value of 1 after the first increment. The
editor wants to reload each time I hit the submit button
you must make sure that the version of PHP that is being used was built with
mysql support and/or that the drivers are being loaded for mysql.
Jim Lucas
- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 6:24 PM
Subject:
Hello,
How do i recompile with mysql support
-Uma
--
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]
./configure --with-mysql...
which is build-in with PHP 4.0.* I think.
Frederic Trudeau
[A]dvanced [S]upport [A]gent
Colocation/Customer Support Agent
CAM Internet - http://www.cam.org
My God ! It's full of stars
On Wed, 30 Jan 2002, Uma Shankari T. wrote:
Hello,
How do i
If you recompile that will no effect any of the data in your DB if that is what
you mean?
-=Adam=-
Quoting Uma Shankari T. [EMAIL PROTECTED]:
Hello,
Already i am having so many details in my mysql database.If i do this it
won't affect the previous one..
-Uma
--
PHP
Let's say I have two fields TNum and AU.
TNum is a selectoptionBritishoptionAmericanoptionCanadian
AU input name of an author. I want to sort them as follows.
British
Shakespeare
American
Joyce
Samuels
Twain
Canadian
--
$news = mysql_query(select * from bookmarks ORDER by TNum,AU asc);
$old_TNum = ;
while ($mydata = mysql_fetch_object($news))
{
if ($old_TNum != $mydata-TNum) #when TNum occurs the first time, echo
it once only.
Is there anyway that I can change a string with lettle letters to caps?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
Okay, I'm trying to read in a form with and ' in it. The problem is that
PHP automatically changes these to \ and \' without asking :( If I read in
a file with or ' in, it's fine and outputting to the screen is no problem.
It's only when I read in from a form that a problem appears. All I want
strtoupper()
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 2:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Change Text to CAPS.
Is there anyway that I can change a string with lettle letters to caps?
Philip J. Newman
Philip's
strtoupper($string)
Voila ! =)
Frederic Trudeau
[A]dvanced [S]upport [A]gent
Colocation/Customer Support Agent
CAM Internet - http://www.cam.org
My God ! It's full of stars
On Wed, 30 Jan 2002, Philip J. Newman wrote:
Is there anyway that I can change a string with lettle letters to
Couldn't do it fast than that :o) !
Thanks,
J
Martin Towell wrote:
--
$news = mysql_query(select * from bookmarks ORDER by TNum,AU asc);
$old_TNum = ;
while ($mydata = mysql_fetch_object($news))
{
if ($old_TNum
there's a directive in the php.ini file, something like magic_quotes or
something (too lazy to look...), set that to 0 (zero) or use stripslashes()
(this might have an underscore in the name, again too lazy to check) on the
vars
Martin
-Original Message-
From: Jon [mailto:[EMAIL
$news = mysql_query(select * from bookmarks ORDER by TNum,AU asc);
$old_TNum = ;
while ($mydata = mysql_fetch_object($news))
{
$new_TNum = $mydata-TNum;
if ($new_TNum != $old_TNum) #when TNum occurs the first time, echo it once
only.
{
$old_TNum = $new_TNum;
$body .= b.$temp.:/b;
On Wednesday 30 January 2002 05:32, will hives wrote:
Please do not use HTML mail, thanks!
I have produced an admin area which allows users to add, edit and delete
stories plus images. Everything has gone great, thanks to all of you who
answered previous postings.
Just stuck on the very
Martin,
Are you guys getting yours by email or monitoring a newsgroup reader?
John
Works wonderfully:)
http://DELETETHISccl.flsh.usherb.ca/bookmarks/DELETETHIS
Martin Towell wrote:
--
$news = mysql_query(select * from
Through email - Y?
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 2:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Martin: [PHP] How? :)
Martin,
Are you guys getting yours by email or monitoring a newsgroup reader?
John
Works wonderfully:)
I'm processing a form but all the functions I've found on the web only seem
to add the BR after the \n. I need to remove the \n altogether - anyone
know how I can kill the \n and put a BR in it's place?
Cheers,
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I'm processing a form but all the functions I've found on the
web only seem to add the BR after the \n. I need to remove the
\n altogether - anyone know how I can kill the \n and put a BR
in it's place?
Sounds like you want a simple ereg_replace(\n, BR, $sourcestring);
Jason
--
PHP
Isn't there a function br2nl() and it's relative nl2br() ??
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 3:14 PM
To: 'Jon'; [EMAIL PROTECTED]
Subject: RE: [PHP] Swapping BR for \n... ?
I'm processing a form but all the functions
Or an even simpler str_replace(\n, BR, $sourcestring);
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 15:14
To: 'Jon'; [EMAIL PROTECTED]
Subject: RE: [PHP] Swapping BR for \n... ?
I'm processing a form but all the functions I've
Isn't there a function br2nl() and it's relative nl2br() ??
There's nl2br, but I don't believe there's one that goes the other way.
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
On Tue, 2002-01-29 at 20:19, Douglas Maclaine-cross wrote:
Or an even simpler str_replace(\n, BR, $sourcestring);
Which will also be much faster than the ereg_replace(), to boot.
Cheers,
Torben
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
On this page at php.net http://www.php.net/manual/en/function.nl2br.php#
You will find a function by [EMAIL PROTECTED] which is a great
implimentation of replacing the /n in a line. I would suggest you take a look.
Gerard
At 03:19 PM 1/30/2002 +1100, Jason Murray wrote:
Isn't there a
Class to send a file as an attachment with the php mail() function.
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1583
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Rafael Perazzo B Mota
Nevermind, I found some code at last which actually works :
$txt = preg_replace(/(\015\012)|(\015)|(\012)/,BR,$txt);
Jon [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm processing a form but all the functions I've found on the web only
seem
to add the BR
Why not simply look the ISBN up in one of the big online shops and take
the data from there?
Amazon? BN?
It all depends on what you will do with the data I guess...
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
For a Win32 based solution check out : http://www.infacta.com/
I'm extremely happy with this software, what it can do and the price.
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Mostafa Al-Mallawani
That regex is equivilent to: /(\r\n)|(\r)|(\n)/,
you don't need to use the numeric values.
-Original Message-
From: Jon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 11:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Swapping BR for \n... ?
Nevermind, I found some
Using JavaScript to show an OK/Cancel confirmation window
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1364
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Lerp [mailto:[EMAIL PROTECTED]]
Hello,
Boaz Yahav wrote:
For a Win32 based solution check out : http://www.infacta.com/
I'm extremely happy with this software, what it can do and the price.
This looks like a spammer tool that was not meant to use with live
databases of Web sites.
Is it able to automatically extract
Dear Adam,
Are you using 'realm' authentication setup?
with regards
Sukumar .S
On Tue, 29 Jan 2002, Adam wrote:
Date: Tue, 29 Jan 2002 14:47:42 -0600
From: Adam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Help! (How are sessions intended to work?)
My Setup Specs
Does anyone know of any conflicts or problems? I am installing it and went
to the conf file and changed the setting to localhost. But it says that
there is an Error 1067. Any help would be greatly appreciated.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Why, oh WHY doesnt this work.
I get the error:
Fatal error: Call to a member function on a non-object in
c:\home\digerati\www\classtest.php3 on line 23
If I try to make any assignments, anywhere, it dies. What the HELL is
going on? Obviously I must be missing something really obvious,
dunno if this'll help, but try changing these two lines
$this-$obj = new test1;
$test = new test2;
to these
$this-$obj = new test1;
$test = new test2;
see if that helps - other than that - anyone else?
-Original Message-
From: Aric Caley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
On Tue, 2002-01-29 at 07:25, Aric Caley wrote:
Why, oh WHY doesnt this work.
No panic, it's just a typo. :)
I get the error:
Fatal error: Call to a member function on a non-object in
c:\home\digerati\www\classtest.php3 on line 23
If I try to make any assignments, anywhere, it
* Ben Clumeck ([EMAIL PROTECTED]) [Jan 30. 2002 01:05]:
Does anyone know of any conflicts or problems? I am installing it
and went to the conf file and changed the setting to localhost.
But it says that there is an Error 1067. Any help would be greatly
appreciated.
Go into your Apache
Set this:
magic_quotes_gpc=0
in your php.ini
or use stripslashes on all your data.
-Jason Garber
IonZOft.com
At 02:58 AM 1/30/2002 +, Jon wrote:
Okay, I'm trying to read in a form with and ' in it. The problem is that
PHP automatically changes these to \ and \' without asking :( If I
Jon [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Nevermind, I found some code at last which actually works :
$txt = preg_replace(/(\015\012)|(\015)|(\012)/,BR,$txt);
rather than using a regular expression, try:
$txt = strtr($txt, array(\r\n = br /, \n =
Thank you very much Arve.
Ivo
Arve Bersvendsen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Ivo Stoykov wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
Hello again
earlier today I asked about detecting whether javascript is
enabled on the
101 - 143 of 143 matches
Mail list logo