Re: [PHP] gd_installation

2001-12-24 Thread Brian Clark
* EMIN CALIKLI ([EMAIL PROTECTED]) [Dec 25. 2001 01:47]: > --- > A system error has occurred. > System error 1067 has occurred. > The process terminated unexpectedly. > Oh my go

Re: [PHP] gd_installation

2001-12-24 Thread EMIN CALIKLI
Hi , Thanks for your interests . The error is (when IIS starting); Sincerely. --- A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. --

Re: [PHP] relative path vs. INCLUDE() !!!!!

2001-12-24 Thread Justin Garrett
There is also include_path in the php.ini file. "Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is a kind of a "shit happens" answer -- ummm... nope, there's no > workaround. The only workaround is providing a global path variable and u

Re: [PHP] faxing in PHP

2001-12-24 Thread Steve Maroney
There are many different fax daemons for unix and windows. Thier command line tools are differnt. In the past, I have sent a fax by opening a process to the command line tools provided by the fax software. I simply use PHP variables as arguments. Hope this helps. Steve On Mon, 24 Dec 2001, LDL E

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 24. 2001 22:26]: > OK, how about building the DSO via apxs manually and see if you get any > errors? IIRC, you can then place it in the correct directory in the > apache source and use --enable-shared=snmp in apache's configure > *I think*. Why, let me ask

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
* Peter Hicks ([EMAIL PROTECTED]) [Dec 24. 2001 17:39]: > > Does libsnmp.so actually exist in /usr/local/snmp/lib? > Yes (a symlink to another file, which exists), and SNMP is detected fine > through 'configure'. > I have two theories. The first is that libsnmp.so is the name of the Apache > mo

Re: [PHP] relative path vs. INCLUDE() !!!!!

2001-12-24 Thread Bogdan Stancescu
This is a kind of a "shit happens" answer -- ummm... nope, there's no workaround. The only workaround is providing a global path variable and use that for all pages, but you probably already thought about that. Sorry for the bad news on Christmas! :-) Bogdan "Arcadius A." wrote: > Hello ! > I'

Re: [PHP] Fulltext-Search

2001-12-24 Thread Miles Thompson
Lauri, Very impressive. Merry Christmas - Miles Thompson At 03:03 AM 12/25/2001 +0200, Lauri Vain wrote: >Hello Martin, > >At 10:13 PM 12/23/2001 +0100, Martin wrote: > >Hello! Does anybody know a good script to search the own web-server?! > >Would be nice if the script could display the whole

Re: [PHP] Fulltext-Search

2001-12-24 Thread Lauri Vain
Hello Martin, At 10:13 PM 12/23/2001 +0100, Martin wrote: >Hello! Does anybody know a good script to search the own web-server?! >Would be nice if the script could display the whole sentence where the >word was found... If you want to have more hands on fun then check out the following class/how

[PHP] Supplied argument is not a valid PostgreSQL result resource

2001-12-24 Thread James Arthur
Hi. I've been getting the following error: Warning: Supplied argument is not a valid PostgreSQL result resource in dbasefunctions.php on line 87 The error occurs in the following function: function dbFetchRow($result,$num) { global $wireddb_h; $r = pg_fetch_row($result,$num);

[PHP] relative path vs. INCLUDE() !!!!!

2001-12-24 Thread Arcadius A.
Hello ! I've just made a nice navavigation bar for my website The nav. bar is a php file (Templates/inc_nav.php)containing links to other pages of my site. the links has been made relatively to the file "inc_nav.php"; Now that I've included the "inc_nav.php" in other pages , my links no lon

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Peter Hicks
Hi Brian On Mon, 24 Dec 2001, Brian Clark wrote: > > gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory > > Does libsnmp.so actually exist in /usr/local/snmp/lib? Yes (a symlink to another file, which exists), and SNMP is detected fine through 'configure'. I have two theories

[PHP] Site running from MySQL

2001-12-24 Thread LaserJetter
Out of interest, would it be possible to load a webpage as a record in a MySQL database, having another field as say a number or a unique name so that a whole site could be placed in a database with a couple of php files? Is there a limit on the size of a field in MySQL which would stop you doing

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
* Peter Hicks ([EMAIL PROTECTED]) [Dec 24. 2001 15:26]: > I am having terrible difficulty trying to build 4.1.0 as an Apache shared > module. Without SNMP support, all is well. However, as soon as I add > --with-snmp=..., I get the following at compile time: > gcc: /usr/local/snmp/lib/.libs/libs

