| |
| |
| |
|
Comments:
<0> I have been googling for a while and haven't found much on the topic: Does anyone know of any guides/tutorials on embedding PHP into a C++ app? <1> its redirecting to the "Failed Login" even if the p***word/user combo is right <2> !+pastebin <3> mattmcc: so i put that php, within a function... and how do i get it into the page later? <4> Karim: something in the logic then, pastebin it <3> include the functino-file, and then use the function <3> or img src="" ? <3> couldn't quite get it working <1> $authid=$row["u_id"]; <1> if(!isset($authid)) {
<1> header('Location: fl.php'); <1> }else { <1> $expire=60*60*4; <1> setcookie(omgauth, $authid, time() + $expire); <1> header('Location: afftool.php'); <5> RogueJedi: Well, I wouldn't, I'd embed python (Just because it's pretty well suited to the task, and is done frequently). But PHP does have an embed SAPI for that purpose. <1> } <6> karim: why are you doing that? <2> include the function file or have the function in the same file you want to use it in <1> oh man, didnt mean to do that <2> lol <0> mattmcc: Pythons syntax makes me cry, that's why I haven't gone that route <7> import long.***.string.to.do.some.thing.simple.* <5> r0xoR: What bizarrely constructed third party modules are you using? :P <1> sorry about that last one, I didnt know it would do the multiple line thing (new to IRC) <8> hi people <5> sidey: You might want to familiarize yourself with http://php.net/functions <6> function authenticate_User_So_They_Can_Login_With_Ultimate_Satisfaction(){ return ($this->userId) ? true : false; } <6> :( all my code looks like that :/ <0> mattmcc: I was looking at javascript as well, but I'm more "fluent" in PHP. I guess I should look up what SAPI even is heh, thanks. <5> Whoah. us3.php.net is giving me the docs in Swedish by default. <9> mattmcc: You've been teh cookied <10> lol <3> mattmcc: hmms... when i just run the function, it echoes the image in binary <5> TML: Oh? <4> mattmcc: mine did that once, don't recall what did it <8> i have a question <8> i'm trying to use Filesystem Object with Javascript, it works fine locally, but when I load the page through apache it gets me an error on the browser that says "automation server cant create object" <3> mattmcc: i dont know how to implement the image on the page <9> mattmcc: Yeah. That's stored in a cookie. If you visit them in a particular language, it stores that as a preference <4> wasn't sweedish though, and the lang was mixed, some was in english <5> sidey: <img src="foo.php"> <8> it's a problem from apache with scrrun.dll <5> ||cw: Yeah, not all translations are very complete. <8> what can i do? <8> thanks <6> Pisterman: I would ask in #apache
<8> ok thanks <5> TML: Hrm. I'm pretty sure I didn't do that. <4> Pisterman: this has what to do with php? <3> mattmcc: but i want the image to be generated from the code? <9> mattmcc: If you followed someone else's link, it would <11> ||cw: http://doc.php.net/php/revcheck.php <12> hi <3> mattmcc: how do i put my variable in there ? <3> the imagename <13> Lateralus! <9> sidey: <img src="foo.php?a=b&c=d"> <5> sidey: Same way you p*** variables to scripts in links. <3> okey <11> Hey enygma <5> Because, well, an image tag contains a link. <3> do i need to do a <12> can I display the obtained request in php ?? <3> $bleh = $_POST['']; or $_GET['']; on them ? <4> Lateralus: hm, the french like thier php... <6> e-drop: you mean like $_GET, or $_POST ? <3> yeah <12> no all the headers and stuff <8> ||cw because my next question is related to this <4> Pisterman: then shoot the next one, cause accessing WSH's FSO vie JS on an internet served page simply isn't going to happen <5> At least, we hope not. <8> i'm trying to write a script that uploads pictures directly from a digital camera to a mysql server, so i've been planning to access the files with fso in javascript and then upload them with php <6> e-drop: headers_list() <8> ||cw any suggestion? <6> e-drop: also get_browser() shows a bunch of neato stuff too... Dont know which will suit your needs <4> Pisterman: write a java applet or flash applet and digitaly sign it <5> Or a little pygtk program. :) <12> basically I need to get the java httpurlconnection mechanism to work <12> i want to p*** a variable from an applet to a php script <12> and need to find out where the java puts that stuff <6> e-drop: cant help ya there man... ask in #java <5> e-drop: Well, PHP (as per CGI) puts request headers in $_SERVER['HTTP_*'] <14> if (isset($_POST['add']) { <14> whats wrong here? <5> Count your parens. <8> ||cw i need to use something like this, because the customers to whom i doing this are very very novice, so it has to be as easy as possible for them, and if they try to use it from a pc where jvm is not installed they will not know what to do <15> How would you nest vars? Like $_POST[$var] in a foreach loop <5> Like that. <15> ah <15> i guess it helps if something else right by it isn't causing an error
Return to
#php or Go to some related
logs:
gentoo snes gamepad parallel #kde i915_dri.so: undefined symbol: _glapi_Dispatch dbix mysql reverse engineer
netmonk #centos grub.lst fedora exited with status 65280 #css debian etch k3b cannot find growisofs
|
|