Re: php redirect
| From: | Justin French | Date: | Fri, 26 Jul 2002 16:20:53 +0000 |
| Subject: | Re: php redirect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109781@lists.php.net to get a copy of this message | ||
Well the current web-dev environment here in Melbourne, Australia is VERY
Microsoft oriented at the moment. I'm happily freelancing, but have been
keeping my eye on the big job websites, just in case that perfect job comes
up.
I get emailed about a few jobs every day, and 90% of them are for a M$
environment.
I guess that would be some form of motivational tool for someone to learn
ASP -- if there aren't any PHP jobs, then what's the point in knowing PHP?
I'm sure it's just a temporary problem here at the moment, and it'll sort
itself out... but if I ever get a week without much work, I'll try and learn
a bit of ASP, just so that when a client/employer ask me to use ASP, I can
fumble through it, or better still, recommend PHP as an educated
alternative.
Justin French
on 27/07/02 1:14 AM, David Buerer (david@pladesigns.com) wrote:
> What's ASP????
>
> I don't know if and haven't learned it so it couldn't be. After all, how
> many programming languages does one need to know??
>
>
> -----Original Message-----
> From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com]
> Sent: Friday, July 26, 2002 8:27 AM
> To: 'David Buerer'; php-general@lists.php.net
> Subject: RE: [PHP] php redirect
>
>
> [snip]
> This is the only way I've figured out how to do it. It seems to work really
> well.
>
> if (mysql_db_query ($dbname, $query, $link)) {
> gotourl("myurl1");}
> } else {
> gorourl("myurl2");}
>
> function gotourl(myurl)
> {
> echo "<SCRIPT language=javascript>";
> echo " window.location=$myurl;";
> echo "</SCRIPT>\n";
> }
> [/snip]
>
> Isn't this ASP....? ;^]
>
> Jay
>
> My other car is a broom
>
> *************************************
> * Want to meet other PHP developers *
> * in your area? Check out: *
> * http://php.meetup.com/ *
> * No developer is an island ... *
> *************************************
>
>