Solved

help me go from perl to php

Posted on 2002-04-01
3
159 Views
Last Modified: 2006-11-17
How do i do this in php

$opendate=~s/INSERT DATE HERE/$replaceString/g;

thanks kieran
0
Comment
Question by:kplonk
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
andriv earned 20 total points
ID: 6910892
$opendate = str_replace("replace these","replace with",$opendate);
0
 

Author Comment

by:kplonk
ID: 6911011
just the job thanks
0
 
LVL 5

Expert Comment

by:andriv
ID: 6911049
Glad I can help.

Andy
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now