Search results

  1. P

    PHP Syntax Question

    #1 Step is right. You can used it in single quote or double quote.
  2. P

    Rounded Corners

    http://spiffybox.com/index.php?w=100&h=1500&r=8&fg=6EA8E6&bd=024898&bg=FFFFFF You can create any size and height.
  3. P

    A simple PHP query..

    <?php // This could be supplied by a user, for example $firstname = 'fred'; $lastname = 'fox'; // Formulate Query // This is the best way to perform a SQL query // For more examples, see mysql_real_escape_string() $query = sprintf("SELECT firstname, lastname, address, age FROM friends WHERE...
  4. P

    Regestration forms

    you can use this code - download code Demo page & download code here registation form using ajax http://phpasks.com/ajax/submit_form_ajax.html
  5. P

    Problems with PHPmyAdmin

    You can also used EMS - SQL Manager http://www.google.com/url?q=http://www.sqlmanager.net/en/downloads&sa=X&oi=smap&resnum=1&ct=result&cd=1&usg=AFQjCNGndj1BSOQdIkbzzOVlD5eprkEiCA very good tool Easy to use like access type output
  6. P

    php, printing thumbnail images

    $extensions = array(".JPG",".jpg", ".jpeg"); if ($handle1 = opendir('texture/thumbnails/')) { while (false !== ($file1 = readdir($handle1))) { if (in_array((strrchr(strtolower($file1), '.')),$extensions) && !is_dir($file1) && $file1!="." && $file1!="..") //Checks that the...
  7. P

    help needed regarding AJAX using GWT

    You can used prototype js framewrok for ajax. It is easy and fast framework for javascript and ajax. ajax simple Example http://www.phpasks.com/ajax/simple_ajax.html Prototype Ajax Example http://www.phpasks.com/ajax/prototype_ajax.html Ajax Login script...
  8. P

    how do i run javascript?

    script.js save page in your folder where is store that html page. Then run & see it. Otherwise you will send your demo page link & i try it.
  9. P

    how do i run javascript?

    /** script.js */// function call() { alert("Call On Load Page"); } <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script language="javascript" src="script.js"></script> </head> <body onload="call()"> Just Call </body>...
  10. P

    how do i?

    <Style> .home-regis{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; width: 140px; color: purple; height: 16px; background-color:green;} /* Background Image *****/ .contact-bg{background-image:url(../images/login-make-contact-bg.jpg); background-position:left...
  11. P

    Your remote database stuff makes no sense

    i)You can add your internet IP in how to find your ip Just go here http://www.phpasks.com top your ip --> that ip added into Go to Mysql Databse Access Host -- text box put your ip here then You can access remote database access for that ip.
  12. P

    Hide Php error Messages?

    Try using the ini_set() function to set the value. This code turn it off, I warn you that it will probably ignore any code after the error. <div class="smallfont" style="margin-bottom: 2px;">PHP Code: <?php ini_set('display_errors', '0'); ini_set("url_rewriter.tags","")...
  13. P

    Help with file uploads!

    Your code absolutely right. No error in your code. Your folder permission write permisson or not.. Check it that problem only no other problem.
  14. P

    How to create a sitemap ?

    If you want to create sitemap.xml create sitemap http://www.xml-sitemaps.com/ -- Maximum 500 pages will be indexed in sitemap less than 500 than work very well
  15. P

    Help with my login/register script

    You can download here Login script http://www.phpasks.com/ajax/ajax-login.html form submit script http://www.phpasks.com/ajax/submit_form_ajax.html <?php /********************************** CHECK FOR BLANK ********************************/ /* pass the object and id of the next cell */...
  16. P

    PHP Help!

    Your code is absolute right. No problem in your code. How to store in text file email Address. You can store one email in one lin or sepreated by , comma then try it
  17. P

    PHP zip archive creation script

    page:http://your.servername.com/phpinfo.php/ simply look for the following near the top of that page. (4th Box Down Server API) :- “Server API Apache” This means that your server is currently running PHP as an apache module. If within the phpinfo page you see the following: “Server API CGI”...
  18. P

    Help with file uploads!

    <?php $file_size = $_FILES['file']['size']; $file_name = $_FILES['file']['name']; $file_type = $_FILES['file']['type']; $random = rand(); $extension = substr(strrchr($_FILES['file']['name'], "."), 1); $file = "upload/" . $random . "." . $extension; $real_name = $file . "." ...
  19. P

    php_self

    <?php print_r($_SERVER); ?> This script is working or not on your server. Which server you used? Asif Khalyani http://www.phpasks.com
  20. P

    Conversions

    giving = 372 this is dollar. then <?php $giving = 372; //money i am giving to other person, getting $fxrate = 0; //some number // We have taken $1 to convertor to euro or any other currency // Default $ compare $dollar = 1; $euro_rate = 0.80; $math = ($giving * ($dollar/$euro_rate))...
Top