我正在尝试为iPhone和Android构建一个处理音频输入的Web应用程序.
这可能吗?
我的网站设置并加载长度为200个字符的cookie.这太多了吗?可能会影响装载速度吗?多少?
if(condition 1){
var=changeVar(var);
changed=true;
}
if(condition 2){
var=changeVar2(var);
changed=true;
}
if(condition 3){
var=changeVar3(var);
changed=true;
}
Run Code Online (Sandbox Code Playgroud)
我不喜欢怎么changed=true;重复三次.
function oneWayEncrypt($string) {
$salt = md5($string."yHuJ@8&6%4#%([@d-]");
$salt2 = md5($string."@!#&+-)jU@[yT$@%");
$string = hash('sha512',"$salt$string$salt2");
return $string;
}
Run Code Online (Sandbox Code Playgroud) 我最近设置了一个新的Web服务器,我收到了未定义的变量错误.如果我在没有初始化的情况下使用变量,它会给我一个错误.源代码没有改变.只有LAMP环境才有.你会如何解决这个问题?
谢谢
我是应用程序编程的新手.我知道基础知识,但现在我想专注于一个市场.哪一个通常更有利可图?
这是我的文件结构的一个例子.
/index.php
/inc
/inc/file1.php
/inc/file2.php
/inc/file3.php
/search.php
Run Code Online (Sandbox Code Playgroud)
index.php包括()file1.php,file2.php和file3.php.我希望它们只能通过index.php访问.
什么是最优雅的解决方案?
谢谢
我正在考虑将Zend用于我的新项目.但我担心使用太多的系统资源.我在20美元的Linode VPS上
它值得吗?
与其他语言相比,PHP效率不高吗?我认为那里有更好的选择.
你认为Facebook会放弃PHP吗?(就像Twitter部分离开了Ruby on Rails)
我只想听听你的意见.