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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-06-2008, 08:06 AM   #1
Sam Granger
Confirmed User
 
Sam Granger's Avatar
 
Join Date: Dec 2004
Location: NL (Eindhoven), CZ(Prague), FR(Concarneau)
Posts: 3,958
Need something coding in php?

Hey guys,

I'm looking to fill my portfolio a bit. I'm offering 2 free PHP5 coding spots. Not going to create anything you will resell. Must be for your personal use. And do not ask something huge, I'm doing this for free. Looking forward to seeing some requests.
__________________
[img]http://****************/sig/fhv3_j2_624x80_2.gif[/img]
$35-40 Per Signup, 60-70% Rev Share, over 80 Sites, Exclusive Sites, tons of free content
14,000+ Free hosted Galleries, RSS feeds, Domain Hosting, Embedded Flash Movies
Join Fetish Hits now!
ICQ: 358652230
Sam Granger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2008, 08:12 AM   #2
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
i actaully do


i need a script where i can input something into a field

for example

[email protected]

it writes it to list.txt
if already in the list
lets me know

list formated like

[email protected],[email protected],[email protected]
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2008, 08:14 AM   #3
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
i already have one code but it doesnt work on my server

Code:
<HTML>
<HEAD><TITLE></TITLE></HEAD>
<BODY>
<?
if ($_POST['data'] != "") {
  $filedata=@explode(",",@file_get_contents("file.txt"));
  if ($filedata != "") {
    if (array_search($_POST['data'],$filedata) == FALSE) {
      $filedata[]=$_POST['data'];
      file_put_contents("file.txt",implode(","$filedata));
      echo "<h2>data added to file</h2><br /><br />";
    } else {
      echo "<h2>data already exists in file</h2><br /><br />";
    }
  } else {
      $filedata=array();
      $filedata[]=$_POST['data'];
      file_put_contents("file.txt",implode(","$filedata));
      echo "<h2>data added to file</h2><br /><br />";
  }
}


?>

<FORM method="post" action="<? echo($_SERVER['PHP_SELF']); ?>">
<input type="text" size="30" maxlength="255" name="data">
</FORM>
</BODY>
</HTML>
spits out Parse error: syntax error, unexpected T_VARIABLE in /usr/www/virtual/jupzchris/www.jupzchris.com/email.php on line 10
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2008, 10:38 AM   #4
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
Quote:
Originally Posted by Chris View Post
i already have one code but it doesnt work on my server

Code:
<HTML>
<HEAD><TITLE></TITLE></HEAD>
<BODY>
<?
if ($_POST['data'] != "") {
  $filedata=@explode(",",@file_get_contents("file.txt"));
  if ($filedata != "") {
    if (array_search($_POST['data'],$filedata) == FALSE) {
      $filedata[]=$_POST['data'];
      file_put_contents("file.txt",implode(","$filedata));
      echo "<h2>data added to file</h2><br /><br />";
    } else {
      echo "<h2>data already exists in file</h2><br /><br />";
    }
  } else {
      $filedata=array();
      $filedata[]=$_POST['data'];
      file_put_contents("file.txt",implode(","$filedata));
      echo "<h2>data added to file</h2><br /><br />";
  }
}


?>

<FORM method="post" action="<? echo($_SERVER['PHP_SELF']); ?>">
<input type="text" size="30" maxlength="255" name="data">
</FORM>
</BODY>
</HTML>
spits out Parse error: syntax error, unexpected T_VARIABLE in /usr/www/virtual/jupzchris/www.jupzchris.com/email.php on line 10
Change line 10, that reads:
file_put_contents("file.txt",implode(","$filedata) );
change it to:
file_put_contents("file.txt",implode(",",$filedata ));

You're welcome.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2008, 04:22 PM   #5
Sam Granger
Confirmed User
 
Sam Granger's Avatar
 
Join Date: Dec 2004
Location: NL (Eindhoven), CZ(Prague), FR(Concarneau)
Posts: 3,958
Well chris looks like your problem has been solved. Still looking for 2 spots. About to go to bed, just got back from a night out. I'll reply in the morning.
__________________
[img]http://****************/sig/fhv3_j2_624x80_2.gif[/img]
$35-40 Per Signup, 60-70% Rev Share, over 80 Sites, Exclusive Sites, tons of free content
14,000+ Free hosted Galleries, RSS feeds, Domain Hosting, Embedded Flash Movies
Join Fetish Hits now!
ICQ: 358652230
Sam Granger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2008, 07:54 AM   #6
Kelli58
Confirmed User
 
Kelli58's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Texas
Posts: 2,129
What is your ICQ? I have a small, very tiny in fact - project in mind for you. But would rather discuss the details in private.
Kelli58 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2008, 07:56 AM   #7
Sam Granger
Confirmed User
 
Sam Granger's Avatar
 
Join Date: Dec 2004
Location: NL (Eindhoven), CZ(Prague), FR(Concarneau)
Posts: 3,958
262613995
__________________
[img]http://****************/sig/fhv3_j2_624x80_2.gif[/img]
$35-40 Per Signup, 60-70% Rev Share, over 80 Sites, Exclusive Sites, tons of free content
14,000+ Free hosted Galleries, RSS feeds, Domain Hosting, Embedded Flash Movies
Join Fetish Hits now!
ICQ: 358652230
Sam Granger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2008, 08:04 AM   #8
wizzart
scriptmaster
 
wizzart's Avatar
 
Industry Role:
Join Date: May 2006
Location: Serbia
Posts: 5,237
Need image crop tutorial in PHP please?
wizzart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2008, 08:07 AM   #9
Sam Granger
Confirmed User
 
Sam Granger's Avatar
 
Join Date: Dec 2004
Location: NL (Eindhoven), CZ(Prague), FR(Concarneau)
Posts: 3,958
Quote:
Originally Posted by wizzart View Post
Need image crop tutorial in PHP please?
Tutorial? Or script?

I'm only interested in writing scripts at the moment.
__________________
[img]http://****************/sig/fhv3_j2_624x80_2.gif[/img]
$35-40 Per Signup, 60-70% Rev Share, over 80 Sites, Exclusive Sites, tons of free content
14,000+ Free hosted Galleries, RSS feeds, Domain Hosting, Embedded Flash Movies
Join Fetish Hits now!
ICQ: 358652230
Sam Granger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2008, 01:10 PM   #10
Kelli58
Confirmed User
 
Kelli58's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Texas
Posts: 2,129
Turn your ICQ on already. :P
Kelli58 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
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.