php-windows Digest 20 Apr 2007 00:20:57 -0000 Issue 3200
Topics (messages 27723 through 27726):
Re: [PHP-DB] php portfolio
27723 by: bedul
27725 by: Matt Anderton
27726 by: Chris
Re: PHP & Javascript
27724 by: Mikael Grön
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 ---
nope.. nothing dumb on your question.
----- Original Message -----
From: "Matt Anderton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2007 8:49 AM
Subject: [PHP-DB] php portfolio
> I have a kind-of off topic rookie question:
>
> most programmers have a web portfolio right? -- a URI to put on their
> resume that has examples of their work. what do employers expect to see
if
> they ask for such an example? a working web app? links to multiple
working
> web apps? actual code?
well the style of your code make how good you are...
but remember.. if you work alone.. that's no problem.. the problem is when u
work on a team
-----------------------------------------
>
> I am dying to break into PHP/MySQL programming and have gotten a nibble
from
> an employer who is asking for such a URI. I don't have any professional
> programming experience, but have several small projects that I would like
an
> interested employer to see. what is the best way to present it/them?
just
> a link to one of my finished projects? can an experienced programmer get
a
> strong enough sense of how I code by looking at the end result (probably a
> dumb question)?
my suggestion was.. to improve your skill.. U have to be complained and meet
problem during your programing. more problem will improve your prog skill.
but don't stress because of it
>
> thanks,
> matt
>
--- End Message ---
--- Begin Message ---
awesome guys. thanks a lot. one thing I think I DO have going for me --
true I have only flown solo, never worked on a team, but my current project
was designed entirely to someone else's specs. I knew there would be lots
of changes as it went along and I think I did a decent job of working in
some basic OOP so I would only have to make changes once.
I guess what I still don't get is how do I go about "exposing" the code for
it? it is a live web site -- I don't want the average visitor to see chunks
of code all over the place. do I put up a separate copy on a separate
website? point the employer to the real deal first, then give him a link to
a "behind the scenes" version? and then what? just throw in "<pre>" tags
-- "this is how I did this part"?
~ matt
On 4/19/07, bedul <[EMAIL PROTECTED]> wrote:
nope.. nothing dumb on your question.
----- Original Message -----
From: "Matt Anderton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2007 8:49 AM
Subject: [PHP-DB] php portfolio
> I have a kind-of off topic rookie question:
>
> most programmers have a web portfolio right? -- a URI to put on their
> resume that has examples of their work. what do employers expect to see
if
> they ask for such an example? a working web app? links to multiple
working
> web apps? actual code?
well the style of your code make how good you are...
but remember.. if you work alone.. that's no problem.. the problem is when
u
work on a team
-----------------------------------------
>
> I am dying to break into PHP/MySQL programming and have gotten a nibble
from
> an employer who is asking for such a URI. I don't have any professional
> programming experience, but have several small projects that I would
like
an
> interested employer to see. what is the best way to present it/them?
just
> a link to one of my finished projects? can an experienced programmer
get
a
> strong enough sense of how I code by looking at the end result (probably
a
> dumb question)?
my suggestion was.. to improve your skill.. U have to be complained and
meet
problem during your programing. more problem will improve your prog skill.
but don't stress because of it
>
> thanks,
> matt
>
--- End Message ---
--- Begin Message ---
Matt Anderton wrote:
awesome guys. thanks a lot. one thing I think I DO have going for me --
true I have only flown solo, never worked on a team, but my current project
was designed entirely to someone else's specs. I knew there would be lots
of changes as it went along and I think I did a decent job of working in
some basic OOP so I would only have to make changes once.
I guess what I still don't get is how do I go about "exposing" the code for
it? it is a live web site -- I don't want the average visitor to see
chunks
of code all over the place. do I put up a separate copy on a separate
website? point the employer to the real deal first, then give him a
link to
a "behind the scenes" version? and then what? just throw in "<pre>" tags
-- "this is how I did this part"?
Just email him a file or two, much easier :)
--
Postgresql & php tutorials
http://www.designmagick.com/
--- End Message ---
--- Begin Message ---
Yes, of course.
Though, the security part of this should be in 'another.php' and focused
on handling the incoming var from $_GET['UID']...
On the JavaScript side of things, nothing but the client browser is
vulnerable anyway.
Mike
Aleksandar Vojnovic skrev:
And don't forget to add
$thevariablecontainingthenumbertwo =
intval($thevariablecontainingthenumbertwo);
or stripslashes
Mikael Grön wrote:
Google! is your friend, but I acutally enjoy typing. :)
Do something like this:
<script type="text/javascript">
window.location="another.php?UID=<?php echo
$thevariablecontainingthenumbertwo; ?>";
</script>
or something like that. :)
You know, PHP parses before the browser gets to do JavaScript stuff,
so when the browser gets the code, it'll say UID=2 ... or what ever
variable you've got stored in $thevariablecontainingthenumbertwo.
Mike
Alf Stockton skrev:
Please suggest a way to pass the value contained in a PHP variable
to Javascript.
I have $ID with a certain value in PHP and want to do a Javascript
window.location="Another.php?UID="+2;
and replace the above hardcoded 2 with the value in $ID.
--- End Message ---