Forum Moderators: open

Message Too Old, No Replies

javascript alert check

         

mattfox

1:19 pm on Jul 8, 2007 (gmt 0)

10+ Year Member



I want use php to check an URL that contains some parameters, some specified parameters makes the page active an alert window.
What should i do with php?

DrDoc

4:56 am on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld! [WebmasterWorld.com]

I'm not sure I entirely understand what you mean, but perhaps something like this:

<script type="text/javascript"> 
<?php
if(/*whatever you need to check here*/) {
echo "alert('foo');";
}
?>
</script>