Small Help
I'm kind of trying to do this quickly. Can anyone give me some PHP code that
will let me link to a different image if $veriable = blah blah blah. I need
it for 4 different options.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Small Help
also when the user registers. is there a peice of code that will let me send
myself and e-mail informing me?
""Stephen"" <therealzerocool [at] gmail.com> wrote in message
news:26.75.23196.36EEFA64 [at] pb1.pair.com...
> I'm kind of trying to do this quickly. Can anyone give me some PHP code
> that will let me link to a different image if $veriable = blah blah blah.
> I need it for 4 different options.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Re: Small Help
Hi!
If you need help in programming an application from scratch this might not =
be the list for you :-)
Best regards
/Gustav Wiberg
-----Original Message-----
From: Stephen [mailto:therealzerocool [at] gmail.com]
Sent: Wednesday, August 01, 2007 4:41 AM
To: php-windows [at] lists.php.net
Subject: [PHP-WIN] Re: Small Help
also when the user registers. is there a peice of code that will let me sen=
d
myself and e-mail informing me?
""Stephen"" <therealzerocool [at] gmail.com> wrote in message
news:26.75.23196.36EEFA64 [at] pb1.pair.com...
> I'm kind of trying to do this quickly. Can anyone give me some PHP code=
> that will let me link to a different image if $veriable =3D blah blah bla=
h.
> I need it for 4 different options.
--
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.0/927 - Release Date: 2007-07-30 =
17:02
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: Small Help
Sorry I don't understand what your request is about?
- Aleksander
Gustav Wiberg wrote:
> Hi!
>
> If you need help in programming an application from scratch this might not be the list for you :-)
>
> Best regards
> /Gustav Wiberg
>
>
> -----Original Message-----
> From: Stephen [mailto:therealzerocool [at] gmail.com]
> Sent: Wednesday, August 01, 2007 4:41 AM
> To: php-windows [at] lists.php.net
> Subject: [PHP-WIN] Re: Small Help
>
> also when the user registers. is there a peice of code that will let me send
> myself and e-mail informing me?
> ""Stephen"" <therealzerocool [at] gmail.com> wrote in message
> news:26.75.23196.36EEFA64 [at] pb1.pair.com...
>
>> I'm kind of trying to do this quickly. Can anyone give me some PHP code
>> that will let me link to a different image if $veriable = blah blah blah.
>> I need it for 4 different options.
>>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Re: Small Help
Stephen,
Generally speaking this list isn't for people to write code for you, but
this is a very simple thing to do.
For emailing, check the mail() function on php.net documentation. You will
need to make sure your SMTP server is properly configured.
For changing an image with 4 different options, I don't really know how you
want it called, but you could call it in the query string.
For example:
<img src="images/image<?=$imagenumber?>.jpg">
And your url would be http://www.someurl.com/picture.php?imagenumber=4
I think that is what you wanted.
Tom
-----Original Message-----
From: Aleksandar Vojnovic [mailto:muadib [at] consoriana.com]
Sent: Wednesday, August 01, 2007 5:22 AM
To: Gustav Wiberg
Cc: 'Stephen'; 'php-windows [at] lists.php.net'
Subject: Re: [PHP-WIN] Re: Small Help
Sorry I don't understand what your request is about?
- Aleksander
Gustav Wiberg wrote:
> Hi!
>
> If you need help in programming an application from scratch this might not
be the list for you :-)
>
> Best regards
> /Gustav Wiberg
>
>
> -----Original Message-----
> From: Stephen [mailto:therealzerocool [at] gmail.com]
> Sent: Wednesday, August 01, 2007 4:41 AM
> To: php-windows [at] lists.php.net
> Subject: [PHP-WIN] Re: Small Help
>
> also when the user registers. is there a peice of code that will let me
send
> myself and e-mail informing me?
> ""Stephen"" <therealzerocool [at] gmail.com> wrote in message
> news:26.75.23196.36EEFA64 [at] pb1.pair.com...
>
>> I'm kind of trying to do this quickly. Can anyone give me some PHP code
>> that will let me link to a different image if $veriable = blah blah blah.
>> I need it for 4 different options.
>>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.0/927 - Release Date: 7/30/2007
5:02 PM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.0/927 - Release Date: 7/30/2007
5:02 PM
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Code sample - Small Help
if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';}
?>
<div class="adThumb"><img src=" <? echo ' . $row['image'] '" ' ?> > </div>
""Stephen"" <therealzerocool [at] gmail.com> wrote in message
news:26.75.23196.36EEFA64 [at] pb1.pair.com...
> I'm kind of trying to do this quickly. Can anyone give me some PHP code
> that will let me link to a different image if $veriable = blah blah blah.
> I need it for 4 different options.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Code sample - Small Help
$path = '<img src="/image/'.(($var) ? 'a' : 'b').'.jpg">';
even shorter :)
- Aleksander
Mark Abrams wrote:
> if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';}
>
> ?>
>
> <div class="adThumb"><img src=" <? echo ' . $row['image'] '" ' ?> > </div>
>
>
> ""Stephen"" <therealzerocool [at] gmail.com> wrote in message
> news:26.75.23196.36EEFA64 [at] pb1.pair.com...
>
>> I'm kind of trying to do this quickly. Can anyone give me some PHP code
>> that will let me link to a different image if $veriable = blah blah blah.
>> I need it for 4 different options.
>>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Template
hi,
wich template do you use for a little php application ?
Cedric
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Template
Cédric Joubert wrote:
> wich template do you use for a little php application ?
Template? What exactly do you mean by that?
-Stut
--
http://stut.net/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Template
Can you explain what you mean by "template"? That can mean so many =
things.
Bill
-----Original Message-----
From: C=E9dric Joubert [mailto:cedjoubert [at] gmail.com]
Sent: Wednesday, August 01, 2007 1:41 PM
To: php-windows [at] lists.php.net
Subject: [PHP-WIN] Template
hi,
wich template do you use for a little php application ?
Cedric
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Template
------=_NextPart_000_00C7_01C7D47F.FDC32BF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
> Template? What exactly do you mean by that?
Thanks but i was much looking for this kind of things :
http://cyberzoide.developpez.com/php4/template/
----- Original Message -----
From: Dan Shirah
To: C=E9dric Joubert
Sent: Wednesday, August 01, 2007 9:00 PM
Subject: Re: [PHP-WIN] Template
I would start out with a simple:
<html>
<head>
<title>My 1st PHP Page</title>
<meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Diso-8859-1">
</head>
<body>
<?php
PUT YOUR PHP IN HERE
?>
</body>
</html>
On 8/1/07, C=E9dric Joubert <cedjoubert [at] gmail.com> wrote:
hi,
wich template do you use for a little php application ?
Cedric
--
PHP Windows Mailing List ( http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
------=_NextPart_000_00C7_01C7D47F.FDC32BF0--
Re: Template
Template? As in html templates that are used in combination with PHP
to generate a page?
- Aleksander
Quoting Stut <stuttle [at] gmail.com>:
> C=E9dric Joubert wrote:
>> wich template do you use for a little php application ?
>
> Template? What exactly do you mean by that?
>
> -Stut
>
> --
> http://stut.net/
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php