Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Does your company provide a service that the adult industry needs? Post your service here. Video Editing, blog writing, encoding, programming, the works.

 
Thread Tools
Old 02-20-2014, 08:54 AM   #1
adultforum
SEO SPECIALIST
 
adultforum's Avatar
 
Industry Role:
Join Date: Nov 2010
Location: Europe
Posts: 2,438
Small PHP custom script

I have one file called list.txt with X names one on each line
john
max
mike
...

and a file called text.txt with a php text code inside.
<?
random codes
CUSTOMWORD
random codes
CUSTOMWORD
random codes
....

I need a php script which will do the following:
1-open list.txt, take the first name and create in the same folder a file called name.php
EX: john.php in first case
2-paste there the text from text.txt
3-search for CUSTOMWORD inside the text and replace it with name (in first case john)
result will be:
<?
random codes
john
random codes
john
random codes
....
4-close and save the file
5-do the same for all words listed in list.txt


Can anyone help me with the code?
__________________
ICQ#: 376883609 Skype: AdultSEO

[email protected]
SEO Specialists - will make it happen.

Awesome domains for sale - Reserve yours now.

It’s never too late to MAKE MONEY with BITCOIN. Use this link and receive a 10% fee discount for 6 months.
adultforum is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-21-2014, 06:04 AM   #2
myleene
Confirmed User
 
Industry Role:
Join Date: Oct 2013
Posts: 858
I could do that for you.

Email me your budget as well as answers to these questions:
- Do you want this script to be started manually from a page online where you would set the parameters?
- Do you need a cron job for it to be executed?
- Are all files in the same directory and will created files also be in that directory?
- Are your script requirements final?
- When do you want it ideally?

I accept PayPal and I would have to be paid before starting it to be sure I get the job.

Send an email to myleene[at]reallyhotstuff.com.


I'm also emailing you.

Last edited by myleene; 02-21-2014 at 06:05 AM..
myleene is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-21-2014, 09:05 AM   #3
Panty Snatcher
eat a peach for Hours
 
Industry Role:
Join Date: Aug 2013
Posts: 540
this is a very simple script , it would be a good example to learn php with
Panty Snatcher is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-21-2014, 09:48 AM   #4
adultforum
SEO SPECIALIST
 
adultforum's Avatar
 
Industry Role:
Join Date: Nov 2010
Location: Europe
Posts: 2,438
mrgqw i did it myself after I learned php the whole night ) and it was a piece of cake, php have plenty of resources.
myleene thank you for your kindly email, i already answered you
Best regards to both of you
__________________
ICQ#: 376883609 Skype: AdultSEO

[email protected]
SEO Specialists - will make it happen.

Awesome domains for sale - Reserve yours now.

It’s never too late to MAKE MONEY with BITCOIN. Use this link and receive a 10% fee discount for 6 months.
adultforum is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.