简体   繁体   English

PHP模块uploadprogress已安装,但无法检测到

[英]PHP module uploadprogress installed but can't be detected

Hey all. 大家好。 I've successfully installed the php extension uploadprogress on my 1and1 acct. 我已经在1and1帐户上成功安装了php扩展名uploadprogress。 You can verify at www.mgxvideo.com/info.php . 您可以在www.mgxvideo.com/info.php上进行验证。 Using code I got from this site , I get the following error: 使用从此站点获得的代码,出现以下错误:

 Fatal error: Call to undefined function uploadprogress_get_info() 

Basically, you can view my code at progress.txt and upload.txt . 基本上,您可以在progress.txtupload.txt上查看我的代码。 I've spent all night trying to get this jquery upload progress indicator working. 我整夜都在努力使此jquery上传进度指示器正常工作。 As always, any and all help and ideas are welcome. 与往常一样,我们欢迎任何帮助和想法。 Thanks! 谢谢!

Not a direct answer to your question, but if you're just looking for a way to display an upload progress meter there are various libraries that use a combination ofJavaScript and Flash to achieve this entirely on the client-side without any messing with the server. 这不是您问题的直接答案,但是,如果您正在寻找一种显示上载进度表的方法,那么有很多库可以结合使用JavaScript和Flash来完全在客户端上实现此目的而不会与服务器发生任何混乱。

Check out SWFUpload , and FancyUpload . SWFUploadFancyUpload I've used FancyUpload a fair bit myself, but it's built with the Mootools framework and so may not be your thing if you're using jQuery. 我本人已经使用过FancyUpload,但是它是用Mootools框架构建的,因此如果您使用jQuery,可能就不是您的事了。 I'm sure jQuery alternatives won't be too far away in Google land though. 我确信jQuery替代品在Google领域不会太遥远。

(Apologies if you know all this already and there's some special reason you need to use the PHP extension.) (很抱歉,如果您已经知道所有这些,并且有一些特殊的原因需要使用PHP扩展。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM