My first guess would be that sendfax wants it to have .txt on the end of
it...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
If sitespring sucks (I have *no* idea) you might be able to train the
artists to put the files in the right place, and then write a script to
attempt to CVS them automatically and notify you if it doesn't go
smoothly...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL
They should be able to configure their browser to not print the background
color of a web-page...
Or are you making a giant image with lots of black?...
At any rate, you could probably use http://php.net/manual/en/ref.image.php
or http://php.net/exec with convert (aka Image Magick) to do anythin
Sure. You can have JavaScript load a PHP URL in your onChange.
I forget how JavaScript does it, exactly, but if you have sample
JavaScript/ASP code, just alter the part that says "...asp" to "...php" and
it'll work just fine.
Note that some browsers have no JavaScript or users turn it off, so y
> The system() call will flush the headers to the client while exec() won't,
Yes.
> but exec() won't wait until the system call is over.
Huh? Exec waits unless the call itself forks using & to do something in the
background.
> Is there a way to make a system call, and wait until it ends, but
> I'm recursivley reading and editing every .htm and .html file in a 500
page
> website and upgrading it to contain linked CSS, Javascript includes and
PHP
> includes. i can't use a pre_pend file as there's more than one website on
> the server, and the changes are embedded in the document rather
> Is there anyway of hiding the name of the website in the isset "Enter
> Network Password" window?
>
> if (isset( $PHP_AUTH_USER ) && isset($PHP_AUTH_PW))
No. The browser puts it there, and PHP has no control over it.
And, if you could, it would be in the Location: bar anyway.
Actually... *M
>1) How to retrieve messages from a POP3 mailbox and save only the ZIP files
attachments?
http://php.net/imap
You may find it easier to find an IMAP mail-reading code that can handle
attachments in one of the sites linked from http://php.net/links.php and
adapt it.
>2) How to decompress the ZIP
> OK, tried the three functions using " and ' as well, I always used the
full
> path to the command I wanted to execute ("/usr/bin/isdnrep" in this case).
>
> So I can read in the errorlog of apache (/var/log/httpd/error_log):
>
> sh: /isdnrep: No such file or directory
>
> Note, that in the error
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Robert Lindgren) wrote:
> Does anyone know if there's a php command line parser,
> that lets you run php-scripts from the command prompt instead of running
> them over http. (much like perl)
http://php.net/manual/en/install.commandline.php
--
> Does anyone know if there's a php command line parser,
> that lets you run php-scripts from the command prompt instead of running
> them over http. (much like perl)
Make sure you compiled php as a binary.. and then start your script with:
#!/path/to/php -q
Then simply perform a chmod 755 or
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tue, Sep 04, 2001 at 07:48:27PM +0200
Message-ID: <[EMAIL PROTECTED]>
Subject: [PHP] urgent. need posix-style regexp expert
>
> what is the correct POSIX-regexp to match a range of characters
> between two parantheses, while ensuring that it is
My php script is generating a file that is saved in Unix format.
I automatically get the "^M" in the end of everyline. Is there a way
of saving this without getting the "^M" in the end of each line?
Thanks in advance
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
how you're saving this file?
if it's you/your script who's saving this file then you can control this
behavior,
"Johan Vikerskog" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
> My php script is generating a file that is saved in Unix format.
> I automatically
On Wed, 5 Sep 2001 17:22, Johan Vikerskog (EMP) wrote:
> My php script is generating a file that is saved in Unix format.
> I automatically get the "^M" in the end of everyline. Is there a way
> of saving this without getting the "^M" in the end of each line?
>
> Thanks in advance
>
> //Johan
If
I'm not sure if this will help but try putting an ob_start() as the first
line, and just flush the output and redirect with Header()
"Alex Shi" <[EMAIL PROTECTED]> wrote in message
00e801c135bb$2f75a480$0105050a@pony">news:00e801c135bb$2f75a480$0105050a@pony...
> Hi,
>
> Can anyone tell me why he
My users perform their action which is to simulate data online with my script.
Afterwards they get a result of their simulation. They have a option to save the
result to a file and when they do that they get the ^M.
//Johan
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]
anyway, the ^M is same as "\r" or "\x0D"
you can call preg_replace("\x0D", "", $your_output);
"Johan Vikerskog" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
> My users perform their action which is to simulate data online with my
script.
> Afterwards they get
I would like to send mail via SMPT and I guess
some socket scripting should be done.
any example? any help?
thanks
Ani Lopez
http://www.lamundial.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
> I would like to send mail via SMPT and I guess
> some socket scripting should be done.
>
> any example? any help?
Have a look at cvs.php.net --> php4 --> pear --> Mail
There's an smtp class which should do what you're after iirc. It does
have quite a few dependencies though, off the top of my
I want to write a RegExp that converts something like this:
$mem = "
Hello world! http://www.helloworld.com\n
Hello world! ftp://ftp.server.com\n
Hello world www.helloworld.com"
how can I write a single regexp that converts $mem to this:
$mem = "
Hello world! http://www.helloworld.com";>http://ww
> My php script is generating a file that is saved in Unix format.
> I automatically get the "^M" in the end of everyline. Is there a way
> of saving this without getting the "^M" in the end of each line?
/usr/bin/perl -npe 's/\r\n/\n/g' filename
will remove the Ctrl-M characters for you. You c
what u use for browser, os on the client machine?
maybe some cache problem
maybe timeout
post the url of that page...so that ppl can look @ it, and tell what s going
on.
<[EMAIL PROTECTED]> schrieb im Newsbeitrag
008b01c135da$dc06f270$[EMAIL PROTECTED]">news:008b01c135da$dc06f270$[EMAIL PROTEC
I knew that one Jon but thanks for looking it up for me.
What i need to know is if there is a way to do this without involving unix commands
like "perl" "sed" "dos2unix" etc etc.
I need to know if there is a simple way to do this with just php and not some regexp
solution.
I want to know if ther
From: _lallous <[EMAIL PROTECTED]>
Date: Wed, Sep 05, 2001 at 12:17:21PM +0200
Message-ID: <[EMAIL PROTECTED]>
Subject: [PHP] For the RegExps gurus!
> I want to write a RegExp that converts something like this:
> $mem = "
> Hello world! http://www.helloworld.com\n
> Hello world! ftp://ftp.server
Hey,
This is the second time I am asking about this. I havent been able to solve
the problem. I am trying to get all the information between the
tags. How can i do this? I couldnt figure the regex out :(
Regards,
Kunal Jhunjhunwala
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
From: Kunal Jhunjhunwala <[EMAIL PROTECTED]>
Date: Wed, Sep 05, 2001 at 03:49:49PM +0530
Message-ID: <056a01c135f4$4e7b99a0$0301a8c0@CONFUSED>
Subject: [PHP] Links
> Hey,
> This is the second time I am asking about this. I havent been able to solve
> the problem. I am trying to get all the infor
my mysql database just won't work .. i think i have configured it correctly cause i
can see a page but the codes are messed up ..
i can confirm that the servers supports php . both php and php3 extension because i've
tried uploading simple codes and it appears correctly ...
can anyone help ? t
Hi friend,
what will be the output for the following program?
>>
>>>
For me it is printing the blank value.
Thanks in advance
Regards
-Balaji
---
Hi friend,
what will be the output for the following program?
>>
>>>
For me it is printing the blank value.
Thanks in advance
Regards
-Balaji
Hi.
I'm need to compare "username" and "password" in
Case-Sensitive.
When I do the query (MySQL), it's not case-sensitive,
so I should use "strstr" o compare in Case-sensitive.
Can I use case-sensitive in the query?
thanks,
Augusto
What does a call to phpinfo() return?
Miles
At 02:45 AM 9/5/01 +0530, Balaji Ankem wrote:
>Hi friend,
>what will be the output for the following program?
>
> >>
>
> $foo=$HTTP_SERVER_VARS["HTTP_REFERER"];
>
> echo $foo;
>
>?>
>
> >>
Hi,
i use lynx to run from linux command line a php function which have to
send mail to somebody.
The function is running but the mail is not send.
Can somebody tell me why and how to do it please?
Thanks in advance
This is the command line
lynx myfunction.php
--
Moise Bertrand TACHAGO
Computer
From: Balaji Ankem <[EMAIL PROTECTED]>
Date: Wed, Sep 05, 2001 at 02:05:50AM +0530
Message-ID: <03f301c13581$2fccf8a0$[EMAIL PROTECTED]>
Subject: what will be the output for this pgm?
> Hi friend,
>what will be the output for the following program?
>
> >>
>
Can you send mail from the command line?
If you're running sendmail:
$ sendmail [EMAIL PROTECTED]
this is a test
.
If that goes through OK then I'd have a look at your script for bugs. If it
doesn't I'd have a look at your sendmail.cf :-)
Cheers
Jon
-Original Message-
From: Moise Be
I might have got something wrong, but shouldn't you have your script
parsed by php, ie. getting it through your webserver, like:
lynx http://yourwebserver/myfunction.php
and _not_ like
lynx myfunction.php
I'd suggest that as one error source.
--
Kind regards,
Morten Winkler
--
PHP Gene
I've got a few php pages that a while back started giving the following
include error:
Warning: Failed opening '/home/ccunning/WWW/probability.php3' for
inclusion (include_path='.:/web/php/include:/web/php/phplib') in Unknown
on line 0
There are no includes in this page, there is no auto-prepen
That's good to know. Thanks!
Vicki
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Cc Zona) wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Vicki) wrote:
>
> > $db = mysql_connect ("hostname", "user", "password");
> >
> > if (!$db)
> > {
> > echo "Error: Could not connect
Cc Zona wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Vicki) wrote:
>
>
>> $db = mysql_connect ("hostname", "user", "password");
>>
>>if (!$db)
>>{
>>echo "Error: Could not connect to database. Please try again later.";
>>exit;
>>}
>>
>
> BTW, you can reduce that block down
thanks to Mahmoud for trying to help, but the php error trapping functions
rely on the engine being able to auto-prepend the error trapping script. I
tried a solution like this ...
but it doesn't prepend to scripts that don't exist. I did some diagnostics
(e.g. replacing $PATH_TRANSLATED with a
I have had PHP/Java running for a while and Haven't had any issues with the
standard classes. I was recently given a jar file containing a bunch of
classes to be used on a project. I get the following error on several of
the methods when called:
Warning: java.lang.NoSuchMethodException: initial
hi, again (sorry)
when I run this code (straight from the manual)
\n";
}
}
class B extends A
{
function example()
{
echo "I am B::example() and provide additional
functionality.\n";
parent::example();
}
}
$b = new B;
// This will call B::example(), which will i
So sprach »Johan Vikerskog (EMP)« am 2001-09-05 um 11:48:11 +0200 :
> What i need to know is if there is a way to do this without involving
> unix commands like "perl" "sed" "dos2unix" etc etc. I need to know if
> there is a simple way to do this with just php and not some regexp
> solution. I
I have a potential customer that just called and would like to create a web
site that would display secure info for their clients. Currently his
employees are using a flat Access database to add, edit and delete records
and he would like to keep it that way.
Normally I would create a web manager
On Wed, Sep 05, 2001 at 09:02:03AM -0400, Chad Cunningham wrote:
>
> I've got a few php pages that a while back started giving the following
> include error:
>
> Warning: Failed opening '/home/ccunning/WWW/probability.php3' for
> inclusion (include_path='.:/web/php/include:/web/php/phplib') in U
btw. it works on a other server so it should be something in server
configuration
I use PHP Version 4.0.1pl2
configuration string
'./configure' '--target=i386-redhat-linux' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-debug' '--enable-pic'
'--enable-inline-optimization' '--with-apx
> I could be way off, but it sounds like a permissions problem. The user
> that your webserver runs as probably no longer has access to the page.
Allright, how did I not think of that :) Seems someone has been messing
around with permissions on the server, thanks!
--
Chad Cunningham
[EMAIL P
Hi,
Has anyone experience of using Dreamweaver library item files (.lbi)s as
php includes?
We've got a standard header and footer to go across all pages on a site with
the navigation etc. We want both the designers, (using Dreamweaver), and the
php programmers to have access to these includes,
I used Hurricane until spring of 2000 and their billing was incredibly slow, often 4
months behind. I closed/moved all accounts when they failed to close an account as
requested by email. I did not know they failed to closed the account til the bill
finally showed up 4 months later. I sen
Hy,
i wrote a little cron job which fetches mails from a pop account and
saves all contained jpeg attachments to disc.
I use the following code:
--- snap ---
// determine attachment encoding
$atty = imap_fetchbody($mbox, $i, $b);
switch($att_ency) {
We have Sybase SQL Anywhere 5.5 database and one working PHP application on WINNT and
IIS.
We experienced IIS as one not very friendly web server what need to much management
all the time, so we decide to move PHP application on Linux with Apche.
My only problem is that I can not find any suit
I dont' think you can do this, or that you would want to do this. Library
items in Dreamweaver (as I understand it) are snippets of HTML that
Dreamweaver marks as updatable accross the entire site. They are not
"included" into the HTML, dreamweaver keeps track of where they need to go,
then upda
Well it wont!
i get the error message
"Warning: MySQL Connection Failed: Access denied for user: 'test@P500' (Using
password: YES) in C:\apache\htdocs\php+mysql\connect.php on line 2
Could not connect"
When using
""
Please tell me its omething really simple please!
-lk6-
http://www.Stupe
Kyle,
If you are absolutely sure that your username and password is
correct...You are sure arn't you ?
Try changing "P500.MSHOME.NET" to either "localhost" or "127.0.0.1"
Most likely the MySQL admin dude has set it so that you can only connect to
MySQL from the machine itself
Andy
- O
Hi everyone,
Why am i getting mails regarding the mlm businesses and
other personal money making businesses here ? I thought
this is a php mailing list. isnt it ? Lets have a fair game here.
Ok
/sagar
On Wed, 5 Sep 2001, Johan Vikerskog (EMP) wrote:
> My php script is generating a file that is saved in Unix format.
> I automatically get the "^M" in the end of everyline. Is there a way
> of saving this without getting the "^M" in the end of each line?
The ^M you see is a DOS carriage return/li
On Wed, 5 Sep 2001, Richard Lynch wrote:
> > So I can read in the errorlog of apache (/var/log/httpd/error_log):
> >
> > sh: /isdnrep: No such file or directory
> >
> > Note, that in the errorlog it is "/isdnrep" and in the phpcode it is
> > "/usr/bin/isdnrep".
>
> Almost for sure that's to be in
Hi
I'm completely desperate. it looks i'm missing something when i try to
install the cache on my server :-[
maybe anyone can have a quick look and point me to my error. Thanks in
advance..
i try to install APC on my redhat 7.1 server.
I use apache apache_1.3.19 and built php in it.
( is that
This is how it works (in very crude not-even-pseudo code, but I'm sure
you'll be able to follow the logic!):
BEGIN
1. Browser requests a resource (file) from your web server.
2. Web server checks to see whether requested resource exists.
3. if (!2) web server generates 404 error (page does not ex
I am having the problem that Mysql is truncating the zeros from both the int and char
fields when I try to insert How can I fix this.
example:
0123 in PHP = 123 in mysql
3210 in PHP = 321 in mysql
but I need that zero how do I keep mysql from doing this?
use zerofill for the column when you create the table!
--- "Dallas K." <[EMAIL PROTECTED]> wrote:
> I am having the problem that Mysql is truncating the
> zeros from both the int and char fields when I try to
> insert How can I fix this.
>
> example:
>
> 0123 in PHP = 123 in mysql
> 3210
hello
had everything working and fine.
when i went back to the page today, nothing worked.
i can (almost) bet my sack on that i haven't changed any code.
Fatal error: PDFlib error: function 'PDF_set_info' must not be called in
'object' scope
is the error i get.
the code is
$pdf = pdf_new();
You need a call to pdf_open_file($pdf) before you can start doing
anything.
-Rasmus
On Wed, 5 Sep 2001, Daniel Andersson wrote:
> hello
>
> had everything working and fine.
> when i went back to the page today, nothing worked.
>
> i can (almost) bet my sack on that i haven't changed any code.
>
Hi geeks,
I want to give messenger service to my users. Can i do this ?
I'm running slack linux as server with php4 and mysql.
I so where can i get the required src code both for client (Vb recommended)
and server programs.
/sagar
hi,
can i connect to php from a vb appliation.
should this be asked elsewhere (if so pl
let me know)
/sagar
a-ha.
that works.
wonder why it worked without it?
oh well, it works now.
thanks a million!
/ d
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You need a call to pdf_open_file($pdf) before you can start doing
> anything.
>
> -Rasmus
>
> O
php can act as a server in many respects, it can handle sockets, some
streams etc. so the the answer is yes, you can connect to it from
anything. (for instance I'm currently building a plugin to Lightwave that
connects to php)... programs commonly use http to connect (it's simple then
designin
On Wednesday 05 September 2001 16:19, sagar wrote:
> hi,
>
> can i connect to php from a vb appliation.
> should this be asked elsewhere (if so pl
> let me know)
Uhm, I don't quite understand what you mean there. Anyhow, accessing PHP from
VB seems kindof, like a nono, but perhaps you mean acces
I have a foreach loop running in a function. During the foreach loop, if a
variable matches another variable, it does "return $variable". My question
is this: does the function automatically stop running when the variable is
returned?
J
--
PHP General Mailing List (http://www.ph
The javascript would have to call a PHP script on the server instead of
an ASP script.
It's nothing specific to MS stuff.
MailingLists wrote:
> I don't know if it's IIS or ASP that handles this, but there's a beast
> called a remote scripting object. It combines JavaScript and ASP to
> c
On Wednesday 05 September 2001 17:17, Joseph Bannon wrote:
> I have a foreach loop running in a function. During the foreach loop, if a
> variable matches another variable, it does "return $variable". My question
> is this: does the function automatically stop running when the variable is
> return
> I have a foreach loop running in a function. During the foreach loop, if a
> variable matches another variable, it does "return $variable". My question
> is this: does the function automatically stop running when the variable is
> returned?
Yes
--
PHP General Mailing List (http://www.php.net
I am a begginer in php and I have bought the Sterling
Huges' "php developer's cookbook" since it was the only
book I could find. Is it a good choise ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
since it was the only book you could
find, that makes it a good choice by
default, if you ask me. you can also
visit www.devshed.com for some great
tutorials.
Regards,
Jerry Lake
Interface Engineering Technician
-Original Message-
From: Nikola Veber [mailto:[EMAIL PROTECTED]]
Sent: W
hi all,
any ideas why this does not work? its just a simple script to test
multi-dimensional arrays. the count value should increment...should it not?
many thanks in advance!
";
reset ($HTTP_SESSION_VARS);
while (list($key, $value) = each ($HTTP_SESSION_VARS)) {
echo "Key: $ke
Robert,
Thanks for the suggestions, but...
a) I do want to do this and I do think I can.
The big problem is not the templating, php is pretty damn good at that already.
It's handling the header/footer html which appears on every page.
On the one hand we only want one master copy so there's onl
http://www.php.net/books.php
hihi
t.
- Original Message -
From: "Nikola Veber" <[EMAIL PROTECTED]>
To: "php forum" <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 19:36
Subject: [PHP] book help
> I am a begginer in php and I have bought the Sterling
> Huges' "php developer's co
> -Original Message-
> From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 04, 2001 3:36 PM
> To: Renze Munnik
> Cc: [EMAIL PROTECTED]
> Subject: [PHP] what will be the output for this pgm?
>
>
> what will be the output for the following program?
>
> >>
You wrote:
> >I use list context a lot in PHP and Perl, and I prefer Perl's way of
> >doing it *because* it allows you to be as verbose or terse as you
> >like.
> >PHP, unfortunately, doesn't give you that freedom.
>
> Hmm... the freedom to write unreadable, unmaintainable code, yes this
> is a ve
> > You wrote:
> > > ($var1, $var2) is magic. I hate magic.
> >
> > It's not magic. It's just simpler.
> >
> > > What do you look up in the Perl
> > > manual when you hit syntax like that?
> >
> > http://www.perldoc.com/perl5.6/pod/perldata.html
>
> I said "what" not "where". I still maintain t
There is a ton of great stuff online as someone else mentioned. You might
also want to check out phpbuilder.com, and zend.com for their various
articles and tutorials.
As for books, depending on what you're after, I highly recommend:
"PHP and MySQL Web Development" by Welling and Thomson. This
Hi people:
I trying to execute Phorummail script (put email into a web message board) from my
shell, but I get this error message.
[root@corotu docs]# ./phorummail
php: error in loading shared libraries: libmysqlclient.so.6: cannot open shared
object file: No such file or directory
What can I
- Original Message -
From: "Ryan Fischer" <[EMAIL PROTECTED]>
To: "Mark Maggelet" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 1:35 PM
Subject: Re: [PHP] Assign multiple variables from mysql_fetch_row() call
> You wrote:
> > >I use list context a lot in PH
I'm making a sort of cache system. I fell to this problem: I leave a cookie
with the timestamp of the last access, and when the user reconnect, I
compare the timestamp of the last change with the timestamp sent me with the
cookie. Then I leave a new cookie.
So:
if($last_modified <= $last_access)
@ 2:52:49 PM on 9/5/01, Webmaster wrote:
> [root@corotu docs]# ./phorummail
> php: error in loading shared libraries: libmysqlclient.so.6: cannot open shared
> object file: No such file or directory
> What can I do for execute this script properly, What I doing it wrong?
> I am running Apache 1
George,
You do not need to have multiple tiny template files. We create a website
in Dreamweaver using builtin "library items". This website has many pages,
sharing the same header and footer library item. Within the html page we
use only two template constructs:
{VARIABLE_NAME}
and:
tha
Bad design? configuration problems?
You will have better luck asking in the mailing lists,
not here.
Your note will be removed
--- [EMAIL PROTECTED] wrote:
> while reading alot about security here I'm noticed a
> couple of bugs on sites with getting into the files
> without actually loging in
strstr($value,"VLD:") != "" ? $VLD_CNDTNS[] = strtr($value,"VLD:","") :
$SBMT_CNDTNS[] = $value;
--
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 PROTE
You don't think your missing " might have soemthing to do with it? Or maybe
it's not that simple at all.
- seb
-Original Message-
From: Ouster [mailto:[EMAIL PROTECTED]]
Sent: 05 September 2001 20:23
To: [EMAIL PROTECTED]
Subject: [PHP] 304 Not Modified
I'm making a sort of cache
@ 6:42:33 AM on 9/5/01, * R&zE: wrote:
> This regex gets you everything between all and tags. Case
> insensitive, including embedded HTML-tags etc. Try it and let me
> know if this is what you need.
> --- PHP code ---
> preg_match_all ("/]*>(.+)<\/a>/imU", $StringToSearch, $matches);
> print_r
Ouster wrote:
>header("304 Not Modified);
>
Looking at the docs (I know, silly, eh?), the correct form of this
appears to be:
header ("HTTP/1.0 304 Not Modified");
In addition to the missing " as was already pointed out...
Chris Hobbs
Silver Valley Unified School District
--
PHP Gen
HELP!
I have been trying variations of the code posted below with little success. The log()
function generates a -INF statement when trying to calculate the log of zero or the
log of an empty value in the associative array. With the "IF then unset() "
statements in place, the total contents
if ($high_distance=="INF")
{
unset($high_distance);
}
if ($low_distance=="INF")
{
unset($high_distance);
}
Shouldn't this be:
if ($high_distance=="INF")
{
unset($high_distance);
}
if ($low_distance=="INF")
{
unset($low_distance);
}
- seb
---
Outgoing ma
hi everyone
i am following this page to add curl to php
http://curl.haxx.se/libcurl/php/install.html
i installed curl and knows it works (curl --version) but trying to
configure php with curl but don't know what this means for "Build PHP
-- Step 1" mean? i did a phpinfo() and got the configure
@ 3:55:04 PM on 9/5/01, Webmaster wrote:
> Thanks for your answer, but I can't find libmysqlclient.so.6 in my
> server, is not in MySQL lib directory or PHP Lib directory, How I
> can do for install or copy this lib?? Do I need reinstall MySQL??
> what use in ./configure line???.
Try running upd
I'm develloping a mail application, wich sends single part e-mail with PHP.
for users who want the text version, I want to strip the HTML version and
send what's left (plain text) to them.
Can anybody tell me the best way to do this, I mean stripping all teh HTML
tages with PHP.
Thanx
Erik
-
Unfortunately it's only wrong typing. That problem's here to stay.
- Original Message -
From: Seb Frost <[EMAIL PROTECTED]>
To: Ouster <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 9:38 PM
Subject: RE: [PHP] 304 Not Modified
> You don't think your missing "
Hi Geoff,
@ 3:30:24 PM on 9/5/01, Geoff Caplan wrote:
> I think I am being dumb but I just can't figure out a way to do this:
> I have a static array inside a function, and I want caller to be able to
> set/get values in the array.
> Something like this:
> data_store( "set", "my_array['key1'
Hi erik,
@ 3:58:31 PM on 9/5/01, erik wrote:
> I'm develloping a mail application, wich sends single part e-mail with PHP.
> for users who want the text version, I want to strip the HTML version and
> send what's left (plain text) to them.
> Can anybody tell me the best way to do this, I mean s
I think the best way is to use regular expressions.
Erik <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
> I'm develloping a mail application, wich sends single part e-mail with
PHP.
> for users who want the text version, I want to strip the HTML version and
> send what's left (plain text)
1 - 100 of 160 matches
Mail list logo