Jump to content

blakesmoore

Members
  • Posts

    17
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

blakesmoore's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What is wrong with the code? any help please?
  2. Hi, I have a html form... <form name="myform" action="blake.php" method="POST"> <textarea cols="40" rows="5" name="domains"> </textarea> <input type="submit" value="Submit" /> </form> I want to run a script on the outout of the text area. I have tried using this for file blake.php <?php $output = shell_exec('expiry '$_POST['domains']''); echo "<pre>$output</pre>"; ?> But i have no luck... any ideas?
  3. Hi I dont understand. Please can you help further
  4. Hey, Please can you help me, I dont know why this script doesnt work.... index.html (form) <html> <body> <form action="insert.php" method="post"> <br>Username: <input type="text" name="username" /> <br>Domain Name: <input type="text" name="domain" /> <br>Password: <input type="password" name="pass" /> <br><input type="submit" /> </form> </body> </html> insert.php <?php $output = shell_exec('create_hosting '.$_POST['username']' '.$_POST['domain']''.$_POST['password']'); ?> When i run this i get the below error The website encountered an error while retrieving /insert.php. It may be down for maintenance or configured incorrectly
  5. So what is this script measuring?
  6. Hey Guys, is it possible to embed a .pl script in php
  7. Yeah I already incorperated the form Although, im not sure if it is giving accurate results for loading times? tools.pingdom.com is giving a totally different result?
  8. Thanks for this Dan, will this tell me how long it takes to load any site that i replace 'http://www.yourURL.com/page.html' with?
  9. Hey, I need to generate a script which tells me how long it takes for an external page to load... Please can you help? Thanks
  10. Hey, I would there be a way i could create a form in which upon entering a domain name/URL it will tell you how many connections there are to the site and how many (if any) MySQL queries are running? If I add this line to a wordpress footer it displays the number of sql queries. <?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds. Any help is greatly appreciated. Thanks.
  11. Thank you so much Pikachu
  12. Hey, I would there be a way i could create a form in which upon entering a domain name/URL it will tell you how many connections there are to the site and how many (if any) MySQL queries are running? If I add this line to a wordpress footer it displays the number of sql queries. <?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds. Any help is greatly appreciated. Thanks.
  13. Thanks again, have added the @ before the mysql_connect The connection error message is shorter, but would it be possible to literally just make it say 'Could not connect?' I don't really understand the timing bit, would it be possible to explain in simpler terms? Sorry about this but i'm only just learning Thank you for your help!
  14. Thanks for the help. If i enter invalid credentials i still get the warning error, do you know how i could just make this say connection failed? Also would you know how to add the time it takes to connect to the database? Thank you so much
×
×
  • 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.