[PHP] help: form variables have CR/LF ?

2001-09-21 Thread Patrick Sibenaler
Does anyone know what is going wrong, when all of a sudden, the content of PHP global variables that are generated from a POSTED form, have a CR/LF prepended? That means, looking at a field 'name' where 'john' was typed in, I'm getting a variable $name with the content ' john' instead of

[PHP] Executing a CGI script from a PHP script

2001-09-06 Thread Patrick Dunford
script directly. -- ======= Patrick Dunford, Christchurch, NZ He makes me lie down in green pastures, he leads me beside quiet waters, he restores my soul. He guides me in paths of righteousness for his name's sake. -- Psalm 23:2-3 http://www.StudyLight.org/desk/?query=P

[PHP] Re: begginer needs help

2001-08-30 Thread Patrick Calkins
Sure, you should just (for Windows) download the Apache web server for windows, and get the PHP for windows off of php.net. Then you can run a 'local' server that processes your PHP code. Or do the same for a Unix machine... -- Patrick Calkins OEMSupport.Com, Inc. ** please remove the

[PHP] POST to port 443 (SSL)

2001-08-27 Thread Patrick Calkins
just time-out. If I change the port 443 to port 80, I will get a response. What am I missing for it to talk to an SSL port?? Thanks! Patrick [EMAIL PROTECTED] ** remove the _xxx_ to reply -- Patrick Calkins OEMSupport.Com, Inc. ** please remove the _ to reply ** -- PHP General Mailing List (htt

[PHP] Trouble with getimagesize

2001-07-24 Thread Patrick J. Militzer
Hi there, Having problem with a snippet of code, the code works in php4 but not in php3. Here is the snippet: $imagesize = getimagesize($UPLOADFILE); // print $imagesize[0] . " " . $imagesize[1]; if($imagesize[0] > 360 or $imagesize[1] >252 or $UPLOADFILE_size > 51024)

RE: [PHP] sleep() function question

2001-07-23 Thread Patrick Lynch
Is output_buffering = On set in the php.ini file? If it is set to on, no content or headers are sent back to the browser until the whole page has been processed by PHP. Best Regards, Patrick Lynch. Eirco Web: http://www.eirco.com -Original Message- From: Andrew Brampton [mailto

RE: [PHP] Another how do i question

2001-07-23 Thread Patrick Lynch
Unless you are sending HTML mail, you need to use newline - not BR Best Regards, Patrick Lynch. == Eirco == -Original Message- From: Kyle Smith [mailto

RE: [PHP] Send variables from php to dll and back.

2001-07-23 Thread Patrick Lynch
What you are probably looking for is: http://www.php.net/manual/en/class.com.php Make a COM object out of your VB DLL (more info on this is available on a VB faq). You can use the functions on the page above to access the functionality of the COM object. Best Regards, Patrick Lynch

[PHP] mail() help

2001-07-17 Thread Patrick W. Rateliff
I am getting this error when using the trying to use the mail function. Any insite will help, I have been up for too long working on a few projects and my brain is damn near melted. mail() is not supported in this PHP build in so when I built PHP 4.06 I am assuming I missed a option, but just

[PHP] how do i get url: response codes?

2001-07-12 Thread Patrick Sibenaler
I've tried for a while now to figure out how to test from within php if a url (http://xxx/file.html) is present and what error code is returned (200,201,202,404, etc...) the only way to test a url seems to be to open file('http://xxx/file.html') and see if it can be done. but that completely

Re: [PHP] RE: [PHP-WIN] php > XML output in IE: no display

2001-07-09 Thread Patrick Sibenaler
> IE does some "intelligent guessing" based on filename extension that will > override headers. If you send enough headers in the right sequence you can > get it to work right - with a weird name if you want to save it and > sometimes a double query on whether or not you want to save it. Tricki

[PHP] Sorting an assoiative Array

2001-07-08 Thread Patrick Meisel
Hi, I need to get the highest value of a hash. I first just wanted to do an arsort and then access the first value with $data[0], which didn´t work. I guess you can´t access associative arrays by index. So I found this way to do it (as the $data array needs to remain unchanged): $temp

Re: [PHP] How to get PHP to do a POST??

2001-06-28 Thread Patrick Calkins
AH! Thank you for this info! This was exactly the problem! When I changed the name_x to name.x, it worked, and UPS' site gave me back what I was looking for. Thanks again, you're a lifesaver! -- Patrick ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in me

Re: [PHP] search for a better php source code viewer

2001-06-27 Thread Patrick Calkins
You should try EditPlus !!! I love it! http://www.editplus.com/ It runs on Win95/98/2000/NT and will create a Unix/Mac/PC file. Has custom syntax highlighting, spell checker, integrated web browser, etc, etc. It handles PHP, ASP, Perl, C++, and more... ""scott [gts]"" <[EMAIL PROTECTED]> wrote i

[PHP] How to get PHP to do a POST??

2001-06-26 Thread Patrick Calkins
Hello all! Here is an interesting problem that I can not solve, maybe one of you know?? Here is what I'm trying to do. I sell a lot of items on eBay, and lots of people ask me for a quote on shipping. We ship via UPS and I go to their site a lot to lookup rates. I decided to make my own web page t

[PHP] FW: Setup Question

2001-06-26 Thread Patrick Smith
n’t able to find anything in the archives.   --   Regards,   Patrick Smith

Re: [PHP] Calling CGI from PHP page

2001-06-24 Thread patrick . azevedo
Please, How do I unsubscribe this list? I tried two times these addresses: [EMAIL PROTECTED] [EMAIL PROTECTED] Thank youvery much, Patrick. - Em 24 Jun 2001, Rasmus Lerdorf escreveu: >

[PHP] Setup Question

2001-06-23 Thread Patrick Smith
in startup_children () #8  0x80a3b08 in standalone_main () #9  0x80a4287 in main () #10 0x400cf577 in __libc_start_main () from /lib/libc.so.6 (gdb)     ANY HELP would be appreciated, I wasn’t able to find anything in the archives.   --   Regards,   Patrick Smith

Re: [PHP] setcookie()

2001-05-07 Thread Patrick Wayne Tan
s"; >$kookieko = "kookienimona"; > >setcookie("username", $username, 0); >setcookie("password2", $password, 1); >setcookie("kookieko2", $kookieko, 2); > > BTW I've installed php4.05 using the self-extracting installer I&

[PHP] win32 dll

2001-04-25 Thread Patrick Lai
Can anyone tell me whether php can use win32 dll library functions? If yes, how? Patrick -- 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] Incrementing a String Name

2001-04-23 Thread Patrick Dunford
On 22 Apr 2001 17:56:23 -0700 AD in php.general, Chris Aitken said: >Hi > >Just a quick puzzle I cant seem to get around at the moment... Why don't you put it in your own thread -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP] shm_attach not found

2001-04-18 Thread Patrick Lai
7;--enable-versioning' '--with-ldap' '--with-xml' '--enable-bcmath' '--with-database' '--enable-ftp' '--with-gd=/usr/local/gd1.3' '--enable-bcmath' '--disable-debug' '--enable-memory-limit=yes' '--enable-tra

[PHP] PHP for Apache 2.0

2001-04-14 Thread Patrick Dunford
According to Apache, modules made for Apache 1.3 will not work as-is in 2.0 due to changes in the API. Is a version of PHP 4 for Apache 2.0 coming out? -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz

Re: [PHP] HTML and PHP?

2001-04-13 Thread Patrick Dunford
eb server will still treat a PHP page as an HTML except that the PHP code embedded in it is executed on the web server. However SSI commands will have to be replaced with their PHP equivalents. -- === Patrick Dunford, Christchu

Re: [PHP] header( )

2001-04-13 Thread Patrick Dunford
elling the web server to redirect to another web page. -- ======= Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ And my God will meet all your needs according to his glorious riches in Christ Jesus. -- Philippians 4:19 http://w

[PHP] header( )

2001-04-11 Thread Patrick Dunford
ables to a script without them being displayed in the URL when the page loads. -- ======= Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ If only for this life we have hope in Christ, we are to be pitied more th

[PHP] unset()

2001-04-04 Thread Patrick Dunford
. -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ Rejoice in the Lord always. I will say it again: Rejoice! -- Philippians 4:4 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010404

[PHP] PHP3: suppressing error messages

2001-04-01 Thread Patrick Dunford
How can I prevent error messages from being displayed and sent to a log file instead? -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ Now to him who is able to do immeasurably more than all we

Re: [PHP] fscanf syntax

2001-03-30 Thread Patrick Brown
=$intNumRecs;$i++) { > $aryNessusFields = explode("|", $aryNessus[$i]); > $hostname = $aryNessusFields[0]; > $protocol = $aryNessusFields[1]; > $number = $aryNessusFields[2]; > $severity = $aryNessusFields[3]; > $description + $aryNessusFields[4]; > // S

[PHP] fscanf syntax

2001-03-30 Thread Patrick Brown
I want to parse a file with the following syntax. hostname|protocol|number|severity|description Each record is on it's own line and have the fields delimited by the pipe character |. The file may have thousands of records and I would like to bring them into a database for reporting. Some of you

Re: [PHP] Image Resizing in PHP

2001-03-30 Thread Patrick Dunford
ect would excellent. GDLib does this sort of thing, though I haven't tried it -- ======= Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ For this reason I kneel before the Father... I pray that out of

Re: [PHP] PHP Authentication

2001-03-26 Thread Patrick
- Original Message - From: "Jon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 26, 2001 1:38 AM Subject: [PHP] PHP Authentication > Hi, > > I have read that for using PHP authentication I must be able to user > variables such as $PHP_AUTH_USER that are only avaible whe

Re: [PHP] PHP & Apache

2001-03-19 Thread Patrick
OK it worked Thanks for the pointers Yoshi - Original Message - From: "Yoshi Melrose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 4:34 AM Subject: Re: [PHP] PHP & Apache > Patrick, > > Here's how i have my http

[PHP] PHP & Apache

2001-03-19 Thread Patrick
Ok I had this working once and again it is eluding me on win98 I have added ScriptAlias /php/ "d:/php/" AddType application/x-httpd-php .php .phtml Action application/x-httpd-php "/php/php.exe" but PHP still will not work I have got Perl working and had PHP working but I neglected to save

[PHP] Running script on remote server

2001-03-16 Thread Patrick Dunford
the output as a file, which I can then load into my web page and display. ======= Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ You are all sons of God through faith in Christ Jesus, for all of you who wer

[PHP] (URL Translating) Apache, PHP, and the love of it all.... well, maybe not.

2001-03-03 Thread Jenni &/or Patrick
efully someone will understand this (I'm sure there will be many), and be able to guide towards something that will work. Thanks, Patrick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

[PHP] fdf example needed

2001-02-21 Thread patrick anderson
an example script I may use?? Thanks, Patrick. PS I checked phpbuilder.com, but the examples assume that the pdf is opened via the browser. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[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]

[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

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] error handling

2001-02-14 Thread Patrick Brown
t;); } "CC Zona" <[EMAIL PROTECTED]> wrote in message 96fcv5$2o0$[EMAIL PROTECTED]">news:96fcv5$2o0$[EMAIL PROTECTED]... > In article <96faad$h9k$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Patrick > Brown") wrote: > > > How can I disable the d