Re: [PHP] gd_installation

2001-12-24 Thread Brian Clark
* EMIN CALIKLI ([EMAIL PROTECTED]) [Dec 24. 2001 09:47]: > Hi , > I configured php 4.0.6 to run on IIS4.0 but I can 't load ph_gd.dll extension . I >can use other > extensions succesfully (like php_mssql.dll ,php_pdf.dll etc.) . Did anyone can help >me about this > subject? > Sincerely. What'

Re: [PHP] How to compile Apache/PHP

2001-12-24 Thread Brian Clark
* Miles Thompson ([EMAIL PROTECTED]) [Dec 24. 2001 08:45]: > One little quirk. When you install MySQL from source the path to it is > different than when you install it from an rpm. One of them, and I can't > remember which, adds an extra directory layer. But really, go with the > compile from

Re: [PHP] Strings Question

2001-12-24 Thread Matt McClanahan
On Mon, Dec 24, 2001 at 01:48:38PM -0800, Phillip B. Bruce wrote: > I want to take something like the following: > > $row = 1; > $ column = 1; > > if ( $pages = "r$row$column") > >What I want to see is r1c1 as a string so I'm actually > concatenating the strings togethe

[PHP] Strings Question

2001-12-24 Thread Phillip B. Bruce
Hi, I want to take something like the following: $row = 1; $ column = 1; if ( $pages = "r$row$column") What I want to see is r1c1 as a string so I'm actually concatenating the strings together. Any ideas? -- ***

Re: [PHP] Fulltext-Search

2001-12-24 Thread Miles Thompson
htdig or mnogo At 10:13 PM 12/23/2001 +0100, Martin wrote: >Hello! Does anybody know a good script to search the own web-server?! >Would be nice if the script could display the whole sentence where the >word was found... > >Martin > > >-- >PHP General Mailing List (http://www.php.net/) >To unsu

[PHP] Re: Prev ... Next

2001-12-24 Thread Arcadius A.
http://www.onlamp.com/pub/a/php/2000/11/02/next_previous.html Arcadius -- 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] faxing in PHP

2001-12-24 Thread Bas van Rooijen
Or use a commercial fax service, this may even be cheaper! http://www.jfax.com/ offers email to fax. bvr. On Mon, 24 Dec 2001 12:26:54 -0800, Jim Lucas [php] wrote: >hylafax >I am working on a project right now to set this up on a linux box. Should >work great. > >Jim -- PHP General Ma

Re: [PHP] faxing in PHP

2001-12-24 Thread Jim Lucas [php]
hylafax I am working on a project right now to set this up on a linux box. Should work great. Jim - Original Message - From: "LDL Enterprise" <[EMAIL PROTECTED]> To: "*PHP-General mail list" <[EMAIL PROTECTED]> Sent: Monday, December 24, 2001 12:15 PM Subject: [PHP] faxing in PHP > Hi,

[PHP] SNMP with 4.1.0

2001-12-24 Thread Peter Hicks
All, I am having terrible difficulty trying to build 4.1.0 as an Apache shared module. Without SNMP support, all is well. However, as soon as I add --with-snmp=..., I get the following at compile time: gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory make[3]: *** [snmp.la] Er

php-general Digest 24 Dec 2001 20:24:26 -0000 Issue 1071

2001-12-24 Thread php-general-digest-help
php-general Digest 24 Dec 2001 20:24:26 - Issue 1071 Topics (messages 78642 through 78682): Re: $GLOBALS array 78642 by: Philip MacIver Unveilled Metabase OOP direct to driver object API 78643 by: Manuel Lemos Re: Mommy, is it true that...? 78644 by: Jerry Verhoef

[PHP] faxing in PHP

2001-12-24 Thread LDL Enterprise
Hi, Is there a way to send to a fax machine like you would a email address in PHP. Thanks for any help you can give. :-)

[PHP] Re: PHP software tool

2001-12-24 Thread Yoep
I use this one too... its just 20$ or so though, and is a very great and convient editor. I do all my PHP coding in it. Yoep "Mike" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > TextPad is another good text editor for all types of programming languages. > Un

[PHP] [Fwd: Table Problem]

