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
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
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
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
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)
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
Unless you are sending HTML mail, you need to use newline - not BR
Best Regards,
Patrick Lynch.
==
Eirco
==
-Original Message-
From: Kyle Smith [mailto
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
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
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
> 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
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
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
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
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
n’t able to find
anything in the archives.
--
Regards,
Patrick Smith
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:
>
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
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&
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]
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
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
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
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
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
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
.
--
===
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
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
=$intNumRecs;$i++) {
> $aryNessusFields = explode("|", $aryNessus[$i]);
> $hostname = $aryNessusFields[0];
> $protocol = $aryNessusFields[1];
> $number = $aryNessusFields[2];
> $severity = $aryNessusFields[3];
> $description + $aryNessusFields[4];
> // S
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
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
- 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
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
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
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
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
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
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]
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
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
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
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
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(
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]
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
.
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
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
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
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]
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
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,
>
>
.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
201 - 252 of 252 matches
Mail list logo