[PHP] error handling

2001-02-14 Thread Patrick Brown
How can I disable the display of error to the browser window from within the script? I want to do a redirect based on the error and cannot because header info has already been sent. Thanks, Pat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

[PHP] Form submision probs with Javascript and PHP

2001-02-09 Thread Patrick Brown
Here's my script. This is a known working script when I use ASP. Why won't is wotj with PHP. function submitForm(f, strPage) { errormsg = ""; if (f.login.value.length == 0) { errormsg = errormsg + "Please enter a login name.\n"; } if (f.email.value.search("@") == -1 || f.email.value.search(

[PHP] Character translation in IE

2001-02-05 Thread Patrick Anderson
ities. Thanks for any help, Patrick. -- 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] Apache and PHP

2001-02-04 Thread Patrick L. Olson
I must be missing something while I had no problem getting perl and SSI working getting PHP to work is eluding me for some reason. I have added this to httpd.conf can someone enlighten me on what may be missing # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType app

[PHP] PHP on PWS

2001-02-02 Thread Patrick L.
. Is there anyone with an auto install program for win32 pws on php, which has advanced beyond beta? TIA, Patrick L. www.choozart.com -- 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] Dnloading FDF docs / acrobat integration

2001-02-01 Thread Patrick Shafer
be influencing this? Please CC me your reply ([EMAIL PROTECTED]) as I am not on this list. Thanks. -Patrick Shafer -- 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

[PHP] Want to learn PHP

2001-01-31 Thread Patrick L.
I've been struggling with perl, till someone said why not give PHP a shot. Where do I start? Aside from manuals, are there any online courses/tutorials which will get me going? TIA Patrick L. www.choozart.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] test, please ignore

2001-01-31 Thread Patrick L.
testing -- 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] Authentication through a login form

2001-01-26 Thread Patrick Dunford
made to the browser for a username/password and then pass these back to the server whenever the server requires authentication? === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ Blessed is the man who

RE: [PHP] Funny running PHP4 on Apache, Windows 95

2001-01-11 Thread Patrick Dunford
Thanks, that works fine > -Original Message- > From: Brian Clark [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 11 January 2001 14:15 > To: PHP is not a drug . > Subject: Re: [PHP] Funny running PHP4 on Apache, Windows 95 > > > > Hello Patrick, > >

[PHP] Funny running PHP4 on Apache, Windows 95

2001-01-10 Thread Patrick Dunford
.phps === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ In his heart a man plans his course, but the LORD determines his steps. -- Proverbs 16:9 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=200

<    1   2   3