2001-12-24 Thread Phillip B. Bruce
"Phillip B. Bruce" wrote: > Hi, > >Look at the code below first: > > 2 > 3 include "include_fns.php"; > 4 include "header_news.php"; > 5 > 6 $conn = db_connect(); > 7 > 8 $pages_sql = "select * from pages order by code"; > 9 $pages_result = mysql_

[PHP] File Download

2001-12-24 Thread Gerard Samuel
Hey all. Im trying out a script that where I can download the contents of a database as a dump. On a large database, the end get truncated. ie, there were still maybe 6-7 more tables more till the end out of maybe 100 tables. The behaviour is erratic. It is not consistent with where the dump

RE: [PHP] Changing "From" Info in eMail! : SOLVED!!!

2001-12-24 Thread Thomas Edison Jr.
Hi Ben, Thanks for your reply. Actually i did find a solution, and it is like this : mail($to,$subject,$message,"From: [EMAIL PROTECTED]\nReply-To: [EMAIL PROTECTED]\nX-Mailer:PHP/" . phpversion()); The quotes could have been a problem so i did remove them. But the real thing were the Headers i

Re: [PHP] Changing "From" Info in eMail!

2001-12-24 Thread Jim Lucas [php]
what does the $from var look like? - Original Message - From: "Thomas Edison Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 24, 2001 10:35 AM Subject: [PHP] Changing "From" Info in eMail! > Hi, > > I'm using the mail() function to send email. However, > when th

[PHP] PHP4 and IB SS 6.01

2001-12-24 Thread Todd Cary
I am having a problem creating a version of PHP4 that has IB SS 6.01 included. The HowTo provided by RedHat does not have Interbase listed, so the closest I I come is there PostgreSQL. Currently, the IB SS rpm puts Interbase into /opt/interbase. Here are the instructions in the HowTo +++ 4.Cha

[PHP] Changing "From" Info in eMail!

