Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

96 users online



Checking to see if a hosts PHP is working :P

Checking to see if a hosts PHP is working :P

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
LKR

LKR

Status: Offline!

Checking to see if a hosts PHP is working :P

well the page is helpful.php?action=working&maybe=hopeso

i tried

<?
echo $_GET["action"];
?>

I want it to display the array Sad

ShaunTobias

ShaunTobias

Neversidian
Status: Offline!
Code:

<?php phpinfo(); ?>

that will give you the servers PHP status

___________________

STphp - Modern Web Solutions - CLOSED
ShaunTobias.co.uk - Blog and Portfolio - CLOSED

Look out for LookCreative.co.uk in September.

LKR

LKR

Status: Offline!

Opps i ment i wanted to see if the array stuff is working? like it will show the value of "action" and the value of "maybe"

ShaunTobias

ShaunTobias

Neversidian
Status: Offline!
Code:


<?php

if ($_GET['action'] == "working" && $_GET['maybe'] == "hopeso") {

$status = $_GET['working'];
$well = $_GET['maybe'];

print "The Code Is $status Well I $well";

} else {

print "nope";

}

?>

you mean something like that?

___________________

STphp - Modern Web Solutions - CLOSED
ShaunTobias.co.uk - Blog and Portfolio - CLOSED

Look out for LookCreative.co.uk in September.

Last edited by ShaunTobias, November 8th, 2004 05:44 AM (Edited 1 times)

LKR

LKR

Status: Offline!

I want to see if the arrays are working :P

I remeber it but i cant remeber the code exactally like it will display what the values for action and maybe are Sad

ShaunTobias

ShaunTobias

Neversidian
Status: Offline!

what arrays?!!! you mean the querys?

___________________

STphp - Modern Web Solutions - CLOSED
ShaunTobias.co.uk - Blog and Portfolio - CLOSED

Look out for LookCreative.co.uk in September.

LKR

LKR

Status: Offline!

think so :P

ShaunTobias

ShaunTobias

Neversidian
Status: Offline!

well the code I just showed you... if you run it and the page says:

"The Code Is working Well I hopeso"

then it means the querys are working!

and if it says:

"nope"

it means it isnt working. If thats not it then you need to come a bit more specific

___________________

STphp - Modern Web Solutions - CLOSED
ShaunTobias.co.uk - Blog and Portfolio - CLOSED

Look out for LookCreative.co.uk in September.

Kickboy

Kickboy

Neverside Newbie
Status: Offline!

Maybe he wants the entire $_GET array. Roll Eyes

If so, then use http://us2.php.net/var_dump

If not, then do what ShaunTobias' said and be more specific.

___________________

I don't suffer from insanity; I enjoy every minute of it.
Unintended Theory | Cacrew v4

ShaunTobias

ShaunTobias

Neversidian
Status: Offline!

you can call me shaun Wink

___________________

STphp - Modern Web Solutions - CLOSED
ShaunTobias.co.uk - Blog and Portfolio - CLOSED

Look out for LookCreative.co.uk in September.

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0081 seconds.