| |
| |
| |
|
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 31 32 33 34
Comments:
<0> yeah <1> do you have PWS4? <1> or PWS/IIS 3 <0> IIS6 <1> I think your problem <1> have you tried using the CGI file? <0> Not yet <1> try doing that first <0> Isn't it insecure? <1> well just to see if we can get it working first <1> I ***ume you are not internet accessible on that machine ? <1> while you're installing things?? <1> ok wait <1> start the Microsoft management console <0> Yeah <0> Im in it
<1> do you have vncserver? <0> No <1> it might help... but you have to hope to god I am not a hacker.. <1> so let's forget that for now <0> Last time I installed VNC on a server it killed it <0> Slowed it like mad <1> hmm when was that? <0> About 6 months ago <0> Anyway <1> it's gotten quite a bit better these days <0> Im gonna restart IIS <1> good idea <0> After doing the CGI thing <1> oh ok.. <0> Error <0> CGI Error <0> The specified CGI application misbehaved by not returning a complete set of HTTP headers. <2> !+enter <3> Don't use the enter key as puncuation. Think in complete thoughts, then type. <1> http://www.php.net/manual/en/install.iis.php <0> Im using that yeah <1> ok let's go step by step <1> start the Microsoft Management Console <0> Yep <1> Then right click on your Web server node (this will most probably appear as 'Default Web Server'), and select 'Properties'. <0> Yep <1> Under 'Home Directory', 'Virtual Directory', or 'Directory', do the following: <0> Scripts only then configure <0> :) <0> Done <4> Jymmm: can you help me with somehthing regarding binary digits? I need to know how to get php to 'calculate' the complement of 1100 (which would be 0011). <1> Click on the 'Configuration' button, and choose the Application Mappings tab. Click Add and set the Executable path to the appropriate CGI file. An example PHP 5 value is: C:\php\php-cgi.exe Supply .php as the extension. Leave 'Method exclusions' blank, and check the 'Script engine' checkbox. Now, click OK a few times. <1> you did that? <0> I don't get method exclusions <0> But I get script engine <1> that's fine <0> And thats ticked <0> Then OK? <1> yeah " a few times " <0> Okay <1> so much for microsoft confidnece <5> hi, is this posiible through php to automatically redirect user back to the previous page? or only way is to use js history.back? <1> volt3r, yeah it is <1> use header("Location: http://blah") <1> you can use the referrer <1> in place of blah <2> fyrestrtr I think you can XOR it to itself to get the compliment <0> trelayne <1> Hotwir3d, what do you see in the document, virutal directory pages? <1> I mean tabs or whatever <0> I dont have virtual one <1> ok what does it show in the directory one? <0> But in document a big list of filenames that are default ones. I added php. <5> trelayne: thanks, i didnt know about referrer var :) <1> volt3r, handy aint it? <0> Directory has loads on the page <0> Application settings are <0> Application name: Default Application <1> ok but does it indicate anything like a path to the install directory where your working script is? <2> !+enter <3> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<0> Starting point: Default website <0> No <5> trelayne: very :) <2> Hotwir3d PLEASE STOP USING THE ENTER KEY AS PUNCUATION <0> :s <1> Hotwir3d, did you do this? Set up the appropriate security. (This is done in Internet Service Manager), and if your NT Server uses NTFS file system, add execute rights for I_USR_ to the directory that contains php.exe / php-cgi.exe. <6> im trying to decipher cl***es, and im kind of new to it, can someone tell me what this means: function getUpdated() { return $this->main->getUpdated(); } <1> yeah it's called a method on a member object <1> calling <6> whats a member object? <1> in a cl***, you have a bunch of variables and methods <6> yup <1> the variable can be anything sort of <1> in this case $main is what you're looking for <6> ok...lemmie try to find that <6> well how do i find out what getUpdated() does? <1> $main is set to some object in a call like $main = new ... etc <0> Dont that trelayne <0> Still doesnt work <1> sludgevohaul, that's what I'm trying to show you <6> yeah, i found $this->main = $main; <1> ok, what is $main? <1> where does it come from? <0> trelayne <0> I hafta go in 40 minutes :/ <1> Hotwir3d, try going through the manual instructions <0> And ideally I need the server by then <6> seems like its p***ed...function initialize(&$main) <0> I have done <1> so go through all of your scripts, looking for where initialize is called <1> are you on unix or windows? <1> Hotwir3d, I am about ready to give up <1> I don't know IIS <0> Im gonna try the installr <0> *installer <1> sure.. try again.. <0> Do I choose IIS6 or higher? <1> but undo everything you have done up to now <0> I did <1> ok <6> aha, thanks! <6> its starting to make more sense now <1> yeah that's how you look through cl***es... <7> if i made a php shell script how would i access the arguments p***ed to it when i ran it from the command line? <1> it's a bugger at first, but makes sense when you muscle your way throught <1> clever don't know .. have you tried $_POST $_GET etc? <7> it isnt being ran by apache <7> so i dont think it would be one of those <7> i made the first line #!/usr/bin/php <7> and placed the script in a folder within $path <7> and am going to be running from a cmd line like any normal program <8> clever, $_SERVER['argv'] <7> sounds about right <1> yeah was about to say that <1> $argv[1] etc <8> not $argv <1> no ? ok <1> is that command line parameters? <7> i told it to echo $_SERVER[argv] and it gave Array:) <7> changing to vardump <1> or print_r <8> clever, yeah, that's because its an array :) <7> 0 is the prog name and 1 is the first word:) <1> trying to be like perl again.. sort of <7> and if i escape the spaces they arent counted as being seperate words:D <7> no need to unescape myself <8> trelayne, actually, you're right, $argv can be used :) A while ago they were cl***ed as register globals, but it seems they changed that <8> As of PHP 4.3.0, the PHP variables $argc and $argv are registered and filled in with the appropriate values when using the CLI SAPI. Prior to this version, the creation of these variables behaved as they do in CGI and MODULE versions which requires the PHP directive register_globals to be on. <7> ahh:) <8> Regardless of version or register_globals setting, you can always go through either $_SERVER or $HTTP_SERVER_VARS. Example: $_SERVER['argv'] <1> yeah I see that lazy designer are not extinct yet <8> either way, I'd still use $_SERVER['argv'] <1> like me
Return to
#php or Go to some related
logs:
#gentoo overclocked nx9600 #ldap #perl php5 file to large #qemu a quickcam stx folding at home debian updatedb updatedb.conf not working /mnt mysql-administrator user administration freezes
|
|