Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
$link = "http://www23.zippyshare.com/v/63976795/file.html";
$ww = explode('.',$link );
$www= str_replace("http://","", $ww[0]);
$cif = explode("v",$link );
$cifri = cif[4];
echo "www e $www a 4islata sa $cifri";
?>
<?php
$link = "http://www23.zippyshare.com/v/63976795/file.html";
$ww = explode('.',$link );
$www= str_replace("http://","", $ww[0]);
$cif = explode("v",$link );
$cifri = cif[4];
mysql_query("INSERT INTO table (link,www,cifri) VALUES($link,$www,$cifri)")or die(mysql_error());
?>
smileface каза:- това е примерен линк, значи от този линк искам да вземам тези неща www23 и това след /v/ до /. Значи искам да знам как ще стане записването в базата данни.. ;xКод:http://www23.zippyshare.com/v/63976795/file.html
<?php
$link = "http://www23.zippyshare.com/v/63976795/file.html";//ТОВА Е ЛИНКА
$ww = explode('.',$link );
$www= str_replace("http://","", $ww[0]);//ТОВА Е www23
$cif = explode("v",$link );
$cifri = cif[4];//А ТОВА НЕЩАТА МЕЖДУ v/ и /
mysql_query("INSERT INTO table (link,www,cifri) VALUES($link,$www,$cifri)")or die(mysql_error());
?>
<?php
$link = $_POST['link'];//ТОВА Е ЛИНКА
$ww = explode('.',$link );
$www= str_replace("http://","", $ww[0]);//ТОВА Е www23
$cif = explode("v",$link );
$cifri = cif[4];//А ТОВА НЕЩАТА МЕЖДУ v/ и /
mysql_query("INSERT INTO table (link,www,cifri) VALUES($link,$www,$cifri)")or die(mysql_error());
?>