the 'old' binary. I should have created a symbolic link to the
/usr/local/apache/php/bin/php file and this wouldn't have happened.
Thanks for the quick repsonse.
Marek Kilimajer wrote:
Cory D. Wiles wrote:
I am writing some backup scripts that will ftp my *.gz files to my ftp
Michal Migurski wrote:
#!/usr/local/bin/php
output when ran: 'Damn'
During the make I didn't see any errors. When I ran phpinfo()
[http://www.randomthoughtprocess.com/info.php] it shows that I have
FTP support. Is there something that I am missing?
The version of PHP you're running on the comm
Marek Kilimajer wrote:
Cory D. Wiles wrote:
I am writing some backup scripts that will ftp my *.gz files to my ftp
server. Unfortunately I didn't originally install php with ftp support
(oversight on my part). I reconfigured/installed PHP with --enable-ftp
and restarted everything, bu
I am writing some backup scripts that will ftp my *.gz files to my ftp
server. Unfortunately I didn't originally install php with ftp support
(oversight on my part). I reconfigured/installed PHP with --enable-ftp
and restarted everything, but the functions still don't work.
#!/usr/local/bin/php
Assuming you are doing just one string at a time:
$regex = "/(\[i:)(\w+)(\])/i";
preg_match($regex, $str, $matches);
print $str;//original string
print substr($matches[2], 1, 3);//trimmed string
?>
Gryffyn, Trevor wrote:
If the format is consistantly the same, try this:
$somedata = "[i:aslkdfj]";
5 matches
Mail list logo