[PHP] SESSIONS: What does this error mean

2001-05-09 Thread Davor Pleskina
Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition cl_korisnik_data of the object you are trying to operate on was loaded _before_ the session was started in user_info.php on line 72 I declared class like followi

[PHP] SESSIONS: Why does PHP not erase session files in /TMP

2001-05-09 Thread Davor Pleskina
I have /TMP configured as tmp dir for session files. However, each time I try my program there is a new file; not one is being removed, either. How to tell PHP to remove session files when they are not needed any more? TIA, Davor -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Compiling PHP 4.0.5 on Tru64

2001-05-09 Thread Daniel Solin
Hi all! I'm having problems compiling PHP 4.0.5 on Tru64, and was hoping that someone could help me. Here's the info: OS: OSF1 bob V5.0 1094 alpha COMPILER: gcc version 2.9-gnupro-99r1 COMPILER: Compaq C V6.1-020 on Compaq Tru64 UNIX V5.0A (Rev.1094) MAKE: GNU M

[PHP] Require SAMPLE Script for Macromedia Generator2 Flash using PHP ?

2001-05-09 Thread Manisha
Hi, This is a question regarding Macromedia Generator 2 using PHP 4. I have created a PNG and using a URL method to call .php file. In documentation they are saying ' You can call any file but content that returns must be in a text file and in proper format' What do you mean by that ? Is thi

[PHP] Something like, but not Webexplorer

2001-05-09 Thread Chris Aitken
Hi guys, Just a quick question. Has anyone found an alternative to the Webexplorer system that works well ? Im just looking to have a system which will allow me to control files from within a directory, and all subsequent subdirectories. There are issues and bugs ive come across with webexplo

[PHP] PHP + IRIX + Netscape Enterprise

2001-05-09 Thread John Monfort
I'm looking for a good reference to installing PHP 4 on a IRIX+NS Enterprise system. Please help. Thanks in advance. -John -- 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

[PHP] OT States and Postcodes

2001-05-09 Thread Joseph Blythe
Hey all, I have a signup form that a drop down list of country states, what I want to be able to do is when a user clicks his/her state the page will refresh and fill the below postcodes in with the approprite codes for the particular state, once a user has selected a postcode the page will r

[PHP] PassThru()

2001-05-09 Thread Michael Roark
how does one pass arguements to PassThru() ie would the following work PassThru(/home/bleh/bleh.cgi < bleh.txt); and if that does work PassThru() sends its output back to the page yes?

RE: [PHP] Strange

2001-05-09 Thread Tyler Longren
if ($userid && $password) { $res = pg_exec($db, "SELECT userid FROM users WHERE userid='$userid' AND password='$password'"); $x = pg_numrows($res); if ($x==1) { $verified_user = $userid; session_register ("$ver

Re: [PHP] PC MAG article - what a crap!

2001-05-09 Thread Frederick L. Steinkopf
What's truly amazing is that they apparently are unaware of the Nusphere distro. Even a total dolt can install apache, mysql, perl, and php on a windows box in minutes. I've done it on three (98 and NT) so far and it is as simple as put the CD in the machine, fire it up, click on a couple of box

[PHP] problem with my sessions

2001-05-09 Thread Tyler Longren
In rightcolumn.inc, I have a form to let users log in to the site. In config.inc I have session code, and site wide variables (such as $mysql_host, and $mysql_user). Here's the relavent part of rightcolumn.inc: print "     Login Username: Password: "; if (($login_error) && ($login == "yes"))

[PHP] Strange

2001-05-09 Thread paket
Hello. This is a script fragment that I am working on. It's purpose is to validate a user by checking a database to see if the userid and password match what has been supplied. Here it is: if ($userid && $password) { $res = pg_exec($db, "SELECT userid FROM users WHERE use

RE: [PHP] PC MAG article - what a crap!

2001-05-09 Thread Maxim Maletsky
http://www.zdnet.com/pcmag/stories/reviews/0,6755,2711724,00.html ...this is a total crap. I could not stop going from hysteric laughs to schizophrenetic smiles reading this... Really, the technology is not the same and finds it's best users in appropriate fields. Apparently these edito

Re: [PHP] Old PHP.net website..

2001-05-09 Thread Nathan Handler
What is the file name that contains the pop-up info boxes? Best Regards, Nathan Handler - Original Message - From: <[EMAIL PROTECTED]> To: "Nathan Handler" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 6:07 PM Subject: Re: [PHP] Old PHP.net website.. > On Wed,

Re: [PHP] if $index=1 how can I create a variable named $column_1 by appending $index behind $columnname

2001-05-09 Thread Paul Kozlenko
Strike that...I didn't read the question properly Paul Kozlenko "Paul Kozlenko" <[EMAIL PROTECTED]> wrote in message 9dd14a$gka$[EMAIL PROTECTED]">news:9dd14a$gka$[EMAIL PROTECTED]... > How about; > > list($column1, $column2, $column3) = array("wheat2", "rye2", > "pumpernickel2"); > > Not totaly

Re: [PHP] if $index=1 how can I create a variable named $column_1 by appending $index behind $columnname

2001-05-09 Thread Paul Kozlenko
How about; list($column1, $column2, $column3) = array("wheat2", "rye2", "pumpernickel2"); Not totaly flexible as below. But it satisfies the question. Needs php4. Paul Kozlenko "Jay Lepore" <[EMAIL PROTECTED]> wrote in message 9dcp7h$tjr$[EMAIL PROTECTED]">news:9dcp7h$tjr$[EMAIL PROTECTED]...

Re: [PHP] PC MAG article

2001-05-09 Thread S.J. Black
Hallo, Philip & All - > for informational purposes, it can be seen here : > > http://www.zdnet.com/pcmag/stories/reviews/0,6755,2713481,00.html How terribly sad. They could've made better use of that tripe by stuffing it with oats and serving it next Robbie Burns' Day. Alpha -- PHP Genera

Re: [PHP] PHP Mysql query data conversion newbie

2001-05-09 Thread bill
On Sat, 28 Apr 2001, Andras Kende wrote: > Hello, > > I pull some data from mysql with the php code below. > On the date field if there is no date on mysql it displays : -00-00 > 00:00:00 > > I would like to change this -00-00 00:00:00 to "no date" for example.. hmm... mysql can do this,

RE: [PHP] ASP 2 PHP

2001-05-09 Thread Maxim Maletsky
I wouldn't really rely on ASP2PHP for any serious things, but if you care only that the script works and have some extra time fixing the bugs then go ahead. When I was in a similar from you situation (rewriting an entire 1.5MB ASP/MSSQL website into PHP/PostgreSQL) I looked into ASP2PHP, asked he

Re: [PHP] cobalt raq4

2001-05-09 Thread Steve Werby
"Herman Tolentino" <[EMAIL PROTECTED]> wrote: > anybody out there who has successfully compiled php (apache module) with > PDFLib 4? Much help would be appreciated. Been trying for 1 week. I haven't tried PDF 4, but I installed PDF 3.03 and compiled PHP with PDF support on a RaQ2 recently. I not

Re: [PHP] PC MAG article

2001-05-09 Thread Matthew Schroebel
I think MS is worried. They send me the mag ever month for free, and I throw it away. I never understood how sending the mag for free to people that didn't want it made anyone a living. Now that I know MS owns them, I see that making money isn't the issue, they just want the spin. -- PHP Gener

RE: [PHP] if $index=1 how can I create a variable named $column_1 by appending $index behind $columnname

2001-05-09 Thread Sean R. Bright
Woops, you can even do this: $toast = array("wheat", "rye", "pumpernickel"); $numbreads = count($toast); for ($index = 0; $index < $numbreads; $index++) { ${"column" . $index} = $toasts[$index]; } (A little less code and one less variable required.) Sean > -Original Message- >

RE: [PHP] if $index=1 how can I create a variable named $column_1 by appending $index behind $columnname

2001-05-09 Thread Sean R. Bright
$toast = array("wheat", "rye", "pumpernickel"); $numbreads = count($toast); for ($index = 0; $index < $numbreads; $index++) { $temp = "column$index"; $$temp = $toasts[$index] } You will now have variables called column1, column2, and column3. Sean > -Original Message- >

Re: [PHP] OT question..

2001-05-09 Thread MaD dUCK
also sprach Christian Reiniger (on Wed, 09 May 2001 06:44:17AM +0200): > Again sorry to the people offended, but I still have the opinion that the > quote has by and large positive effects. I've now included a note into > the sig to clear out the misunderstandings that could easily happen. > >

Re: [PHP] PC MAG article

2001-05-09 Thread Mark Maggelet
On Wed, 9 May 2001 20:19:34 -0400, Mike ([EMAIL PROTECTED]) wrote: >As a devoted php programmer I was surprised how bad PC MAG blasted >php this >month.It sound as if it doesnt scale very well(Ive never had more >than a few >people on my site at once).Any comments??? seeing as how zdnet is owned

[PHP] OT--Adding Commands to SGI IRIX 6.5

2001-05-09 Thread John Monfort
Hello everyone, This is is a little off topic. I was configuring MySQL on IRIX, when I realize that the system does not have the commands to add users. GROUPADD and USERADD So, I was wondering if someone could help me with the following: The installation guides ask me to run

[PHP] if $index=1 how can I create a variable named $column_1 by appending $index behind $columnname

2001-05-09 Thread Jay Lepore
I would like to loop through an array and create variable names such as column1, column2, column3 etc. where the number at the end comes from the value of index. For instance: 1) $toast=array("wheat", "rye", "pumpernickel"); 2) $numbreads=count($toast); 3) for($index=0;$index<$numbreads;$ind

RE: [PHP] PC MAG article

2001-05-09 Thread Tyrone Mills
If you can stand to read the whole article (I barely could), BEA declined to participate. The article is nothing but worthless tripe, BEA is probably better off for having been mentioned only in passing. -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Ma

Re: [PHP] PC MAG article

2001-05-09 Thread Mark Charette
Considering Websphere/EJB was mentioned ... Where's the BEA Weblogics review -- 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] PC MAG article

2001-05-09 Thread Opec Kemp \( Ozemail \)
Lol :) Obviously they didn't even look at the ODBC functions part of PHP :) Besides I don't know what they're bitching about DB abstraction layer anyway. I mean Oracle SQL and MS SQL and MYSQL and Interbase SQL is not exatcly compatible :) So even if you use the DB Abstraction layer to connect to

