@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26



Comments:

<0> Anyone ever had a problem with upload speeds using $_FILE?
<1> dampjam, iirc turk evolved into eaccelerator
<2> ***yKen: ya mod_rewrite
<3> z_doc: Well, upload speed would depend on the connection speed of the client.
<3> z_doc: It has nothing to do with PHP.
<0> I'm on an Intranet
<4> Jy -- can you explain further -- I'm not familiar with it
<0> a gigbit network at that
<3> z_doc: PHP doens't even get invoked until the file's already been uploaded.
<0> agreed
<0> but
<2> you take whatever is the ja22 and rewrite it on the server side so it looks like index.php?page=ja22
<4> Jy: What if ja22 could be anything tho?
<0> I know that in 4.* there was a problem in the packet sizes that did the same thing
<0> in the PHP source
<2> you setup your mod_rewrite regex to handle it



<4> Jy: So you wanna help me? :-)
<2> no
<2> but google will
<2> i will help you if you want to PAY me
<2> this is more like jy.. do you want to do it for me
<4> that's true ;-)
<5> http://www.quizmeme.com/internetaddict/takequiz.php <-- :)
<4> Jy: So mod_rewrite can't be used on a shared server can it
<4> like...for individual sites
<2> yes you add the rule into a .htaccess file
<4> Ahh.
<4> gotcha.
<4> Thanks Jy :-)
<4> You're my favorite.
<6> if i'm trying to get the http_referer is it better to use $foo = getenv('HTTP_REFERER') or $foo = $_SERVER['HTTP_REFERER'] or is it just a preference thing?
<7> LinkSlice: $_SERVER is the proper method
<6> AcidReign: ok
<0> Here's the deal, if anyone is interested - upload_max_filesize = 128M post_max_size = 192M memory_limit = 256M max_input_time = 180 seconds max_execution_time = 150 seconds. I'm on gigabit. The rest of the app runs like a scalded dog (fast). The only problem is with upload. Takes about a minute per MB, yet I can copy to the same server directly in 2 seconds. LimitRequestBody in Apache has been set too. FYI - running Debian Sarge, PHP
<6> i keep seeing people get trashed for using getenv, is that not so good? I don't use it very often (in fact I can't think of a time that I did)
<0> FTP via IE or Firefox runs fine as well, so this is http
<7> LinkSlice: the super globals are the prefered method
<8> This is awesome.
<2> LinkSlice: the reason is getenv() doesn't seem to work all that great cross platforms
<6> ah ok
<8> I just found a job posting where the guy is starting a company that's going to be competing with Orbitz.
<7> LinkSlice: afaik there is no reason to use getenv
<3> z_doc: HTML forms are certainly, hands down, the least user friendly way of transferring files to a server.. :)
<7> ever
<2> i think it has big issues with IIS
<6> AcidReign: heh ;)
<8> Developing in Java.
<3> If FTP (or webdav) is an option, I wouldn't even consider using a form.
<0> agree mattmcc, just curios if anyone else has seen this issue
<0> Unfortunately, its part of a document management system (forms required). But I'm not against changin the method of transfer
<0> I've not thought about webdav though
<7> z_doc: you also have to remember all the extra things going on to coerce binary data through a form. i.e. base64 encoding, which increases size by 30%
<9> z_doc, have oyu thought about using a java applet and SFTP or FTP with SSL?
<0> actually I started investigating that today, but wanted to talk to a group of experts first, just to see if anyone's made it work .... ;)
<9> z_doc. The only problem i found so far with the java applet, was finding one that could be used for commercial sites and was free
<9> and of course worked well
<0> I'm not God's gift to web programming or anything, but I can program java myself, and have been doing this for many years, but I must tell you, this one has kicked my @ss
<9> I want to make it easy for staff members to be able to upload multiple files fast and also not have to worry about the php upload limit
<9> yeah, im not a java programmer at all
<10> $result = mysql_query('SELECT * FROM Login where uname="'.$uname.'"');
<10> if (!$result) { echo $query.'<br>'.mysql_error(); header('Location: ../index.php?include=error/uerror&uname='.$uname); }
<10> Doesn't work as intended.
<10> Why? :O
<10> The error I get is just that nothing is displayed
<10> When !result
<0> The upload limit is easy (edit the php.ini file). Its the speed of the upload that is killing me
<3> #@${"clob$cn"}->close();
<11> I want to read a file with xml in it and get some thata from it, I still cant dare call myself a programmer but am willing to learn all I need from you is where to read the information for the speciffic function I whould use
<0> currently, it akes 6 minutes for 6.11 MB
<3> base64 encoding can have a big effect on file size.
<0> agreed
<0> but I have tried both ways
<0> only about 10 seconds difference
<7> mattmcc: wow, that is ugly!
<7> carlos-the-man: www.php.net/dom
<0> BTW - Mathwise - Base 64 make your file 1.33 X actual filesize



