No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
A junkie for IT
- Interests
- Programming
- PC Specs
- Fast but want Faster
Re:
[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login(t) { var t = '<?php echo $id; ?>'; alert(t); } --> </SCRIPT> </head> <body> <?php $id=$_GET['id']; print "<input type='button' name='button' value='button' onClick='login('$id')'>"; ?> </body> </html> [/CODE] i want to alert the variable using onclick function. |
|
We get the above error (see attachment) when trying to access our site when we do not include the target file name. For example: [url]www.sitename/[/url] will produce the error but [url]www.sitename/index.asp[/url] will work just fine. IIS6 is configured to use default file names and index.asp is the first one on … |
|
Questions: Can I use a wildcard in unlink - ie: $myfile = '../pdf/'.$tnum .'*.pdf'; This results in an error: Warning: unlink(../pdf/36818*.pdf) [function.unlink]: No error in \purgepdf.inc.php on line 29 Any help would be greatly appreciated. Thanks, Bill |
|
I need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup … |