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 Looking for info about perl robots...

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 07-17-2005, 11:17 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
buddybuddha's Avatar
Join Date: May 2005
Location: PA
Posts: 216
buddybuddha is an unknown quantity at this point
 



Executing PHP from Perl


Hey, I'm lost here.

I found a way to do my robot in PHP, but I am using a perl script to do my signups. So how can I execute a php script without showing the web user anything but the confirmation page from the perl script?

IE-

You register via register.pl

The form data is sent to analyze.pl. Analyze.pl analyzes the data and writes the registration for the perl forum. Then it executes EmailAdd.php. The user sees the confirmation page from analyze.pl and has no idea EmailAdd.php was even executed.

EmailAdd.php adds an email account in the background and stops running.
Last edited by buddybuddha; 07-17-2005 at 12:34 PM.
buddybuddha is offline  
Old 07-17-2005, 07:14 PM   #2 (permalink)
Senior Member
Join Date: Apr 2005
Location: Joliet, Illinois
Posts: 1,177
RageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to behold
 


Child Abuse
hmm... Ok... Can't this be done via PHP Script? If you want, you can even customize code made by phpFormGenerator & while making the Form it gives you the option to add info to MySQL DB if you want... Or you can simply just have it e-mailed to you as the user sees a confirmation page!

-RageD
RageD is offline  
Old 07-17-2005, 07:43 PM   #3 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Code:
if (all_is_success) {
    system("EmailAdd.php");
}
There's one way to do it.
Last edited by deadserious; 07-17-2005 at 07:51 PM.
deadserious is offline  
Old 07-18-2005, 11:38 AM THREAD STARTER               #4 (permalink)
NamePros Regular
 
buddybuddha's Avatar
Join Date: May 2005
Location: PA
Posts: 216
buddybuddha is an unknown quantity at this point
 



So system will just command the server to run the script in the background?
buddybuddha 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
HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows deadserious Webmaster Tutorials 96 05-27-2007 02:24 PM
Perl + PHP = No? (HELP) Tris Website Development 6 05-30-2005 02:41 AM
Tutorial: Creating a simple cgi hit counter for your site using Perl deadserious Webmaster Tutorials 3 05-29-2004 02:31 AM
Opening a text file and displaying the results in browser with PHP, Perl, and Python deadserious CODE 1 05-15-2004 08:58 PM
A simple cgi hit counter for your site using Perl deadserious CODE 2 11-07-2003 09:23 AM

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

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