| |
| |
| |
|
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 30
Comments:
<0> CyberShadow: ajax or fopen <1> CyberShadow: yes, i wrote about 50 of em <2> thanks, will that work with headers too? <1> file_get_contents if you only want the html <3> CyberShadow: Another server? Perhaps cURL. <1> fopen if you want headers <3> Depends on the type of request you are sending, of course. <3> cURL may be too much, it all depends. <1> or sockets <2> no, I can't change the server <4> kuja is right <5> i use cURL all the time hehehehehe <6> kuja's hot. <4> if curl is supported <6> he's like a supermodel coder. <2> thanks :P
<6> code code code + take a picture + code code <4> and any ideas why sessions are always reset? php 4.3.9 <3> CyberShadow: What I'm saying is, if you want to make remote HTTP requests, the answer I can give is "use cURL", until I really know what sort of request you're trying to make. If you're trying to make a simple GET request for another HTML page or the likes, you may want just fopen()/file_get_contents(). <2> ok <2> let me expose the actual problem <4> for post request fsock goes well. but hard way to implement. reinventing wheel. <2> exlpain* <7> mmm .. expose .. <7> :-o <2> I have a game sevre application with a built-in web server, which is required for operation. I can force the game server to use a different port homever the games always connect to the port 80. There's already an apache running on the box where I need to install the game server. <3> caffinated: Write me a GTK frontend and Rikku... :( <3> s/and/to/ <7> kuja: what the hell is a Rikku? <3> caffinated: It's uh, my IRC lib written in Ruby :) <7> haha <4> CyberShadow: then you want to p*** requests <2> I guess so <7> you have to write an IRC lib for everything ;) <4> CyberShadow: does your requests contain get or post method? <7> kuja: if you want the easy way out, use glade <2> only gets <2> AFAIK <4> CyberShadow: fopen seems enough <7> kuja: ruby has GTK2 bindings iirc <3> caffinated: Meh, someone is writing a GTK frontend to my old one, but I'm making him use the new one... though he's a little slow. <2> I need to forward the custom HTTP headers sent by the server/client, will that work? <3> caffinated: Yeah, it does. They're nice, but I'm not the toolkit guy so I have people do it for me... FOR FREE! :D <8> kuja: sorted it, i need a do while loop <4> fopen wont work <9> Im designing a file editor, and everytime I put quotes in the file, it adds a slash to it, any work arounds to this? <3> bisquit: If it's from a form, then it's magic_quotes being evil. <4> CyberShadow: then you have two option <7> kuja: rofl. When you use glade, you can basicly 'draw' your interface, then ***ign methods to the hooks. after that, you're just manipulating it. <4> CyberShadow: 1st sockets <9> kuja: What do I do? <10> bisquit: http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc <4> CyberShadow: 2nd curl. let me look to php docs <3> caffinated: Man, I hate glade... that thing is like... weird :) <9> ok <7> kuja: it's a real pain in the *** if you do it from the ground up though. <6> hehe :) <6> who doesn't :) <3> It's like a thousand needles in your ***. <2> SHaWF, thanks, I can find my way around the docs, just needed a starting direction <10> i hate programming <6> i have to code a gps system for palm pilots :P <7> Dangermouse: you're in the right place then! <10> caffinated: :D <6> something like google maps but for other stuff <6> that's GUI and happy <10> One of our units at Uni is a web project. We are going to do a cinema information/booking website 8-) <3> Dangermouse: Yeah! ##php is for people who want to destroy programming! :D <4> CyberShadow: look for curl documentation. if it does not help. then you have to use sockets. <2> kay <10> 3 of us in our team. Only i know php/mysql. Should be fun! <4> can you lead me with my session problem? i am spending my 3rd day on this. <4> Dangermouse: what do others do?
<10> SHaWF: One barely does anything and the other, design. <4> Dangermouse: good luck :) <10> hmm 4.1.2, thats pretty old? <10> We have to use the crappy Cobalt RAQ servers they have <11> kuja: yeah. <3> et: Go back, go back damn you. :P <3> sen! sen :S <12> hello all <4> hi <10> Where do you think we should start? I was thinking get an idea of what information we actually want to provide, then think about the DB design, leaving the web design till later. *shrugs* <4> Dangermouse: it depends on you. try to paralelize tasks. first of all design project. <10> paralelize? <4> Dangermouse: concurrent tasks <10> huh? lol <13> does mysql_errno also return sucess codes? <13> or is there a way to be returned 1 or errno ? <14> what is my PHP Binary Path ? <14> i run gentoo linux <13> no clue <14> just emerged php5 <13> try /usr/local/php <4> http://tr2.php.net/mysql_errno <15> hello <14> lepine not usr/lib/php5 ? <3> CapSoft: `which php` <13> not necessarily <14> php5 <3> CapSoft: Run: which php <15> I want to append a $ to a variable and it's not working. For.. Some reason. <14> or usr/sbin/php-select <14> i don't know what you mean kuja? <4> roaet__: can you explain more? do you want to append "$" string? <15> (string)"\$$premprice3"; <15> That's the more weird way. <3> CapSoft: Run the command: which php <3> ...man, why is it so hard to explain. <14> i just did <14> which: no php in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3.6) <14> that is the output <3> CapSoft: It looks like the PHP binary isn't in any recognizable path, then. <4> roaet__: what do you get? <3> You'll just end up searching for it. Not quite sure where Gentoo installs it. <16> what is often used to safe p***words, md5 or sha1? <15> nothing <16> why? <15> but it is running through: $text = preg_replace("/[^#]$key/"," ".$replaceTo,$text); <14> wierd <14> cuz it does work <14> i can see phpinfo <14> phpinfo() <13> find / -iname php | file - | grep executable <4> CapSoft: then you have emerged mod_php not php <4> roaet__: try '$' . $premprice3; <17> the version 4.4.0 dont work with that <17> mail($email, "$SITENAME confirmao do registo", $body, "From: $SITEEMAIL", "-f$SITEEMAIL"); <17> ? <14> no no mod php just dev-lang/php <14> which was version 5 <14> no output yet from the command of lepine <15> nothing sir. =( <3> CapSoft: I don't know how Gentoo does it, but maybe you need some sort of USE flag. <14> it's still running... <14> i did <14> php5 <13> yeah ,sorry, i jsut tried ... didn't work for me ... but you get the idea <3> Maybe try using cli or something. <14> php runs <14> since i can see phpinfo() <4> capsoft: equery f dev-lang/php <4> CapSoft: using gentoo? right? <15> $text = preg_replace("/[^#]$key/"," $replaceTo",$text); // where $replaceTo is '$'.$premprice3 <14> yes <14> usr/share/php5
Return to
#php or Go to some related
logs:
compiling tars ubuntu #math #suse [fglrx:firegl_pcie_lock_pages] *ERROR* unlocking memory at etch vlc no sound gentoo clock skew detected touch gd is not a valid libtool object biteme.org
postfix/postqueue fatal: Queue report unavailable deborphan xarg
|
|