php-windows Digest 9 Aug 2007 04:25:00 -0000 Issue 3305
Topics (messages 28354 through 28359):
Wamp/XAMPP and phpmyadmin
28354 by: Abhisek Dutta
28356 by: Jacob Bergman
28357 by: Jarrett Meyer
28358 by: Roel Boons
Re: Help with if
28355 by: Gustav Wiberg
building php 5.2.1 on windows
28359 by: Rashmi Badan
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I recently came across wamp and XAMPP and was tempted to use them. They
seemed really easy to use and the installation is simple and easy. What
really amazed me is phpmyadmin. But i am yet to start with phpmyadmin. I
am still learning php. If i start using phpmyadmin i'd probably never
learn to use command line. So, my question is how healthy is it to use
phpmyadmin for a n00b?
Regards
Abhisek
--- End Message ---
--- Begin Message ---
First off, phpmyadmin is built into Xampp... I'm not sure about Wamp...
I use Xampp as my environment in learning php, and I don't really use
phpmyadmin all that much at the moment, though I have done a few things
in there. Its really just up to you... phpmyadmin doesn't allow you to
do most of what you can do writing php... you will defiantly still have
to write php code to really make anything happen... but it is more of an
admin program to allow the administration of your environment to be a
little easier.
Thanks!
Jacob Bergman
Network Technician
Pullman School District #267
(509) 432-4012
[EMAIL PROTECTED]
-----Original Message-----
From: Abhisek Dutta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2007 10:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Wamp/XAMPP and phpmyadmin
I recently came across wamp and XAMPP and was tempted to use them. They
seemed really easy to use and the installation is simple and easy. What
really amazed me is phpmyadmin. But i am yet to start with phpmyadmin. I
am still learning php. If i start using phpmyadmin i'd probably never
learn to use command line. So, my question is how healthy is it to use
phpmyadmin for a n00b?
Regards
Abhisek
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
PHPMyAdmin is a MySQL administrator interface written in PHP. It can help you
build queries that you cut/paste into existing PHP code. For what you actually
do with that query, you'll need to write some real PHP. PHPMyAdmin will not
hold you back in terms of learning PHP. It will eliminate the need for you to
learn command-line MySQL.
--
Jarrett M. T. Meyer
http://jarrettmeyer.blogspot.com
http://www.jarrettmeyer.com
----- Original Message ----
From: Abhisek Dutta <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Wednesday, August 8, 2007 1:24:39 AM
Subject: [PHP-WIN] Wamp/XAMPP and phpmyadmin
I recently came across wamp and XAMPP and was tempted to use them. They
seemed really easy to use and the installation is simple and easy. What
really amazed me is phpmyadmin. But i am yet to start with phpmyadmin. I
am still learning php. If i start using phpmyadmin i'd probably never
learn to use command line. So, my question is how healthy is it to use
phpmyadmin for a n00b?
Regards
Abhisek
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
As Jarrett says, PHPMyAdmin will not hold you back in terms of PHP, but
instead facilitates the learning process of MySQL. I use it all the time, as
administering a website is (most of the time) quicker then command-line
MySQL.
However, if you really want to learn a lot on php, you'll eventually want to
set up your own server, and not do it from a bundle. Only then, you'll start
to realise a lot (like the settings in php.ini). There is a great guide
around for installing the php/mysql/apache combo on windows.
http://wamp.corephp.co.uk/
Greetings
Roel
On 8/8/07, Jarrett Meyer <[EMAIL PROTECTED]> wrote:
>
> PHPMyAdmin is a MySQL administrator interface written in PHP. It can help
> you build queries that you cut/paste into existing PHP code. For what you
> actually do with that query, you'll need to write some real PHP. PHPMyAdmin
> will not hold you back in terms of learning PHP. It will eliminate the need
> for you to learn command-line MySQL.
>
> --
> Jarrett M. T. Meyer
> http://jarrettmeyer.blogspot.com
> http://www.jarrettmeyer.com
>
> ----- Original Message ----
> From: Abhisek Dutta <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Sent: Wednesday, August 8, 2007 1:24:39 AM
> Subject: [PHP-WIN] Wamp/XAMPP and phpmyadmin
>
> I recently came across wamp and XAMPP and was tempted to use them. They
> seemed really easy to use and the installation is simple and easy. What
> really amazed me is phpmyadmin. But i am yet to start with phpmyadmin. I
> am still learning php. If i start using phpmyadmin i'd probably never
> learn to use command line. So, my question is how healthy is it to use
> phpmyadmin for a n00b?
> Regards
> Abhisek
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
>
--- End Message ---
--- Begin Message ---
Hi!
Oh, sorry. I seem to have some things ...
Try setting a variable to show PHP-errors (seems like PHP doesn't show errors
on your server)
Try this code instead:
<?php
error_reporting(E_ALL);
echo "rank=" . $rank;
echo "unregistered=" . Unregistered;
if ($rank !== Unregistered) {
echo "true";
}
else {
echo "false";
}
?>
You must get some kind of return-value / errors / notices...
Best regards
/Gustav Wiberg
-----Original Message-----
From: Stephen Deacon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2007 6:12 PM
To: Gustav Wiberg
Subject: Re: [PHP-WIN] Help with if
I did try doing
echo "rank=" . $rank;
echo "unregistered=" . Unregistered;
if ($rank) !== Unregistered) {
echo "true";
else {
echo "false";
}
but it showed nothing, neither true or false showed up. What could I be
doing wrong then?
----- Original Message -----
From: "Gustav Wiberg" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2007 1:07 AM
Subject: RE: [PHP-WIN] Help with if
Hi!
I saw a several things that other people has pointed out, but there is
another thing...
You are missing '; after height="1"
echo '<form action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-
but24.gif" border="0" name="submit" alt="Make payments with PayPal -
it's fast, free and secure!">
<img alt="" border="0"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1"
height="1">
The if-statement is missing a parenthese )
if ($rank) !== Unregistered) {
You have two right paranthesis and one left...
if ($rank) !== Unregistered) {
Could be
if ($rank !== Unregistered) {
OR
if (($rank) !== Unregistered) {
Or as someone else has pointed out:
if ($rank !== $Unregistered) {
</php should be <?php as someone has pointed out also
You can try to do this and see what happens. (and figure out what's the
problem)
echo "rank=" . $rank;
echo "unregistered=" . Unregistered;
if ($rank) !== Unregistered) {
echo "true";
else {
echo "false";
}
Best regards
/Gustav Wiberg
-----Original Message-----
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 06, 2007 5:18 PM
To: [EMAIL PROTECTED]
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 certain user is at the first rank.
The current code that I have is as follows;
</php
if ($rank) !== Unregistered) {
echo '<form action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-
but24.gif" border="0" name="submit" alt="Make payments with PayPal -
it's fast, free and secure!">
<img alt="" border="0"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1"
height="1">
<rest of the code>
} else {
echo '<A HREF="https://www.paypal.com/cgi-bin/webscr?
cmd=_subscr-find&alias=therealzerocool%40gmail%2ecom">
<IMG SRC="https://www.paypal.com/en_US/i/btn/cancel_subscribe_gen.gif"
BORDER="0">
</A>';
}
?>
On the account i'm testing with it should not be showing both buttons on the
lase one, but both of them show. What am I doing wrong?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 2007-08-05
16:16
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date: 2007-08-06 16:53
--- End Message ---
--- Begin Message ---
Hi,
I'm trying to build php 5.2.1 on windows and am hitting the following
problem at link time ....
Creating library Release\php5ts.lib and object Release\php5ts.exp
libxml.obj : error LNK2019: unresolved external symbol _xmlDllMain
referenced in function [EMAIL PROTECTED]
Release\php5ts.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program
Files\Intel\CPP\Compiler81\IA32\bin\icl.
exe"' : return code '0x460'
I am linking it to a libxml2.lib that I have compiled. When I do a dumpbin i
do not see the _xmlDllMain symbol. I tried downloading some libxml2 binaries
but they didn't have that symbol either.
Would appreciate some help on this issue.
Thanks,
Rashmi
--- End Message ---