NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Need a BASIC script?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-13-2005, 04:25 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
Join Date: Sep 2004
Location: Earth
Posts: 394
joeorgasmic will become famous soon enoughjoeorgasmic will become famous soon enough
 



Cool Need a BASIC script?


I've decided that I'm going to finally get off my lazy butt and learn php. If anyone is looking for some BASIC, and when i say "basic" i really mean basic, script...please PM me what you want. I'm going to take on a few little projects just to start me off. Please remember that I'm just starting in php so please don't ask for anything to elaborate!!!!
joeorgasmic is offline  
Old 03-13-2005, 08:21 AM   #2 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



If you need any help, give me a shout!
msn: poordoggie@hotmail.co.uk
Last edited by PoorDoggie; 03-13-2005 at 11:20 AM.
PoorDoggie is offline  
Old 03-13-2005, 10:51 AM   #3 (permalink)
Account Closed
 
axilant's Avatar
Join Date: May 2004
Location: /etc/passwd
Posts: 2,178
axilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to behold
 

Member of the Month
July 2005

Originally Posted by PoorDoggie
If you need any help, give me a shout!
im here as well just post in the programming forum here and ill help out as much as possible, i will also help via Messager (check profile for all my sns)
axilant is offline  
Old 03-13-2005, 11:12 AM   #4 (permalink)
Senior Member
 
dotcommakers's Avatar
Join Date: Oct 2003
Location: world wide web
Posts: 2,055
dotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to behold
 




sorry to be off topic but how can i list table names of database

if u guys can learn me..

regards
dotcommakers is offline  
Old 03-13-2005, 11:42 AM   #5 (permalink)
Account Closed
 
axilant's Avatar
Join Date: May 2004
Location: /etc/passwd
Posts: 2,178
axilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to behold
 

Member of the Month
July 2005

http://us4.php.net/mysql_list_tables theres an example right there.
axilant is offline  
Old 03-13-2005, 11:45 AM THREAD STARTER               #6 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
Join Date: Sep 2004
Location: Earth
Posts: 394
joeorgasmic will become famous soon enoughjoeorgasmic will become famous soon enough
 



I appreciate all the help from you guys. I'm sure that I will be posting quite a few php questions here in the near future.

So does anyone want anything basic?
joeorgasmic is offline  
Old 03-13-2005, 11:58 AM   #7 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



free?

if you are offering, I need a script that will send emails without using the php mail() function. I have an smtp server, and I would like to be able to send emails from my site, without having it re-directing to another page on another server.

If you cannot do this, but someone else can, please PM me. I may be willing to pay, depending - PM me.
PoorDoggie is offline  
Old 03-13-2005, 12:04 PM THREAD STARTER               #8 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
Join Date: Sep 2004
Location: Earth
Posts: 394
joeorgasmic will become famous soon enoughjoeorgasmic will become famous soon enough
 



I'd love to give it a shot for you PoorDoggie. I'll do it for free just because I'm trying to learn, but tips are always appreciated! I'll start working on it right now for ya!

Do you have aim? If so please contact me. My screen name is practicetitoism.
joeorgasmic is offline  
Old 03-14-2005, 05:53 AM   #9 (permalink)
Account Closed
 
axilant's Avatar
Join Date: May 2004
Location: /etc/passwd
Posts: 2,178
axilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to behold
 

Member of the Month
July 2005

PHP Code:
<?php
//some little vars
$cfg = array(); // dont delete or edit  this
$cfg[sitedomain] = ""//your domain used, used for the noreply

//to use this:
  // $toArray format --> array("Name1" => "address1", "Name2" => "address2", ...)
