stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Replacing Perl Scripts with PHP Scripts







Replacing Perl Scripts with PHP Scripts

Replacing Perl Scripts with PHP Scripts 11/26/2002 05:12 AM

With the introduction of version 4.2, PHP has started supporting a new SAPI (Server Application Programming Interface) called CLI (Command Line Interface). This facility was introduced to help developers create small shell applications (scripts) with PHP. So, now you can kiss Perl goodbye forever. -- Jayesh Jain

Hear hear. Thanks to my influence, other developers at Natsoft are using PHP for their batch scripts too. Hmm maybe it is because they report to me...

"zeldman.bang"




This is a GrokNews Entry: (what is grok?)





Similar Items

Replacing Perl Scripts with PHP Scripts

Grok Headline matches for Replacing Perl Scripts with PHP Scripts

Edit the Scripts menu scripts with one
click


Edit the Scripts menu scripts with one
click
01/05/2005 10:36 PM
FunkDaddy: "I wanted to look at the code of an AppleScript in the Scripts Menu. Normally, I would have to do this by navigating to the script in the Finder and opening it in Script Editor. But I took a wild guess and Option-clicked on the script in the menu, and it opened in Script Editor directly! This makes tweaking my frequently-used scripts really easy."

CGIScripter 2.08 now generates Perl CGI
scripts


CGIScripter 2.08 now generates Perl CGI
scripts
06/08/2004 12:14 PM
Developer .com Solutions Inc. has released CGIS cripter 2.08 Enterprise Edition, which now produces Perl CGI scripts for PostgreSQL databases. This update makes seven databases that CGISCripter now supports; In addition to PostgreSQL, it also supports MySQL, Oracle, Access, SQL Server, Sybase and DB2. This is a free update for existing customers, while new users can pay US$50 for an unlimited site license. CGIScripter supports Mac OS X v10.2.x or higher.

Benchmarking Perl scripts with
Benchmark.pm


Benchmarking Perl scripts with
Benchmark.pm
08/09/2004 05:42 AM
CNET Aug 9 2004 10:10AM GMT

Use Perl DBI to build portable scripts
for database access


Use Perl DBI to build portable scripts
for database access
08/10/2002 10:53 PM
CNET Aug 10 2002 10:14PM ET

iTunes hacker ranks music and auto-pays
musicians with perl scripts


