|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
PHP and Apache server
I have succesfully installed apach server and php on my local machine for testing. PHP works fine on the new setup but for some reason my variables from forms will not pass through.
|
|
#2
|
|||
|
|||
|
RE: PHP and Apache server
Can you post some code you tested, please? That'll help us to locate and solve the problem.
|
|
#3
|
|||
|
|||
|
RE: PHP and Apache server
Register globals is probably turned off in the PHP.ini file. if so you will need to use $_POST['var_name'] to retrieve the values. Use $_GET if you are using the get method...or turn register globals on (not recommended)
|
|
#4
|
|||
|
|||
|
RE: PHP and Apache server
<?php
$_POST['first_name']; echo "<P>Please Verify the following Information before submitting your payment information </P>"; //################## Confirmation Number ################## //##################FIRST NAME################## echo "<table border="1" class="bodytext" align="center" width="450" >"; echo "<tr>"; echo "<td class="bldunderline" width="175" >"; echo "First Name:"; echo "</td>"; echo "<td>"; echo "$first_name"; echo "</td>"; echo "</tr>"; //##################LAST NAME################## echo "<tr>"; echo "<td class="bldunderline">"; echo "Last Name:"; echo "</td>"; echo "<td>"; echo "$last_name"; echo "</td>"; echo "</tr>"; //##################address street NAME################## echo "<tr>"; echo "<td class="bldunderline">"; echo "Address:"; echo "</td>"; echo "<td>"; echo "$address_street"; echo "</td>"; echo "</tr>"; //##################City NAME################## echo "<tr>"; echo "<td class="bldunderline">"; echo "City:"; echo "</td>"; echo "<td>"; echo "$address_city"; echo "</td>"; echo "</tr>"; //##################State NAME################## echo "<tr>"; echo "<td class="bldunderline">"; echo "State:"; echo "</td>"; echo "<td>"; echo "$address_state"; echo "</td>"; echo "</tr>"; //##################Zip Copde ################## echo "<tr>"; echo "<td class="bldunderline">"; echo "Zip Code:"; echo "</td>"; echo "<td>"; echo "$address_zip"; echo "</td>"; echo "</tr>"; //##################Phone Home NAME################## echo "<tr>"; echo "<td class="bldunderline">"; echo "Phone:"; echo "</td>"; echo "<td>"; echo "$item_number"; echo "</td>"; echo "</tr>"; //##################email NAME################## echo "<tr>"; echo "<td class="bldunderline">"; echo "Email:"; echo "</td>"; echo "<td>"; echo "$payer_email"; echo "</td>"; echo "</tr>"; //##################registration type NAME################## |
|
#5
|
|||
|
|||
|
RE: PHP and Apache server
I tried posting with $_POST and with $http_post_vars but it didnt work? Php works on the server but wont carry variables over and register globals is turned off. I only posted one variable to test and it still didnt work. PLEASE ADVISE. I had it working with IIS but for some reason IIS will no longer funtion plus I want experience with apache as well
|
|
#6
|
|||
|
|||
|
RE: PHP and Apache server
try
and see if the first name displays. if it does, you need to reference all your post variables the same way. P.S. where is Clemonton? |
|
#7
|
|||
|
|||
|
RE: PHP and Apache server
15 minutes from philly- south jersey
|
|
#8
|
|||
|
|||
|
RE: PHP and Apache server
Still a no Go? I am still unable to pass the variables??? It works live on the actual server but I dont know enough about Apache. I am using version 2 of apach
|
|
#9
|
|||
|
|||
|
RE: PHP and Apache server
Try upgrading to PHP 4.3.3RC1
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP and Apache server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|