[PHP-CVS] cvs: php4 /ext/gd gd.c gd.dsp php_gd.h /ext/standard image.c

2001-02-20 Thread Daniel Beulshausen
dbeuTue Feb 20 10:00:44 2001 EDT Modified files: /php4/ext/gdgd.c gd.dsp php_gd.h /php4/ext/standard image.c Log: make gd work again under win32 Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.115 php4/ext/gd/gd.c:1.116 --- php4/ext/gd/gd.c

Re: [PHP] Header ("location: test.php");

2001-02-20 Thread Nuno Silva
Christopher Allen wrote: > Hello, > I am using the Header call in a script that has multiple submit buttons: > > if ($submit =1) > { > Header (location: test1.php); > } > if ($submit ==2) > { > Header(location: test2.php); > } > > Should not the form varaibles be passed

[PHP] No result - need advice.

2001-02-20 Thread Kenneth R Zink II
I'm having problem with a php script. I get a valid insert statment echoed to the screen but I don't get a result from it. If I cut and paste into the SQL query box in PHPMyadmin, it insert fine, but it will not do it from the script. Through debuging (echoing to the screen), I have determind

Re: [PHP] No result - need advice.

2001-02-20 Thread Website4S
Try adding where the Values go "INSERT INTO memberstest (Name, ICQ, Location) VALUES ('', '$name', '$icq', '$loc', '$active', '$date', '$mlist', '$email', '$url', '$year', '$make', '$model', '', '$et', '$mph', '$six', '$track', '$engine', '$notes', '', '$pass', '$drive', '$cab', '$length',

RE: [PHP] Header ("location: test.php");

2001-02-20 Thread Hoover, Josh
The answer is yes, you need to pass along your form variables. You could do this with the following: Hope that helps you out some. Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledg

[PHP] Get name of current function