2001-12-24 Thread Thomas Edison Jr.
Hi, I'm using the mail() function to send email. However, when the reciever recieves the email, my Servers name comes up in the "From" in his MailBox and also inside the email, even after defining the "From: " in the mail function. How do i change this From info?? This is what i'm using : mail($

[PHP] Just in case...

2001-12-24 Thread Philip MacIver
Just in case anyone happens to have this problem sometime in the future, after a lot of testing it seems that it is not necessary to have the line global $GLOBALS before you us the '$GLOBALS' array in a function, or a function in a class. You can just use it. In fact if you have the line g

Re: [PHP] Most secure way to send a password

2001-12-24 Thread Papp Gyozo
| | JavaScript doesn't implement any kind of one-way hashing. But that's for a | good reason: suppose JavaScript encoded your password and sent it encoded to | the server. The in-between hacker would retrieve the encoded password as it | is sent to the server and simply pass that as the pa

Re: [PHP] Re: Sessions

2001-12-24 Thread Philip MacIver
Thanks, that worked fined! On Mon, 24 Dec 2001 09:31:31 -0600 "Gaylen Fraley" <[EMAIL PROTECTED]> wrote: > By design. Try accessing $HTTP_SESSION_VARS instead. That should work. In > other words, if you were accessing a session variable by $session_var, now > use $HTTP_SESSION_VARS['session_v

Re: [PHP] PHP 4.10: any way to override register_globals = OFF

2001-12-24 Thread Zeev Suraski
Just FYI - if you use extract($_REQUEST), you're exposed to the very same danger that exists in register_globals. You're much better off using import_request_variables(), which allows you some control over what you put in the global scope. Zeev At 01:14 18/12/2001, Michael Jurgens wrote: >Hey

Re: [PHP] Reading semi formatted text file

2001-12-24 Thread Jim Lucas [php]
$delimiter = "\t"; $file = "path/to/file/name.ext"; if($file = fopen($file, "r")) { $file_array = file($file); foreach($file_array AS $str) { $new_array[] = explode($delimiter, $file_array); } } now when you are done you will have an indexed array called new_array that co

[PHP] Reading semi formatted text file

2001-12-24 Thread Chris Steitz
201 PNCPS FINANCIAL ACCT 10027 3 8.00- 8.50 MWFGSB 400 I have a text file with rows similar to that above. I need to read the data in the rows into an array. fscanf likes to split the line into elements by spaces and I get 201,PNCPS,FINANCIAL,ACCT etc... and I need results l

[PHP] Re: How to compile Apache/PHP

2001-12-24 Thread Robert Dyke
Hi Todd: There is an extremely good book for what you need. It's called "PHP: Fast and easy web development" by Julie C. Meloni (PrimaTech publishers). The first three chapters cover installation of MySQL, Apache Web Server, and PHP -- in that order, and with emphasis on configuring them to al

Re: [PHP] Looking for a function

2001-12-24 Thread Valentin V. Petruchek
Thanks. Exactly what i need Merry Christmas! - Original Message - From: "James Cox" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Monday, December 24, 2001 6:15 PM Subject: RE: [PHP] Looking for a function > www.php.net/urlencode > > Merry Christmas! > > J

Re: [PHP] Problem Configuring With MySQL

2001-12-24 Thread Jim Lucas [jimphp]
try mysql -u -p and when prompted, enter password Jim - Original Message - From: "Ben Ocean" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 24, 2001 7:56 AM Subject: [PHP] Problem Configuring With MySQL > Hi, > Now that I've successfully built PHP (thanks to Brian

RE: [PHP] Looking for a function

2001-12-24 Thread James Cox
www.php.net/urlencode Merry Christmas! James Cox > -Original Message- > From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 24, 2001 3:58 PM > To: PHP > Subject: [PHP] Looking for a function > > > Hello, cannot find function to convert all dangerous symbols

Re: [PHP] Looking for a function

2001-12-24 Thread Gianluca Baldo
VVP> Hello, cannot find function to convert all dangerous symbols (spaces,dots VVP> etc) into %20 variant. VVP> Is there any standard, or i have to develop my own? Look at urlencode(), it shoud be what you are lookingfor. Cheers, Gianluca -- ALBASOFTWARE C/ Mallorca 186 -

[PHP] Looking for a function

2001-12-24 Thread Valentin V. Petruchek
Hello, cannot find function to convert all dangerous symbols (spaces,dots etc) into %20 variant. Is there any standard, or i have to develop my own? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Problem Configuring With MySQL

2001-12-24 Thread Ben Ocean
Hi, Now that I've successfully built PHP (thanks to Brian Clark) I can no longer access mysql! I get the following: #mysql ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO) This has got to have something to do with the way I built PHP. How do I begin trouble-shooting it

[PHP] Re: arrays

2001-12-24 Thread Peter Clarke
The best thing for converting XML to HTML is XSLT (that's what it was made for). PHP can do the convertion using the XSLT functions (which require Sablotron): http://www.php.net/manual/ref.xslt.php Peter "Php Dood" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP] Re: Sessions

2001-12-24 Thread Gaylen Fraley
By design. Try accessing $HTTP_SESSION_VARS instead. That should work. In other words, if you were accessing a session variable by $session_var, now use $HTTP_SESSION_VARS['session_var']. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v2.6 Guest Book http://www.gayl

[PHP] PHP and permissions/ownership

2001-12-24 Thread Gaylen Fraley
I'll try to be both concise and precise with this. I have some PHP code like this: if (!rename($path_to_file,$path_to_file_BACKUP)) die("$unable_to_access_file_msg $path_to_file_BACKUP"); $buffersize = round(filesize($path_to_file_BACKUP)*1.5); $fp_in = fopen("$path_to_file_BACKUP","r") or di

[PHP] gd_installation

2001-12-24 Thread EMIN CALIKLI
Hi , I configured php 4.0.6 to run on IIS4.0 but I can 't load ph_gd.dll extension . I can use other extensions succesfully (like php_mssql.dll ,php_pdf.dll etc.) . Did anyone can help me about this subject? Sincerely. Emin ÇALIKLI E-mail : [EMAIL PROTECTED] ==

Re: [PHP] Fulltext-Search

2001-12-24 Thread Bogdan Stancescu
http://www.htdig.org/ Martin wrote: > Hello! Does anybody know a good script to search the own web-server?! > Would be nice if the script could display the whole sentence where the > word was found... > > Martin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [E

[PHP] Fulltext-Search

2001-12-24 Thread Martin
Hello! Does anybody know a good script to search the own web-server?! Would be nice if the script could display the whole sentence where the word was found... Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

RE: [PHP] Merry christmas!

2001-12-24 Thread Erik H. Mathy
Same to you (and everyone else)! (hey, at least it's a benign off-topic thread. ;] ) Have a lovely day tomorrow, - Erik > -Original Message- > From: Emile Bosch [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 23, 2001 4:49 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Merry christmas!

Re: [PHP] strange empty array behavior being at in_array()

2001-12-24 Thread Bogdan Stancescu
RTFM: http://www.php.net/manual/en/language.types.type-juggling.php Peter Vereshagin wrote: > Bogdan Stancescu wrote: > > > > Try in_array('pattern',array('')) and in_array(1,array(0)). The quirk you > > found is predictable, as we know how PHP behaves when converting strings to > > integer valu

Re: [PHP] How to compile Apache/PHP

2001-12-24 Thread Miles Thompson
At 07:22 PM 12/23/2001 -0500, Brian Clark wrote: >* Todd Cary ([EMAIL PROTECTED]) [Dec 23. 2001 10:42]: > > > I am quite new to the Linux environment and do not have experience with > > "make" files. The platform is RH Linux 7.2 with the included Apache and > > the PHP rpm, "php-devel-4.0.4pl1-9.

Re: [PHP] strange empty array behavior being at in_array()

2001-12-24 Thread Peter Vereshagin
Bogdan Stancescu wrote: > > Try in_array('pattern',array('')) and in_array(1,array(0)). The quirk you > found is predictable, as we know how PHP behaves when converting strings to > integer values... you mean PHP converts string pattern to integer before apply pattern? But what's the kind of te

[PHP] Authenitcation problem with IE on Win2k

2001-12-24 Thread Martin Schichl
Dear list, I run a site with php authentication wich works fine with my IE on Win98. The authentication is on page 1 and I can see page 2 and 3 also, because the browser remembers my login ... When I try to do this with the IE on Win2k I can authenitcate on page 1 but whe I switch to page 2 or 3

Re: [PHP] strange empty array behavior being at in_array()

2001-12-24 Thread Bogdan Stancescu
Try in_array('pattern',array('')) and in_array(1,array(0)). The quirk you found is predictable, as we know how PHP behaves when converting strings to integer values... And 'pattern' evaluates to 0 -- '55pattern' for example doesn't match -- but then again, what kinda word is that? :-) HTH Bogdan

RE: [PHP] How to parse an XML document

2001-12-24 Thread [EMAIL PROTECTED]
Hi again. Unfortunatelly, there is not any extra module installed on my remote server in order to parse XML docs. Does anybody know a way to parse them or must I try with Perl? Best regards. --- You wrote: http://www.php.net/manual/en/ref.xml.php HTH. James Cox > -

[PHP] Stopping $_REQUEST array to give warnings

2001-12-24 Thread Michael Jurgens
Hello, I'm currently trying to code the new PHP way, so register_globals=OFF, but if I try to do things like $test = $_REQUEST["test"]; and the variable test is unknown you receive a warning Warning: Undefined index: test in c:\webserver\test.php What is the new 'proper' way to import a variab

[PHP] Re: 4.0.6 Vs. 4.1.0 ?

2001-12-24 Thread LaserJetter
I found that 4.1.0 is not exactly backwards compatible r.e. the new more secure variables as I think you have to change one of the settings in php.ini to get it to work. I've had no real problems running it as a module under Apache 1.3.20 on Win98. "Robert Dyke" <[EMAIL PROTECTED]> wrote in mes

[PHP] strange empty array behavior being at in_array()

2001-12-24 Thread Peter Vereshagin
I wonder why something non-empty is considered to be an empty array element: === if ( in_array('pattern', array( 0 ) ) ) print "Got it"; === I got the true condition. However, after I populate the array with antries other than 0 and '' the condition fails. I think that would not be PHP erro

[PHP] Sessions

2001-12-24 Thread Philip MacIver
Since turning of register_globals in the php.ini file, sessions don't seem to be working any more, does anyone know why? == Philip MacIver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Mommy, is it true that...?

2001-12-24 Thread Jerry Verhoef (UGBI)
Ermmm are we forgetting the sprintf function? That is doing exactly what you are trying (and succedding) to accomplish if ($delete && $id) $sql=sprintf("delete from tbl where id = %d",$id); Personally I also use a small extra security if ($delete && $check==md5( . $delete)) $sql

[PHP] Unveilled Metabase OOP direct to driver object API

2001-12-24 Thread Manuel Lemos
Hello, If you are reading this and do not know what is Metabase, be aware that it is PHP database abstraction package for developing truely portable database independent functions. Metabase development will complete 3 years next week. This is a lot of time in the software development world. More