User Profile

Collapse

Profile Sidebar

Collapse
Midgard
Midgard
Last Activity: Feb 8 '08, 03:21 PM
Joined: Nov 20 '06
Location: Istanbul, Turkey
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Midgard
    started a topic Recovery data from LDF file?

    Recovery data from LDF file?

    Hi,

    I have LDF file (and MDF file), i've deleted some records. I need them. How can I recovery my records?

    I have not BAK file
    See more | Go to post

  • Midgard
    started a topic file uploading error
    in PHP

    file uploading error

    I have this code:

    [php]
    <?php
    if ($_FILES) {

    echo '<pre>';
    print_r($_FILES );
    echo '</pre>';

    }
    ?>

    <form style="margin: 0px;" method="post" action="file_up load_test.php" enctype="multip art/form-data">
    <div style="margin: 4px;">
    <input type="file"...
    See more | Go to post

  • Midgard
    started a topic MySQL Query (Fantastic?)
    in PHP

    MySQL Query (Fantastic?)

    Hi, i have this record(s) on my tablocuk table:

    Code:
    [font=Fixedsys]id  |  title	 |  detail_ids[/font]
    [font=Fixedsys]-----------------------------------------------------[/font]
    [font=Fixedsys]2   |  Test 	 |  1, 11, 7, 19[/font]
    [font=Fixedsys]3   |  Test 2	|  8, 11, 19, 22[/font]
    I'm using this query:

    [font=Fixedsys]SELECT * FROM `tablocuk`WHERE `detail_ids` IN ('1', '11');[/font]...
    See more | Go to post

  • I'll show 'value' of "DOM Select" with onChange / JS

    Hi there,

    I have this codes:

    [HTML]
    <select name="my_items" >
    <option value="bmw">My Car</option>
    <option value="audi">My Old Car</option>
    </select>
    [/HTML]

    I want show .. Value of selected item. Must shown bottom of <select> (same screen)

    (sorry for my english, is bad)

    Regards
    See more | Go to post

  • Midgard
    started a topic E-mail validation
    in PHP

    E-mail validation

    Hi there,

    I'm using this code for e-mail checking:

    [PHP]
    if (!ereg("^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$", $email)) {
    echo "<span style=\"color: red; font-weight: bold; \">Registrat ion errors have occured:</span><br />You entered an invalid email address.<p>Plea se go <a href=\"javascri pt:history.go(-1)\">previous page</a> and...
    See more | Go to post

  • Midgard
    replied to How to get NT login with PHP
    in PHP
    You can use this code.

    [PHP]
    <?php
    // Coded and Designed by Midgard ( bahadir [at] eggdrop [dot] gen [dot] tr )
    // Login

    $auth = false;

    if (isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) {
    $username = $_SERVER['PHP_AUTH_USER'];
    $password = md5($_SERVER['PHP_AUTH_PW']);
    $sorgu = sprintf("SELECT * FROM cms_admins WHERE username = '%s'...
    See more | Go to post

    Leave a comment:


  • Midgard
    started a topic Fatal error: Cannot redeclare ...
    in PHP

    Fatal error: Cannot redeclare ...

    I have this error:

    Fatal error: Cannot redeclare send_welcome_ma il() (previously declared in /home/oxxowhol/public_html/config.php:21) in /home/oxxowhol/public_html/config.php on line 21

    Why?
    See more | Go to post

  • Midgard
    replied to Array Problem
    in PHP
    Thanks!! :)
    See more | Go to post

    Leave a comment:


  • Midgard
    started a topic Array Problem
    in PHP

    Array Problem

    $D['available_colo rs'] as 7, 6, 3, 1 coming from MySQL.

    I have this array.

    [PHP]
    echo '<pre>';
    print_r(explode (', ', $D['available_colo rs']));
    echo '</pre>';
    [/PHP]

    Output:
    Array
    (
    [0] => 7
    [1] => 6
    [2] => 3
    [3] => 1
    )

    And i have color_id at another while.

    I want this: If color_id == array()...
    See more | Go to post

  • Midgard
    started a topic Radio button problem in AJAX

    Radio button problem in AJAX

    Hi,

    I have this ajax script

    ajax.js
    Code:
    var http_request = false;
    function update(formid,divid){
    document.getElementById(divid).innerHTML="Please wait ..."
    var form    = document.getElementById(formid);
    var http_request = false;
          http_request = false;
          if (window.XMLHttpRequest) {
             http_request = new XMLHttpRequest();
    ...
    See more | Go to post
No activity results to display
Show More
Working...