Jump to content

veedub

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

veedub's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello! I have a web page on an intranet, i need to run a command in the local windows run from the webpage. for example when you press a button button on a webpage it has the same effect as running cmd from the run prompt on the local machine. Anyone know how to do this? cheers.
  2. Hello, I have a server, which i can ping and is on the network, with an sql database on it which i'm trying to connect to. the server i'm initially on is an Apache with only php 5 on it. do i need to enable or install anything on the PHP 5 server to recognise the mssql functions? any help would be really appreciated. to connect to the sql database i'm using the code below: firstly the script errors saying: fatal error: call to undefined function mssql_connect()............... if (function_exists('mssql_connect')) {echo "yes";} else {echo "no";} $myServer = "10.16......"; $myUser = "********"; $myPass = "********"; $myDB = "Pod1View"; // connect $cs = mssql_connect ( '*********', '********', '********' ) or die ( 'Can not connect to server' ); // select mssql_select_db ( '[Pod1View]', $cs ) or die ( 'Can not select database' ); //query $sql = "SELECT * FROM [bRANCH]"; $r = mssql_query ( $sql, $cs ) or die ( 'Query Error' ); // loop the result while ( $row = mssql_fetch_array ( $r ) ) { /* do stuff */ }
  3. Hi Thorpe, The script system that calls the script is not mine it sends a message from the APEX platform in the form of XML. I read the message using PHP 5 and a SOAP and pass back a notification using a SOAP envelope. This works fine. But when the redirect is in place it falls over. cheers. (well quick response by the way, cheers)
  4. Hello, I'm running a back end script with a simple redirect that posts records to another server in the form of: header("Location:https://90..................... I'm getting the error: 302(found) when the script runs anyone seen this before? cheers
  5. Nice on Thorpe that's exactly what i wanted! cheers
  6. thanks for the reply. That isn't possible on the side that is posting the data. I thought there might be a trick in PHP to do this? I can count the number of values being posted to the script by doing the following: for($x=0;$x<count($_POST);$x++{ $field = $_POST[$x]; // do some action }
  7. Hello! I have a PHP 'script1.php' that is basically a listener for another system that has a command writing to script1.php. Going on the basis I can't see the command that is posting to script1.php. I was wondering if there is a way in PHP to see the names and values of all things posted to it? cheers.
  8. ok cheers, is there a way to make the window really small before the php script runs in the page? when I use the resize function: <script> window.resizeTo(width, height); </script> it runs after the PHP script, which is no use.
  9. Hello!! I'm running a PHP script on page1.php that takes a few seconds, once it has run the page then redirects to page2.php automatically sending variables . However, if the user shuts page1.php by pressing the X on the top right of the screen, the redirect doesn't happen!! Does anyone know how to disable the X and stop the page being closed down please?? or another solution?? Cheers! James
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.