PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old June 19th, 2003, 03:51 AM
tngraphix tngraphix is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Clementon, NJ USA
Posts: 23 tngraphix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 37 sec
Reputation Power: 0
Send a message via AIM to tngraphix Send a message via Yahoo to tngraphix
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.

Reply With Quote
  #2  
Old June 19th, 2003, 06:59 AM
jorgen jorgen is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hardenberg, Holland<marquee>
Posts: 284 jorgen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: PHP and Apache server

Can you post some code you tested, please? That'll help us to locate and solve the problem.

Reply With Quote
  #3  
Old June 19th, 2003, 11:03 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
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)

Reply With Quote
  #4  
Old June 19th, 2003, 12:11 PM
tngraphix tngraphix is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Clementon, NJ USA
Posts: 23 tngraphix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 37 sec
Reputation Power: 0
Send a message via AIM to tngraphix Send a message via Yahoo to tngraphix
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##################

Reply With Quote
  #5  
Old June 19th, 2003, 12:13 PM
tngraphix tngraphix is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Clementon, NJ USA
Posts: 23 tngraphix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 37 sec
Reputation Power: 0
Send a message via AIM to tngraphix Send a message via Yahoo to tngraphix
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

Reply With Quote
  #6  
Old June 19th, 2003, 07:47 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: PHP and Apache server

try
php Code:
Original - php Code
  1.  
  2.  
  3. echo $_POST['first_name'];


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?

Reply With Quote
  #7  
Old June 19th, 2003, 08:12 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: PHP and Apache server

15 minutes from philly- south jersey

Reply With Quote
  #8  
Old June 19th, 2003, 10:48 PM
tngraphix tngraphix is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Clementon, NJ USA
Posts: 23 tngraphix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 37 sec
Reputation Power: 0
Send a message via AIM to tngraphix Send a message via Yahoo to tngraphix
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

Reply With Quote
  #9  
Old June 20th, 2003, 02:14 AM
drevele drevele is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Medina, Ohio
Posts: 233 drevele User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to drevele Send a message via Yahoo to drevele
RE: PHP and Apache server

Try upgrading to PHP 4.3.3RC1

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PHP and Apache server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway