User Profile

Collapse

Profile Sidebar

Collapse
JDBurnZ
JDBurnZ
Last Activity: Feb 19 '13, 04:44 AM
Joined: Oct 23 '08
Location: Grand Rapids, MI, United States of America
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Soy ou tried backing up your information, and you screwed something up.. Do you know exactly what it is you screwed up? Have you tried running a "SELECT * FROM" to make sure query to make sure there is even an administrative account to edit?
    See more | Go to post

    Leave a comment:


  • JDBurnZ
    replied to php user greeting
    in PHP
    sreenisha, what you're asking is a rather complicated question and requires a rather complicated answer.

    Markus is right, you're going to need to interact with a database to compare user name and password against. If the information matches, you'll want to save a piece of authentication information in their browser called a cookie.

    Next, on the pages you want to display this welcome block, you'll check for the cookie,...
    See more | Go to post

    Leave a comment:


  • Here we're going to use one of my favorite functions for this sort of thing: preg_replace. Now please not that the first field is an input for regular expressions, so be sure to keep the "/ and /" intact! Whether you enter \n\n or \r\r, it should look like "/\n\n/" or "/\r\r/".

    Code:
    <?php
    
    $sourceFile = "fileWeWillRead.txt";
    $targetFile = "fileWeWillWrite.txt";
    ...
    See more | Go to post
    Last edited by JDBurnZ; Oct 23 '08, 12:52 AM. Reason: Typo

    Leave a comment:

No activity results to display
Show More
Working...