Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    Platinum Lifetime Member
    Customb's Avatar
    Join Date
    Jan 2003
    Location
    Myrtle Beach, SC
    Posts
    348
    DNF$
    477
    Bank
    0
    Total DNF$
    477
    Donate  

    PHP Script Needed

    Ok here's what I want to do. I need to have a php script or some other script written to do a mass add in about 375 web pages on 1 site. I need to add a basic java script code into each site in a particular directory. If anyone could help it's greatly appreciated.

    Gary
    Gary Henderson
    Custom Business Solutions, Inc
    http://www.customb.com

  2. #2
    DNF Addict
    Mr.Domains's Avatar
    Join Date
    Sep 2004
    Location
    Geneva, Switz.
    Posts
    1,868
    Country

    Great Britain
    DNF$
    3,239
    Bank
    6,090
    Total DNF$
    9,329
    Donate  

    Re: PHP Script Needed

    Let me get this straight, you have 375 web pages, and you want to add the same snipet of javascript to every page? You don't need a php script, you need a good text editor. Most advanced text editors can do batch "search and replace".

    Download your pages, find the line above or below where you want to add your code, then "search and replace" with the same line plus your new code. If you can't do it yourself, I can probably do it for you...
    Neil Hillman - Web Developer, Pixel Pusher...

  3. #3
    Web Guru

    Join Date
    Apr 2003
    Location
    Connecticut
    Posts
    208
    DNF$
    2,105
    Bank
    0
    Total DNF$
    2,105
    Donate  

    Re: PHP Script Needed

    Use Apache's mod_layout

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com