Re: [PHP] PC MAG article

2001-05-09 Thread Nathan Cook
Did you notice how they mentioned nothing to the fact that PHP _does_ support ODBC? To think if they keep printing articles like that then macromedia just might advertise with them... Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Ryan Christensen" <[EMAIL PROTECTED]> To: "Ph

Re: [PHP] PC MAG article

2001-05-09 Thread Nathan Cook
I don't like PC Magazine, I don't think they offer unbiased reports. Most often they are blatantly incorrect. I was a subscriber for 3 years and cancelled 1 year ago... BTW, I guess I must be an apache/Unix expert since I can install php from source, WAHOO!! (Can I put that on my resume?) Nath

Re: [PHP] PC MAG article

2001-05-09 Thread Ryan Christensen
Lol.. quoted.. "PHP proponents argue that abstraction layers dumb down and slow down access to databases, but we think they can increase developer productivity, facilitate application migration, and cut training costs. " Cut training costs? Yeah.. let's use an inefficient system just so we can s

Re: [PHP] PC MAG article

2001-05-09 Thread Philip Olson
for informational purposes, it can be seen here : http://www.zdnet.com/pcmag/stories/reviews/0,6755,2713481,00.html no comment. :) regards, philip On Wed, 9 May 2001, Mike wrote: > As a devoted php programmer I was surprised how bad PC MAG blasted php this > month.It sound as if it doesnt

[PHP] PC MAG article

2001-05-09 Thread Mike
As a devoted php programmer I was surprised how bad PC MAG blasted php this month.It sound as if it doesnt scale very well(Ive never had more than a few people on my site at once).Any comments??? Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] ASP 2 PHP

2001-05-09 Thread Max Pyziur
On Wed, 9 May 2001, Brandon Orther wrote: > Hello, > > I am looking at a complete database with it interface written in ASP. All > of our company programs are written in PHP and that is what I want to use. > > I believe I remember seeing ASP 2 PHP converts before. Does anyone know of > any.

[PHP] cobalt raq4

2001-05-09 Thread Herman Tolentino
anybody out there who has successfully compiled php (apache module) with PDFLib 4? Much help would be appreciated. Been trying for 1 week. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

Re: [PHP] HTTP Auth

