| |
| |
| |
|
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 27 28 29
Comments:
<0> TML: His SetVisitedPage is called from the ctor. Kinda weird if the object is not constructed when he (hopefully) calls SetIDs() <1> zircu, of course - that is basic <2> pmark: configure should find pg_configu based on that <1> zircu, but sending mail from a external account, through the gmail interface, I did not realize was possible <3> ok - trying that :) <4> jesava: You're right, I just missed it <0> k776: If you take your paste, add $obj = new CheckPage(); $obj->SetIDs(); at the bottom of the script. Then what happends? <4> jesava: He still needs to read what I told him to read, regardless. <0> =) <5> Hm... <6> TML: Nothing <4> k776: "Nothing"? <5> HTML/XHTML (4.01/1.0|1.1) layers... and GUI layers on top of it. Generated from cl***es :P <4> I...don't recall asking you to do anything, other than read. <0> k776: http://pastebin.com/641525 <--- That outputs [ bleh ] for me.
<7> how would I p*** a a "return" value back to php from a bash shell script called via system() ? <8> use www.php.net/exec <6> opps, yep, does for me too :$ <9> this is gonna sound like a weird question, but does anyone know of a domain that will timeout for me? i need it for testing <0> k776: So nothing wrong then =) <9> i.e. a website that's currently down <7> choongii> the output array? <8> yeah. ***uming thats what you want. read the shellscript's output\ <3> zircu, TML, Wilik: great! make worked, but php pages are appearing as blank (using apache2) <6> hmm, them its my longer script <4> Pollita: You following the battle for "king of virtualization" at all? <6> http://pastebin.com/641528 <6> TML: That only outputs [ ] <4> k776: It's generally not a great idea to do all of that stuff in the constructor. <4> k776: $searchfor = $this->visitedpage = $visitedpage; <6> (old script :$) <4> k776: If $visitedpage isn't set in the global scope, you've just set both $searchfor and $this->visitedpage to '' <4> Or, rather, to NULL <0> k776: Well if $visitedpage is not set or something then...well. <6> ok, well, anyway to fix? <10> Viper007Bond, Could you specify a port that it's not listening on? <0> LOL <6> I mean, everything works except that one thing <0> k776: Atleast think alittle. <11> Someone help me. I've been trying to get this to work for 6 hours and I'm about to rip my f*cking hair out. <0> k776: Find out what the global $visitedpage is set to when SetIDs is called. <4> MihewaCANADA: I already told you what to do. <11> I have an upload form on my website. This upload form uses cURL to post the data to a remote upload form (different site). The file is not being received properly by the other site. Someone PLEASEEASEASEASEASEASE help me! <11> TML: I just can't get it to work! :( <4> MihewaCANADA: Show me what you have so far <9> will: mm, that might work, good idea. thanks <7> choongii> thanks..that worked <10> Viper007Bond, It all depends on what you're trying to test. <6> global $config, $PageInfo, $visitedpage; <6> die($visitedpage); <6> blank <8> heuahuaholololnoprobhihieahi <11> TML: http://pastebin.com/641534 <4> choongii: Please don't do that. <0> k776: So now you know why $searchfor is blank also. <12> i am using PHP 5.1.2 in winodws server 2003 and i recently installed MYsql 4.1.18.My question is Mysql is not showing by phpinfo.php and giving me errorUnable to load dynamic library 'C:\php\php_mysql.dll' <6> :P I know that. Question is, why. I can't figure it out <8> TML, okay <4> k776: Note that var_dump() is far more informative than "die" <4> k776: Because in the global scope you didn't ***ign a value to it <4> MihewaCANADA: You didn't do what I told you to do <11> I tried it already. <4> Where's the code from that? <11> It's 2:12 AM. I need to be out the door in all of 5 hours, but I have deadlines and need to finish this. <11> You mean the method of saving it locally on the server and then posting the file to the remote form? <4> MihewaCANADA: No <0> k776: What value do you even expect $visitedpage to have at that point in the flow? Check the code before SetIDs() is called (before the construction of the object). <4> MihewaCANADA: I mean the method of performing the action you want in Mozilla with livehttpheaders turned on and logging, and then using that to construct your curl <2> MihewaCANADA: i would brew yourself a new pot of coffee or a nice tea <11> TML: Do you have livehttpheaders installed? <11> TML: Could you check it out for me? : ( <4> MihewaCANADA: I don't even have Mozilla here <11> God damnit. <0> k776: Somewhere in the flow before SetIDs() you empty the global variable $visitedpage. <11> OK, one minute.
<6> jesava: it should be http://localhost/testsite/ <0> k776: So find out where the global variable $visitedpage is set to blank. Is the script so big you can not paste the whole? <13> what exactly does => do? <2> omnipresence: defines an ***iciation of a key to a value in an array <11> TML: Here is the livehttpheaders result: http://pastebin.com/641537 <14> zircu ? <2> omnipresence: $a = array('key' => 'value'); or foreach($a as $key => $valu); <4> MihewaCANADA: Great. Now use that to construct your curl. <11> TML: ... <6> TML and jesava: I fixed it with your comments and help :D Thanks for everything <2> Jymmm: was that to much of a description for you? <14> zircu Ug <3> thank you all so much! it works! <2> pmark: good to here <2> hear* <11> TML: ........I don't get it. <4> MihewaCANADA: Which part of it do you not get? <11> "Construct your cURL". <11> I don't see what's wrong with the way I'm doing it now./ <2> i think i have a problem with my vowel keys <4> MihewaCANADA: You don't see the m***ive difference between the headers you're sending and the headers Mozilla sent? <14> with your bowels? <11> TML: Look, I just need help. From what I see on the MobileUP form, it sends those three values: fil (the file), submit (Upload), and from (tree). <11> That's what I'm sending, so please, explain what you're talking abot. <4> MihewaCANADA: Look at what you sent from Mozilla's livehttpheaders <11> TML: Please tell me exactly what I need to do. I severely need sleep but I need this finished before I go to bed, and I'm getting overly frustrated. <4> MihewaCANADA: You need to look at what Mozilla sent, and send those same headers when you make your curl request. <15> TML: when you're done, I'd very much like a back-rub <2> hmm.. now that you mention it i need a foot rub <11> TML: The headers are not the problem. The FILE is not being SENT propery. <14> TML: Pencil me in for a neck rub... <16> How do I clean the a statement so that like "i'm" wouldn't generate an SQL error when trying to be put in a database? <14> !+f mysql <17> Try looking at http://php.net/mysql <4> MihewaCANADA: The headers are at least *PART* of the problem, because without those headers, you aren't sending a file. <13> $imgUpload[0]=array_push($key => $val,$val); ...why is that unexpected double arrow? <2> MadSekkai: ***uming mysql, use mysql_real_escape_string <11> **** <11> THIS <11> **** <15> oh noes <2> MihewaCANADA: is your pot of coffee done yet? <2> or wait, you just drank the whole thing in a minute <14> Heh, reminds me of that kid playing a game and the computer locks up <2> well, he left without a kick, he is a bit alert of what he is doing <14> zircu /r <nick> <18> Is there a GD function for adding another image to a image? like a stamp? I want to add a logo to a image <14> CopyNinja it's called watermarking <18> yeah that's it =) <19> CopyNinja: it's pretty simple.... i've done it before <18> so is there a function for that in GD? if not, how can I make one? <19> CopyNinja: check out php.net/gd i think <4> CopyNinja: Take a look at imagecopymerge <13> http://pastebin.com/641548 ...can someone help me with this script (ive been workign on it for 4 hours now... when i print_r on $value i get all the values in a single string with no spaces..... but i just cant seem to separate the values <18> TML: okay ill have a look. thanks <2> just make sure you use a alpha image to water mark with, it makes it blend better <18> okay <2> well, an alpha channel image <13> any help would be greatly appreciated <4> omnipresence: Try using var_dump() instead of print_r <13> string(12) "inv_lock.gif" string(9) "image/gif" string(14) "/tmp/php8jwU7P" int(0) int(735) <13> perfect <13> now i can explode it <13> thank you so much <2> omnipresence: it can help to read your pastebin if selected 'PHP' as the syntax highlighting <13> my bad <2> a minor thing but it help <13> now how would i get just "image/gif" out of that var_dump($val)? <19> omnipresence: i don't get why you're var_dump and/or print_r... why don't you just grab the string directly? <13> im trying! <13> the var_dump was for debugging <4> omnipresence: Where did you put the var_dump() in relationship to what's on pastebin?
Return to
#php or Go to some related
logs:
bash tools solaris seq build movie from single images linux gimp reduce size batch #linuxhelp ircdevil mvangel8
#web +solaris +Libavcodec has been miscompiled #osdev wqghlt
|
|