www.webdeveloper.com

Search:

Type: Posts; User: john_de116

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,337

    Hi, Please, check whether file is existing or...

    Hi,
    Please, check whether file is existing or not.
    If it exist, check whether current version is PHP 5 or not and chech GD library is set on or off.
    If the file is existing,code will work...
  2. Replies
    4
    Views
    674

    Hi, Please, replace with this script. It is a...

    Hi,
    Please, replace with this script. It is a spelling error.

    header("Location: html_location.php");
  3. Replies
    2
    Views
    551

    Hi, if you want to use two classes for same div,...

    Hi, if you want to use two classes for same div, please,use this code.
    To display classes/id dynamically by usin dom object (javascript).


    Javascript Code:
    <script type='javascript'>
    function...
  4. Replies
    4
    Views
    733

    Hi use this code. Call this function xml2array....

    Hi use this code. Call this function xml2array. $url is your filename. It will give the result.

    //xml2array($url, $get_attributes = 1, $priority = 'tag')

    <?php
    function xml2array($url,...
  5. Replies
    13
    Views
    2,588

    Hi, use this line. it will give the solution. ...

    Hi, use this line. it will give the solution.

    Options -Indexes
    RewriteEngine On
    RewriteRule ^([A-Za-z0-9]+)[.]php$ detail.php?id=$1 [QSA]


    I used this line for my website .It worked.
  6. Replies
    13
    Views
    1,079

    Hi, $string=

    Hi,
    $string= <<<EOT

    <img src="images/total.jpg" width="297" height="21">

    EOT;

    echo $string;
  7. Replies
    2
    Views
    1,100

    MM/DD/YY HH:MM:SS string t5 = "01/01/01...

    MM/DD/YY HH:MM:SS

    string t5 = "01/01/01 16:10:01";
    string p5 =
    @"(\d+)/(\d+)/(\d+) (\d+):(\d+):(\d+)";
    Match m5 = Regex.Match(t5, p5); Try this. and cutomize this code
  8. Replies
    3
    Views
    1,516

    The code is correct. But you have to add the...

    The code is correct. But you have to add the "exit;" in that block. Please try the following code. It will work exactly.

    $x = 0;
    while ($x < $num){
    $x++;
    if ($x == 500){
    ...
  9. Replies
    14
    Views
    1,428

    $string=" Hello boy! ";...

    $string="<book> Hello boy! </book>";
    $fstr=preg_split("/^book ></", $string);

    for($i=0;$i<=count($fstr);$i++)
    print $i.$fstr[$i]."<br>";
    print_r($fstr);

    please, try it.
  10. Replies
    2
    Views
    3,170

    <form action="upload.php" method="post" enctype="multipart/form-data" name="form1">
    <input type="file" name="file">
    </form>
    ## In upload.php...

    ...
  11. Replies
    14
    Views
    1,428

    certainly not. Because, spilit of function ...

    certainly not. Because, spilit of function treats '<book>' is html entity. So, result will be appered "Hello boy! ". test and reply me
  12. Replies
    2
    Views
    975

    <input type='button' value='click' onclick="add();">

    <script>
    function add(){
    ans1=document.getElementById("field1").value;
    ans2=document.getElementById("field2").value;...
  13. Replies
    14
    Views
    1,428

    $string=" Hello boy! ";...

    $string="<book> Hello boy! </book>";
    $fstr=split(">", $string);
    print $fstr[1];
    it displays "Hello boy! ".
  14. Best method is : Please , create one folder in...

    Best method is : Please , create one folder in the web space or local folder. give the exact path while uploading the image. <form action="" method="post" enctype="multipart/form-data" name="form1">...
  15. Replies
    1
    Views
    1,014

    i corrected your code. I think this is your...

    i corrected your code. I think this is your need.
    <html>
    <head>
    <title>Bla bla</title>
    <script type="text/javascript">
    function toggle(id) {
    var obj = "";
    if (document.getElementById)
    obj =...
  16. Ya, you can select the the lst row using time...

    Ya, you can select the the lst row using time field.......
    SELECT * FROM `Person` ORDER BY `timefield` DESC limit 0,1;
  17. It is not a correct table. If suposed, you...

    It is not a correct table. If suposed, you entered the data into PersonID like AB100001,AB100002,AB100003,...... You can write the query after the 'where caluse ' that is "order by PersonID desc"....
  18. Replies
    25
    Views
    6,377

    Hi, $head="From: susanto_wang@hotmail.com";...

    Hi,
    $head="From: susanto_wang@hotmail.com";
    Give the space betwen From: and mail_id. Defenetely, mail will sent.
    Check it.
  19. Replies
    2
    Views
    2,112

    Hi, document.domain ="xyz.com" // This is...

    Hi,
    document.domain ="xyz.com" // This is accessed
    document.domain = "abc.xyz" // Permission is denied
    document.domain = "abc.net" // Permission is denied.
    This property returns null...
  20. Replies
    5
    Views
    641

    add one login_flag into database.Then,use like 0...

    add one login_flag into database.Then,use like 0 --log out, 1-login. If it was 1, display the users.
    Ok
  21. Replies
    5
    Views
    641

    You have to store the login time on users login....

    You have to store the login time on users login. And stores the logout time into database. Then comparing these dates, you can get the online users. If they forget to logout , this technique can not...
  22. Replies
    3
    Views
    681

    Use the paging concept. Or Do it like this....

    Use the paging concept.
    Or
    Do it like this. Save it as a several pages.
    Display the $pic2;

    <a href="url/pic_form1.php">Back</a>....<a href="url/pic_form3.php">Next</a>
  23. Replies
    339
    Views
    109,001

    Hi, Give the folder's permission 777 in FTP. Or...

    Hi,
    Give the folder's permission 777 in FTP.
    Or entering into the cpanel->Files->www->Upload Folder--> Change the permission as 777.
    Then you can do it.
    $file__name="john.doc";...
  24. Replies
    2
    Views
    872

    MS access databases with asp or java with MS...

    MS access databases with asp or java with MS access. It is a old domain space configutration. Buy the sqlserver database is the new configuration. But it take more cost. Php and mysql is the low cost...
  25. Replies
    2
    Views
    670

    write the code

    write the code
    <? for($i=0;$i<=count($arr)-1;$i++) ?>
    <input type='hidden' name='val<?=$i?>' id='val<?=$i?>' value='<?=$arr[$i]?>>

    Then get all values in the javascript using...
Results 1 to 25 of 32
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles