Printer Friendly Version
Email this thread to a friend
|
PHP or ASP (In: General Search Engine Optimization)
what is best php or html? (In: General Search Engine Optimization)
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
TracyJ
Joined: Eons Ago
# Posts: 592
|
Posted: 2004-Apr-19 22:30
Probably a silly question, but can you put PHP code in a Perl script? I'm doing a major site move and using most PHP, but in order to get the site ready by my deadline, I don't think I'll have time to re-write one particularly complex script, so I'm wondering if I can temporarily just embed some PHP code into a Perl script instead.
Thanks!
Tracy
|
 |
NEntropy
Joined: Dec 08, 1999
# Posts: 1117
|
Posted: 2004-Apr-20 06:21
Running PHP and Perl concurrently? I don't think that's possible. You can run external programs in PHP, so one possible way is to write the perl script as a standalone program and run the program within PHP... But this is valid only for certain functions.
|
 |
TracyJ
Joined: Eons Ago
# Posts: 592
|
Posted: 2004-Apr-20 15:34
That's an idea. I'll have to look into that. Though... the more I think about trying to make some PHP stuff work within the parameters of my CGI script, the more I think it's just as fast to re-write the whole thing in PHP. Hmm. We'll see, I guess!
|
 |
jcokos
Staff
Joined: Eons Ago
# Posts: 143
|
Posted: 2004-Apr-21 03:55
It is possible, using one of a number of Modules from CPAN.
http://search.cpan.org/search?query=php&mode=all
I recall reading somewhere (can't remember) that there's a plugin for PHP that can work the other way around, too.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|