Hi all,
I don't know why this (quick & dirty) small function:
function esiste_url($file){
@$fp=fopen($file,"r");
if(!$fp){return false;}else{return true;}
@fclose($fp);
}
//it checks if a url submit via form client exist
in two different pages:
a.php3 ---> works fine
b.p
Hi all,
anyone have or know where I can find a small function in order to extract
from a string the most relevant words in it?
something like this:
$var="I love coffe ... Coffe is from Brazil and coffe with milk ..";
$occurence=2;
//$occurence means word that are repeat 2 or more times
my_dream_
Hi all,
anyone know if there's a similar way to read like the linux php://stdin on a
windows box? I've tried to run a simple script founded on phpbuilder.com
about a shell scripting and it seems to work in some way just for the first
"request" ...
This a "screenshoot" of my ms-dos window:
C:\P
Hi all,
I've a prob. using the imap functions ... with a simple code that retrieve a
multipart mail,
$struttura=imap_fetchstructure($link,2);//2 is the msg nr
$pezzi=0;
foreach($struttura as $key=>$val){
//some code
if($key=="parts"){
foreach($val as $w){
Hi all,
anyone could show me how to split an multi-part email in mime format using
imap funct? I need to take an email in html format with embedded images and
store its html,text and etc. in a mysql db
simple script, class, tutorial or specified howto are very welcomed
many thanks in advan
Hi Christian,
>$html_code = eregi_replace (..., $html_code);
arghhh ... I'm so stupid !! Yes, u're right ...
really, many thanks
max
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hi Christian,
>> function change_sess(&$html_code){
>> if(eregi("&flag=[0-9]{9}&PHPSESSID=[[:alnum:]]{32}",$html_code)){
>>
>> str_replace("&flag=[0-9]{9}&PHPSESSID=[[:alnum:]]{32}",">;?>", $html_code);
>str_replace doesn't know about regular expressions, so it tries to find
>the literal st
Hi all,
I'm trying to match a particular piece of string in a big string using a
regex in order to change it whith another value ... I mean:
eg:
$html="Lnk
";
function change_sess(&$html_code){
if(eregi("&flag=[0-9]{9}&PHPSESSID=[[:alnum:]]{32}",$html_code)){
str_replace("&flag=[0-9]{
Hi all,
anyone know something more about the future Zend IDE? e.g price, etc ..
many thanks in advance
max
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
9 matches
Mail list logo