2001-05-09 Thread gary
Thanks Ive fixed my problem.. "Thomas Edison Jr." wrote: > Try using this : > > $auth = false; // Assume user is not authenticated > if (isset( $PHP_AUTH_USER ) && isset($PHP_AUTH_PW)) { > > mysql_connect('localhost','root') or die ( > 'Unable to connect to server.' ); >

[PHP] Moving existing systems from ColdFusion to PHP?

2001-05-09 Thread Jason Murray
Hi folks, I'm looking for a bit of advice here, and probably someone to whom I can fire off an email if I run into trouble. We have a system written in ColdFusion (for anyone who knows Melbourne IT, I'm talking about our Digital Certificates sales system, not our Domain Name Registration syste

Re: [PHP] Weirdest error I've ever had....

2001-05-09 Thread Chris Anderson
too simple :) doesnt fix it anyway, it was a xhtml compliancy problem Chris Anderson aka "Null" PHP Developer / Nulltech PHP-GTK Documentation Writer / gtk.php.net STA-DoD, TO and D-Day Administrator / dod.stronger.org, to.stronger.org, dday.stronger

[PHP] ASP 2 PHP

2001-05-09 Thread Brandon Orther
Hello, I am looking at a complete database with it interface written in ASP. All of our company programs are written in PHP and that is what I want to use. I believe I remember seeing ASP 2 PHP converts before. Does anyone know of any. They don't have to work perfect just convert it with some

Re: [PHP] ASP 2 PHP?

2001-05-09 Thread Tom Carter
I don't have any direct experience using it, but colleagues I know have given it great reviews. ASP2PHP script (nice name ;o) ) http://asp2php.naken.cc/ Tom Carter Web Architect roundcorners ltd. On Wed, 9 May 2001, Brandon Orther wrote: > Hello, > > I am looking at a complete database with it

Re: [PHP] Old PHP.net website..

2001-05-09 Thread Ryan Christensen
If you want it quicker though, I would suggest what Egon says.. it's not that hard to find. ttyl, Ryan Ryan Christensen OlyPen Technical Support [EMAIL PROTECTED] 360.457.3000 800.303.8696 - Original Message - From: Nathan Handler <[EMAIL PROTECTED]> To: <[

[PHP] ASP 2 PHP?

2001-05-09 Thread Brandon Orther
Hello, I am looking at a complete database with it interface written in ASP. All of our company programs are written in PHP and that is what I want to use. I believe I remember seeing ASP 2 PHP converts before. Does anyone know of any. They don't have to work perfect just convert it with some

Re: [PHP] Old PHP.net website..

2001-05-09 Thread Ryan Christensen
Hi, I took some time one night to get a good portion of it downloaded, and can send you a textfile of the htm/js that's outputted once the server generates it.. (since you probably want that instead of the php-ized version..) Busy at the moment, so email me later tonight. Thanks! -

Re: [PHP] Old PHP.net website..

2001-05-09 Thread eschmid+sic
On Wed, May 09, 2001 at 05:19:36PM -0500, Nathan Handler wrote: > Still lost.. where in here would it be...this looks more like the new > website stuff...where would I find how to put on that pop-up thing for menus > like in the old website? Scroll down the versions and you will find it. If you a

Re: [PHP] Is there a string index funct?

2001-05-09 Thread Mark Maggelet
On Wed, 9 May 2001 18:08:45 -0700, Dexter ([EMAIL PROTECTED]) wrote: >Hi PHP sters, > >Looking for a function like Perls index function to get the first >occurrence of a string within another. > >Thanks > >Dexter http://www.php.net/manual/en/function.strpos.php -- PHP General Mailing List (htt

RE: [PHP] Apache error when installing PHP 4.0.5

2001-05-09 Thread Mark Maggelet
On Wed, 9 May 2001 15:49:51 -0500, Joseph Bannon ([EMAIL PROTECTED]) wrote: >> you need to point to the apache-source install >> ie: ./configure --with-apache=../apache-1.3.19 > > >But what if I have apache already installed? I have a Cobalt Raq3 >with >apache already installed. you need to recom

Re: [PHP] Old PHP.net website..

