Are you sure you want to check in the IF sentence also for the type? If
not, then try using != or == in the if chunk. Is the "Unregistered" a
define/constant?
-Aleksandar
Gustav Wiberg wrote:
Hi!
I saw a several things that other people has pointed out, but there is another
thing...
You ar
Hi!
I saw a several things that other people has pointed out, but there is another
thing...
You are missing '; after height="1"
echo 'https://www.paypal.com/cgi-bin/webscr";
method="post">
https://www.paypal.com/en_US/i/btn/x-click-
but24.gif" border="0" name="submit" alt="Make payments wit
Hi!
My question is: What are trying to achieve? Why do you want a PHP-interpreter
do execute asp.net - files?
Best regards
/Gustav Wiberg
-Original Message-
From: Tony Trapp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2007 3:58 AM
To: php-windows@lists.php.net
Subject: [PHP-W
Hey guys wondering a php can execute again a asp.net file like myfile.aspx?
Thanks guys.
Tony...
Yes the directory is in the PATH
And yes on the second as well
Keith
-Original Message-
From: Jeff White [mailto:[EMAIL PROTECTED]
Sent: Monday, August 06, 2007 9:56 PM
To: 'KM'
Cc: php-windows@lists.php.net
Subject: RE: [PHP-WIN] PHP, MYSQL and Apache
Hello Keith,
I realize th
Hello Keith,
I realize this may seem a bit tedious, but is your PHP directory in the
Windows PATH environment variable? And, if so, is the "libmysql.dll" file in
the PHP directory?
Jeff
-Original Message-
From: KM [mailto:[EMAIL PROTECTED]
Sent: Monday, August 06, 2007 9:22 PM
To: 'C
Not sure if this is the cause but I get this error in my apache error log
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program
Files\\PHP\\ext\\php_mysql.dll' - The specified module could not be found.\r\n
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic l
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\WINDOWS\php.ini
This is indeed the ini file I am editing and saving.
And yes, any time I've made changes to it, I have restarted apache.
Thanks
Keith
-Original Message-
From: Carlton Whitehead [mailto:[EMAI
Keith,
Are you sure that's the same php.ini that is referenced by your
phpinfo(); script?
Have you restarted Apache since you enabled the extensions?
Regards,
Carlton Whitehead
KM wrote:
Here is the section of my php.ini that contains the information
;extension=php_bz2.dll
;extension=php_
Here is the section of my php.ini that contains the information
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.
Keith,
Browse to your phpinfo(); page, and search it for mysql. Is it listed? If
not, the mysql module isn't enabled, and you shouldn't expect a mysql_connect
command to work. You may need to edit your php.ini and enable the
php_mysql.dll module.
Refer to the results of phpinfo(); for the
Looks like the mysql extension isn't enable in your php.ini. Make sure
it is enabled in the .ini and that the extension is in the appropriate
folder.
-Original Message-
From: KM [mailto:[EMAIL PROTECTED]
Sent: Monday, August 06, 2007 3:59 PM
To: php-windows@lists.php.net
Subject: [PHP-W
I am attempting to use the following together….
MYSQL 5.0
Apache 2.2.4
PHP 5.2.3
PHP info I can get. I get the following statement whenever trying to get to
mysql
Here is the PHP code for what I’m trying to do…
Fatal error: Call to undefined function mysql_connect() in
Stephen wrote:
i did take out the ) after them both and it still is not working. I have
copy and pasted it, I just removed the huge blog of info that was given from
PayPal that is not important.
Make sure you have display_errors on and error_reporting is set to E_ALL
in your php.ini. Without
$rank would be called from the users file and then if their rank was set at
Unregistered i want it to display the subscription button and if it was any
other rank then it shows the Cancle Subscription button
""Luis Moreira (ESI-GSQP)"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Stephen,
Should be if ($rank != Unregistered)
However, what is Unregistered? Is it a variable, constant?
There is a possibility that it should be ($rank != $Unregistered)
If you are comparing $rank to an actual text value then it should be
($rank != "Unregistered")
Hopefully that helps.
I believe the syntax is not correct.
First, you should have
if ($rank !== Unregistered) {
or
if (($rank) !== Unregistered) {
Otherwise, the count for "open parenthesis" and "close parenthesis" do not
match.
Also, is Unregistered a defined type?
If not, how do you compare a variable ($rank) ag
Hi Stephen,
It looks like there are a few problems:
To: php-windows@lists.php.net
Sent: Monday, August 6, 2007 11:18:22 AM (GMT-0500) America/New_York
Subject: [PHP-WIN] Help with if
i'm tryin to get the if command to work on my site so that I can get the
buttons to show for registering if a c
i did take out the ) after them both and it still is not working. I have
copy and pasted it, I just removed the huge blog of info that was given from
PayPal that is not important.
"Stut" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Stephen wrote:
>> i'm tryin to get the if comma
Stephen wrote:
i'm tryin to get the if command to work on my site so that I can get the
buttons to show for registering if a certain user is at the first rank.
The current code that I have is as follows;
Curious PHP tag, you don't want the ) after $rank and Unregistered I'm
guessing should
i'm tryin to get the if command to work on my site so that I can get the
buttons to show for registering if a certain user is at the first rank.
The current code that I have is as follows;
https://www.paypal.com/cgi-bin/webscr";
method="post">
https://www.paypal.com/en_US/i/btn/x-click-
but24
21 matches
Mail list logo