//$toArray will carry the addresses you will be sending to and names
function socketmail($toArray$subject$message) {



  
ini_set(sendmail_from"root@$cfg[sitedomain]");

  
$connect fsockopen (ini_get("SMTP"), ini_get("smtp_port"), $errno$errstr30) or die("Could
????: NamePros.com http://www.namepros.com/programming/75009-need-a-basic-script.html

not talk to the sendmail server!"
);
   
$rcv fgets($connect1024);

  
fputs($connect"HELO {$_SERVER['SERVER_NAME']}\r\n");
   
$rcv fgets($connect1024);

  while (list(
$toKey$toValue) = each($toArray)) {

   
fputs($connect"MAIL FROM:$cfg[admin_email]\r\n");
     
$rcv fgets($connect1024);
   
fputs($connect"RCPT TO:$toValue\r\n");
     
$rcv fgets($connect1024);
   
fputs($connect"DATA\r\n");
     
$rcv fgets($connect1024);
????: NamePros.com http://www.namepros.com/showthread.php?t=75009

   
fputs($connect"Subject: $subject\r\n");
   
fputs($connect"From: No-Reply <root@$cfg[sitedomain]>\r\n");
   
fputs($connect"To: $toKey  <$toValue>\r\n");
   
fputs($connect"X-Sender: <root@$cfg[sitedomain]>\r\n");
   
fputs($connect"Return-Path: <root@$cfg[sitedomain]>\r\n");
   
fputs($connect"Errors-To: <root@$cfg[sitedomain]>\r\n");
   
fputs($connect"X-Mailer: PHP\r\n");
   
fputs($connect"X-Priority: 3\r\n");
   
fputs($connect"Content-Type: text/plain; charset=iso-8859-1\r\n");
   
fputs($connect"\r\n");
   
fputs($connectstripslashes($message)." \r\n");

   
fputs($connect".\r\n");
     
$rcv fgets($connect1024);
   
fputs($connect"RSET\r\n");
     
$rcv fgets($connect1024);
  }

  
fputs ($connect"QUIT\r\n");
   
$rcv fgets ($connect1024);
  
fclose($connect);
  
ini_restore(sendmail_from);
}

?>
may need a little tweaking?
axilant is offline  
Old 03-14-2005, 07:44 AM THREAD STARTER               #10 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
Join Date: Sep 2004
Location: Earth
Posts: 394
joeorgasmic will become famous soon enoughjoeorgasmic will become famous soon enough
 



^^ what he said
joeorgasmic is offline  
Old 03-14-2005, 11:53 AM   #11 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



Originally Posted by joeorgasmic
^^ what he said


thanks axilant - I'll give it a try!
PoorDoggie is offline  
Old 03-14-2005, 12:00 PM   #12 (permalink)
Eating Pie
 
iNod's Avatar
Join Date: Nov 2004
Location: Canada
Posts: 2,272
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
 


Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
axilant

I find that exetremely rude.. He is asking somebody if they need a free script and offering his services. PoorDoggy asks for a script to be made by him and you have the nerve to actually post the code needed.. Seriously... You need to learn some things in life.

I am not very happy about that.

Regards,
__________________
I feel old.
iNod is offline  
Old 03-14-2005, 12:21 PM   #13 (permalink)
www.SportsConvo.com
Join Date: May 2004
Posts: 2,624
jstep is a glorious beacon of lightjstep is a glorious beacon of lightjstep is a glorious beacon of lightjstep is a glorious beacon of lightjstep is a glorious beacon of light
 



all he did was post the code, he just recieved it earlier, I see nothing wrong with helping out?
????: NamePros.com http://www.namepros.com/showthread.php?t=75009

Quote:
If you need any help, give me a shout!
msn: poordoggie@hotmail.co.uk
I dont undertsand why you ask him if he needs any help, then you say you need something done?

Lol I am just confused
jstep is offline  
Old 03-14-2005, 12:23 PM   #14 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



Originally Posted by iNod
axilant
????: NamePros.com http://www.namepros.com/showthread.php?t=75009

I find that exetremely rude.. He is asking somebody if they need a free script and offering his services. PoorDoggy asks for a script to be made by him and you have the nerve to actually post the code needed.. Seriously... You need to learn some things in life.