<0> bad, but not six minutes worth
<0> good suggestion though
<3> Might be interesting to do a POST that uploads a file using something other than a browser.. <shrug>
<3> Curl, for example.
<0> Now there is a thought
<0> like that idea
<3> But for transferring data to only be slow in this specific instance, which isn't protocol-specific, or data-specific.. Is just weird.
<9> i think you could get some great ideas by checking out the gallery projects upload scripts
<3> Almost like your network is managing to QoS multipart/form-data HTTP requests only.
<9> gallery.menalto.com
<9> they have some great upload tools
<0> no QOS internally
<0> I designed the network .. ;)
<0> however CURL may be able to give me a test bed
<0> I will check the gallery too
<0> I know that they have similar issues form googling
<9> has a really nice java applet for uploading
<9> i didnt
<9> i was able to upload 1000 files totallying 650mb in about 20 mins on my dsl connection at home
<0> using the java applet?
<9> yep
<0> do you happen to know the name of said applet?
<0> and do you know if its open?
<9> nope, but its part of their stock gallery, so it shouldnt be hard to find
<0> for scripting?
<9> yes it is
<0> cool
<9> i would think at least, i coudl be wrong
<0> maybe I can prevent a little extra coding
<0> that's always good
<0> I've already got a 40,000 line eDMS system, any save on the extra coding is indeed good
<9> are you going to GPL your script? =P
<12> z_doc: you wrote your edms?
<0> yes, I wrote it
<13> hi everyone, how do you check a variable to be either something or something else umm..if($foo !== "bar" or "bar"){
<12> z_doc: integrated document viewer?
<0> with a buddy
<0> yes
<13> what goes in place of the "or"
<3> ||
<14> lilkid: ||
<0> and integrated scanning as well
<13> ok thanks
<9> would be great if you released it to the community to use as well
<12> z_doc: os?
<14> or or..
<11> well actually my file looks like XML, its actually XHTML or whatever, all I need to write as php is: "read the text file, find the line where it says "those weirdos", put the next lines in an array, until you find the line that says "the other weirdos"
<0> works currently on Debian, Fedora, and Solaris
<12> z_doc: i mean opensource?
<0> half and half
<12> z_doc: would you be willing to dumb down a demo or ever have a desire to sell it?
<0> LGPL to some proprietary mods (no choice on that one)
<15> Sweet zombie Jesus... 477 users...
<0> eventually
<9> z_doc, so next week?
<9> lol, jk =P
<12> z_doc: the reason that i ask is that our company is in the current process of looking at a new edms system to replace our sybase/novell crap. i'd like web-enabled and haven't found anything with a decent viewer or scanning.
<0> I would never actually "sell" the actual app, however, I am selling the compilation, sortof
<0> I'm really charging engineering, and deployment fees
<12> z_doc: and since i'm one of two people authorized to make the selection, i'm entertaining new ideas
<0> and of course, monthly maintainence
<12> z_doc: do you have preset rates?
<13> if($ip !== "81.178.213.201" || "84.66.53.140"){
<13> header("Location: http://meatspin.com";);
<12> z_doc: and are you in the states?
<13> crap
<0> 10,000 for setup of 25 users
<13> crap
<0> 150 per month
<13> sorry noone look
<13> doont look at thos ip addresses
<13> !!!
<0> yes I'm in the US


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#linux
#perl
python2.5 ternary operator
airsnort error fetching interface
#perl
X11R6/SourceForge/Mesa6.2/Mesa/include/GL/gl.h
UserWarning: wxPython/wxWidgets release number mismatch
#debian
sources.list apt-get gxine
#perl



Home  |  disclaimer  |  contact  |  submit quotes