[PHP] search engine

2001-09-05 Thread Richard Kurth
Has anybody wrote a quality search engine in Php Something like goto.com or googly. Not a site search engine. Preferably one that is a pay per click search that pulls from a mysql database and also will pull from other search engines. I am looking for one if you know were there is one I would

[PHP] Problem with header()

2001-09-05 Thread Alex Shi
Hi, Can anyone tell me why header() cannot been used after any network operation? In my script, there are following steps: 1).a socket is opened for smtp; 2).send email; 3).closed the socket; 4).use header() to redirect to another page. If no 1), 2) and 3), 4) can be processed without any

[PHP] Re: Question about mail()

2001-09-05 Thread Robert Lindgren
Php uses sendmail, atleast on Unix systems. Alex Shi wrote: Hi, I have a question regarding to mail() function: Does mail() function use sendmail, or just use a mail program of php? If it uses a mail program other than sendmail, how can configure it to work correctly? Alex --

[PHP] Re: Does PHP supports ..BMP images...

2001-09-05 Thread Richard Lynch
PHP is not able to load bmp images... is there any setting to be done in ini file??? PHP does not support BMP. If you can find an OpenSource implementation of BMP functions, you could probably add BMP support. However, I think BMP is a Microsoft proprietary format, so there may be no

Re: [PHP] Re: probs with exec, pls help (still again)

2001-09-05 Thread Richard Lynch
Are you using full path for every file? Are you sure you've got the correct syntax to MySQL doesn't prompt you for the password? Any messages in your HTTP error_log file? Use the optional args to exec() to get back any output and also an error code, and then use man errno to look up the error

[PHP] Re: Attaching stuff

2001-09-05 Thread Richard Lynch
I want to be able to include a graphic or something of that sort in a form mail (using mail() from form). Is this possible? You can figure out a whole lot of gnarly MIME stuff, or you can get a pre-written function/class that does it for you from one of the sites linked here:

[PHP] Re: insert into problems.

2001-09-05 Thread Richard Lynch
? $text = yadayada; $date= today...; $connectionstring = odbc_connect(MYSKODB, Sa, ); # odbc_do($connectionstring, INSERT INTO lappar (text,datum) VALUES # ('$text','$date')); $query = INSERT INTO lappar (text,datum) VALUES('$text','$date'); echo $query, BR\n; odbc_do($connectionstring,

[PHP] Re: Question about mail()

2001-09-05 Thread Richard Lynch
It uses sendmail by default. You can change that in php.ini to anything you want. -- 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:

[PHP] Re: Using php Dreamweaver and CVS

2001-09-05 Thread Richard Lynch
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

[PHP] Re: Image Question

2001-09-05 Thread Richard Lynch
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

[PHP] Re: remote scripting objects

2001-09-05 Thread Richard Lynch
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 you

[PHP] Re: system() vs exec()

2001-09-05 Thread Richard Lynch
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

[PHP] Re: Directory Listing and File Reading errors

2001-09-05 Thread Richard Lynch
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

[PHP] Re: isset

2001-09-05 Thread Richard Lynch
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... *MAYBE*

[PHP] Re: Help on e-mail attachments retrieval adn ZIP uncompression.

2001-09-05 Thread Richard Lynch
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

[PHP] Re: again system, exec and passthru.

2001-09-05 Thread Richard Lynch
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 errorlog it is

[PHP] Re: command line parser

2001-09-05 Thread CC Zona
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 -- CC

Re: [PHP] urgent. need posix-style regexp expert

2001-09-05 Thread * RzE:
Original message 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

[PHP] Carriage return.

2001-09-05 Thread Johan Vikerskog (EMP)
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,

[PHP] Re: Carriage return.

2001-09-05 Thread _lallous
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 get

Re: [PHP] Carriage return.

2001-09-05 Thread David Robley
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 you are

[PHP] Re: Problem with header()

2001-09-05 Thread _lallous
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 header()

RE: [PHP] Carriage return.

2001-09-05 Thread Johan Vikerskog (EMP)
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

Re: [PHP] Carriage return.

2001-09-05 Thread _lallous
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 a result of

[PHP] Sending Mail via SMTP

2001-09-05 Thread Aniceto Lopez
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

RE: [PHP] Sending Mail via SMTP

2001-09-05 Thread Richard Heyes
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 head

[PHP] For the RegExps gurus!

2001-09-05 Thread _lallous
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! a

Re: [PHP] Carriage return.

2001-09-05 Thread Jon Farmer
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 could

[PHP] Re: image problem

2001-09-05 Thread Daniel Masur
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