2001-05-09 Thread Nathan Handler
Still lost.. where in here would it be...this looks more like the new website stuff...where would I find how to put on that pop-up thing for menus like in the old website? Best Regards, Nathan Handler - Original Message - From: <[EMAIL PROTECTED]> To: "Ender" <[EMAIL PROTECTED]>; <[EMAIL

[PHP] Does the array parameter of ereg actually return strings matched?

2001-05-09 Thread Dexter
Does the array parameter of ereg actually return strings matched? I tried to read a file looking for a string using ereg and wanted to put the matched strings found in an array. Doesn't seem to be happening with the following. $contents=fread($readfile,10); $pattern=""; $i

[PHP] Is there a string index funct?

2001-05-09 Thread Dexter
Hi PHP sters, Looking for a function like Perls index function to get the first occurrence of a string within another. Thanks Dexter

Re: [PHP] Old PHP.net website..

2001-05-09 Thread eschmid+sic
On Wed, May 09, 2001 at 04:59:41PM -0500, Ender wrote: > Does anyone remember the previous php.net website where you would hold > your cursor over a menu bar and it would pop up info? Does anyone know > how to do that or where the script for it is? cvs.php.net -> phpweb -Egon -- LinuxTag, S

[PHP] Old PHP.net website..

2001-05-09 Thread Ender
Does anyone remember the previous php.net website where you would hold your cursor over a menu bar and it would pop up info? Does anyone know how to do that or where the script for it is? Best regards, Ender [Clan Leader] [EMAIL PROTECTED]

[PHP] I HAVE SOLVEN THE PROBLEM .........

2001-05-09 Thread Jorge Amaya
HI ALL, MY PROBLEM WITH THE NAVIGATOR WAS THAT THE JAVA CONSOLE IS LOADED AND THAT TOWARD THE PROBLEM THANK YOU MARC, HRISHI, GEIR MORK AND TODD KENNEDY REGARDS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] Commercial PHP Support...

2001-05-09 Thread Michael Kimsal
We'd offered this before, and got a lukewarm response. Currently retooling our website to offer this service directly, but we offer one-off and long-term commercial support contracts for PHP. Development, installation, troubleshooting, and more. Contact me directly at 1-866-745-3660 if you have

[PHP] Commercial PHP Support...

2001-05-09 Thread Darron Froese
We're working with a large client trying to help them on a couple of large web development projects. For the requirements that they have given us, we would love to be able to use PHP BUT are having problems because: They can't get commercial support for it. Basically, they want the ability to c

Re: [PHP] GetImageSize

2001-05-09 Thread Richard
It appears like so. "Joseph Bannon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > What version of PHP are you using? According to the manual: > > "URL support was added in PHP 4.0.5" > > > > Oh, I have 4.0.4. I need to upgrade don't I?!? > > Thanks, > J >

Re: [PHP] How does everyone else do this? .php in URL

2001-05-09 Thread DAve Goodrich
on 5/9/01 1:01 PM, Michael Champagne at [EMAIL PROTECTED] wrote: > I have an area of our site where you can turn off certain 'systems' by > clicking a button. This is all done in HTML and it brings up a javascript box > to verify that this is really what you want to do.. It then does a > header

RE: [PHP] Apache error when installing PHP 4.0.5

2001-05-09 Thread Joseph Bannon
> you need to point to the apache-source install > ie: ./configure --with-apache=../apache-1.3.19 But what if I have apache already installed? I have a Cobalt Raq3 with apache already installed. Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] Apache error when installing PHP 4.0.5

2001-05-09 Thread Joseph Bannon
What gives? Here is my error message configure: error: Invalid Apache directory - unable to find httpd.h under /usr/include/apache Here is my configure line I typed in... ./configure --with-mysql=/usr/local/mysql-3.23.37 --with-apache=/usr/include/apache --enable-t

Re[2]: [PHP] thanks Hrishi AND ANOTHER QUESTION ?

2001-05-09 Thread Adaran (Marc E. Brinkmann)
Jorge> HI MARC Jorge> I have installed Apache on windows 98, php4 already this installed, the Jorge> navigator that I use is netscape 6.0 Jorge> IT DOESN'T LOAD THE NAVIGATOR UP WITH APACHE. Well, I do have that problems, too. I'm using exactly the same programs, and if I have Apache Running,

[PHP] filesize & PHP 3

2001-05-09 Thread Siegfried Kettlitz
Hi, i have a filepointer $fp openend with fopen. Now my problem i to determine the actual filesize of that file with just the filepointer (not with filesize($filename) ) is there a way to do so in PHP 3 (not PHP4) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