I am not very happy about that.

Regards,
HEY... its PoorDoggie!

It is kinda rude, but - I did ask for other ppl to have a go for me. I think its ok. Its not really "begginer" php either, not by the look of the code.

Originally Posted by jstep
I dont undertsand why you ask him if he needs any help, then you say you need something done?

Lol I am just confused
I know php, acctually - I know a lot of php, but one thing I don't know is how to send mail without using the php mail() function. This has always been a problem for me, and I cannot find a good tutorial or help script anywhere that I understand! I just though that this would be a good opportunity to get this script!

PS: did you get the np$ axilant?
PoorDoggie is offline  
Old 03-14-2005, 08:15 PM   #15 (permalink)
Account Closed
 
axilant's Avatar
Join Date: May 2004
Location: /etc/passwd
Posts: 2,178
axilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to behold
 

Member of the Month
July 2005

Originally Posted by PoorDoggie
HEY... its PoorDoggie!
????: NamePros.com http://www.namepros.com/showthread.php?t=75009

It is kinda rude, but - I did ask for other ppl to have a go for me. I think its ok. Its not really "begginer" php either, not by the look of the code.


I know php, acctually - I know a lot of php, but one thing I don't know is how to send mail without using the php mail() function. This has always been a problem for me, and I cannot find a good tutorial or help script anywhere that I understand! I just though that this would be a good opportunity to get this script!

PS: did you get the np$ axilant?
yes i got it thanks.


Im sorry, ive talked to joeorgasmic on aim and everything is alright I mean no offence, but that is an super advance script, not many use "ini_get()" and such.
axilant is offline  
Old 03-15-2005, 11:04 AM   #16 (permalink)
Eating Pie
 
iNod's Avatar
Join Date: Nov 2004
Location: Canada
Posts: 2,272
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
 


Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
Ok.
Thats fine.

By the way the script is super advanced you can get the code from phpFreaks or any place thing that.. I could of even created that and I am not a super advanced programmer but I am advanced.

Anyways Good Job!

Nice to see your happy PoorDoggie.
__________________
I feel old.
iNod is offline  
Old 03-15-2005, 03:39 PM THREAD STARTER               #17 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
Join Date: Sep 2004
Location: Earth
Posts: 394
joeorgasmic will become famous soon enoughjoeorgasmic will become famous soon enough
 



Can't we all just get along?

joeorgasmic is offline  
Old 03-15-2005, 04:18 PM   #18 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



Originally Posted by joeorgasmic
Can't we all just get along?

ARGH... KILL IT! (its not you is it?)
PoorDoggie is offline  
Old 03-15-2005, 05:46 PM THREAD STARTER               #19 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
Join Date: Sep 2004
Location: Earth
Posts: 394
joeorgasmic will become famous soon enoughjoeorgasmic will become famous soon enough
 



Originally Posted by PoorDoggie
ARGH... KILL IT! (its not you is it?)

Your kidding right?
joeorgasmic is offline  
Old 03-16-2005, 04:11 PM   #20 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



I was only jokin... who is it?
PoorDoggie is offline  
Old 03-16-2005, 06:53 PM THREAD STARTER               #21 (permalink)
NamePros Regular
 
joeorgasmic's Avatar
Join Date: Sep 2004
Location: Earth
Posts: 394
joeorgasmic will become famous soon enoughjoeorgasmic will become famous soon enough
 



That's Richard Simmons dude!!!

*sigh*
joeorgasmic is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
60.000 Templates, scripts, fonts, banners etc. $9.95 atkims Web Development Wanted 19 11-16-2004 10:48 AM
basic script needed opticempire Web Development Wanted 8 04-21-2004 07:38 PM
Domain Rating Script for Sale : $200.00 - only 10 scripts will be sold fonzerelli_79 Scripts For Sale 3 08-31-2003 09:41 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:52 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger