[PHP] Getting PHP to work under RedHat 7.2

2001-11-28 Thread Hai Nguyen
Hello everyone, I just installed RedHat 7.2 on my Intel system. I installed Apache and PHP 4.0.6. I followed some of the suggestions on www.php.net on the FAQ. I tried to test it with a helloworld.php that they suggested. Right now I am not getting any output at all. I looked a the source

Re: [PHP]

2001-11-28 Thread Berthold
php version >= 4 I think faeton wrote: > Does anyone know that is equal , eh? :) > Just wanted you to know :) > > > > Ivan 'Faeton aka xetrix' Danishevsky > ICQ(240266) [EMAIL PROTECTED] www.xemichat.com > > > -- Berthold -- PHP Genera

[PHP]

2001-11-28 Thread faeton
Does anyone know that is equal , eh? :) Just wanted you to know :) Ivan 'Faeton aka xetrix' Danishevsky ICQ(240266) [EMAIL PROTECTED] www.xemichat.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Installations of PHP and Apache Web Server for AIX Version 4.3

2001-11-28 Thread Charindra P
I take it from debug.log, these errors are : CONFIGURE: './configure' '--with-oci8=/ora817/u01/app/oracle8i/product/817' '- -with-apache=../apache_1.3.22' '--enable-track-vars' '--enable-sigchild' CC: cc CFLAGS: -g CPPFLAGS: CXX: CXXFLAGS: INCLUDES:-I/aplikasi/mengkudu/apache

RE: [PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread Jason Murray
> > > Actually, I looked into the possibility of doing that, but it turns > > > out the Excel 5.0+ file format is -very- complicated... Not just a > > > standard binary file... > > > > > > Check it out: > > > http://www.wotsit.org/search.asp?page=49&s=ALLFILES > > > > > > Way beyond my capabilitie

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread David Robley
On Thu, 29 Nov 2001 16:51, Jason Murray wrote: > > Actually, I looked into the possibility of doing that, but it turns > > out the Excel 5.0+ file format is -very- complicated... Not just a > > standard binary file... > > > > Check it out: > > http://www.wotsit.org/search.asp?page=49&s=ALLFILES >

RE: [PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread Jason Murray
> Actually, I looked into the possibility of doing that, but it turns out > the Excel 5.0+ file format is -very- complicated... Not just a standard > binary file... > > Check it out: > http://www.wotsit.org/search.asp?page=49&s=ALLFILES > > Way beyond my capabilities and patience. :) Eugh!

[PHP] DSO woes :(

2001-11-28 Thread Jon Niola
Hey folks, I am having some annoying problems with building PHP 4.0.6 as a DSO. In summary, Apache is not finding various library files that the libphp4.so wants... First I built Apache 1.3.22 w/ mod_ssl. That all went smooth. Built it in /usr/local/apache SSL_BASE=../openssl-0.9.6b \ RSA_BA

RE: [PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread Matthew Loff
Actually, I looked into the possibility of doing that, but it turns out the Excel 5.0+ file format is -very- complicated... Not just a standard binary file... Check it out: http://www.wotsit.org/search.asp?page=49&s=ALLFILES Way beyond my capabilities and patience. :) -Original Message--

RE: [PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread Jason Murray
> Can't be done easily with PHP right now... To get that type of > functionality, you'd need to write it in Perl using the > SpreadSheet::WriteExcel module. > > http://homepage.tinet.ie/~jmcnamara/perl/WriteExcel.html In that case, someone could probably work out how to do it based on the sourc

RE: [PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread Matthew Loff
Can't be done easily with PHP right now... To get that type of functionality, you'd need to write it in Perl using the SpreadSheet::WriteExcel module. http://homepage.tinet.ie/~jmcnamara/perl/WriteExcel.html -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesda

RE: [PHP] PHP 4.1 out?

2001-11-28 Thread Matthew Loff
http://snaps.php.net/ Again, the whole "not fully tested" issue comes to play... I'd avoid using these on a production server, obviously. :) -Original Message- From: Mike Eheler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 4:04 PM To: Zeev Suraski; [EMAIL PROTECTED]

[PHP] GREENWOOD $13.99 INTERNET and DSL AVAILABLE!

2001-11-28 Thread greenwood
Available to Greenwood: * HIGH-SPEED DSL INTERNET ACCESS! * $13.99 DIAL-UP INTERNET ACCESS! Call for details: (864) 229-2447 Thanks! www.SimplePC.com PS: We have a number of used computers in stock for the holidays, as well as inexpensive, Internet-ready systems IN-STOCK! (starting at $10

Re: [PHP] Installations of PHP and Apache Web Server for AIX Version 4.3

2001-11-28 Thread David Robley
On Thu, 29 Nov 2001 15:03, Charindra P wrote: > Could Anybody help me ? > I am facing the problem with installation of my PHP and Apache Web > Server running on AIX Version 4.3! and Oracle8i Enterprise Edition > Release 8.1.7.0.0. as Database Engine. > > When I installed them, founded any error.

[PHP] Installations of PHP and Apache Web Server for AIX Version 4.3

2001-11-28 Thread Charindra P
Could Anybody help me ? I am facing the problem with installation of my PHP and Apache Web Server running on AIX Version 4.3! and Oracle8i Enterprise Edition Release 8.1.7.0.0. as Database Engine. When I installed them, founded any error. I use the downloaded sources are apache_1.3.22-000964804

Re: [PHP] Re: Explanation

2001-11-28 Thread Gerard Samuel
Thank you for your explanation on this one guys. This is a real saver, got to start coding with this shorthand. Yes I found a reference in the manual but it was sparse. I found this explanation also, so keep this for the archives... http://www.faqts.com/knowledge_base/view.phtml/aid/5742/fid/38 T

[PHP] Re: Explanation

2001-11-28 Thread Fred
The manual is rather sparse about the ternary operator, you may find one sentence about it here: http://php.he.net/manual/en/language.operators.comparison.php Basically if the expression before the ? evaluates to true then the whole expression evaluates to the expression after the ?. If the expr

[PHP] Re: Confirm mysql support option with php install

2001-11-28 Thread Fred
The difference between the two options is that using --with-mysql without a path will use the mysql libraries which come with php. This is probably fine in most cases. Using --with-mysql=/path/to/mysql will compile in the native mysql libraries rather than the php versions. This is desirable i

[PHP] PDFLib - Builds & Installs, but doesn't show up in phpinfo()

2001-11-28 Thread Ben Holt
Hi all, I've been banging my head against the wall for a few days and have finally decided to consult the list. Here's what I'm trying to do and what is happening: Platform: Various version of RH Linux, primary 6.2 (on an i586), but when that failed (repeatedly) I started trying it on a 7.1

Re: [PHP] Confirm mysql support option with php install

2001-11-28 Thread Tyler Longren
Hi Joel, You could do the --with-mysql=/path/to/mysql. But you could also do --with-mysql. I usually just do --with-mysql and it all works prefectly. Good luck! Tyler Longren - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 7:24

Re: [PHP] Explanation

2001-11-28 Thread Hank Marquardt
ternary operator ... if/else shorthand; here's the long way to to do it: if(isset($string2)) { $string1 = $HTTP_GET_VARS['pid']; } else { $string1 = ""; } -or- $string1 = ""; if(isset($string2)) { $string1 = $HTTP_GET_VARS['pid']; } Hank On Wed

RE: [PHP] Explanation

2001-11-28 Thread Martin Towell
it's a ternary operator $string1 = (isset($string2)) ? $HTTP_GET_VARS['pid'] : ""; is the same as if (isset($string2)) $string1 = $HTTP_GET_VARS['pid']; else $string1 = ""; -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 12:28 PM

[PHP] Explanation

2001-11-28 Thread Gerard Samuel
Hi. Im looking over someone else's code and I come across something I dont understand and dont know where in the manual to look for it. Here is an example ==> $string1 = (isset($string2)) ? $HTTP_GET_VARS['pid'] : ""; I have no idea what the '?' in the line and the ':' at the end, so I have n

[PHP] Confirm mysql support option with php install

2001-11-28 Thread Joelmon2001
Hi, guys. Just want to confirm when I install all the other libraries like gd and freetype and what not, and I get the php file installed and I am about to run ./configure since mysql currently runs with asp beautifully my option would be --with mysql and PATH to mysql not *just* -- with mysql

[PHP] Re: Recommended book on PHP & e-commerce

2001-11-28 Thread Fred
PHP and MySQL Web Development by Luke Welling and Laura Thomson may be what you are looking for if you are going to use mysql as the database. There are introductory chapters for mysql and php. The book then moves on to more advanced topics related to using php with mysql. It also includes a de

[PHP] Recommended book on PHP & e-commerce

2001-11-28 Thread Martin Wright
Can someome recommend such a book to a relative newcomer. I'm looking for something on writing carts and the processing that goes thereafter. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Re: MySQL to Excel with mutiple sheets

2001-11-28 Thread Fred
What type of Excel file are you using? I'm assuming that you are using tab or comma delimited files. These text or CSV files do not support multiple sheets, and in fact do not support cell formatting or any of a number of excel functions. Only native Excel files (*.xls) support mutliple sheets.

RE: Re[2]: [PHP] Help - html mail

2001-11-28 Thread Brian V Bonini
Ok so, $message = stripslashes($message_html); mail($to, $subject, $message, $headers); ??? -brian > -Original Message- > From: faeton [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 28, 2001 5:39 PM > To: Hank Marquardt > Cc: Brian V Bonini; PHP Lists > Subject: Re[2]: [PHP] H

[PHP] WHat has happened to parse_str in the Docs????

2001-11-28 Thread Brian White
I have had a good hunt around the www.php.net site and I can find no reference to the "parse_str" function in the docs, except as what looks like cached results in old searches. Anyway - the reason I ask is I was wondering if there was a function that did what parse_str did, except that it put th

[PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread Brian Lee
I have a script that searches a MySQL DB and produces an Excel file from each table in the search. EX. You search 4 different tables for the “Seattle” you would come up with 4 different Excel files. Now I was wondering if it was possible to take the 4 different Excel files I just created and

[PHP] Re: include or fread a binary file?

2001-11-28 Thread Fred
Simply echo whatever html you would normally use to embed the animation in an iframe. Fred Bryant Brabson <[EMAIL PROTECTED]> wrote in message 001201c1785f$dd959ac0$648e90d1@bryant">news:001201c1785f$dd959ac0$648e90d1@bryant... I have a flash file that I need to embed in an iframe on a page. I d

Re: [PHP] include or fread a binary file?

2001-11-28 Thread faeton
Hello Bryant, Thursday, November 29, 2001, 12:56:07 AM, you've written: BB> I have a flash file that I need to embed in an iframe on a page. I BB> dynamically get the path to the file from a MySQL database. I've BB> tried to include the file and use fopen/fread to execute the BB> file, but I only

Re: [PHP] RE: Php connection with mysql?

2001-11-28 Thread Erik Price
On Wednesday, November 28, 2001, at 05:40 PM, Fred wrote: > >> The browser has no direct connection to MySQL, so you are correct -- >> "those privilege tables are not helping to check on the privileges if >> the client is from browser". >> > > I find this a bit misleading. Yes, I did too -- bu

RE: [PHP] include or fread a binary file?

2001-11-28 Thread Martin Towell
you might need to set the content-type... -Original Message- From: Bryant Brabson [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 9:56 AM To: [EMAIL PROTECTED] Subject: [PHP] include or fread a binary file? I have a flash file that I need to embed in an iframe on a page. I

[PHP] FREE Non Surgical Face Lift in A Bottle

2001-11-28 Thread creatingwealth_
Removal Instructions are at the end of this letter. Thank you. FREE Non-Surgical "Face Lift in a Bottle!" You Can Look 5-10 Years Younger with One 30 Minute Application in the Comfort of Your Own Home! AND YOU CAN... Become Rich through Giving Away Free Samples of Our Life Enhancing Non-Surg

[PHP] include or fread a binary file?

2001-11-28 Thread Bryant Brabson
I have a flash file that I need to embed in an iframe on a page. I dynamically get the path to the file from a MySQL database. I've tried to include the file and use fopen/fread to execute the file, but I only get binary code back, which makes sense actually. What's the best way to go about thi

[PHP] thanks

2001-11-28 Thread Yoed Anis
thanks guys it would have taken me forever to discover your tips. "Yoed Anis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey Guys, > > I'm having a trouble I can't seem to solve and hoped maybe one of you might > take a look and see if you can help me. >

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Zeev Suraski
Well, the big difference is that people who try out stuff like that are usually aware of the fact that they may very well be downloading something bogus. However, when you paste a URL that is typically a click away from a download with today's mailers, it goes to a much broader and unsuspectin

Re[2]: [PHP] Help - html mail

2001-11-28 Thread faeton
Hello Hank, Wednesday, November 28, 2001, 11:11:38 PM, you've written: HM> http://www.php.net/stripslashes HM> ... in short they are there to ease db insertions. Turn off magic quotes or use stripslashes(). :) Ivan 'Faeton aka xetrix' Danishevsk

Re: [PHP] RE: Php connection with mysql?

2001-11-28 Thread Fred
> The browser has no direct connection to MySQL, so you are correct -- > "those privilege tables are not helping to check on the privileges if > the client is from browser". > I find this a bit misleading. The privilege tables still work exactly as they are intended. That is, they check for a v

RE: [PHP] Re: How can you determine if you on the last result?

2001-11-28 Thread Martin Towell
I believe there's no row count function for oci, so could you change the logic to: while(OCIFetchInto ($curs, $data)) { // normal code here } if($isLastRecord) // do something ?? Martin -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 2

[PHP] Re: How can you determine if you on the last result?

2001-11-28 Thread Philip Hallstrom
You could use whatever OCI function returns the number of rows returned and then keep a counter or you could do it this way: while(OCIFetchInto ($curs, $data)) { # do normal stuff for *ALL* rows } # do some stuff with $data which now contains the last row. -philip On Wed, 28 Nov 2001,

Re: [PHP] Help - html mail

2001-11-28 Thread Hank Marquardt
http://www.php.net/stripslashes ... in short they are there to ease db insertions. On Wed, Nov 28, 2001 at 05:23:02PM -0500, Brian V Bonini wrote: > I'm passing an html email from a form > like this: > > $message = $message_html; > > where message_html is the text area name. > > mail($to, $su

[PHP] Help - html mail

2001-11-28 Thread Brian V Bonini
I'm passing an html email from a form like this: $message = $message_html; where message_html is the text area name. mail($to, $subject, $message, $headers); I end up with, for example: http://www.gfx-design.com/vantico/spacer.gif\"; width=1\" height=10\" alt=\" border=0\"> it's trying t

[PHP] FREE Non Surgical Face Lift in A Bottle

2001-11-28 Thread creatingwealth_
Removal Instructions are at the end of this letter. Thank you. FREE Non-Surgical "Face Lift in a Bottle!" You Can Look 5-10 Years Younger with One 30 Minute Application in the Comfort of Your Own Home! AND YOU CAN... Become Rich through Giving Away Free Samples of Our Life Enhancing Non-Surg

[PHP] How can you determine if you on the last result?

2001-11-28 Thread J. Anderson Scarbrough
If I execute a query and fill a resultset, how can i tell if I am on the last result in the set? I want to something like: while(OCIFetchInto ($curs, $data)) { if($isLastRecord) // do something } Thanks. Anderson _ Get your

Re: [PHP] RE: Php connection with mysql?

2001-11-28 Thread Erik Price
Basically, you don't "log on to mysql" through the internet browser. You are using the internet browser only to request a file that is on a web server. The web server is handing the request to PHP, and PHP is accessing the MySQL database. PHP is accessing MySQL as whatever host and user has

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Patrik Wallstrom
On Wed, 28 Nov 2001, Kurt Lieber wrote: > > I'll hold off, but people will still try stuff like that. I'm not trying > > to tell ya what to do, but I've found it best never to put files with > > release-names in their primary download spots, regardless of how hidden > > they may seem, until your

[PHP] send fax with PHP?

2001-11-28 Thread Raymond Lilleodegard
Hi! I have tried to find some functions to send fax with, but without any luck. Does anyone know how i could do this? Best regards Raymond Lilleodegard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP] RE: Php connection with mysql?

2001-11-28 Thread Wee Chua
I understand what you are saying. Let's go further for the different tables privilege, if I have Select privilege on table A, and Delete privilege on table B of Database mydatabase, how can the built-in privilege tables to check on this problem since the mysql_connect doesn't include the client ho

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Kurt Lieber
On Wednesday 28 November 2001 01:03 pm, Mike Eheler wrote: > I'll hold off, but people will still try stuff like that. I'm not trying > to tell ya what to do, but I've found it best never to put files with > release-names in their primary download spots, regardless of how hidden > they may seem,

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Mike Eheler
Interesting. I'll hold off, but people will still try stuff like that. I'm not trying to tell ya what to do, but I've found it best never to put files with release-names in their primary download spots, regardless of how hidden they may seem, until your absolutely positive that will be the rel

[PHP] ocilogon()

2001-11-28 Thread William Sanchez Sanchez
I got this error: Fatal error: Call to undefined function: ocilogon() in C:\Inetpub\wwwroot\online\classes\class.Telefono.php on line 19 Why it could be? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

[PHP] Problem Solved

2001-11-28 Thread Ryan Stephens
I figured i would post my solution to the problem that i found somewhere. It had nothing to do with anything i was doing. Its a bug in some versions of PHP. here is the function i had to use to fix this function fix_php_upload_bug($tmp){ $infile=fopen($tmp,"r"); // Open the file for the copy $

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Zeev Suraski
There were some last minute issues that required further testing... Zeev At 20:53 28/11/2001, Julio Nobrega Trabalhando wrote: > Mind if I ask why? I do have a few ideas, but I feel I am terribly wrong >about them :-) > >-- > >Julio Nobrega > >No matter where you go, &this. > >"Zeev Suraski" <

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Julio Nobrega Trabalhando
Mind if I ask why? I do have a few ideas, but I feel I am terribly wrong about them :-) -- Julio Nobrega No matter where you go, &this. "Zeev Suraski" <[EMAIL PROTECTED]> wrote in message 5.1.0.14.2.20011128204245.01e71090@localhost">news:5.1.0.14.2.20011128204245.01e71090@localhost... > And

[PHP] Re: Testing MySQL 4.0 ; detaching queries

2001-11-28 Thread Julio Nobrega Trabalhando
Save the queries on different files, one for each query. Then make a script that will read all these files and execute the queries, maybe run it as a cron job, and delete the succesful ones . With several files will be easier to spot an error if occur, just open it and see the query. Okay, it

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Zeev Suraski
And for a good reason. Please don't publish such URLs in the future... Zeev At 18:56 28/11/2001, Mike Eheler wrote: >Try it: > >http://www.php.net/distributions/php-4.1.0.tar.gz > >No word on the website, though. > >Mike > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e

[PHP] IMPORTANT FOR YOU

2001-11-28 Thread Zeynab
Under Bill 1618 TITLE III passed by the 105th U.S. Congress, This letter cannot be considered Spam as long as we include: Contact information & a Remove Link. If not interested in the services offered, To be removed from future mailings just reply with 'REMOVE' in the subject line. Your requ

[PHP] Problems outputting HTML through PHP

2001-11-28 Thread Steven Marsh
Hello everyone, I have an array that holds some HTML code in each item, I shuffle this array and then output item[0] so that it is a random item chosen each page view. But, when it's outputted, it is commented out! The code I have isn't commented so I don't know why this is happening. It seems PH

Re: [PHP] storing dates > 2038

2001-11-28 Thread faeton
Maybe You should try multiplying two date values? :) JL> I hope this is the right place to ask this. JL> How can you use mktime() to store a date in integer format that is > 2040? JL> We are archiving material, some of which is "closed" for a set period if JL> time (e.g. 40 years, 50 years, etc.)

[PHP] storing dates > 2038

2001-11-28 Thread Justin Long
(Sorry, may be a duplicate posting...) I hope this is the right place to ask this. How can you use mktime() to store a date in integer format that is > 2040? We are archiving material, some of which is "closed" for a set period if time (e.g. 40 years, 50 years, etc.) -- Never retreat. Never sur

[PHP] storing dates > 2038

2001-11-28 Thread Justin Long
I hope this is the right place to ask this. How can you use mktime() to store a date in integer format that is > 2040? We are archiving material, some of which is "closed" for a set period if time (e.g. 40 years, 50 years, etc.) -- Never retreat. Never surrender. Never cut a deal with a dragon.

[PHP] _pconnect in multi-host environment

2001-11-28 Thread Richard Lynch
So, I was thinking about _pconnect and friends last night in a multi-host ISP-type environment. Assume there are 100 Apache children, and that each of 20 clients with db access has a different MySQL username/password for login. Does that mean that under worst-case analysis, there should be 20

[PHP] Re: fsockopen() prob

2001-11-28 Thread Fred
Global variables are not really global in php because they are not available from within functions unless you specifically declare them as global. This should work: 130 function get_line { 131 global $socket_open; 132 $buffer = fgets($socket_open,500); 133 $buffer = eregi_replace("(\r|\n

[PHP] Re: fatal error

2001-11-28 Thread Fred
This error indicates that the code declaring the function is in the code more than one time. You can only have the function declaration once. If you are including the funciones.php in another script, make sure that it is only included once. If it is included more than once it will give you this

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Derick Rethans
Hello, Another thing, php 4.1.0 is NOT 4.1.0 RC3 Derick Rethans The PHP QA Team Mike Eheler <[EMAIL PROTECTED]> scrawled: > Try it: > > http://www.php.net/distributions/php-4.1.0.tar.gz > > No word on the website, though. > > Mike -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] fsockopen() prob

2001-11-28 Thread Yura
I have a global variable $socket_open = fsockopen($pop_server, 110, $errno, $errstr, 60 ); then I define the function: 130 function get_line { 131 $buffer = fgets($socket_open,500); 132 $buffer = eregi_replace("(\r|\n)","",$buffer); 133 return $buffer; 134 } Here I've got the prob -

[PHP] How to use the Object returned from COM?

2001-11-28 Thread Flower Rose
Hi guys. I can't find an answer at PHP-WIN maillist. So I forward the email here. Wish someone will help me. Thanks a lot. == Thank you for your suggestion. But it doesn't work. The line $VusersArray = $Vusers->Next($Vusers->{'Count'}); doesn't

[PHP] fatal error

2001-11-28 Thread William Sanchez Sanchez
I got that, Why it could be? Fatal error: Cannot redeclare reporte_llamada() in c:\Inetpub\wwwroot\online\includes\funciones.php on line 4 and the code for reporte_llamada()in ...\funciones.phpis : function reporte_llamada ($telefono,&$folio,$fecha_ini,$fecha_fin, $tipo) {

Re: Fw: [PHP] PHP 4.1 out?

2001-11-28 Thread Derick Rethans
Hello Mike, PHP 4.1.0 is NOT out yet. You pointed a lot of people to a build that may _not_ be bug free. The release is NOT out of QA yet. The release is only official if it is announced on the website. Derick Rethans The PHP QA Team On Wed, 28 Nov 2001, Richard Heyes wrote: > Mike Eheler <[EM

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Mike Eheler
Ahh I see. Thanks! :) Mike Andrey wrote: >Already known. 4.1.0 is 4.1.0RC3 . >Final tests are in progress. > >Regards, >Andrey Hristov >- Original Message - >From: "Mike Eheler" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, November 28, 2001 7:56 PM >Subject: [PHP] PH

Re: [PHP] HELP: Writing Files securely from apache php module

2001-11-28 Thread Mike Eheler
This is something I have been battling with for ages. I finally decided on just setting up a system that saves the files to a world-writeable temp directory, then uploads them via FTP. If anyone has a better solution, I would *love* to hear it. Mike Michael Blower wrote: > Can some one expla

[PHP] ZIp files? Help needed...

2001-11-28 Thread Emiliano Marmonti
Hi people, I´m looking for alternatives in using zip files. Our users should upload into our server zipped files and we need to unzip this files and process it. I have read there is a library that could be used like an extension, but I´ve tried to use it from NT and don´t seems like the ex

Re: [PHP] Problems in IIS

2001-11-28 Thread Ali Pakkan
Hello, I think the following document will solve your problem : http://www.php.net/manual/en/function.session-save-path.php If you don't wanna read just try: session_save_path("C:\\Winnt\\Temp"); Ali Pakkan E-Mail: [EMAIL PROTECTED] Gsm: +90542 3268742 On Wed, 28 Nov 2001, William

[PHP] HELP: Writing Files securely from apache php module

2001-11-28 Thread Michael Blower
Can some one explain how to write file php in the apache module version of php ? I don't want to make the directories world writable, or writable by web clients. How is this accomplished. Sorry if the is a really newbie question. Michael Blower [EMAIL PROTECTED] [EMAIL PROTECTED] 707 468 125

[PHP] PHP 4.1 out?

2001-11-28 Thread Mike Eheler
Try it: http://www.php.net/distributions/php-4.1.0.tar.gz No word on the website, though. Mike -- 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 PRO

[PHP] Problems in IIS

2001-11-28 Thread William Sanchez Sanchez
I got a web site with php pages, I was working in Apache. Now I have installed IIS and Windows2000 and I want to run my web site in this platform. I have installed php like cgi and it works ok. But I got some errors accessing some php pages i.e. session_start() function. Is there a differen

Re: [PHP] Very interesting and challenging question

2001-11-28 Thread Chris Hobbs
A fellow wannabe Winston Cup driver :) I'm thinking about setting a switch on $mode, which will change what it does based on the value of $mode. Something like this: $mode = 1; // 1 for stripping text, 2 for adding driver results, 3 for adding race results $file = file('/path/to/filename'); f

Re: [PHP] Debugging Techniques for PHP4

2001-11-28 Thread Andrey Hristov
The APD(apd.communityconnect.com) extensions. DBG extension( http://dd.cron.ru/dbg/) Enjoy Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: "Dr. Ian McDonald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 28,

[PHP] Debugging Techniques for PHP4

2001-11-28 Thread Dr. Ian McDonald
Are there any debugging techniques for PHP4 *other* than adding lines to print where you are and variable values, et cetera? PHP3 used to send debugging information to a port, for example. (I have looked, expecting this to be a FAQ, but couldn't find the answer anywhere.) -- Dr. Ian McDonald We

RE: [PHP] Very interesting and challenging question

2001-11-28 Thread Chris Bailey
You could read the file in with file(), which will give you each line as an array. Then, depending on how those strings are separated (are they by tabs, or is it just whitespace?), use strtok() to tokenize each line. If they are by space, not tab, but you know the column width, then you can just

Re: [PHP] Very interesting and challenging question

2001-11-28 Thread Conor McTernan
I had something like this to do a couple of months back, unfortunately, my code was deleted by someone "smart" in my office. But i can pretty much remember the algorithim behind it. What I done was read in my file into a buffer, then use the explode function, i think, or something like it, bas

[PHP] Very interesting and challenging question

2001-11-28 Thread Dan McCullough
I need to take a file, similar to this and strip it of everything but this, and write it to a database. Are there any thoughts on how to get the information out, all the files are consistent. Race Final Watkins Glen International 2.450 miles31 laps --

[PHP] Re: Forms lose data when going "back" in browser

2001-11-28 Thread Julio Nobrega Trabalhando
Register the submited vars values on a session and echo them inside the value="" part (or similar behavior, selected, checked, etc...) of your form fields. -- Julio Nobrega No matter where you go, &this. "Zavier Sheran" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROT

[PHP] Forms lose data when going "back" in browser

2001-11-28 Thread Zavier Sheran
I have a submission form distributed over 5 pages. When the user hits the "back" button in the browser on one of the pages to make changes on a previous page, all fields are emptied. This is only when I have a session running. When I use the same pages without the session, the data stays in the fo

Re: [PHP] ASP and PHP

2001-11-28 Thread Luis Espinosa
Sorry for the duplicate post. I didn't know that. I'll search for other similar posts. Thank you "Py" <[EMAIL PROTECTED]> wrote in message 035e01c17825$ac820610$0100a8c0@py">news:035e01c17825$ac820610$0100a8c0@py... > Hello, > Please make searchs in the archives of this newsgroup as this was di

Re: [PHP] ASP and PHP

2001-11-28 Thread py
Hello, Please make searchs in the archives of this newsgroup as this was discussed many many times before. The bottom line is always that both language are valuable and will do the job. But PHP will do the job on both MS and Linux, Unix, *BSD... That in itself is the biggest Yippers for PHP ;) py

[PHP] Cincinatti Developers?

2001-11-28 Thread Erik H. Mathy
Hey All! I might have a prospective client for someone local to the Cinci area. Being up in Wisconsin I'm just not really able to fully help him out. There will be some onsite work, so I'm out. Here's what he's looking for: Skills: NT Server setup Xitami PHP4 MySQL Experience with a web

Re: [PHP] LDAP server side sorting

2001-11-28 Thread Stig Venaas
On Wed, Nov 28, 2001 at 05:26:22PM +0200, Christos Sintoris wrote: > > Server side sorting is useful when network traffic costs more than > processing time. Yes, there are some exceptions. > The server side sorting control in conjunction with the virtual list > view control returns only a subs

[PHP] ASP and PHP

2001-11-28 Thread Luis Espinosa
Hi! I have been using ASP for some time, and now I am beginning with PHP. I would like to know which are the main differences between both languages. I'd appreciate if you can give the advantages and disadvantages of both languages. Thanks Luis Espinosa -- PHP General Mailing List (http://w

[PHP] Re: LDAP enabled

2001-11-28 Thread Chris Seymour
Answered my own question. Thanks anyway. -- 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] script timeouts

2001-11-28 Thread Jon Farmer
OK I have a problem with a script that is occasionally timing out. Of course I could just increase the timeout but that is not the answer completly. The script connects to a server through sockets. The server then connects to another server to do a credit card authorisation. The server then return

[PHP] LDAP enabled

2001-11-28 Thread Chris Seymour
Hi All, Is there anyplace I can get a win32 PHP binary with LDAP enabled? If not, can I create one myself? Any info would be greatly appreciated. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] LDAP server side sorting

2001-11-28 Thread Christos Sintoris
Server side sorting is useful when network traffic costs more than processing time. The server side sorting control in conjunction with the virtual list view control returns only a subset of entries to the client. In the PHP Manual is stated that is possible to set ldap controls using the lda

[PHP] PDF generation post vs get

2001-11-28 Thread Dominic Schanen
Hello, I'm trying to generate address labels on a pdf sheet. If I use a method of 'GET' for my form, it works fine. However, if I use 'POST', I just get what seems like a blank white pdf. It does the same in either Netscape 4.7 or IE 6. Any ideas? PHP v. 4.0.6 PDFLib 4.0.1 Thanks. -- Dominic

RE: [PHP] Printing Reports

2001-11-28 Thread Grimes, Dean
-Original Message- From: John Monfort [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 5:03 PM To: Grimes, Dean Cc: 'Dan Koken'; '[EMAIL PROTECTED]' Subject: RE: [PHP] Printing Reports >Have you been able to bypass the dialog box? That is, send the file >directly to the print

Re: [PHP] Session script hangs page on Windows

2001-11-28 Thread MM
> At 05:17 PM 11/27/01 -0500, MM wrote > > >I am a newbie running 4.06 on PWS in Win 98. Any sample script about > >sessions I can find just hangs in Personal Web Server. Session id gets > >created in data file but nothing happens on the page. > > > >Has anyone come across this? Have searched on G

[PHP] Re:

2001-11-28 Thread mcaldwell
Warning Unable to process data: multipart/related; type="multipart/alternative"; boundary="_ABC1234567890DEF_"

Re: [PHP] Directory Contents Listing

2001-11-28 Thread Andrey Hristov
Here is my PHPCommander <1000bytes '; echo ""; if ($dir = @opendir($HTTP_POST_VARS['dir'].'/')) { while($file = readdir($dir)) { if (is_file($HTTP_POST_VARS['dir']."/$file")){ $fsize=filesize($HTTP_POST_VARS['dir']."/$file"); }else{ $fsize=0; } printf("%120s,%10d\n","$f

  1   2   >