| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11
Comments:
<0> .| <0> flsalas <0> flsa;klfasgkag <0> hi <1> noj: stfu <0> i'll drink you bitch <0> sup mang <2> **** <2> u? <0> about the same <0> bebe un tecate <3> hey cv <4> poutine: oh no, from what I read you can stray from php all you want <4> as long as you have a free runtime
<0> exactamundo <5> hi, if anyone wants to make quick $10, via paypal, for helping me modify an existing small images function i need... msg me.. please <3> that's a pretty sweet offer, netgene <6> gee, ten whole dollars? <6> I hope it takes less than 10 minutes to accomplish. <3> i can't find a hitchhikers guide towel <3> and that makes me frustrated <6> .. <6> towel? <3> yes <3> what's dc to do calculate disk <7> you earn $60/hour for php? <6> here I do. <3> yes zen, a towel <5> Ok here goes, http://dalphp.shoggoth.net/pastebin_view.php?685 that segment of script, handles de upload of a picture, via a form, then it saves it on the server with some name, and waits for a final confirmation before importing it into mysql. my purpose is to resample the image, before it gets to the server... i cant figure out how that script works... can anyone help ? <5> i already have the resampling function, but it cant make it work.. <6> how does it fail? <5> well, arround line 109, i dont get exactly whats going on there, but trying to use the resampling function it complained about another function demaning a string on the first value, but couldnt find it.. <1> what is the exact error msg? <5> $userfile = func_move_uploaded_file("userfile"); that function in theory simply copies the file to the server, but i dont get it, why "userfile" contains the file.. <1> netgene: http://www.php.net/manual/en/features.file-upload.php <6> hmm <8> <? echo "wut?"; ?> <5> ok, i found a better way to explain my problem. <5> http://dalphp.shoggoth.net/pastebin_view.php?687 there are... 2 functions there.... first resizes images, the second one, uploads files... if i would want to use the first image before finishing uploading the file, where should i call it ? <9> netgene: http://dalphp.shoggoth.net/pastebin_view.php?688 <5> 1 sec <5> uhum.... it seems it works !! : <5> :) <5> it does.. perfect.. thanks a lot evulish <9> no problem <3> where's my 10 bucks <5> evulish did it :P <5> if you really want the $, give me ur paypal addy. i am not kidding. <5> evulish.. i mean. ehe <9> donate it to charity :P <5> i will. ehe ;) thanks <5> i am off to sleep <10> hi <11> anyone here know visual studio? <10> yes <10> got the 2005 <10> never used it for php code, though <12> anyone here smart with html? <12> nones awake there :( <13> later folks. <14> hi to everyone <14> just one question <14> i found out that my upload script does works, but for some reasons, he move the files in the right folder, but it gives them permissions 300 rather then 744 <14> doeas anyone why ? is it possible to change that ? <14> the directory for the uplaod has 777 permissions <15> @chmod! <16> (PHP 3, PHP 4, PHP 5) <16> bool chmod ( string filename, int mode ) <16> Changes file mode <16> http://www.php.net/chmod
<15> @umask! <16> (PHP 3, PHP 4, PHP 5) <16> int umask ( [int mask] ) <16> Changes the current umask <16> http://www.php.net/umask <17> hello <15> howdy <17> can you guys help me create a news annotator <17> should i use the explode function? <15> i don't think one function is going to magically do everything you need <17> what do you think should i do? <17> well here's the scenario.. i have a field in the db that holds the value of the whole news... <17> what i want now is to create an annotator that will be placed on the index page <17> i only want to show the first 40-50 words of the news... then there will be a link to the main news... <17> i was thinking if i'd just explode the content of the news field.... would this take a lot of time to load? <18> try it and see <17> here's the code <17> <? <17> $annotated = explode(" ",$row['news_content']); <17> <17> for($i=0;$i<40;$i++){ <17> echo $annotated[$i]." "; <17> } <17> ?> <18> ummmm <17> it works fine but i don't know if this code is taking too much of memory <18> why not use str_split <19> okay.. how else can you move a file ? besides move_uploaded_file <19> im thinking of copy and unlink <19> unless theres something else available <15> ***id: yeah, copy <19> yeah.. just wondering if i missed a function somewhere <20> @func copy <16> (PHP 3, PHP 4, PHP 5) <16> bool copy ( string source, string dest ) <16> Copies file <16> http://www.php.net/copy <19> i know.. <19> was justr wondering if there was a function i missed <15> no, no plain move function <19> bah <19> now comes the bad part <19> i gotta run apache as root for this to wwork <15> suphp? <19> uh? <15> is this just a one time script? <19> well <15> cause you can set up suphp <19> url.. <15> if it's something you are going to regularly do <19> yeah.. regularly <19> alot !! <15> @google 1 suphp <16> Search results for suphp: <16> http://www.suphp.org/ <16> http://www.google.com/search?hl=en&ie=ISO-8859-1&q=suphp&btnG=Google+Search <19> maybe just run it as root <21> hi... it's possible to have a mixed site (php <21> hi... it's possible to have a mixed site (php & asp) <21> ? <22> sure <23> if you really wanted to <23> those wouldnt be the two that you would really attempt to combine <21> how can you do that? <23> as one is best on a windows machine, and the other a linux <23> asp is probably going to have alot of problems if you attempt to run it on anything but IIS, so you would have to setup IIS, on a windows box, and then install php in IIS aswell <22> if you want PHP and ASP in the same _file_, it's a bit trickier (and exponentially more retarded) <23> i would not recommend same file <23> u would definately be out of your tree <15> yes, same file. do that! <23> and give us all the address, so we can watch the server die
Return to
#php or Go to some related
logs:
gönlü besleyen dayan yüreğim diye teri baatein, teri yaadein #vb #india aiswaryarai who is chindi chor #chat-world hindi Lucky no time for love mp3 #allnitecafe nero 7 keyi
|
|