2001-02-20 Thread Ide, Jim
Hi - Is there some way I can get the name of the currently executing function? For example: ; } MyFunction(); ?> I want this to produce: The currently executing function is: MyFunction() Is there some way to do this in PHP? Thanks - Jim -- PHP General Mailing List (http://www

[PHP] unlik by sending variabel?

2001-02-20 Thread Jan Grafström
Hi! I am trying to get a file deleted when I send a variabel with the value "delete". I have this file: - $message = ereg_replace("\r","", $message); $message = "$message$name; $fp = fopen (basename($PHP_SELF) . ".xml", "a"); fwrite ($fp, $string); fclose ($fp); - and the file I want unl

[PHP] mailto ?

2001-02-20 Thread kaab kaoutar
Hi i have a page taht is generated dynamically and that the user may email! the question is how can the receiver receives it as "an html" file whatever email software he's using ? I thouhgt of using mailto but i need a form however i have no inputs to use it, it's worthless! Thanks _

[PHP] mailto ?

2001-02-20 Thread kaab kaoutar
Hi i have a page taht is generated dynamically and that the user may email! the question is how can the receiver receives it as "an html" file whatever email software he's using ? I thouhgt of using mailto but i need a form however i have no inputs to use it, it's worthless! Thanks _

[PHP] email a page as attachment

2001-02-20 Thread kaab kaoutar
Hi! how can i email from a page, that page as attachment ? thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-02-20 Thread Andrei Zmievski
andrei Tue Feb 20 10:23:17 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Karma to phpdoc for Sam. Index: CVSROOT/avail diff -u CVSROOT/avail:1.87 CVSROOT/avail:1.88 --- CVSROOT/avail:1.87 Tue Feb 20 08:28:34 2001 +++ CVSROOT/avail T

[PHP] Can you make a file empty?

2001-02-20 Thread Jan Grafström
Hi! I am trying to delete all text in a file. $yourfile = "file.txt"; $fp = fopen($yourfile,w) "is there any good code to put in here?" fclose($fp); Thanks for any help. Regards Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[PHP] Postgresql session handling

2001-02-20 Thread Bolt Thrower
PHP 4.04pl1, PostgresQL 7.0.3 on a RedHat 6.2 system. I'm trying to get session data to be stored in a postgres table. I'm using the pgsql session handler from http://www.csh.rit.edu/~jon/projects/php/pgsql_session_handler/, and I think I've got it set up correctly, but I thought I'd ask here fi

[PHP] Terrible Hosting Experience

2001-02-20 Thread Thomas Deliduka
I just need to tell all of you about my terrible hosting experience with yourwebhost.com which owned by hostingventures.com which is also kinda owned by alabanza.com (same owners, I believe, different company) Anyway. I have several sites hosted for free with them because they USED to host non-pr

Re: [PHP] HTTP POST Question

2001-02-20 Thread Julian Wood
Hmmm, I'm sorry - I didn't see any mention of flash in this thread. That is a completely different story from what has been talked about so far. What do you mean you can't write the unlink code? You mean you want to delete a file somewhere from flash? That shouldn't be a problem - post from flas

RE: [PHP] Display Format

2001-02-20 Thread Robert V. Zwink
In Reply to: >Firstly is there any way I can sort these in alphabetical order?? > >More importantly is there any way of formatting them so they display > >Paul Mark >Tom Ade > >So they are in two columns in a table rather than one?? > >Thanks for any help >Ade http://www.php.net/manual/en/functi

Re: [PHP] email a page as attachment

2001-02-20 Thread atom
> how can i email from a page, that page as attachment ? http://www.phpwizard.net/resources/phpMisc/scripts/pretty/mail.php3 Bye, Atom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] ereg match problem

2001-02-20 Thread W.D.
I'm testing email address, but want to test not only characters but the @ sign and for .com, .net, .org, or .tv. How would I include all of these? $test = $email if( ereg("[a-zA-Z0-9]+)\@([a-zA-Z0-9]+)\.comhow would I include the rest? _

Re: [PHP] PHP vs. FreeTDS

2001-02-20 Thread Michael Kimsal
Scott Fletcher wrote: >Hi! I am installing the FreeTDS so that unix machine can use PHP to > connect to MS-SQL Server using odbc_connect. I assume you mean mssql_connect, not odbc_connect. > However, the direction is > pretty tricky and it isn't much of a help in clarification. I have

[PHP] PHP vs. FreeTDS

2001-02-20 Thread Scott Fletcher
Hi! I am installing the FreeTDS so that unix machine can use PHP to connect to MS-SQL Server using odbc_connect. However, the direction is pretty tricky and it isn't much of a help in clarification. I have been wonder if I am suppose to use the sybase environment variable and library path.

[PHP] Re:Is there a PHP equivalent of DATE_FORMAT ?

2001-02-20 Thread Phil Daintree
See Date("format_string",timestamp); Phil Daintree Dux Industries Ltd - Ph: +64 (04) 567 8900 Fax: +64 (04) 567 8904 -- 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

[PHP] PHP and SuEXEC?

2001-02-20 Thread Matthew Toledo
I am using an APACHE server that has SuEXEC turned on. For those of you who don't know what that is. It is a way of adding more security to your scripts. You set your CGI scripts to permission level 700. Even text files that need to be read by your CGI scripts can be set to 700. This way, no

Re: [PHP] Terrible Hosting Experience

2001-02-20 Thread richard merit
Actually alabanza hosts a number of "hosting" companies from their baltimore location. About two weeks ago a "hosting" service I used went down, they use alabanza as well, down for almost two days. Then when it did come up, the permissions were all wrong and I couldn't change the files for a ti

[PHP] reports in the EPSON LX-810 Printer

2001-02-20 Thread Emerson
Hello Everybody... I'm having problems with my printer. I'm generating fiscal documents in PHP and I have to print this documents in a 9 pin printer. The printer doesn't print in bi-direcional mode. If I print in MS-DOS mode the printer prints in bi-direcional. Exists a way to print, in c

Re: [PHP] ereg match problem

2001-02-20 Thread richard merit
There's a code section at zend.com. I noticed someone wrote an email check routine that checks for all domains and the correct format. You might try there. rm --- "W.D." <[EMAIL PROTECTED]> wrote: > I'm testing email address, but want to test not only > characters but the @ > sign and for .co

RE: [PHP] Terrible Hosting Experience

2001-02-20 Thread Brian V Bonini
We host and provide servers to a good number of clients that have come over from Alabanza. All of them complaining of similar experiences I think that company has been plagued for a long time -Brian *** > -Original Message- > From: richard merit [mailto:[EMAIL PROTE

Re: [PHP] Terrible Hosting Experience

2001-02-20 Thread Thomas Deliduka
On 2/20/01 3:02 PM this was written: > Actually alabanza hosts a number of "hosting" > companies from their baltimore location. About > two weeks ago a "hosting" service I used went down, > they use alabanza as well, down for almost two days. > Then when it did come up, the permissions were all

Re: [PHP] form's variable access problem

2001-02-20 Thread Ivo Stoykov
OK Thank you ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message 01ea01c09ac4$a08aeaa0$[EMAIL PROTECTED]">news:01ea01c09ac4$a08aeaa0$[EMAIL PROTECTED]... > Check your php.ini setting of "global_vars" > > If you used that php.ini-optimized, well, that was one of the optimizations. > > Turn it

[PHP] How to delete session variables

2001-02-20 Thread Conover, Ryan
I would like the session variable to be deleted when the user closes their browser. Any ideas on how this is done. Ryan Conover -- 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 adm

Re: [PHP] Terrible Hosting Experience

2001-02-20 Thread Thomas Deliduka
On 2/20/01 3:17 PM this was written: > We host and provide servers to a good number > of clients that have come over from Alabanza. > All of them complaining of similar experiences > I think that company has been plagued for a > long time I agree. I have dealt with them on one level or a

[PHP] system() PHP newbie!!

2001-02-20 Thread Kevin Connolly
Hi, I want to use the system() command for some encryption! I can't get it to work and so am trying to just get the system() command to run any program!! There is not much (in the way of examples) on the php page and was wondering if any one could give me a few pointers? I have an apache server

Re: [PHP] PHP and SuEXEC?

2001-02-20 Thread Thomas Deliduka
On 2/20/01 2:51 PM this was written: > I am using an APACHE server that has SuEXEC turned on. For those of you who > don't know what that is. It is a way of adding more security to your > scripts. I printed out the whole thing on the Apache site about SuEXEC and I couldn't figure out how to ge

[PHP] httpd.conf question...

2001-02-20 Thread Brandon Orther
Hello, Can someone point me where in the httpd.conf file to change to make php files run longer than 30 secs and edit the max upload from a form? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.we

Re: [PHP] ereg match problem

2001-02-20 Thread ..s.c.o.t.t.. [gts]
this will work... (if you wnat to check against any other possible domains, just add it into the "|" separated list... (com|edu|cc|uk|org|tv), and so on. (the following regexp should be all on one line) preg_match("/([a-zA-Z0-9]+)\@([a-zA-Z0-9]+)\.(com|edu|net|org|tv)/", $email); - Origin

[PHP] Uploading files

2001-02-20 Thread Ashley M. Kirchner
Before I embark on this little project, or just hunt for one already written (anyone have suggestions?), when creating an Upload script, how does one go about files coming from different platforms? We have a unix FTP server and we'd like to make an Upload function on our website, where p

[PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h

2001-02-20 Thread Daniel Beulshausen
dbeuTue Feb 20 12:34:14 2001 EDT Modified files: /php4/ext/standard fsock.c fsock.h Log: make socket functions available to the outside Index: php4/ext/standard/fsock.c diff -u php4/ext/standard/fsock.c:1.62 php4/ext/standard/fsock.c:1.63 --- php4/ext/stan

RE: [PHP] httpd.conf question...

2001-02-20 Thread Thor M. Steindorsson
it's in the php.ini file, which should be in your /etc folder (or windows folder on a winbox) or you can just use to turn it off for that particular script. -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 12:37 PM To: PHP User Group

Re: [PHP] Multiple URLs and cookies

2001-02-20 Thread Richard Lynch
I don't know how it will work, or even if you can do whatever it is you are trying to do. I only know what won't work. header("Location:")+setcookie() in one script will not work on many browsers. At a guess, I'd say you'll have to include() the file the user was attempting to reach while switc

Re: [PHP] Where do i look up return status codes?

2001-02-20 Thread Simon Garner
From: "George Herson" <[EMAIL PROTECTED]> > How do i find out what the return status of an exec() executed command > means? For example, i have the line > > $ciphertext = exec("perl /home/httpd/cgi-bin/passgen.pl > $plaintext",$arr,$retstat); > > which makes $retstat = 126. > > thanks, > geo >

Re: [PHP] unlik by sending variabel?

2001-02-20 Thread Simon Garner
From: "Jan Grafström" <[EMAIL PROTECTED]> > Hi! > I am trying to get a file deleted when I send a variabel with the value > "delete". > I have this file: > > - > $message = ereg_replace("\r","", $message); > $message = "$message$name; > $fp = fopen (basename($PHP_SELF) . ".xml", "a"); > fwrit

Re: [PHP] HTTP Content-length...

2001-02-20 Thread Simon Garner
From: "Hrishi" <[EMAIL PROTECTED]> > > $string ="foo=bar&food=apple"; > > $contentlength=$string.size; > > $uuencodestring=uuencode($string); > > uuencode ? are you looking at urlencode ? > > use > $contentlength=strlen($string); > > also remember according to the HTTP protocol, you have to show

[PHP] how to urlencode array data for PostToHost ?

2001-02-20 Thread Sergiy Zhenochin
If I want to post array data (like in case of options and checkboxes), can I urlencode the array just like a regular string? Thanks, Sergiy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP-CVS] cvs: php4 /ext/hyperwave hg_comm.c hw.c hyperwave.dsp php_hyperwave.h /win32 php_modules.dsw

2001-02-20 Thread Daniel Beulshausen
dbeuTue Feb 20 12:45:55 2001 EDT Added files: /php4/ext/hyperwave hyperwave.dsp Modified files: /php4/ext/hyperwave hg_comm.c hw.c php_hyperwave.h /php4/win32 php_modules.dsw Log: make hyperwave build under win32 Index: php4/e

[PHP-CVS] cvs: php4 /ext/standard fsock.c fsock.h

2001-02-20 Thread Daniel Beulshausen
dbeuTue Feb 20 12:52:53 2001 EDT Modified files: /php4/ext/standard fsock.c fsock.h Log: proper prefix for lookup_hostname Index: php4/ext/standard/fsock.c diff -u php4/ext/standard/fsock.c:1.63 php4/ext/standard/fsock.c:1.64 --- php4/ext/standard/fsock.c:

[PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Phil Labonte
I have a Newbie question, What is the syntax to get the info from HHTP_POST_VARS? I mean what is the syntax to get the variable COMPUTERNAME for example or to get HTTP_HOST? Thanks Phil Labonte Systems Administrator Atreus Systems (p) 613-233-1741 x243 (c) 613-277-1697 [EMAIL PROTECTED] --

FW: [PHP] httpd.conf question...

2001-02-20 Thread Brandon Orther
Hello, Is there a way to make an .htaccess file to make the server not time out when uploading a file? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com ---

Re: [PHP] sessions and data missing browser message

2001-02-20 Thread Evelio Martinez
"Martin A. Marques" escribió: > Mensaje citado por: Evelio Martinez <[EMAIL PROTECTED]>: > > > > > Hi! > > > > is there any relation between use of sessions (php 4.0.4) and the > > following browser message ? > > > > Data Missing > > > > This document resulted from a POST operation and has expir

RE: [PHP] Libraries

2001-02-20 Thread Tim Ward
> -Original Message- > From: Kath [mailto:[EMAIL PROTECTED]] > Sent: 19 February 2001 22:40 > To: Martin A. Marques > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Libraries > > > I don't exactly try to reinvent a new and better wheel... I > just find that > writing my own libraries makes

Re: [PHP] add user to ldap using php

2001-02-20 Thread Patrick Brown
This is code from a working script to add a user account to a Novell NDS database via Novell's LDAPv3. Hope this helps. //connect to LDAP $ds=ldap_connect("172.17.20.10"); // must be a valid LDAP server! if (!$ds) { echo "Connection to LDAP server failed"; exit(); } //bind to LDAP $r=ldap_bi

Re: [PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Simon Garner
From: "Chris Lee" <[EMAIL PROTECTED]> > I dont think HTTP_POST_VARS is what your looking for I think its more > HTTP_SERVER_VARS > > echo $HTTP_SERVER_VARS['HTTP_HOST']; > ?> > > That should work but imho better practice is to use getenv(): This is especially useful inside a function, a

Re: [PHP] Where do i look up return status codes?

2001-02-20 Thread Chris Carbaugh
I'm not familiar with perl, but I would said either the script it's self is returning the code, or the perl interpreter. Chris On Tue, 20 Feb 2001, George Herson wrote: > Date: Tue, 20 Feb 2001 12:13:35 -0500 > To: [EMAIL PROTECTED] > From: George Herson <[EMAIL PROTECTED]> > Subject: [PHP] Whe

[PHP] How do I ....

2001-02-20 Thread Michael Zornek
ok, I'm starting to play with sessions and have a few things I want to do, first is recompile --with-trans-sid and I'm pretty sure I know how to do that (make clean, then configure, etc.) However, I'm thinking of changing a few of the things is giving me like: session.use_cookie and/or sessi

[PHP-CVS] cvs: php4 /ext/pcre/pcrelib COPYING ChangeLog INSTALL LICENCE NEWS README RunTest get.c internal.h pcre.c pcre.h pcregrep.c pcreposix.c pcreposix.h pcretest.c perltest perltest8 pgrep.c /ext/pcre/pcrelib/doc Tech.Notes pcre.3 pcre.html pcre.txt pcregrep.1 pcregrep.html pcregrep.txt pcreposix.3 pcreposix.html pcreposix.txt pcretest.txt perltest.txt pgrep.1 pgrep.html pgrep.txt /ext/pcre/pcrelib/testdata testinput1 testinput2 testinput3 testinput4 testinput5 testinput6 testoutput1 testoutput2 testoutput3 testoutput4 testoutput5 testoutput6

2001-02-20 Thread Andrei Zmievski
andrei Tue Feb 20 14:00:35 2001 EDT Added files: /php4/ext/pcre/pcrelib pcregrep.c perltest8 /php4/ext/pcre/pcrelib/doc pcregrep.1 pcregrep.html pcregrep.txt /php4/ext/pcre/pcrelib/testdata testinput5 testinput6 testoutput5

Re: [PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Chris Lee
I dont think HTTP_POST_VARS is what your looking for I think its more HTTP_SERVER_VARS -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Phil Labonte"" <[EMAIL PROTECTED]> wrote in message 331AB909C797484B84CF8CF3C711BD4E0992A2@x

Re: [PHP] How do I ....

2001-02-20 Thread Simon Garner
From: "Michael Zornek" <[EMAIL PROTECTED]> > ok, I'm starting to play with sessions and have a few things I want > to do, first is recompile --with-trans-sid and I'm pretty sure I know > how to do that (make clean, then configure, etc.) > > However, I'm thinking of changing a few of the things >

RE: [PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Jerry Lake
or for an entire list of php setup and http variables Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Februa

Re: [PHP] Uploading files

2001-02-20 Thread Chris Lee
I wouldnt worry about filenames :) just make your own file name, store that name with cross reference to the real filename in a db. I allow users to update images to our server, I store them directly in the db, I also store the mime-type along with the filename. every file has a unique file_id nu

Re: [PHP] How do I ....

2001-02-20 Thread Alexander Wagner
Simon Garner wrote: > > My question.. how do you do it? > > I think you'll find those settings in your php.ini file. You have to create that file first. will tell you where php.ini should be (php.ini-Path is somewhere near the top, I think). Take one of the php.ini-templates from the unzipped

[PHP] Getting LDAP attribute values

2001-02-20 Thread Patrick Brown
I'm trying to read some LDAP entries from a Novell LDAPv3 server on NetWare 5.1. Here's a piece of my code. $base = "ou=Corp, o=PMX"; $filter = "sn=*"; $attrib = array("lastLoginTime", "sn", "mail", "telephoneNumber", "homeDirectory"); // Search surname entry $sr=ldap_search($ds, $base, $filte

[PHP] CGI BIN PHP

2001-02-20 Thread cguilette
I'm sorry for asking this question but I've pulled my hair out looking for an answer and I can't seem to find oneHere's my situation...my host has php 3.0.9 installed as an apache module and php4.0.3.pl1 setup as a cgi binobviously i want to use 4 because I need to do a lot of work wit

[PHP] PHP SSI

2001-02-20 Thread Brandon Orther
Hello, I am writing a banner rotation script and want to use Server Side include. When I try to include from any server other than the one that php script is on I get an error, Error: [an error occurred while processing this directive] Any Ideas? Thank you, --

Re: [PHP] PHP SSI

2001-02-20 Thread Simon Garner
From: "Brandon Orther" <[EMAIL PROTECTED]> > Hello, > > I am writing a banner rotation script and want to use Server Side include. > When I try to include from any server other than the one that php script is > on I get an error, > > Error: [an error occurred while processing this directive] > >

[PHP] Help me! What is wrong?

2001-02-20 Thread Ana Carolina Blanco Abascal
Help!!! Every thing seems to work ok but I just can't make apache recognize php3 files I check that mod_php3.c is load with /usr/local/apache/bin/httpd -l This is what my httpd.conf file has LoadModulephp3_modulelibexec/libphp3.so

[PHP-CVS] cvs: php4 /ext/pcre/pcrelib pcre.h

2001-02-20 Thread Andrei Zmievski
andrei Tue Feb 20 14:20:47 2001 EDT Modified files: /php4/ext/pcre/pcrelib pcre.h Log: Include PHP compatibility header file. Index: php4/ext/pcre/pcrelib/pcre.h diff -u php4/ext/pcre/pcrelib/pcre.h:1.9 php4/ext/pcre/pcrelib/pcre.h:1.10 --- php4/ext/pc

[PHP] Cache Problem

2001-02-20 Thread Peter Houchin
Hiya, I have a question with reguard to Cache At the moment I'm using but when i go view the page in NN all the data comes up but if say i wanted to print the data it prints a page saying "Data Missing" .. this document resulted from a POST operation and has expired from cache..." and I don

RE: [PHP] Help me! What is wrong?

2001-02-20 Thread Hoover, Josh
I think this might be a problem... AddModule mod_php3.c Shouldn't the be say PHP3 rather than SSL? Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to lear

RE: [PHP] Terrible Hosting Experience

2001-02-20 Thread Krznaric Michael
I was about to buy a server from Alabanza. Am I ever glad I didn't. The only thing impressive about them is their connection. And for all I know they could be lying about that, as well. Mike -Original Message- From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20

Re: [PHP] PHP vs. FreeTDS

2001-02-20 Thread Scott Fletcher
I can't user mssql_connect, I'm using odbc_connect! Most of the websites for my company use odbc_connect. Because we sometime move the website from unix to windows and back. So, it is more reliable that way. Scott "Michael Kimsal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

RE: [PHP] Terrible Hosting Experience

2001-02-20 Thread Brian V Bonini
Hmmm, last I heard they were using an OC-3 circuit, that's not too impressive. lots of those floating around. We've been running on an OC-48 for some time now > -Original Message- > From: Krznaric Michael [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 20, 2001 5:56 PM >

Re: [PHP] High and Low ASCII characters

2001-02-20 Thread Richard Lynch
ereg-replace and/or preg-replace should be able to do this much easier... Not sure how to represent characters by Hex value in Regex though... http://php.net/ereg_replace -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.h

Re: [PHP] PHP has encountered an Access Violation at 10014D15

2001-02-20 Thread Richard Lynch
> PHP has encountered an Access Violation at 10014D15 > > What the crap does that mean? PHP and/or one of its extensions and/or some other software running on your machine has put the wrong data in the wrong place in RAM and PHP is detecting that condition and stopping. Check http://bugs.php.net

Re: [PHP] Is it possible to use CyberCash w/o MCK?

2001-02-20 Thread Richard Lynch
I think CyberCash without MCK is, like, "No."... There are alternatives to CyberCash, though... ccnow is one. VeriSign? Verio? Verisomething is another. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a litt

Re: [PHP] listing files and directories...

2001-02-20 Thread Richard Lynch
You can use http://php.net/fstat to get more info about the files you see from dir/read and http://php.net/sort to sort them. You could use http://php.net/exec("ls -als", $results, $error) to get files sorted. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music?

Re: [PHP] sending variables

2001-02-20 Thread Richard Lynch
Check your global_vars with Change it in the php.ini displayed there if it's off. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message ---

Re: [PHP] Get name of current function

2001-02-20 Thread Richard Lynch
I don't think you can do that yet. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: "Ide, Jim" <[EMAIL PROTECTED]> Newsgrou

Re: [PHP] Can you make a file empty?

2001-02-20 Thread Richard Lynch
> I am trying to delete all text in a file. > $yourfile = "file.txt"; > $fp = fopen($yourfile,w) > "is there any good code to put in here?" > fclose($fp); You should check that $fp is valid. if (!$fp){ echo "Unable to empty $yourfile\n"; } But pretty much, the fopen($yourfile, '

Re: [PHP] Postgresql session handling

2001-02-20 Thread Richard Lynch
The writing of the session data occurs *after* the server-browser HTTP connection is cut. If you have any error-reporting happening in your session_write function, you won't see it. Alter that function to log errors to a file or something. -- Visit the Zend Store at http://www.zend.com/store/ W

Re: [PHP] reports in the EPSON LX-810 Printer

2001-02-20 Thread Richard Lynch
> I'm having problems with my printer. I'm generating fiscal documents > in PHP and I have to print this documents in a 9 pin printer. The > printer doesn't print in bi-direcional mode. If I print in MS-DOS mode > the printer prints in bi-direcional. > Exists a way to print, in client's si

Re: [PHP] system() PHP newbie!!

2001-02-20 Thread Richard Lynch
I believe you can only get system() to work in PHP4 by running PHP4 as a CGI rather than ISAPI/Module. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Or

Re: [PHP] how to urlencode array data for PostToHost ?

2001-02-20 Thread Richard Lynch
No. You can http://php.net/serialize and http://php.net/unserialize it, or you can loop through and URLEncode each element in a different INPUT TYPE=HIDDEN element. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunt

[PHP] Simple Fail-Safe E-Business Opportunity!

2001-02-20 Thread dbcarolina
Does a "Self-Run" Business interest you? CASH IN on a virtual Money Machine! Let the World's First Online Recruiter help build your group! FREE Marketing Tools (Self-Replicating Web Pages, Autoresponders, Fax-On-Demand, ...) bring you the EASIEST plan to achieve wealth. Tap into the speed/power

Re: [PHP] Help me! What is wrong?

2001-02-20 Thread Ana Carolina Blanco Abascal
I just don't get it, It is loading mod_php.c, I allready change that I put the AddModule without a . I can use php code inside of html file but I can't load php3 files. Any ideas "Hoover, Josh" wrote: > I think this might be a problem... > > > AddModule mod_php3.c > > > Shoul

[PHP-CVS] cvs: php4 /ext/pcre config.m4

2001-02-20 Thread Andrei Zmievski
andrei Tue Feb 20 14:21:06 2001 EDT Modified files: /php4/ext/pcre config.m4 Log: Enable UTF8 support (incomplete) by default. Index: php4/ext/pcre/config.m4 diff -u php4/ext/pcre/config.m4:1.20 php4/ext/pcre/config.m4:1.21 --- php4/ext/pcre/config.m4:

[PHP-CVS] cvs: php4 /ext/com COM.c

2001-02-20 Thread Zeev Suraski
zeevTue Feb 20 14:32:28 2001 EDT Modified files: /php4/ext/com COM.c Log: Fix Win32 build Index: php4/ext/com/COM.c diff -u php4/ext/com/COM.c:1.4 php4/ext/com/COM.c:1.5 --- php4/ext/com/COM.c:1.4 Sun Feb 18 08:49:05 2001 +++ php4/ext/com/COM.

FW: [PHP] SNMP question

2001-02-20 Thread Michael Geier
I am attempting to compile PHP with Net-SNMP package from Sourceforge (ucd-snmp-4.2.i386.rh6.2.tar.gz). I also tried installing from the source tar ball (ucd-snmp-4.2.tar.gz) configure and make/make install work fine. starting apache returns: Cannot load /usr/local/apache/libexec/libphp

[PHP] Function/method syntax limitations

2001-02-20 Thread Simon Garner
I posted this to the Manual notes the other day, but I thought I'd repost it here for discussion. :) It seems there is no way to access the return value of a method (or any function) inline, without assigning it to a variable. For example: class Test { function blah () { ret

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

2001-02-20 Thread Stig Bakken
ssb Tue Feb 20 15:00:09 2001 EDT Modified files: /php4/pear DB.php Log: * allow empty passwords in dsn (for example "mysql://user:@database") Index: php4/pear/DB.php diff -u php4/pear/DB.php:1.48 php4/pear/DB.php:1.49 --- php4/pear/DB.php:1.48 Fri

RE: [PHP] Function/method syntax limitations

2001-02-20 Thread James Moore
untested but.. > $foo = ${$test->blah()}[0]; > // Similarly for objects, cannot do: > $foo = $test->childTest()->blah(); $foo = ${$test->childTest()}->blah(); > // Instead have to do: > $temp = $test->childTest(); > $foo = $temp->blah(); Might work.. never had need to test it and cant be both

Re: [PHP] How to delete session variables

2001-02-20 Thread James, Yz
I thought that session variables (unless set to cookie as well) WERE destroyed at the end of a session? As in when the user closes the browser? Hrms. Maybe not. Anyway, don't know about when the window is closed, but you could have a log-out page that uses session_destroy(); James. > I woul

[PHP] How do I limit a file size?

2001-02-20 Thread Kenneth R Zink II
I want to limit uploaded files to $250k. The incoming files should be images, so I also want to limit the files to .gif or .jpg files. How would I go about doing this? Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! h

Re: [PHP] Does anyone have a link to ImageMagick's web site?

2001-02-20 Thread Simon Garner
From: "Brandon Orther" <[EMAIL PROTECTED]> > Hello, > > Does anyone have a link to ImageMagick's web site? > > Thank you, > > > Brandon Orther > WebIntellects Design/Development Manager > [EMAIL PROTECTED] > 800-994-6364 > www.webintellects.com > --

Re: [PHP] how to urlencode array data for PostToHost ?

2001-02-20 Thread Sergiy Zhenochin
Serialize and unserialize is good when CGI script expects serialized data. I am looking to the way to POST to somebody's CGI-script that doesn't expect any PHP tricks, but data from . Is it possible to fake this data somehow from PHP? Richard Lynch wrote: > No. > You can http://php.net

[PHP] Novell LDAP and PHP?

2001-02-20 Thread Patrick Brown
Has anyone done any LDAP work with Novell's LDAPv3 server? --Pat -- 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] Help me! What is wrong?

2001-02-20 Thread Simon Garner
From: "Ana Carolina Blanco Abascal" <[EMAIL PROTECTED]> > Help!!! Every thing seems to work ok but I just can't make apache > recognize php3 files > I check that mod_php3.c is load with /usr/local/apache/bin/httpd -l > This is what my httpd.conf file has > > L

Re: [PHP] Function/method syntax limitations

2001-02-20 Thread Simon Garner
From: "James Moore" <[EMAIL PROTECTED]> > untested but.. > > > $foo = ${$test->blah()}[0]; > > > // Similarly for objects, cannot do: > > $foo = $test->childTest()->blah(); > > $foo = ${$test->childTest()}->blah(); > Nope, I tried that :) > > // Instead have to do: > > $temp = $test->childTe

[PHP] I am looking for an image library that can do blurs

2001-02-20 Thread Brandon Orther
Hello, I am looking for an Image Library that can blur text. Does anyone know of an image library that can work with php to make blured text? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webi

[PHP-CVS] cvs: php4 /ext/midgard midgard.c

2001-02-20 Thread Emiliano Heyns
emile Tue Feb 20 15:35:35 2001 EDT Modified files: /php4/ext/midgard midgard.c Log: Initialize globals to NULL at module init Index: php4/ext/midgard/midgard.c diff -u php4/ext/midgard/midgard.c:1.5 php4/ext/midgard/midgard.c:1.6 --- php4/ext/midgard/mid

[PHP] Does anyone have a link to ImageMagick's web site?

2001-02-20 Thread Brandon Orther
Hello, Does anyone have a link to ImageMagick's web site? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing L

Re: [PHP] How do I limit a file size?

2001-02-20 Thread David Robley
On Wed, 21 Feb 2001 10:17, Kenneth R Zink II wrote: > > I want to limit uploaded files to $250k. The incoming files should be > images, so I also want to limit the files to .gif or .jpg files. > > How would I go about doing this? > > Kenneth R Zink II Go to http://www.php.net/manual/en/features

php-general Digest 21 Feb 2001 00:10:25 -0000 Issue 524

2001-02-20 Thread php-general-digest-help
php-general Digest 21 Feb 2001 00:10:25 - Issue 524 Topics (messages 40732 through 40863): Re: Strange behaviour: Cannot exit as expected AND Script starts from the beginning, executed TWICE. Anyone? 40732 by: Ben Peter Re: HTTP Content-length... 40733 by: Ben Peter

<    1   2   3   >