[PHP] session

2001-05-09 Thread Rodrigo Reis da Rocha
Hi, I have a problem with the session variables. nome_usuario = "vazio"; $this->webmaster_mail = "[EMAIL PROTECTED]"; $this->acao = "inicio"; $this->url_sistema = "http://localhost/web/ "; } function autorizaSistema($param_usuario, $param_passwd){ //Verificar no banco se o usuario exis

RE: [PHP] manipulating files with php

2001-05-09 Thread Benjamin Munoz
There are a number of ways to do this. Mine is something like this: if (has_read_perm($user_id, $file_id)) { send_file_to_browser($file_id); } else { // print error message(); } ... function has_read_perm($user_id, $file_id) { // check db table // return true/f

[PHP] How does everyone else do this? .php in URL

2001-05-09 Thread Michael Champagne
I have an area of our site where you can turn off certain 'systems' by clicking a button. This is all done in HTML and it brings up a javascript box to verify that this is really what you want to do.. It then does a header("location: ...") to redirect to a .php file that locks down the site. The

[PHP] email_valid function not working??

2001-05-09 Thread Ben Rigby
hi. thanks in advance for any help! i'm trying to make the email_valid function that i found on php.net work. i can get it to validate the email formatting, but it always fails on the MX check and the DNS check. any ideas??? thanks! please cc [EMAIL PROTECTED] with any answers function valid_ema

[PHP] manipulating files with php

2001-05-09 Thread Andrew Coles
I am creating a CRM system using php for my final year university project. I would like to enable the storing of files on the system. However I want to restrict access to these files according to privilege tables stored in local mysql tables. In order to prevent access to the files by simply typ

Re: [PHP] can't get php working on redhat 7.1

2001-05-09 Thread Markus Fischer
- Original Message - From: "Daniel Goldin (E-mail)" <[EMAIL PROTECTED]> To: "Php (E-mail) (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 9:47 PM Subject: [PHP] can't get php working on redhat 7.1 > Got apache going. But no php. Anyone had any experience on this the latest >

Re: [PHP] sending attachments via mail(), possible?

2001-05-09 Thread Christian Dechery
At 15:17 9/5/2001 -0400, Tym Rehm wrote: >You have to open the file and encode it. >Check out this: > >/* Define the attachment and encode it base64 */ >$filename="/var/www/sf/Ftp_User_Info.doc"; $fd = fopen($filename, "r"); >$contents = fread($fd, filesize($filename)); >$encoded=chunk_split(ba

RE: [PHP] sending attachments via mail(), possible?

2001-05-09 Thread Benjamin Munoz
There is a PHP class someone wrote called mime_mail that makes this easy. The resulting code using this class is something like: // create new mime_mail object instance $mail = new mime_mail; // set all data slots $mail->from= "[EMAIL PROTECTED]"; $mail->to = "[EMAIL PROTECTED]"; $m

[PHP] can't get php working on redhat 7.1

2001-05-09 Thread Daniel Goldin \(E-mail\)
Got apache going. But no php. Anyone had any experience on this the latest redhat. Hoping to get some pointers to getting apache/php/mysql working nicely in redhat 7.1. I've been struggling with this for days now. Thanks for any help daniel Daniel

Re: [PHP] About MySQl and Transactions

2001-05-09 Thread Christian Dechery
At 20:09 9/5/2001 +0200, Fredrik Rodland wrote: >I don't think MySql does not have support for transactions. Try using >another DB - like postgres. yes it does... download Mysql-Max or install BDB in your mysql dist (if you are under *ux or *ix)... Mysql-Max is the newest Mysql dist including

RE: [PHP] Installing the GD Library

2001-05-09 Thread Joseph Bannon
I found your email http://marc.theaimsgroup.com/?l=php-general&m=98772364615129&w=2 1) But what about installing 1.8.4? 2) What is PNG? 3) What is freetype? Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] sending attachments via mail(), possible?

2001-05-09 Thread Tym Rehm
You have to open the file and encode it. Check out this: FitnessQuest FTP user request form - results FAILED!"; print "This form can't be sent! You did not fill the form out completely!The email address is missing!"; print "Please click the back button and fill in the email address";

[PHP] sending attachments via mail(), possible?

2001-05-09 Thread Christian Dechery
Is it possible to send attachments via mail() function? I tried it, and it didn't work out... the email I receive is all messed up, and even the simple text part of it is screwed up. I now very little about MIME, but I really need to send an attachment, any help? It's a text attachment... Thi

[PHP] Manipulating Images into JPG

2001-05-09 Thread Adam Plocher
I want to build a personal page that will have functionality to change many types of image formats into a jpg. Ie, convert gif to jpg, png to jpg, even bmp to jpg. Assuming this is possible, does anybody have any sample code I can take a look at? Thanks much. Adam Plocher "If ignorance is bli

Re: [PHP] user authentication

2001-05-09 Thread Philip Olson
try : http://www.zend.com/zend/tut/authentication.php regards, philip On Wed, 9 May 2001, Jerry Lake wrote: > Does anyone know of a good user authentication/sessions > tutorial for php 4? I've looked through the ones at phpbuilder > and they are not quite as in-depth as I would like. > > J

[PHP] zlib in php-4.0.5

2001-05-09 Thread Bjorn Sodergren
whats wrong with getting zlib working in php? configure complains about not having version >= 1.0.9 (at the line where it checks for gzgets() ) I've tried using a couple suggestions found on the list, which included downloading source, checked ldconfig and everything, but nothing works, im using

[PHP] user authentication

2001-05-09 Thread Jerry Lake
Does anyone know of a good user authentication/sessions tutorial for php 4? I've looked through the ones at phpbuilder and they are not quite as in-depth as I would like. Jerry Lake- [EMAIL PROTECTED] Interface Engineering Technician Europa Communications - http://www.europa.com Pacif

RE: [PHP] About MySQl and Transactions

2001-05-09 Thread Matt Schroebel
You have to have version 3.23 and read this: http://www.mysql.com/doc/C/O/COMMIT.html > From: Hassan Arteaga [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 09, 2001 1:24 PM > How I implements transaccions in MySQL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

RE: [PHP] Solution for PHP - IMAP - WAP ?

2001-05-09 Thread Valter Santos
Hi Nikolajsu and PHPers! I am now working in a complete solution for Web/WAP/PDA, with content management + portal services (chat, forum, email, etc...) But I think that you will have to wait until July 2001 for the first public release. The solution is a complete platform for deploy a Portal o

Re: [PHP] About MySQl and Transactions

2001-05-09 Thread Fredrik Rodland
I don't think MySql does not have support for transactions. Try using another DB - like postgres. Fredrik On Wed, 9 May 2001, Hassan Arteaga wrote: > Hi all !!! > > I'd like to implement this pseudocode > > 1-open connection with MySQL > 2-beintransaction > 3-add data to table1 > 4-add data t

Re: [PHP] Unix file vs. Mac file formats

2001-05-09 Thread Thomas Hurst
On 9 May 2001 10:15:19 -0700, [EMAIL PROTECTED] ("Hoover, Josh") wrote: > because (correct me if I'm wrong), Macs use a different character for > carriage returns than Windows and/or Unix. There are two characters to delimit end of lines - Carrage Return (CR) and Line Feed (LF), which dates back

[PHP] About MySQl and Transactions

2001-05-09 Thread Hassan Arteaga
Hi all !!! I'd like to implement this pseudocode 1-open connection with MySQL 2-beintransaction 3-add data to table1 4-add data to table2 5-commit transacction or die (rollbacktransacciont) How I implements transaccions in MySQL Thanks all !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft

[PHP] Top Frame

2001-05-09 Thread Jeremy Bowen
Hey, I have a pae where a variable is passed to a frameset. the main frame then loads whatever page the use wants. What I want to do is be able to use the variable in the frame themselves. I can't seem to grab that variable for the frames, it works perfectly for the frame set just not the individ

RE: [PHP] Unix file vs. Mac file formats

2001-05-09 Thread Hoover, Josh
PHP at least used to execute Mac formatted files, but it sounds like people are definitely having some serious problems with 4.0.5 with Mac formatted files. The problems I had expereinced with Mac files with PHP was that PHP would report line numbers incorrectly on parse errors, etc. This was be

Re: [PHP] Installing the GD Library

2001-05-09 Thread Kurth Bemis
At 12:47 PM 5/9/2001, Alexander Wagner wrote: christ - search the list archives. I wrote a email just for the purpose of being archived so that newbies would read it and get a clue. btw- theres nothing ground breaking in compiling gd into php. try looking in the manual under installation :-)

Re: [PHP] Unix file vs. Mac file formats

2001-05-09 Thread DAve Goodrich
on 5/9/01 9:42 AM, jon mclaughlin at [EMAIL PROTECTED] wrote: > Help! > > Does anyone have any tips on how to deal with this problem I'm having: > PHP 4.0.5 (on Redhat Linux as an Apache module) won't properly execute > included files that are saved in the Mac file format instead of a Unix file

Fw: [PHP] Identifying input type="file"

2001-05-09 Thread Ron Dyck
> > I need to identify the particular name of a file upload type field: > type='file' name='image1'> > > > > when a file is uploaded it creates an array in the $HTTP_POST_VARS array, > called $HTTP_POST_FILES. If you have track_vars enabled, you can access the > name of the uploaded file on the

RE: [PHP] progession bar

2001-05-09 Thread Taylor, Stewart
You might use the following method, which will work under Internet Explorer. .. etc " " " TD2 etc TD6 var which=1; function progress_bar() { eval("TD"+which+".className='DONE'"); which++; if (which>6) clearTimeout(); } window.setTimeout('progress_bar()',1);

RE: [PHP] Installing the GD Library

2001-05-09 Thread Joseph Bannon
> On what kind of platform? Linux. J -- 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] Installing the GD Library

2001-05-09 Thread Alexander Wagner
Joseph Bannon wrote: > What all do I need to do to install the GD Library and make it work > with PHP? On what kind of platform? regards Wagner -- "Some guy hit my fender, and I told him, 'Be fruitful and multiply,' but not in those words." - Woody Allen -- PHP General Mailing List (http:/

Re: [PHP] forcing error documents

2001-05-09 Thread Christian Reiniger
On Wednesday 09 May 2001 18:09, Dean Hall wrote: > I'm trying to force arbitrary errors in the HTTP header like so: > > header('HTTP/1.1 404 Not found.'); > > It's not working like I expected. I found a few discussions of this on > this list that said that this did not work with PHP 3, but I've fo

[PHP] Installing the GD Library

2001-05-09 Thread Joseph Bannon
What all do I need to do to install the GD Library and make it work with PHP? Thanks, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTE

Re: [PHP] Search a string between

2001-05-09 Thread Christian Reiniger
On Wednesday 09 May 2001 16:14, Luiz Vitor wrote: > It's still not working. > I'm using the pattern ([^]*) and I'm getting the first match > correct, but it's not getting all the other matches. [^] means "any character except '<', 'f', 'o' and '>'" You're looking for something like this: $Text

RE: [PHP] GetImageSize

2001-05-09 Thread Joseph Bannon
> What version of PHP are you using? According to the manual: > "URL support was added in PHP 4.0.5" Oh, I have 4.0.4. I need to upgrade don't I?!? Thanks, J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: [PHP] GetImageSize

2001-05-09 Thread Moody
What version of PHP are you using? According to the manual: "URL support was added in PHP 4.0.5" Moody "Joseph Bannon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > For some reason, I can get the image image size for an image on the local > machine, but rem

[PHP] Unix file vs. Mac file formats

2001-05-09 Thread jon mclaughlin
Help! Does anyone have any tips on how to deal with this problem I'm having: PHP 4.0.5 (on Redhat Linux as an Apache module) won't properly execute included files that are saved in the Mac file format instead of a Unix file format. (they use different characters to signify an end of line) The pr

Re: [PHP] Identifying input type="file"

2001-05-09 Thread Christian Reiniger
On Wednesday 09 May 2001 15:59, Ron Dyck wrote: > I need to identify the particular name of a file upload type field: > > > The elements are generated dynamically and I don't know the specific > name of the field beforehand and of course need to read it before > processing the form. > > Using $HT

Re: [PHP] passing parameters in the url using forward slashes

2001-05-09 Thread Christian Reiniger
On Wednesday 09 May 2001 14:41, hassan el forkani wrote: > hmm.. > good question i don' t know exactly how it's done but i actually know a > site that uses this extensively www.emp3finder.com, they concat strings > i think it involves "massive" server configuration It's quite simple. Read the tut

  1   2   >