Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Hidayet Dogan
try #/usr/local/bin/php -q Hidayet Dogan [EMAIL PROTECTED] Pleksus Bilisim Teknolojileri A.S. -- caldiran sok. 14/6 06420 kolej ankara * www.pleksus.com.tr tel : +

Re: [PHP] HTTP Authentication - Message 2

2001-02-07 Thread Nick Kostirya
Dear Shane, Thanks for response. But when I use PHP3 and Apache than all is good. And when I use PHP4 (!!!) and Apache than Apache don't understanding header ('HTTP/1.0 401 Unauthorized'), and Apache's "error.log" consist of "Bad header=HTTP/1.0 401 Unauthorized: d:/program files/php/php.exe".

RE: [PHP] PHP is the VMS of CGI languages...( Was "UN-Escaping text from a form submit?" )

2001-02-07 Thread Maxim Maletsky
not about your new topic ... I guess people talked here about how to escape/UN-escape the staff ... am I right ? there's a solution to it called: *configuration* If you'll look in the PHP.ini file you will then find to how to do it. Plus on the pages themselves you can add the values to overr

Re: [PHP] Time problem

2001-02-07 Thread php3
Addressed to: "Steve Werby" <[EMAIL PROTECTED]> "Roman" <[EMAIL PROTECTED]> "Php-General" <[EMAIL PROTECTED]> ** Reply to note from "Steve Werby" <[EMAIL PROTECTED]> Wed, 7 Feb 2001 09:28:29 -0500 Or you could do it the easy way in MySQL: SELECT SEC_TO_TIME( TIME_TO

RE: [PHP] Cookies for Session

2001-02-07 Thread Maxim Maletsky
Once again, as I see some people complaining in here ... we got lots of ideas and we are in many. Just tell us some more! more details! more details! more details! -Original Message- From: webMax [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 2:55 PM To: [EMAIL PROTECTE

RE: [PHP] base dir

2001-02-07 Thread Maxim Maletsky
Looking at the PHP manuals? here: on http://www.php.net/manual/en/language.variables.predefined.php where in fact it is documented, it says: For a list of all predefined variables (and lots of other useful information), please see (and use) phpinfo(). Cheers, Maxim Maletsky -Original M

Re: [PHP] Creating Directorys (slightlyOT)

2001-02-07 Thread szii
Definately check the umask and uid/gid/eid. Log in as that user and try to create it. Most likely the server is running as "nobody" or as another user and simply doesn't have access to it. Run a ps -aux (on Linux - for other OS's your milage may vary) and see who that server is running as. Ma

Re: [PHP] Creating Directorys (slightlyOT)

2001-02-07 Thread Michael Dearman
[EMAIL PROTECTED] wrote: > > Hi, > > I am trying to install a free mailing list manager for a mate, I have spent > numerous hours trying to figure out why it won`t setup properly. I installed > it on one of my own servers and it worked fine but not on his, however I have > now dwindled it down

[PHP] Cookies for Session

2001-02-07 Thread webMax
I am using cookies to maintain session. Now my problem is very vierd (at least for me). On the same browser, on the same server and on the same network, cookies sometimes work and some times don't. Any idea? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] PHP is the VMS of CGI languages...( Was "UN-Escaping text from a form submit?" )

2001-02-07 Thread Brian White
... which isnt necesarily a bad thing. At 14:27 8/02/2001 +1030, David Robley wrote: >On Thu, 8 Feb 2001 14:17, John Vanderbeck wrote: >... > > The title of this book doesn\'t really matter to \"me\"! > > > > Note the addition of the escape sequences. How can I stop this? >... >addslashes and s

[PHP] PEAR

2001-02-07 Thread Chad Guilette
Can anyone point me in the direction of a good site documenting PEAR? Chad Guilette -- 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] reg-ex problem

2001-02-07 Thread Michael Dearman
Christian Reiniger wrote: > > On Wednesday 07 February 2001 21:50, Michael Dearman wrote: > > > } > > > elseif( preg_match( "/^\d+$/", $arg[$i], $matches ) ) > > > > Isn't this \d+ matching --^ > > > > > { > > > $value = $matches[0]; > > >

Re: [PHP] test for undefined variables & renaming variables

2001-02-07 Thread Steve Werby
"August Malson" <[EMAIL PROTECTED]> wrote: > Does anyone know of a way to test for undefined variables? For example, I > I have tried isdef(), but that function does not seem to work, and I Try is_set(). > Also, does anyone know how to rename a variable? > > I want to create a variable $attribu

Re: [PHP] Super SQL problem! Please advise!

2001-02-07 Thread Steve Werby
"Sandeep Hundal" <[EMAIL PROTECTED]> wrote: > SELECT diary.id, diary.thedate, diary.topic, diary.entry, > count(comments.id) AS comments FROM diary, comments WHERE > diary.month='$month' AND diary.id = comments.id GROUP BY comments.id > ORDER BY diary.id DESC " > > Basically what I've done is made

[PHP-CVS] cvs: php4 / TODO /ext/pcre php_pcre.c

2001-02-07 Thread Andrei Zmievski
andrei Wed Feb 7 20:55:50 2001 EDT Modified files: /php4 TODO /php4/ext/pcre php_pcre.c Log: Move todo items. Index: php4/TODO diff -u php4/TODO:1.113 php4/TODO:1.114 --- php4/TODO:1.113 Mon Feb 5 06:29:21 2001 +++ php4/TODO Wed Feb

Re: [PHP] mail/sendmail lmitations?

2001-02-07 Thread Steve Werby
"Dave VanAuken" <[EMAIL PROTECTED]> wrote: > anyone have an idea what the limit either in addresses or string > length that sendmail can handle in a to, cc, or bcc field? I think the total message header length can have a max byte size in sendmail (I think primarily as a crude anti-spam method),

Re: [PHP] Variable quantity chooser.

2001-02-07 Thread Steve Werby
"David VanHorn" <[EMAIL PROTECTED]> wrote: > Is there a way, using PHP, to generate a quantity chooser that maxes out at > the quantity on hand? IOW, I have $quantity from the database, for a given > line item, and I'd like to have a slider that lets you run up to, but not > over, the quantity on

Re: [PHP] base dir

2001-02-07 Thread Steve Werby
"Brandon Orther" <[EMAIL PROTECTED]> wrote: > I am sure this is a dumb/easy question but I can't seem to find it looking > at the php manual... can someone tell me the function that gets the path of > where the script is? Create a webpage containing the following: It will show you the way and

Re: [PHP] sending mail with PHP from web

2001-02-07 Thread Yamin Prabudy
hereis my code, mysql get all the user data at once and send it at once to prevent my sistem from crash i add the sleep 2 mysql_connect($hostname,$mysqluser,$mysqlpassword); $result=mysql_db_query("radius","SELECT * FROM profile"); while ($rows=mysql_fetch_array($resu

php-general Digest 8 Feb 2001 04:18:52 -0000 Issue 499

2001-02-07 Thread php-general-digest-help
php-general Digest 8 Feb 2001 04:18:52 - Issue 499 Topics (messages 38555 through 38669): Re: Odd question regarding creating a php file 38555 by: Steve Werby Re: Hide PHP from web server header [was: PHP - CGI Version] 38556 by: Steve Werby Re: Com 38557 by: Vora

Re: [PHP] test for undefined variables & renaming variables

2001-02-07 Thread John Vanderbeck
Not sure if this is hat you are looking for, but I do something similiar in my script. Its set up so that the action of the script depends on whether or not the ASIN was passed in.. if(isset($asin)) { $mode='save_info'; } that way if something like: "book_reviews.php?asin=000129091" is called,

[PHP] PHP & HTACCESS

2001-02-07 Thread Sefton
Hello Everybody, Does anybody know or have some PHP code to read the htaccess file. I have a couple of directorys protected by the htaccess & htpasswd files on the Unix Apache server I use. But I want to create a webpage with input boxes to simulate the popup dialog that appears when entering the

[PHP] test for undefined variables & renaming variables

2001-02-07 Thread August Malson
Q: Does anyone know of a way to test for undefined variables? For example, I am sending a variable into the page, but the processing of the page depends on what is being passed to the page. Say, I am typing the following on the location bar: index.php?fuseaction=something&fuse=6 and I want some

[PHP] Super SQL problem! Please advise!

2001-02-07 Thread Sandeep Hundal
Hey all, I got this massive query, which I hope you'll be able to understand: SELECT diary.id, diary.thedate, diary.topic, diary.entry, count(comments.id) AS comments FROM diary, comments WHERE diary.month='$month' AND diary.id = comments.id GROUP BY comments.id ORDER BY diary.id DESC " Basical

Re: [PHP] Compiling php??

2001-02-07 Thread David Robley
On Thu, 8 Feb 2001 14:18, GAYTAN BAHAMONDEZ DANIEL EDUARDO wrote: > Hi there, > Is there a way to compile php files so that no one can read them > but php will undestand them?? something like .exe in win > > Thanks in advance http://www.zend.com/zend/products.php#encoder has some inf

Re: [PHP] UN-Escaping text from a form submit?

2001-02-07 Thread John Vanderbeck
Thanks everyone..Seems it was a very simple thing I had searched around on the PHP site, but i'm tired, and I must have missed it. Thanks! - John Vanderbeck - Admin, GameDesign - Original Message - From: "David Robley" <[EMAIL PROTECTED]> To: "John Vanderbeck" <[EMAIL PROTECTED]>; <[

RE: [PHP] UN-Escaping text from a form submit?

2001-02-07 Thread Jason Murray
> The title of this book doesn't really matter to "me"! > > When I get that back, and read it from the file, it always > ends up like: > > The title of this book doesn\'t really matter to \"me\"! > > Note the addition of the escape sequences. How can I stop > this? Is there some function in

Re: [PHP] UN-Escaping text from a form submit?

2001-02-07 Thread David Robley
On Thu, 8 Feb 2001 14:17, John Vanderbeck wrote: > Hello again, > > I have a form that is used to submit data to my script. If the user > enters something like: > > The title of this book doesn't really matter to "me"! > > When I get that back, and read it from the file, it always ends up > like

Re: [PHP] UN-Escaping text from a form submit?

2001-02-07 Thread Mark Green
run $blah = stripslashes($blah); PHP automatically does the equivalent of addslashes() to all form submits. ^^@rk John Vanderbeck wrote: > > Hello again, > > I have a form that is used to submit data to my script. If the user enters > something like: > > The title of this book doesn't rea

[PHP] UN-Escaping text from a form submit?

2001-02-07 Thread John Vanderbeck
Hello again, I have a form that is used to submit data to my script. If the user enters something like: The title of this book doesn't really matter to "me"! When I get that back, and read it from the file, it always ends up like: The title of this book doesn\'t really matter to \"me\"! Note

[PHP] Compiling php??

2001-02-07 Thread GAYTAN BAHAMONDEZ DANIEL EDUARDO
Hi there, Is there a way to compile php files so that no one can read them but php will undestand them?? something like .exe in win Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

[PHP] sessions & javascript problem

2001-02-07 Thread Matthew Delmarter
I have an interesting problem with sessions (using enable-trans-sid). I have created a page with the following javascript function on it: function swapImgRestore() { var i,x,a=document.sr; for(i=0;a&&ihttp://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] mail/sendmail lmitations?

2001-02-07 Thread Dave VanAuken
anyone have an idea what the limit either in addresses or string length that sendmail can handle in a to, cc, or bcc field? Dave -- 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 ad

[PHP] PHP with Oracle

2001-02-07 Thread Nguyen, David M
I try to use PHP to access Oracle DB. Can someone point me to a good place for demo/sample website or documentation how to do that? I just want how to use PHP and Oracle DB only. Thanks, David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: [PHP] Sessions and SSL

2001-02-07 Thread Chris Lee
There are two ways of doing sessions, only two cookies and ugly urls. it doesnt matter if your crossing 8 domain names, or sticking to one, there are only two options. Are these domain names on the same server? yes? great then we can work with this. you'll have to either disable cookies (cookie

Re: [PHP-I18N] about PHP-i18n

2001-02-07 Thread Yasuo Ohgaki
> Well, I thought it was a great list. I got a fantastic deal on 100 million > fresh email addresses and I'm already a millionaire just by working at home > :-) > > Seriously, though, I was about to unsubscribe. It would be great if the list > could turn into sth valuable. Does anyone know anythin

Re: [PHP] APC install problems

2001-02-07 Thread Joseph H Blythe
On Thu, 8 Feb 2001 01:39:24 +0100 Christian wrote: CR> CR> You'll have to install some packages: libtool, autoconf and automake I'd CR> say. CR> Hmm, libtool wasn't installed strange, thanks! Also I got a few warnings during the compile is this normal? -snip- In file included from /usr/local

[PHP] Creating Directorys (slightlyOT)

2001-02-07 Thread Website4S
Hi, I am trying to install a free mailing list manager for a mate, I have spent numerous hours trying to figure out why it won`t setup properly. I installed it on one of my own servers and it worked fine but not on his, however I have now dwindled it down to the fact that his server won`t allo

[PHP] Sessions and SSL

2001-02-07 Thread Jeffrey A Schoolcraft
I'm wondering if it's possible to somehow transfer session data across apache virtual hosts. Or if it's needed. I'd like to have a site that can pass certain session data from http: to https: Is this possible? I'd like to do this without cookies or ugly urls. I compiled php4.0.4 with transid

Re: [PHP-I18N] about PHP-i18n

2001-02-07 Thread Brian King
Well, I thought it was a great list. I got a fantastic deal on 100 million fresh email addresses and I'm already a millionaire just by working at home :-) Seriously, though, I was about to unsubscribe. It would be great if the list could turn into sth valuable. Does anyone know anything about php

[PHP] PHP && mySQL

2001-02-07 Thread PHP user
HI! I am Japanese in Tokyo. How about you? I still have a question. initial condition 1) three are many *html in my SQL ex:xxx.html,and yyy.html 2)I have domain ex: abc (ex: http://www.abc.com) 3)database name : aaa 4)table name :bbb I want to try next step. when I type in URL from brouze ,e

Re: [PHP] Indexing Engine

2001-02-07 Thread Brian White
I did some research and decided to go with ht://Dig - the other thing on the short list of free products was mnoGoSearch. Try this link for a list of available serach engines: http://www.searchtools.com/tools/tools.html Regs Brian White At 23:29 6/02/2001 -0500, Steve Werby wrote: >"Diego Fulg

[PHP] Confirmación

2001-02-07 Thread Andrés de la Varga
Rebeca, por favor confirmame si has recibido mis E-Mails. Saludos, Andrés. -- 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]

[PHP-CVS] cvs: php4 /build build2.mk

2001-02-07 Thread Sascha Schumann
sas Wed Feb 7 16:49:24 2001 EDT Modified files: /php4/build build2.mk Log: Suppress the other nasty warning Index: php4/build/build2.mk diff -u php4/build/build2.mk:1.16 php4/build/build2.mk:1.17 --- php4/build/build2.mk:1.16 Mon Nov 27 05:27:51 2000

[PHP] Variable quantity chooser.

2001-02-07 Thread David VanHorn
Is there a way, using PHP, to generate a quantity chooser that maxes out at the quantity on hand? IOW, I have $quantity from the database, for a given line item, and I'd like to have a slider that lets you run up to, but not over, the quantity on hand. This might be more of an HTML question.

Re: [PHP] RE: Ethics question...

2001-02-07 Thread Michael A. Peters
On Thursday, January 18, 2001, at 10:41 PM, jeremy brand wrote: > > Apache doesn't have threading (yet). > > If your business depends upon it, you may want to take a look at > > Solaris/Zeus if you are really getting heavy load high traffic. > > We serve millions of hits a day off of a smal

Re: [PHP] RE: [PHP-WIN] MSSQL Functions

2001-02-07 Thread Frank M. Kromann
Hi All, the key komponent is ntwdblib.dll installed in winnt\system32. The dll uses other dll's to comunicate with the server dbmssocn.dll (tcp/ip) and dbmsnp.dll (NetBios). All the communication dll's should be installed with the ODBC driver. Just copy ntwdblib.dll from the SQL server to the

RE: [PHP-I18N] about PHP-i18n

2001-02-07 Thread John Risby
Glad to hear you say that. Been subscribed for about 2 weeks now, and nothing but spam. I thought the list was dead? John > -Original Message- > From: Rui Hirokawa [mailto:[EMAIL PROTECTED]] > Sent: 08 February 2001 00:27 > To: [EMAIL PROTECTED] > Subject: [PHP-I18N] about PHP-i18n > >

Re: [PHP] APC install problems

2001-02-07 Thread Christian Reiniger
On Thursday 08 February 2001 10:29, Joseph H Blythe wrote: > Does anyone know what is going wrong here: > > phpize > autoconf: Undefined macros: > configure.in:43:AC_PROG_LIBTOOL > /usr/local/bin/phpize: libtoolize: command not found > > There does not seem to be a libtoolize on my system? I also

Re: [PHP-I18N] about PHP-i18n

2001-02-07 Thread Rasmus Lerdorf
Nothing has happened. On Thu, 8 Feb 2001, Rui Hirokawa wrote: > > There is so many trafic of spam mail in this list. > I think sending mail to this list should be restricted in any subscribed > members only. > > Anyway, there was a meeeting about php-i18n last July at Linuxcare HQ, > but I don't

[PHP-I18N] about PHP-i18n

2001-02-07 Thread Rui Hirokawa
There is so many trafic of spam mail in this list. I think sending mail to this list should be restricted in any subscribed members only. Anyway, there was a meeeting about php-i18n last July at Linuxcare HQ, but I don't know the imprementation status. I want to know the current status about php

[PHP] RE: [PHP-WIN] MSSQL Functions

2001-02-07 Thread Flint Doungchak
Toby, Yes, the client is requires because the MSSQL module uses some libraries from the client to function. I don't know which one. If Frank see this, he might be able to give you some detailed insight. I just know it has to be installed. -Flint -Original Message- From: Toby Miller [mai

[PHP] MSSQL Functions

2001-02-07 Thread Toby Miller
Hey all, I've got a question about using the MSSQL Functions. The only way I've been able to use them is to install Microsoft SQL Client on the web server. Is there any way to get around this to use the MSSQL Functions without installing a copy of Microsoft SQL Client? Right now I am using the

[PHP] APC install problems

2001-02-07 Thread Joseph H Blythe
Hey, Does anyone know what is going wrong here: phpize autoconf: Undefined macros: configure.in:43:AC_PROG_LIBTOOL /usr/local/bin/phpize: libtoolize: command not found There does not seem to be a libtoolize on my system? I also followed the INSTALL docs, and read the online FAQ, unfortunatly I

Re: [PHP] List of all file extensions

2001-02-07 Thread Tobias Talltorp
Thanks for straightening everything out for me! // Tobias "Philip Olson" <[EMAIL PROTECTED]> wrote in message Pine.BSF.4.10.10102072314500.92822-10@localhost">news:Pine.BSF.4.10.10102072314500.92822-10@localhost... > This is a good start : > > http://directory.google.com/Top/Compute

Re: [PHP] List of all file extensions

2001-02-07 Thread Philip Olson
This is a good start : http://directory.google.com/Top/Computers/Data_Formats/ Regards, Philip On Wed, 7 Feb 2001, Tobias Talltorp wrote: > > No. People use whatever file extensions they like. > > So, If I create a 3D-program, I could say that file extensions for this > program will be .

Re: [PHP] List of all file extensions

2001-02-07 Thread Alexander Wagner
Tobias Talltorp wrote: > > No. People use whatever file extensions they like. > > So, If I create a 3D-program, I could say that file extensions for > this program will be .pdf (not a prefered extension, but still)? > Is it more a question of getting your file extension as widely used > as possibl

Re: [PHP] base dir

2001-02-07 Thread Martin A. Marques
El Mié 07 Feb 2001 19:20, Brandon Orther escribió: > Hello, > > I am sure this is a dumb/easy question but I can't seem to find it looking > at the php manual... can someone tell me the function that gets the path of > where the script is? Check the variable $HTTP_SERVER_VARS["SCRIPT_FILENAME"] a

Re: [PHP] List of all file extensions

2001-02-07 Thread Josh G
> So, If I create a 3D-program, I could say that file extensions for this > program will be .pdf (not a prefered extension, but still)? > Is it more a question of getting your file extension as widely used as > possible, so other companies dont bother using them, since most computers > have them a

Re: [PHP] List of all file extensions

2001-02-07 Thread Tobias Talltorp
> No. People use whatever file extensions they like. So, If I create a 3D-program, I could say that file extensions for this program will be .pdf (not a prefered extension, but still)? Is it more a question of getting your file extension as widely used as possible, so other companies dont bother

Re: [PHP] problems with writing picture to the database.

2001-02-07 Thread Mark Maggelet
On Wed, 7 Feb 2001 23:53:00 +0200 (EET), Siim Einfeldt aka Itpunk ([EMAIL PROTECTED]) wrote: >Hi, > >I write all my pictures (hotels...travels, etc) to the database. it >worked, but now I`m not sure what has changed, but now it gives the >following error: >Warning: fopen("C:\\art\\cat2.jpg","r") -

Re: [PHP] question about PHP use

2001-02-07 Thread Alexander Wagner
Don wrote: > I have a web page that contains various graphics and text. At the > bottom of the page, I have a table of one row by two columns. Using > PHP > > and MySQL (I already know that PHP can access MySQL databases), I > want to read data from a table and dynamically grow my table (add > s

[PHP] new release : phpdoc v2.0

2001-02-07 Thread Christian Calloway
Hey everyone, I just released phpdoc v2.0, which is a program used to document PHP class definitions. This version is a complete rewrite of v1.0, and takes a different approach to creating documentation. Where most other applications try to imitate Javadoc as much as possible, this application

Re: [PHP] question about PHP use

2001-02-07 Thread JB
yes, that is what PHP does best (displaying dynamic content from a database). - Original Message - From: Don <[EMAIL PROTECTED]> To: php list <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 2:08 PM Subject: [PHP] question about PHP use > Hi, > > I've been looking at using PHP but

[PHP] base dir

2001-02-07 Thread Brandon Orther
Hello, I am sure this is a dumb/easy question but I can't seem to find it looking at the php manual... can someone tell me the function that gets the path of where the script is? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMA

Re: [PHP] Is it server Push?

2001-02-07 Thread Thomas Deliduka
On 2/7/01 5:09 PM this was written: > Use flush(); each time you want the latest output to be sent to the > client. > This works only with PHP as a Webserver-Module, not as CGI. Thanks! -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Ang

RE: [PHP] question about PHP use

2001-02-07 Thread Cal Evans
Yeppers, it'll do that for you. Cal http://www.calevans.com -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 4:09 PM To: php list Subject: [PHP] question about PHP use Hi, I've been looking at using PHP but am unsure if it will do what I wan

Re: [PHP] List of all file extensions

2001-02-07 Thread Alexander Wagner
Tobias Talltorp wrote: > Do you know where I can find a list of all file extensions used > today? Like: > ..gif > ..htm > ..php > ..doc > I don't think so. > Is there an organisation, like ICANN, that decide who can use these > file extensions and what you need to do to register one of your

Re: [PHP] Is it server Push?

2001-02-07 Thread Alexander Wagner
Thomas Deliduka wrote: > Doing operation. Done > Doing this Done > Etc > > With ASP it does it as you see it, with PHP it seems to do it all and > the print to the screen. Is there a way to get PHP to do the same as > ASP or is that just the way PHP works? Use flush(); each time you want

[PHP] question about PHP use

2001-02-07 Thread Don
Hi, I've been looking at using PHP but am unsure if it will do what I want. What first attracted me to PHP is the claim that I can embed PHP code within my html file and have it build dynamic content. Perhaps someone on the list can confirm that ic can do as follows: I have a web page that cont

[PHP] ereg everything

2001-02-07 Thread Matthew Ley
I am creating an interface for a customer where they will be creating there own db and I was wondering if there was an ereg or ereg_replace function that would get rid of all the bs in one fail swoop. I am already converting spaces to underscores with ereg_replace. Thanks in advance, -

[PHP] List of all file extensions

2001-02-07 Thread Tobias Talltorp
Hello. Do you know where I can find a list of all file extensions used today? Like: .gif .htm .php .doc ... Is there an organisation, like ICANN, that decide who can use these file extensions and what you need to do to register one of your own? Thanks, // Tobias -- PHP General Mailing List

[PHP] problems with writing picture to the database.

2001-02-07 Thread Siim Einfeldt aka Itpunk
Hi, I write all my pictures (hotels...travels, etc) to the database. it worked, but now I`m not sure what has changed, but now it gives the following error: Warning: fopen("C:\\art\\cat2.jpg","r") - No such file or directory in /home/mycatalogue/public_html/mysubcatalogue/hotell.php3 on line 19

[PHP] Sorting LDAP Entries - Please Help

2001-02-07 Thread Jason Mowat
Greets all, I have been playing around with LDAP sorting, but I can't seem to get it to work. Essentially, I do an ldap_search() with a filter condition, and use a ldap_get_entries() to get all of the results. The ldap_get_entries() function returns a multi-dimensional array contain my result s

Re: [PHP] ? for the Reg Ex people

2001-02-07 Thread Christian Reiniger
On Wednesday 07 February 2001 21:48, Jason Bryner wrote: > I'm making a small script that imports HTML pages and I need to do > some string replacement. I need to replace add a url to all the 'HREF' > links and images, but if someone could just give me an example of how > to replace and append the

Re: [PHP] reg-ex problem

2001-02-07 Thread Christian Reiniger
On Wednesday 07 February 2001 21:50, Michael Dearman wrote: > > } > > elseif( preg_match( "/^\d+$/", $arg[$i], $matches ) ) > > Isn't this \d+ matching --^ > > > { > > $value = $matches[0]; > > } > > elseif( preg_match( "/(div\d|prem)

Re: [PHP] DSO security

2001-02-07 Thread Christian Reiniger
On Wednesday 07 February 2001 19:13, Gabor Gludovatz wrote: > how can I prohibit users to read arbitrary files on the system if run > PHP as apache module? Read the chapter about Security in the manual as well as the description of the safe_mode and open_basedir options -- Christian Reiniger L

RE: [PHP] Getting ASPELL to work?

2001-02-07 Thread Jonathan Sharp
I believe that aspell is somewhat outdated now...try pspell...(which uese aspell..check php.net docs) -codeboy > -Original Message- > From: Sam Masiello [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 11:23 AM > To: Nicholas Pappas > Cc: [EMAIL PROTECTED] > Subject: Re: [

Re: [PHP] ? for the Reg Ex people

2001-02-07 Thread James, Yz
look up eregi_replace and preg_replace www.php.net/quickref.php Gotta run J "Jason Bryner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm making a small script that imports HTML pages and I need to do > some string replacement. I need to replace add a u

[PHP] Searching MySQL tables with LIKE

2001-02-07 Thread James, Yz
Hi Guys, Just a quick question. I've been using an sql query like this (using wildcards): $sql = "SELECT * FROM table WHERE $search_criteria LIKE '%$search_input%' ORDER by $search_criteria ASC"; At the moment, if the search criteria was "First_Name" and the text ($search_criteria) was

[PHP-CVS] cvs: php4 /pear/Mail Sendmail.php

2001-02-07 Thread Chuck Hagenbuch
chagenbuWed Feb 7 12:56:02 2001 EDT Modified files: /php4/pear/Mail Sendmail.php Log: remove double quotes which may not be stripped by sendmail (causing problems), and add checks for dangerous characters (in addition to the pre-existing escapeShe

[PHP] ? for the Reg Ex people

2001-02-07 Thread Jason Bryner
I'm making a small script that imports HTML pages and I need to do some string replacement. I need to replace add a url to all the 'HREF' links and images, but if someone could just give me an example of how to replace and append the HREF part, I think I can figure it out. It needs to find all

[PHP] Unlink for windows?

2001-02-07 Thread Brandon Orther
Hello, Does anyone have a function that can delete files like unlink(); for windows? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

[PHP-CVS] cvs: php4 /pear Mail.php Makefile.in /pear/Mail RFC822.php SMTP.php Sendmail.php rfc822.php sendmail.php smtp.php

2001-02-07 Thread Chuck Hagenbuch
chagenbuWed Feb 7 12:22:59 2001 EDT Added files: /php4/pear/Mail RFC822.php SMTP.php Sendmail.php Removed files: /php4/pear/Mail rfc822.php sendmail.php smtp.php Modified files: /php4/pear Mail.php Makef

Re: [PHP] Hosting in UK

2001-02-07 Thread John McCreesh
In article <002901c0911e$8aefed80$[EMAIL PROTECTED]>, TV Karthick Kumar <[EMAIL PROTECTED]> writes >Can any body suggest / recommend me a good web hosting provider ?. >I want to register some domains and host with the same provider which >essentially has php, mysql, postgresql & good suppo

[PHP] Is it server Push?

2001-02-07 Thread Thomas Deliduka
I don't know what it's called so I don't know what to search for. I have had experience with ASP apps that sometimes I'll create some scripts, say a script does multiple operations. And I want it to print to the screen after each operation is done.. The user would get a running list. Doing opera

RE: [PHP] Name of Class' instance

2001-02-07 Thread Boget, Chris
> > $joeBob = new myClass(); > > "myClass" can somehow know that "joeBob" is the name of > > it's instance? > > I'm thinking 'no', but would like verification. > I'm not aware of a way to do so. I'm curious why you'd want > to? If you want to pass "joeBob" to the class you can do so as the > p

[PHP] content retrieval from mp3.com band pages - need help

2001-02-07 Thread MysterioZ TronSonic
Ok, I'm new to programming in PHP. What I'm trying to do is retrieve the song list with play links off of my bands' page at Mp3.com. Ultimately I want to build it into a function I can call with an array of song names and it will return the html formatted as I like So far, I've used this code to

Re: [PHP] parent constructor

2001-02-07 Thread John Donagher
Try 'parent::' On Wed, 7 Feb 2001, Aaron Tuller wrote: > At 12:13 PM +0100 2/7/01, Christian Reiniger wrote: > >On Wednesday 07 February 2001 05:14, Aaron Tuller wrote: > > > $parentClass = get_parent_class($this); > >> eval("$parentClass::$parentClass();"); > >> > >> still, I think I should

Re: [PHP] Where to put the include()

2001-02-07 Thread Anna
- Original Message - From: "Remi Ricard" <[EMAIL PROTECTED]> > Hi, > > I want to know why in the second file I don't get > a=134 as expected. > // file that don't work as expected > // print a= > function f2() > { > include ('./fileToBeIncluded.php'); > f1(); > } > echo ""; > f2

Re: [PHP] PHP - CGI Version

2001-02-07 Thread Tim Livers
The solution ended up being the need to re-compile php with the "--enable-discard-path" configure option. This removed the "#!/usr/local/bin/php" line from the top of the file. Thanks for the feedback. Tim Tim Livers wrote: > I have installed the CGI version of PHP and customized Apache's > h

Re: [PHP] reg-ex problem

2001-02-07 Thread Michael Dearman
> } > elseif( preg_match( "/^\d+$/", $arg[$i], $matches ) ) Isn't this \d+ matching --^ > { > $value = $matches[0]; > } > elseif( preg_match( "/(div\d|prem)/", $arg[$i], $matches ) ) the \d in this-^^

Re: [PHP] Getting ASPELL to work?

2001-02-07 Thread Sam Masiello
When you compile PHP, you also need to include the --with-aspell flag (similar to how you did to include MySQL support). HTH -- Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] On 2001.02.07 14:19:38 -0500 Nicholas Pappas wrote: > Is there a secret to get the

Re: [PHP] Getting ASPELL to work?

2001-02-07 Thread Brian Clark
Hi Nicholas, @ 2:19:38 PM on 2/7/2001, [EMAIL PROTECTED] wrote: > Is there a secret to get the 'aspell_*' functions to work? I tried > running one and got a 'unsupported function' error. :( > I am running a RH7.0 system with PHP3. Aspell is installed on the > system, but I did not do anything

Re: [PHP] PHP Newbie, Experienced Porgrammer, Annoying fread() problem

2001-02-07 Thread Brian Clark
Hi John, @ 2:01:49 PM on 2/7/2001, [EMAIL PROTECTED] wrote: > Please bear with me for a moment. I am new to PHP work, but have > over 10 years experience in various other programming languages > including C/C++ > I'm just getting really frustrated here, and i'm hoping its a simple > mistake. W

[PHP] Getting ASPELL to work?

2001-02-07 Thread Nicholas Pappas
Is there a secret to get the 'aspell_*' functions to work? I tried running one and got a 'unsupported function' error. :( I am running a RH7.0 system with PHP3. Aspell is installed on the system, but I did not do anything special at compile time (except MySQL support). Is th

Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Michael Dearman
John Huggins wrote: > > Well, I have compiled a php binary for use as yet another scripting language > to work along side AWK, Perl, Sh, etc. > > It works too. I have this file... > > #!/usr/local/bin/php > print("Hello World\n"); > ?> > > I run it and get.. > > host:~/projects/PHPScripts

RE: [PHP] PHP Newbie, Experienced Porgrammer, Annoying fread() problem

2001-02-07 Thread James Moore
[snip] > for ($index = 0; $index < sizeof($books); $index++) > { > $book_data_file = fopen("$thisdir/$books[$index]/book_info.dat", "r"); > echo "Opened $thisdir/$books[$index]/book_info.dat"; > $book_data_in = fread($book_data_file, filesize($book_data_file));

[PHP] PHP Newbie, Experienced Porgrammer, Annoying fread() problem

2001-02-07 Thread John Vanderbeck
Hello all, Please bear with me for a moment. I am new to PHP work, but have over 10 years experience in various other programming languages including C/C++ I'm just getting really frustrated here, and i'm hoping its a simple mistake. What I am running into is that ever file I open and read fro

Re: [PHP] unlink(); in windows?

2001-02-07 Thread Brian Clark
Hi Brandon, @ 2:02:12 PM on 2/7/2001, [EMAIL PROTECTED] wrote: > I am trying to use unlink(); in windows. Does anyone know if unlink > works in windows? "Note: This function may not work on Windows systems." http://www.php.net/manual/en/function.unlink.php Read under 'User Contributed Notes'

  1   2   >