"Call to undefined function" always means that the function is not available
to php. Have you verified that PHP is actually loading the .dll's -- call
phpinfo().
What you don't say is whether or not you are using ISAPI for CGI. Besides
that, extension dll's are normally located in the "extension
The comma before the second trim is misplacedby chance, do you mean this
instead:
$ReturnBalance=$DelphiASPObj->GetClientBalance(trim($Outlet_session)."E",
trim($Application["FinURL"]));
-Original Message-
From: Louis Young [mailto:[EMAIL PROTECTED]
Sent: Friday, January 14, 2005 6:1
How about using the registry to store the location of the php.ini. It could
default to c:\windows for backward compatibility. I currently have multiple
versions of PHP setup on the same system. This works fine, as long as I
don't use the ISAPI module because the path to php.ini is hardcoded to
c:
There might have been a little confusion as to what I proposed. First,
assuming that php is installed in c:\php, create the directory
c:\php\includes -- this will be where we put all of our files so that they
can be accessed by php no matter where your web root (site files) are
located. This dire
The most straight forward that I can see would be to always prepend a php
file that does the appropriate ini_set's based on $_SERVER['HTTP_HOST'] or
$_SERVER['SERVER_NAME']. For example:
: your php.ini :
include_path = ".;c:\php\includes"
auto_prepend_file = setup_vhost.php
: c:\ph
I am not sure of exactly what you want to accomplish, but you might be able
to do something with netcat. From the readme.txt:
A far more exciting thing to do is to get a quick shell going on a remote
machine by using the -l or "listen" option and the -e or "execute"
option. You run Netcat listen
> -Original Message-
> We have a new piece of software to roll out in the next week.
> The software is built on PHP 4.3.4, but the webservers that
> we intend to use are also running other websites which are
> only tested on PHP 4.0.4 or 4.1.2 or something. Obviously
> ideally, we wou
preg_match('/[^a-z0-9]/i', $stringToSearch);
http://www.php.net/preg_match
> -Original Message-
> From: Matt Babineau [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 10:56 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Searching a string for everything but a-z and 0-9
>
>
This is the correct form:
Option 1
Option 2
When the above is submited, $_POST['choices'] will be an array that contains
the selected options. If you have register_globals = On in your php.ini,
$choices will also be an array of selected options.
> -Original Message-
> From: Dash
$SESSION['count'] wouldn't workbut $_SESSION['count'] shouldif not,
you are using an older version of PHP.
> -Original Message-
> From: David Elliott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 08, 2002 1:18 PM
> To: php-windows
> Subject: Re: [PHP-WIN] track_vars and registe
shouldn't this line:
$fp = fsockopen("$remotehost[$i]", $remoteport[$i], $errno, $errstr);
be this:
$fp = fsockopen("{$remotehost[$i]}", $remoteport[$i], $errno, $errstr);
OR
$fp = fsockopen($remotehost[$i], $remoteport[$i], $errno, $errstr);
-Original Message-
From: C. Hendrie
To: [EM
Two things:
The undefined notice you are getting is the result of your error_reporting
setting in your php.ini...
http://www.php.net/manual/en/function.error-reporting.php
What is ultimately causing the error is that not all HTTP requests to your
page have a referrer defined, therefore, on the o
What happens when you load a page that only contains the one line:
> -Original Message-
> From: Arthur [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 5:49 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Beginner question - blank php page
>
>
> Just installed php for the
Try gethostbyaddr()
http://www.php.net/manual/en/function.gethostbyaddr.php
> -Original Message-
> From: R.S. Herhuth [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Is it possible to get a hostname?
>
>
>
> Is it possi
SSI in IIS follows the form:
but this only works out-of-the-box within .asp files.I do not know how
to "turn on" SSI of this form for any other extension within IIS. Including
a php file from an asp page would be possible iff IIS was configured to
process the include file based on the exten
You could configure IIS to require authentication before giving them access
to the form, thereby allowing you access to their username. It really
doesn't take that long to type your username/password.
-Original Message-
From: Carl Whittaker
To: [EMAIL PROTECTED]
Sent: 6/6/02 7:47 AM
Subj
do you mean?
// load your csv
$fp = fopen('your.csv', 'r');
while(($line = fgetcsv($fp, 4096)) && $line[0] != $_GET['id']);
// the loop terminated...possible outcomes are a match or EOF, in which
// case $line will be boolean and not an array
if (is_array($line)) {
// you matched the correct
(but is reversible to assembler).
>
> In windows i would recomend you to build a com component... they are
> easy to do and if build with C++, they are very fast.
>
> VB is also an option, but, the problem is that it is too near source
> code also...
>
> Hope that
Is Zend Encoder an option?
http://zend.com/store/products/zend-encoder.php
> -Original Message-
> From: Bruce Miller [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 21, 2002 1:19 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Easy Way To Compile Extension in Win32
>
>
> I have an algo
Sure
ASP can't do associative arrays
ASP can only do numerical multi-dimension arrays
ASP can't do serious string manipulation
ASP carries way too much around in each function call--global scope all the
time for all variables
ASP cannot short-circuit a boolean expression
ASP database connecti
I have been using $_SERVER['AUTH_USER'] and $_SERVER['AUTH_PASSWORD']
IIS 4
> -Original Message-
> From: toby z [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 13, 2002 10:50 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] how do I get a user name?
>
>
>
Oops.replace the "ALL" with "E_ALL" and "NOTICE" with "E_NOTICE"
> -Original Message-
> From: Shrock, Court [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 4:51 PM
> To: Afan Pasalic; [EMAIL PROTECTED]
> Subject: RE:
line 2
>
> Any idea?
>
>
> Afan
>
>
> - Original Message -
> From: Shrock, Court
> To: brother ; '[EMAIL PROTECTED]'
> Sent: Thursday, May 09, 2002 1:07 PM
> Subject: RE: [PHP-WIN] register_globals and php 4.2
>
>
> Replace a
http://www.aditus.nu/jpgraph/
> -Original Message-
> From: Matt Babineau [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 4:28 PM
> To: 'Php-Win (E-mail)'
> Subject: [PHP-WIN] PHP Graphing engine
>
>
> Does anyone know of any good graphing engines for PHP? I need a slick
> wa
.html files are not normally parsed by php...do you have your webserver
setup to parse .html files using PHP?
> -Original Message-
> From: Ethan Nelson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:08 PM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP-WIN] PHP Warning: No File
Are you sure that the database server is called 'nik'.if the same system
is both your web server and database server, I would recommend replacing
'nik' with 'localhost'. I am thinking that your mysql_connect() should be
as follows:
mysql_connect('localhost', 'nik', '');
//connect to localhos
That is because php is looking for php.ini in c:\winnt.it has no
relation to whether or not the file actually exists there. If a php.ini
does not exist where it looks for it, php uses defaults for every internal
setting.
> -Original Message-
> From: Hammad Sophie [mailto:[EMAIL PROTE
You can add another domain by creating a section
in your httpd.conf file for each domain you want to add. Inside this
section, you specify the document root directory to serve files from.
a sample follows (More information can be found at
http://www.apache.org/docs/vhosts/):
# this directive t
Was searching through the groups and thought I would share this code:
FullName . '';
//Returns Account Name
echo $ADSIObject->Name . '';
//Returns Account Description
echo $ADSIObject->Description . '';
?>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Did the include_path change in your php.ini? Verify your include_path
directive in your php.ini.
-Original Message-
From: Steve
To: [EMAIL PROTECTED]
Sent: 3/18/02 5:19 PM
Subject: [PHP-WIN] PHP 4.1.2 problems
I just updated my php instalation to 4.1.2 (the one witht he forced
redirect
There are 5 different address classes. You can determine which class any IP
address is in by examining the first 4 bits of the IP address.
Class A addresses begin with 0xxx, or 1 to 126 decimal.
Class B addresses begin with 10xx, or 128 to 191 decimal.
Class C addresses
Worry not, the only dumb question is the one that is not asked [after you
have searched for an answer yourself].if you are running php on windows
(which I assume you are because you sent it to the windows list), you do not
need to worry about the vulnerability because it only affects some
sola
I see a closing double-quote, but I do not see a semicolon after that
double-quote on the last line you included:
provider-authenticatie...: static-password"
should it be:
provider-authenticatie...: static-password";
Can't really see anything else, but I have had some misleading error
The most likely reason it was "locking up" was that php.exe was expecting
input from STDIN since you did not specify a filename when you started it.
In the future, try pressing CTRL-Z, CTRL-D, or CTRL-C (I can't remember
which one it uses right now) to get it to terminate.
-Original Message--
re: open source and php--I agree with John
re: the article--It is a rather obvious attempt to take pressure off of
Microsoft.
The paragraph:
"In the past, Microsoft's Internet Information Server has had a slew of
problems with flaws in its components that allowed hackers and worms to
break in. T
To explain the 400 bad request, you most likely had a typo when you typed in
the HTTP request. The request is case-sensitive and very particular. Most
likely, the "Host: localhost" portion of the request messed up somehow.
When you get a "HTTP/1.1 200 OK" response, that means that the webserver
Sure,
go to http://www.chiark.greenend.org.uk/~sgtatham/putty/latest/x86/putty.exe
and download it. It is PuTTY, an open source telnet/ssh client that is far
superior than the telnet included in windows. Instructions are prefaced
with a *.
*run the exe
*type in the HostName field: localhost
*m
Have you tried to telnet to localhost:80 and given it a valid request header
to see what your response from teh webserver is?
when connected via telnet to port 80, type:
GET / HTTP/1.1[enter]
Host: yourhost.com[enter]
[enter]
[enter]
You should see something like:
HTTP/1.1 200 OK
Date: Mon, 25 F
sorry to be a pest
but, not necessarilyfor example:
two different "sites" hosted on the same server in the same domain
http://www.mydomain.com/dir1/login.php
http://www.mydomain.com/dir2/login.php
do not necessarily share the same cookies.if the domain(url) is set to
"www.mydomain.
another solution:
since they changed their code for you already, you might try to get them to
add your domain to the list of valid domains in the cookie that they set,
therefore, your scripts would be able to pick them upjust a thought.
--
PHP Windows Mailing List (http://www.php.net/)
I might not understand what you mean by "Webspeed page that is passing to my
php page". Is your browser requesting the Webspeed page, or is your php
script connecting to webspeed directly via a call to fopen?
What domain(url) was the original cookie made valid for? If you are
requesting your sc
Nicole,
It is called Zend Encoder and is located at
http://www.zend.com/zend/products.php#encoder. The only catch, is that it
is not always without cost. I haven't actually used it so I would be
interested in your opinion if you decide to go ahead with it.
Court
> -Original Message-
>
Actually, there is a complete graphing suite written in OO PHP that already
does all the hard work. It is called jpgraph and located at
http://www.aditus.nu/jpgraph/. A bit of forewarning, you need to make sure
you have zlib, libpng, libjpeg, and gd installed and setup. Of course, php
needs to b
Joe,
here is a link that will help in learning how to do COM (an excel example
included): http://phpbuilder.com/columns/alain20001003.php3
> -Original Message-
> From: Mainolfi, Joe [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 11:22 AM
> To: 'PHP-WIN'
> Subject: [PHP-WI
yes, but you do it by sending the appropriate http header using the header
function. check out http://www.php.net/manual/en/function.header.php. The
examples show you how to do it.
> -Original Message-
> Subject: [PHP-WIN] response.expire
>
>
> is there something like response.expire
You can even do it on a unix platform using freeTDS (http://freetds.org),
just compile php --with-sybase=/freetds/base/install/dir and make sure you
set the TDS version depending on your mssql server version.
> -Original Message-
> From: Paco Ortiz [mailto:[EMAIL PROTECTED]]
> Sent: Thurs
Personally, I have tried many ways to get it to work. In an earlier post, I
mentioned that the only way I was able to get mail to work at all was
removing the bcc and cc headers from my windows php scripts. If a solution
does exist, I would be interested in it as well
Court
> -Original
Your MAC address on your NIC is unique, but a problem arises because the MAC
address is Ethernet (the same collision domain) and the internet routes IP,
which is a layer above Ethernet. The majority of the internet routes IP
over ATM, a much quicker alternative to Ethernet. You see, Ethernet, AT
Weird...have you verified that you can send mail using the server specified
in php.ini using another app --outlook express, netscape mail, mozilla mail,
etc...
>Court-
>No luck yet. Here is the call to mail():
>
>$mr = mail("[EMAIL PROTECTED]", "subject", "Line 1");
>
>Simple and straight forward
I had a similar error running in CGI mode on WinNT. I ended up taking apart
my call to mail() until it worked. A simple call with dummy values and no
extra headers would work, but what I wanted would not. I traced the cause
to the bcc header. Also, I noticed that the cc header does not work ei
hweb services.I am curious about an alternative to .Net and Sun
for web services.anybody?
-Original Message-
From: alain samoun [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 11:48 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [P
Alain,
The PHP engine can only process php code in files on your local
filesystem(*). It just so happens that PHP is smart enough to realize that
if a file is not entirely PHP code, the rest must be meant for output to the
client (which can be ANY device, not just a human behind a browser). When
Yes, it works on Linux/Apache. But the results are not what you might
expect. When one normally uses the include statement, you intend to process
some php file, not the output from such a file.
For example:
nfo.php contains, located at http://www.myserver.com/nfo.php :
--BEGIN FILE
Curtis,
the call to session_register needs a string that names the variable:
Instead of:
session_register($username);
You need:
session_register('username');
This would register the $username variable
Court
-Original Message-
From: Curtis [mailto:[EMAIL PROTECTED]]
Sent: Friday,
It would be best to use the smtp server of your isp, as yahoo has disabled
public relaying (At least I hope--as should everyone else). In the info
that they sent you, they probably provided you with a name that you can use
such as "mail.yourisp.net" or "smtp.yourisp.com". Your isp knows that mai
Brian,
It seems that you are getting the message because PHP doesn't know how to
connect to "server", therefore you need to tell it where to connect to.
In you php.ini, you need to set the SMTP value where the line says "server"
to something meaningful. This value needs to point to a valid smtp
56 matches
Mail list logo