Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,255
Total Threads: 81,222
Total Posts: 566,958
There are 191 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Marketplace     Services Offered / Looking to Hire     Writing, Editing, Copywriting :

Easy bulk job

Thread title: Easy bulk job
Closed Thread    
    Thread tools Search this thread Display Modes  
10-14-2007, 10:27 AM
#1
Haris is offline Haris
Status: Request a custom title
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 2,741
iTrader: 9 / 100%
 

Haris is on a distinguished road

  Old  Easy bulk job

Basically, you have to clean up my PHP script and remove the useless line breaks.

I exported the script files from cPanel and replaced them with my current localhost files (because I did changes to my script through cPanel file manager). The exported version was had big linebreaks between each code and I can just use 'Search and replace' therefore I need someone to remove those linebreaks.

Example I need:
PHP Code:
<?php

    
/* 

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

    Title : Admin Index - Content Management
    Author : Muhammad Haris
    URL : http://www.mharis.net
    CONTACT: isharis@gmail.com
    
    Description : Admin.php will be used to display the
    content to manage according to the user ranks

    Created : 23th September 2007
    Modified : 

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    */

    
include_once('../includes/includes.php');

    
//
    // Initiates mew objects
    //
    

    
$tpl =& new Savant2();
    
$validate = new FormValidator;
    
$database = new Database;
    
$auth = new Auth;
Exported version:

PHP Code:
<?php



    
/* 

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

    Title : Edit account and school details

    Author : Muhammad Haris

    URL : http://www.mharis.net

    CONTACT: isharis@gmail.com

    

    Description : User can edit school and account details

    

    Created : 8th October 2007

    Modified : 10th October 2007

    

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

    */

    



    
include_once('../includes/includes.php');

    

    
//

    // Initiates new objects

    //

    

    
$tpl =& new Savant2();

    
$validate = new FormValidator;

    
$database = new Database;

    
$auth = new Auth;

    
$users = new Users;
Offer your price, there are 28 files.

10-14-2007, 11:03 AM
#2
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Why can you not use search and replace?

In Dreamweaver, search for:
{ctrl+return+return}

Replace with:
{ctrl+return}

10-14-2007, 12:48 PM
#3
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

I'll do it for free (why not?) Haris. Just PM me a link to the files (and perhaps post here when you've done that -- the system here doesn't tell me when I have new PMs any more)

10-14-2007, 06:52 PM
#4
Haris is offline Haris
Status: Request a custom title
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 2,741
iTrader: 9 / 100%
 

Haris is on a distinguished road

  Old

Originally Posted by Indy View Post
Why can you not use search and replace?

In Dreamweaver, search for:
{ctrl+return+return}

Replace with:
{ctrl+return}
Can you detail it a bit more? I press CTRL+F and there are loads of options.

Macromedia Dreamweaver Studio 8

Originally Posted by Salathe View Post
I'll do it for free (why not?) Haris. Just PM me a link to the files (and perhaps post here when you've done that -- the system here doesn't tell me when I have new PMs any more)
PM sent!

Closed Thread    


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed