You could try Mercury, which is free.
Mercury Information: http://www.pmail.com/overviews/ovw_mercwin.htm
Mercury Download: http://www.pmail.com/downloads_maine_t.htm
You'll want the Mercury Mail Transport System for Win32 and Netware
Systems v.3.32. Don't
worry, Netware is not required.
-Rod
Register_Globals is off by default in version 4.2.3. See the following
manual page for more information.
http://www.php.net/manual/en/language.variables.predefined.php
- Original Message -
From: "Shane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 11:08
Needs to be changed to the following if your forms are using the GET
HTTP method:
if(!isset($_GET["var"])){
// do nothing
}else{
// VAR IS SET.. DO SOMETHING
}
If your forms use the POST HTTP method then it needs to be changed to:
if(!isset($_POST["var"])){
// do nothing
}else{
// VAR IS SET..
the word METHOD is incorrectly spelled.
This is the exact code in the HTML file:
PHP Form Example
Your name:
Your age:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is on line 251?
>Warning: Variable passed to each() is not an array or object in
>/home/www/website/admin/include/adminclass.php on line 251
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$toolsneeded
instead?
- Original Message -
From: "Sean Mayhew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 3:59 PM
Subject: Re: [PHP] Class Function Problem
: while(list($name,$url) = each($tools))
:
:
: >From: "R
: Ok, I know this is a longshot but does anyone on this list work in
the
: healthcare industry and have created an 837 with php? I am thinking
of
: attempting to create one in php and didn't want to reinvent the
wheel.
Just curious. What is an 837?
--
PHP General Mailing List (http://www.php
> I am making an application in PHP, but I want it to run on a user's
> local computer... but I need to find someway to bundle this so that when
> it is distributed, the installer installs PHP for windows... then copys
> the PHP files to the correct directory, then puts a short cut on the
> deskto
> Shell side:
> - must be readable and executable by user (apache or perhaps everyone)
> - suid bit work only for programs, not scripts I think
> - shell can only execute cmds for which it's effective user has
> sufficient permissions
>
> Try this (as root on webserver), if you can login as apac
Greetings!
I'm looking at using BerkeleyDB along with PHP. This is a bit off topic but
is there a WIN32 binary distribution of BerkeleyDB somewhere out there? I've
looked but haven't had any luck in finding it. I don't have Visual C++ to
compile the source. If someone knows of a precompiled source
Hello. I've been attempting to write a script that will run a shell script
using the shell_exec function and haven't had any success with getting it to
run in the browser. My web server runs as the user 'apache.' I'm able to run
the script successfully from the command line as root but when I run i
In the code below what does the & (ampersand) at the beginning of the
function name do?
Code from ADODB library--
function &ADONewConnection($db='')
{
GLOBAL $ADODB_Database;
$rez = true;
if ($db) {
if ($ADODB_Database != $db) ADOLoadCode($db);
} el
I've been looking and haven't found anything on this. How do you open a file
then select a line and delete that line?
Thanks,
Rod
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php.net is broke. There's an undefined function error.
CinchHost.com - Web Hosting Made Easier
ASP, PHP, CGI, WEBMAIL, And More
Packages as Low as $9.99 - No Set Up fees
http://www.cinchhost.com/
**
Greetings!
Is there a PHP function that will allow a script to connect to a web server
using SSL?
I would need to post data from a script to a remote server securely. The
remote server has SSL enabled.
Thanks,
Rod
CinchHost.com - Web Hosting Made Ea
> You can use Curl to send post requests, take a look at
> http://www.php.net/curl
>
> If you have compiled PHP --with-openssl you can also access https
> locations with functions such as file_get_contents.
>
> If Curl is not an option and you have PHP compiled with streams and
> --with-openssl yo
Hello. I'm attempting to upload a file using the script below and I'm not
having any success. The temp directory I'm using does exist and is
writeable. When I browse for the file then hit the send button it appears to
be working then displays the form again with no errors. I look for the file
on th
anks again,
Rod
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "Rodney Green" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 1:21 AM
Subject: Re: [PHP] file upload script
>
> By no errors, do you mean
7;]['type']."";
echo "Copy Done";
}
else
{
echo "";
echo "Could Not Copy, Wrong Filetype
(".$_FILES['imagefile']['name'].")";
}
}
?>
- Original Message -
From: "Philip Olson"
Is there a way to execute a command line php script from a browser by, say
clicking a button and then having the browser let go and let the script run
independet of the browser? Hope I explained that correctly.
Thanks,
Rod
CinchHost.com - Web Hosting
Try this: http://www.faqts.com/knowledge_base/view.phtml/aid/208
- Original Message -
From: "micro brew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 12:03 AM
Subject: [PHP] Single Quotes vs Double Quotes
> Hi everyone,
>
> Could somebody please explai
PHP Users - While this is not really on topic it is relevant for all PHP
users. Sign the petition at the link below which will be presented to
ICANN regarding the Verisign abuse of DNS.
http://www.PetitionOnline.com/icanndns/
Rod
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
D. Jame wrote:
HI,
Is ther any way to remove HTML tags from Source File with PHP
jame
Maybe this will do what you want it to do:
http://www.php.net/strip-tags
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings!
I'm writing a script that downloads a tarball from an FTP server and
unpacks it into a directory. Here's the line of code that does this.
exec("tar -C /scripts/ -zxv --preserve-permissions -f " .
"/scripts/mailfiles.tar.gz") or die('Tar failed!');
My problem is that the files' owner
Marek Kilimajer wrote:
Rodney Green wrote:
Greetings!
I'm writing a script that downloads a tarball from an FTP server and
unpacks it into a directory. Here's the line of code that does this.
exec("tar -C /scripts/ -zxv --preserve-permissions -f " .
"/scripts/mailf
Greetings!
I'm writing a script that will take the contents of a text file that has
several lines of user accounts and creates a shell script with chown
commands for each user in that text file. My problem is that when it
writes the shell script file it puts a line break after the colon in
bet
John Nichel wrote:
Chances are, $buffer has the line break on it when you read it in from
the text file. Try striping off whitespace before you write...
while (!feof ($handle)) {
$buffer = rtrim ( fgets($handle, 1000) );
fwrite ($fhandle, "chown $buffer:html
http://www.php.net/manual/
John Nichel wrote:
Rodney Green wrote:
John Nichel wrote:
Chances are, $buffer has the line break on it when you read it in
from the text file. Try striping off whitespace before you write...
while (!feof ($handle)) {
$buffer = rtrim ( fgets($handle, 1000) );
fwrite ($fhandle
John Nichel wrote:
Rodney Green wrote:
Actually, I'm not having problems with that. The whitespace is still
there in between the commands and arguments, etc. I'm using fgets ,
not fread. Not sure what the difference between the two is but I'll
check it out. The problem I am ha
Hello,
Is PHP able to access and use Windows Environment Variables? If so, is
there a function or a reference you can point me to?
Thanks,
Rod
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Wong wrote:
On Wednesday 26 November 2003 00:24, Rodney Green wrote:
Is PHP able to access and use Windows Environment Variables? If so, is
there a function or a reference you can point me to?
If any are available they would most likely be in:
print_r($_SERVER)
Thanks Jason
- Original Message -
From: "Manuel Lemos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 8:30 PM
Subject: Re: [PHP] Re: post an array into another site
> Hello,
>
> On 12/08/2003 11:04 PM, Chris Shiflett wrote:
> http://www.phpclasses.org/httpclient
> >
I'm using the CLI version 4.3.4 on Windows XP Pro. The script I'm
writing has only a couple of functions, a couple of "if" conditionals
and a "while" loop. At the very top of the script I have an echo
statement with a message I want printed to the console window. The
problem is that it's not ec
Ford, Mike [LSS] wrote:
Shouldn't that be *don't* use output buffering and...? The flush() function has nothing to do with output buffering, and if output buffering is on you will need ob_flush() as well.
Another (and probably better) solution is to create a php-cli.ini file, which will be picke
Hello,
I'm looking for an application that would allow easy documentation of
changes to a system, device or application. This would be used to
record changes made for future reference. It would simply have
categories that would contain a particular device or system and under
that device or system
Hello,
I'm using a for loop to iterate through an array and slice parts of
the array and add into another array.
When array_slice is called the variable $i is not being substituted
with the current value of
$i and the $output array is empty after running the script. Can
someone look at the code b
not just echo an array (even of characters). It must be a
> string, or else echo will only produce the output 'Array'.
>
> Hope this helps,
> -Connor McKay
>
> Rodney Green wrote:
> > Hello,
> >
> > I'm using a for loop to iterate through an array and sl
$output[] = array_slice ($textArray, $int_range[start][$i],
$int_range[end][$i]); is creating a multi-dimensional array as
$output. In my foreach loop I was treating $output as a
single-dimensional array. That's why it wasn't working. print_r() is
my friend. :-)
On 10/13/05, Ro
38 matches
Mail list logo