iTunes hacker ranks music and auto-pays
musicians with perl scripts
04/19/2005 03:38 AM
Cory Doctorow: Merlin sez, "Glenn McDonald has concocted a wonderfully byzantine bit of iTunes scripting that rates his music tracks automatically based on a number of factors. Great stuff. Perhaps most interestingly, though, he uses some of the resulting data from his listening habits to determine any outstanding 'payments' that he owes to the artist, dutifully paid via an automated perl script."
For artists who accept electronic payment via Paypal or credit cards, the database records the relevant payment info. A separate nightly perl script issues electronic payments (via CapitolOne's excellent web-services "micropayment" (sic) interface) where possible (batched until the amount exceeds $1.75), and for artists without electronic payment info, totals the corresponding amounts and transfers the overall total to the money-market escrow account I have for this purpose. The escrow account isn't automated yet, but I usually kludge around this, when I get new payment info for an artist, by simply moving the money back out of escrow, resetting the amount paid/escrowed to $0, and rerunning the original script. At the end of each month I mail physical checks to artists for whom I have physical addresses but not electronic, and rebalance the escrow account accordingly. I don't currently have a way to split this compensation across the performer and the publisher for material where the two are different. The best I can do is include track info with all my payments and rely on the artist in turn to pay for material they acquired from elsewhere.
I did an interview last month with James Schellenberg from Strange Horizons, on the kind of music I listen to while writing, as part of a piece on SF writers' listening habits. I hand-rate all my music and use iTunes's last-played feature to put together a rolling playlist of high-ranked music I haven't heard in 30 days or more, so I get to hear all my fave music (at least) once a month. Link (Thanks, Merlin!)

Use folder action scripts on a shell
scripts folder


Use folder action scripts on a shell
scripts folder
05/03/2004 10:44 AM
Recently I purchase a book called "Wicked Cool Shell Scripts" by Dave Taylor, and it is full of exactly that, cool shell scripts. Having not done a whole lot of shell scripting before, I thought it would be good to pick it up...

dvb-scripts 0.2.0


dvb-scripts 0.2.0 07/05/2004 03:59 PM
Simple scripts to do video recording.

Ape Scripts


Ape Scripts 05/03/2004 06:02 PM
Fljud 0.4 Released

smb-scripts


smb-scripts 04/06/2005 03:50 PM
smb-scripts-server-20050406 released

Yet Some Another PHP Scripts


Yet Some Another PHP Scripts 12/29/2004 08:02 AM
Project opening

dvb-scripts 0.3.0


dvb-scripts 0.3.0 08/03/2004 10:46 AM
Simple scripts to do video recording.

Two New Scripts


Two New Scripts 06/06/2002 11:03 AM

/etc/net 0.7.1 (Scripts branch)


/etc/net 0.7.1 (Scripts branch) 03/25/2005 07:06 AM
/etc/net represents a new approach to Linux network configuration tasks. Inspired by the limitations of traditional configuration subsystems, /etc/net provides builtin support for configuration profiles, interface name management, removable device support, full iproute2 command set support, interface dependency resolution, and a QoS configuration framework. /etc/net provides support for the following interface types: Ethernet, WiFi (WEP), IPv6/IPv6 tunnels, PSK IPSec tunnels, VLAN, PLIP, Ethernet bonding and bridging, traffic equalizer, Pent@NET, usbnet, and PPP. Due to its modular design, support for new interface types can be added without overall design changes.
Changes:
This release features a minor bugfix for network.init, a flushed PPP address bugfix, an iplink file processing bugfix, and an updated childfinder script for the new HOST variable.

The "Our Scripts" Section


The "Our Scripts" Section 06/03/2002 12:05 PM

Scripts and Slashes


Scripts and Slashes 10/28/2003 11:08 PM

In an earlier blog entry, I mentioned how Safari was having to emulate a quirk in Mozilla in order to make a particular Web site work. When Mozilla encounters a <script/> element with an XML-style self-closing /, it actually closes the tag, even in HTML pages. This is - I believe - incorrect behavior, since in HTML the / is invalid and should simply be discarded, leaving you with an open tag instead.

If you try this in WinIE and Safari 1.0, you'll see that they behave identically. They both ignore the / and leave the script open. Both Mozilla and Opera, however, honor the / and close up the script tag.

With my "fix" for this bug, the latest Safari will now honor the / as well. I wonder if this behavior was deliberate on the part of Mozilla and Opera or just some accidental fallout from their XML implementations... whatever the case, we're all stuck with it now, since Web sites are (amazingly) writing to it.


Ancient Scripts


Ancient Scripts 12/06/2003 08:39 AM
Ancient Scripts
http://www.ancientscripts.com

Ancient Scripts gives overviews of ancient writing systems, as well as phonetics and historical linguistics. Images of the writing systems are displayed with English phonetic approximation. Searchable, with links and a bibliography.

Oak & Apple: Big Cat scripts


Oak & Apple: Big Cat scripts 03/15/2003 10:14 PM
Oak & Apple Software has released three scripts for use with Ranchero's Big Cat contextual script menu. Stuff 1.0 improves on the “Stuff” script included with Big Cat by stuffing selected items into one archive instead of multiple separate archives. Zip 1.0 works in a similar manner but uses DropZip to create Unix and PC compatible zip files. Word Count 1.0 puts up a dialogue box showing the number of characters and the number of words in a text selection.

soffice-scripts 0.2


soffice-scripts 0.2 11/07/2003 09:59 AM
Scripts for StarOffice 6 and 7.

Compression Scripts for Big Cat


Compression Scripts for Big Cat 03/13/2003 10:21 AM
Michael Grant posted some scripts for stuffing and zipping selected files.

simplePHP Scripts


simplePHP Scripts 04/18/2004 10:53 PM
Website Online

Destiney Scripts 0.3.2


Destiney Scripts 0.3.2 06/22/2004 04:00 AM
An image rating script.

Mail Scripts 2.1.2


Mail Scripts 2.1.2 02/10/2004 02:54 AM
AppleScripts additions for improved work flow in Address Book & Mail.

Chapter Eight: SMS Installer Scripts


Chapter Eight: SMS Installer Scripts 04/19/2005 11:17 AM

Scripts: iScrub Hard 1.0


Scripts: iScrub Hard 1.0 02/10/2004 10:42 AM
Comprised of a "scrubbing" droplet named iScrub Hard that should render almost all of the Mozilla holiday calendar files readable by iCal 1.5.2 for Panther. (May work with earlier version of iCal as well.) A second droplet named iScrub Harder is included in case the first "scrubbing" doesn't quite render the calendar file readable by iCal.

Graphical Scripts Project


Graphical Scripts Project 04/04/2005 08:52 PM
New website launched !!

GanttPV 050104 (Scripts)


GanttPV 050104 (Scripts) 01/04/2005 01:02 PM
A project scheduling application.

Disabling Remote WSH Scripts


Disabling Remote WSH Scripts 07/19/2004 11:19 PM

DMNeoblade's easy PHP scripts


DMNeoblade's easy PHP scripts 08/04/2004 04:37 AM
Taking Requests

ScriptBuilders: kapullo scripts 1.0b4


ScriptBuilders: kapullo scripts 1.0b4 07/08/2004 02:16 PM
kapullo scripts is a free collection of applescripts intended to be used as source-code you can borrow, use, modify. You will find categories, such as AppleScripter, Finder or Text, with utilities to convert the clipboard to HTML or BBCode, make a dmg file from a folder, a pdf from a ps or use several clipboards. Lots of nifty stuff to have in any developers toolkit.

Hubi's iTunes Scripts


Hubi's iTunes Scripts 08/29/2004 12:16 AM
Hubi's iTunes Scripts is a collection of 32 AppleScripts to rename, sort, and manage mp3s, aacs, aiffs, wavs, midi-files and webradio-links with iTunes.

Schlabos Scripts Collection


Schlabos Scripts Collection 11/05/2003 01:15 PM
Schlabos Scripts turned Open-Source

Easy installers for PHP scripts


Easy installers for PHP scripts 11/12/2003 10:15 PM

I tried out FUDforum last night, after Rasmus Lerdorf recommended it in a comment on Jeremy Zawodny's blog. Feature wise, it's pretty impressive but still doesn't quite do it for me - I want something that's trivial to integrate with an existing authentication system and outputs valid HTML (or XHTML) out of the box. Rasmus says it's the only board he's seen that doesn't have obvious security holes though so it's probably worth checking out if you need to set up a forum of that kind.

That said, what impressed me about FUDforum more than anything else was the installation process. The forum is distributed as a zipped archive, but when you extract it the only file you need to copy to your web server is a single 4.5 MB file called "install.php". You drop that in to a web facing directory and access it from your browser. It then steps you through the rest of the install, telling you which directories to chmod 777 so that the installation process can access them, asking for your database settings and automatically creating all of the scripts, database tables and configuration files it needs to run. It even refuses to let you in to the admin panel at the end until you've deleted the install.php file from the server. Pretty slick.

Of course, the need to chmod anything 777 in a shared hosting environment is a little bit worrying, but that's been a common problem with server side web development for as long as I can remember.


Mail Scripts updated


Mail Scripts updated 08/30/2004 03:13 AM
Andreas Amann has updated Mail Scripts, a collection of useful AppleScripts for Apple's Mail and Address Book applications. The package includes ten scripts that allow you to Add Addresses; Archive Messages; Change SMTP Server; Create Rule; Remove Duplicates; Schedule Delivery; Send all Drafts; Open Mailbox, Open Message; Export Addresses; and Search Addresses. Mail Scripts are free to use and require Mac OS X 10.3 or later.

Internal Variables for Use in Your
Scripts


Internal Variables for Use in Your
Scripts
08/15/2004 07:36 PM

Webl0g for free scripts


Webl0g for free scripts 03/13/2003 07:31 PM
Tim Conner, of Web Entourage: "I've started a syndicated weblog of AppleScripts that I thought I could share with others. My goal is to supply handlers or sub routines that people need or would often use. I will attempt to make them as universal and portable as possible. If you have any tips, suggestions, or would like to submit a script, you can contact me. The scripts are available here - don't worry, there are more to come once I get the backend finished."

Destiney Scripts DBSessions 0.1.0


Destiney Scripts DBSessions 0.1.0 01/05/2005 10:40 PM
A drop-in replacement for the default PHP sessions.

Writing Secure CGI scripts


Writing Secure CGI scripts 07/15/2002 06:33 AM
Stickysauce Jul 15 2002 5:29AM ET

Destiney Scripts Links 2.1.2


Destiney Scripts Links 2.1.2 01/05/2005 10:40 PM
A script for a dynamically-generated links site.

Accelerate Your Life (and PHP Scripts)


Accelerate Your Life (and PHP Scripts) 08/05/2002 10:44 PM

Grok Description matches for Replacing Perl Scripts with PHP Scripts
GrokA matches for Replacing Perl Scripts with PHP Scripts

Replacing Perl Scripts with PHP Scripts

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Use Oracle9i
full-index scans to
read data quickly

An introduction to
Flash Remoting MX

Real managers use
real metrics

Create an embedded
Web server

Working with problem
players

C# will rule the
.NET roost

C# for Java
developers

Live from LA
PhpClasses
TKNY the ultimate
gadget store!

HTML Tip: Structure
Documents With
Header Tags

Lactic Acid Cure?
Review - Macromedia
Contribute

XML DTDs Vs XML
Schema

Importance of a PPC
Bid Manager

New Releases From
InterAKT

PHP Class 'DateSel'
released

PHP Class 'Adump'
released

Improving Rankings
via Server Side
Includes (SSI)

DateSel
It's Live! --
WebSphere 5

Html
SL-C700 from
Dynamism

Macromedia tool goes
old school

Hey Mom! I'm a
Columnist Now!

Security Alert:
Another IE6
Vulnerability

Asking Mail Servers
About Spam?

Pear Versus ADOdb
ApacheCon Blogging
MPEG-4 Becoming
Louder, Clearer?

Announce -
Professional PHP4
Databases ISBN
1861007825 released
by Wrox Press Ltd

Dell Delivers on
Blade Server Promise

It's Live! --
WebSphere V

Internet World Asia
2002 in Tokyo, Japan

W3C Thanks the W3C
SysWeb Team

W3C Welcomes Members
at Advisory
Committee Meeting

Sponsored by the
Letter G

HTML Tip: Easy Table
Formatting

Introduction to XML
Interview - Bard
Farstad

Adump
An Introduction to
generating sequences
with SQL

GNU/FSF tools web
pages could be more
helpful!

PHP Class 'Reload
Preventer' released

PHP Class 'LinkRow'
released

Image Manipulation
with PHP - The GD
Libraries

Reload Preventer
DBG debugger update
Book Review:
Beginning PHP4
Databases

PR: Zend Strengthens
Commitment to
Hardware Vendor
Platforms

what is grok?