Search found 29 matches

by ihateevilbill
Tue Nov 30, 2004 7:20 am
Forum: Installation and Configuration
Topic: Upgraded to PHP5 on IIS6 and getting an error msg
Replies: 1
Views: 1721

Solved

U lot are not gonna believe this I went thru all the websites for about 3 hours this morning trying to sort that damned problem....know what the problem was? Get this: I had a php.ini in the root directory of the website that was having the problems... php5 or iis6 was loading this php.ini and total...
by ihateevilbill
Tue Nov 30, 2004 7:00 am
Forum: Installation and Configuration
Topic: Upgraded to PHP5 on IIS6 and getting an error msg
Replies: 1
Views: 1721

Upgraded to PHP5 on IIS6 and getting an error msg

Hi all, please help me, im at my wits end. I have updgraded my iis6 web server which holds about 12 domains (all listed on the 1 screen in iis manager) from php 4.3.7 to 5.0.2. All of the websites work apart from 1. When I enable to .php extension in this website all the others stop xsl-ing document...
by ihateevilbill
Tue Oct 19, 2004 5:56 am
Forum: PHP - Code
Topic: [SOLVED] XML - Grabbing pure XML thru POST (not using xmlrpc
Replies: 4
Views: 438

I love this place, cheers to both of you
by ihateevilbill
Mon Oct 18, 2004 7:20 am
Forum: PHP - Code
Topic: [SOLVED] XML - Grabbing pure XML thru POST (not using xmlrpc
Replies: 4
Views: 438

Did i ever tell you that 'u da man' ?
well I have now,

cheers again m8 :D
by ihateevilbill
Mon Oct 18, 2004 6:28 am
Forum: PHP - Code
Topic: [SOLVED] XML - Grabbing pure XML thru POST (not using xmlrpc
Replies: 4
Views: 438

[SOLVED] XML - Grabbing pure XML thru POST (not using xmlrpc

Hello all, lets see how you deal with this. I have a php page that sits waiting for something to be sent to it (using POST) Then basically echos out the POST as shown below: <?php print_r($_POST); ?> Now, when I use curl to send it some post data using the code below it echos out the array fine. <?p...
by ihateevilbill
Wed Aug 11, 2004 3:29 am
Forum: PHP - Code
Topic: 0 is greater than 2 ? Surely not...
Replies: 12
Views: 1865

Well, you definately learn something every day.

Will have to edit the code n make it look nicer now :) cheers again m8

SOLVED - Kinda
by ihateevilbill
Wed Aug 11, 2004 3:19 am
Forum: PHP - Code
Topic: 0 is greater than 2 ? Surely not...
Replies: 12
Views: 1865

Still think they should change the parser to accept switch(0)'s and change it to default all switch(NULLS). At least that would make sense :P
by ihateevilbill
Wed Aug 11, 2004 3:16 am
Forum: PHP - Code
Topic: 0 is greater than 2 ? Surely not...
Replies: 12
Views: 1865

See... thats the reason youre an admin :) cheers m8
by ihateevilbill
Wed Aug 11, 2004 3:13 am
Forum: PHP - Code
Topic: 0 is greater than 2 ? Surely not...
Replies: 12
Views: 1865

Yeah true. Thing is, if this isnt fixed then IFs would sorta have to be used for this piece of code (same code, different section): function findpriceEur($daystravel) { // Area A switch ($daystravel) { case $daystravel<=5: $travelcost="5.49";break; case $daystravel<=10: $travelcost="7...
by ihateevilbill
Wed Aug 11, 2004 3:09 am
Forum: PHP - Code
Topic: 0 is greater than 2 ? Surely not...
Replies: 12
Views: 1865

Cheers for replying so quickly Feyd,

Think ill be going to php.net with this one because the logic is fine. It's def the php interprator thats wrong in this case, lol.

Regards,

Steven.
by ihateevilbill
Wed Aug 11, 2004 3:06 am
Forum: PHP - Code
Topic: 0 is greater than 2 ? Surely not...
Replies: 12
Views: 1865

A little update: In case you're wondering why Im using Switches instead of IF statements, well...the code is a helluva lot more than just this little piece here... there are switches and nested Ifs everwhere and it seemed easier to do the switch statement. PS I have a larger snippet of the code here...
by ihateevilbill
Wed Aug 11, 2004 2:56 am
Forum: PHP - Code
Topic: 0 is greater than 2 ? Surely not...
Replies: 12
Views: 1865

0 is greater than 2 ? Surely not...

Awright dudes, have a wee problem with php. Maybe you lot can sort it out for me. I have this piece of code to check passenger ages against. However, when I ask the code if 0 is less than 2, it comes back false :S Heres the (ultra cut down version of the) offending code: <?php $age[1]=0; switch ($ag...
by ihateevilbill
Tue Apr 06, 2004 6:21 am
Forum: PHP - Code
Topic: XML Clients using PHP + cURL (instead of PEAR/NuSOAP) UPDATE
Replies: 5
Views: 1390

Forgot to mention this in my earlier posts: You have to go into your php.ini file (%systemroot%/php.ini) and enable the following dlls (by removing the semi-colon in front of them): extension=php_curl.dll extension=php_openssl.dll (sometimes connecting to an https wont work on my machine without thi...
by ihateevilbill
Tue Apr 06, 2004 6:11 am
Forum: PHP - Code
Topic: XML Clients using PHP + cURL (instead of PEAR/NuSOAP) UPDATE
Replies: 5
Views: 1390

A couple of weeks ago i showed you how to connect and get a response from a soap server (morse) Now I am going to show you how to actually transform that to something prettier (also knows as HTML ;) ) The response you should have got is as follows: &lt;soap:Envelope xmlns:soap="http://schem...
by ihateevilbill
Tue Mar 30, 2004 4:14 am
Forum: Databases
Topic: MSSQL question
Replies: 2
Views: 456

ahhhhhhhhhhhhh right, i understand now, just tried it in query analyser (shoulda tried that first i suppose) and it put the emailaddress into Employee, i just automatically thought that it concatenated the 4 fields.

Thanks,

Steven