RE: [PHP] Carriage return.

2001-09-05 Thread Johan Vikerskog (EMP)
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 there is

Re: [PHP] For the RegExps gurus!

2001-09-05 Thread * RzE:
Original message 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!

[PHP] Links

2001-09-05 Thread Kunal Jhunjhunwala
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 a /a tags. How can i do this? I couldnt figure the regex out :( Regards, Kunal Jhunjhunwala -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Links

2001-09-05 Thread * RzE:
Original message 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

[PHP] PHP and Mysql

2001-09-05 Thread aloysius
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 ?

[PHP] what will be the output for this pgm?

2001-09-05 Thread Balaji Ankem
Hi friend, what will be the output for the following program? ?php $foo=$HTTP_SERVER_VARS[HTTP_REFERER]; echo $foo; ? For me it is printing the blank value. Thanks in advance Regards -Balaji

[PHP] 2what will be the output for this pgm?

2001-09-05 Thread Balaji Ankem
Hi friend, what will be the output for the following program? ?php $foo=$HTTP_SERVER_VARS[HTTP_REFERER]; echo $foo; ? For me it is printing the blank value. Thanks in advance Regards -Balaji

[PHP] Compare String in Case-Sensitive

2001-09-05 Thread Augusto Cesar Castoldi
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

Re: [PHP] 2what will be the output for this pgm?

2001-09-05 Thread Miles Thompson
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? ?php $foo=$HTTP_SERVER_VARS[HTTP_REFERER]; echo $foo; ? For me it is printing the blank value. Thanks in advance Regards

[PHP] lynx and mail function

2001-09-05 Thread Moise Bertrand TACHAGO
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

[PHP] Re: what will be the output for this pgm?

2001-09-05 Thread * RzE:
Original message 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? ?php

RE: [PHP] lynx and mail function

2001-09-05 Thread Jon Haworth
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

[PHP] include error with no includes

2001-09-05 Thread Chad Cunningham
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

Re: [PHP] Newbie ?: why this error?

2001-09-05 Thread Vicki
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 to database. Please

Re: [PHP] Newbie ?: why this error?

2001-09-05 Thread Gary
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 to a single line: $db =

[PHP] RE: Error trapping, on scripts that don't exist

2001-09-05 Thread Tim Ward
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 ... ?php if (!file_exists($PATH_TRANSLATED)) { include($DOCUMENT_ROOT/error.html);

[PHP] PHP/Java, Receiving Error message.

2001-09-05 Thread Bill Koch
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:

[PHP] parent failer ?

2001-09-05 Thread Jeroen Olthof
hi, again (sorry) when I run this code (straight from the manual) ? class A { function example() { echo I am A::example() and provide basic functionality.br\n; } } class B extends A { function example() { echo I am B::example() and provide additional

Re: [PHP] Carriage return.

2001-09-05 Thread Alexander Skwar
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 want to

[PHP] newbie looking to sync access with MySQL

2001-09-05 Thread Tom Beidler
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

Re: [PHP] include error with no includes

2001-09-05 Thread Jason Stechschulte
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

[PHP] Re: parent failer ?

2001-09-05 Thread Jeroen Olthof
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'

Re: [PHP] include error with no includes

2001-09-05 Thread Chad Cunningham
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

[PHP] php includes === Dreamweaver library items

2001-09-05 Thread George Whiffen
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

RE: [PHP] GOOD web hosting

2001-09-05 Thread Ron Stricklin
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

[PHP] Error while saving attachments (jpegs)

2001-09-05 Thread Daniel Reichenbach
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) {

[PHP] HELP ! Sybase SQL Anywhere 5.5 and Linux

2001-09-05 Thread Boris
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

RE: [PHP] php includes === Dreamweaver library items

2001-09-05 Thread Robert V. Zwink
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

[PHP] mySQL wont connect

2001-09-05 Thread Kyle Smith
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 ?php $link = mysql_connect (P500.MSHOME.NET, test, pass) or die (Could

Re: [PHP] mySQL wont connect

2001-09-05 Thread Andy Woolley
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 -

[PHP] No moneymaking messages please

2001-09-05 Thread sagar
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

Re: [PHP] Carriage return.

2001-09-05 Thread Christopher William Wesley
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/line

[PHP] Re: again system, exec and passthru.

2001-09-05 Thread Thorsten Wandersmann
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 interpreted as:

[PHP] need help with compiling apc-cache

2001-09-05 Thread Sebastian Stadtlich
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

[PHP] Re: Error trapping, on scripts that don't exist

2001-09-05 Thread Moody
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

[PHP] Trunkated zeros..... how to fix?

2001-09-05 Thread Dallas K.
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?

Re: [PHP] Trunkated zeros..... how to fix?

2001-09-05 Thread ERISEN, Mehmet Kamil
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 in PHP =

[PHP] pdflib?

2001-09-05 Thread Daniel Andersson
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 =

Re: [PHP] pdflib?

2001-09-05 Thread Rasmus Lerdorf
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.

[PHP] how to connect to php from vb

2001-09-05 Thread sagar
hi, can i connect to php from a vb appliation. should this be asked elsewhere (if so pl let me know) /sagar

Re: [PHP] pdflib?

2001-09-05 Thread Daniel Andersson
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 On Wed, 5

Re: [PHP] how to connect to php from vb

2001-09-05 Thread Tom Carter
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

Re: [PHP] how to connect to php from vb

2001-09-05 Thread Alexander Deruwe
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 accessing

Re: [PHP] returns (functions)

2001-09-05 Thread Alexander Deruwe
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 returned?

Re: [PHP] returns (functions)

2001-09-05 Thread Rasmus Lerdorf
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/) To

[PHP] book help

2001-09-05 Thread Nikola Veber
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

RE: [PHP] book help

2001-09-05 Thread Jerry Lake
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:

[PHP] session - why does this not work?

2001-09-05 Thread Christian Haines
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! ? session_start(); session_register(count[0]); $count[0]++; echo $count[0].brnbsp;br; reset

Re: [PHP] book help

2001-09-05 Thread Tomasz Abramowicz
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 cookbook

RE: [PHP] what will be the output for this pgm?

2001-09-05 Thread Mark Roedel
-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? ?php

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-05 Thread Ryan Fischer
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 that if you don't know

[PHP] Problem with PHP y Phorummail

2001-09-05 Thread Webmaster
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

Re: [PHP] Assign multiple variables from mysql_fetch_row() call

2001-09-05 Thread Sheridan Saint-Michel
- 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 PHP and Perl,

[PHP] 304 Not Modified

2001-09-05 Thread Ouster
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)

Re: [PHP] Problem with PHP y Phorummail

2001-09-05 Thread Brian Clark
@ 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

RE: [PHP] php includes === Dreamweaver library items

2001-09-05 Thread Robert V. Zwink
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: !--

[PHP] Re: [PHP-NOTES] note 15310 added to function.session-start

2001-09-05 Thread Jesus M. Castagnetto
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 at

[PHP] what does this line means? Many thanks

2001-09-05 Thread Sall Him
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 PROTECTED]

RE: [PHP] 304 Not Modified

2001-09-05 Thread Seb Frost
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

Re: [PHP] Links

2001-09-05 Thread Brian Clark
@ 6:42:33 AM on 9/5/01, * RzE: wrote: This regex gets you everything between all A and /A 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[^]*(.+)\/a/imU, $StringToSearch, $matches); print_r

Re: [PHP] 304 Not Modified

2001-09-05 Thread Chris Hobbs
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 General

[PHP] negative infinity is unreachable

2001-09-05 Thread Hugh Danaher
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

RE: [PHP] negative infinity is unreachable

2001-09-05 Thread Seb Frost
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 mail is

Re: [PHP] Problem with PHP y Phorummail

2001-09-05 Thread Brian Clark
@ 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

[PHP] strip ALL HTML tags in a page so only the text

2001-09-05 Thread erik
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

[PHP] R: [PHP] 304 Not Modified

2001-09-05 Thread Ermanno Iannacci
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 might

Re: [PHP] Passing array names into a function

2001-09-05 Thread Brian Clark
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: ?php data_store( set,

Re: [PHP] strip ALL HTML tags in a page so only the text

2001-09-05 Thread Brian Clark
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

[PHP] R: strip ALL HTML tags in a page so only the text

2001-09-05 Thread Ouster
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) to

Re: [PHP] negative infinity is unreachable

2001-09-05 Thread Hugh Danaher
Yes, you are correct, I made a mistake when writing the code block for the e-mail. - Original Message - From: Seb Frost [EMAIL PROTECTED] To: Hugh Danaher [EMAIL PROTECTED]; Php-General [EMAIL PROTECTED] Sent: Wednesday, September 05, 2001 12:54 PM Subject: RE: [PHP] negative infinity is

[PHP] Does PHP work with Sybase ASA?

2001-09-05 Thread Davor Pleskina
I mean, is there in PHP support for Sybase Adaptive Server Anywhere, any version, like for MySQL and some other databases? 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

  1   2   >