7, September 2008

anyone familiar with PHP switch, read this - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: anyone familiar with PHP switch, read this
« previous next »
Pages: 1 [2] Print

Author Topic: anyone familiar with PHP switch, read this  (Read 979 times)
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 884
1636 credits
Members referred : 4



« Reply #20 on: Dec 21, 2005, 10:11:58 PM »

tlove2.com is my windows xp server which is gonna be changed to windows 2000 server soon, and WSS is linux i believe, both use Apache

Visit through proxy Visit through proxy Visit through proxy

Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8037
41179 credits
Members referred : 3



« Reply #21 on: Dec 21, 2005, 10:14:23 PM »

In the linux machine, is the cgi working when you run it alone?

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 884
1636 credits
Members referred : 4



« Reply #22 on: Dec 21, 2005, 10:42:26 PM »

yes of course cgi works on the linux server.. and it works when u call them alone on my windows server going to tlove2.com/hosting/new.cgi...  it works just fine

Visit through proxy Visit through proxy Visit through proxy

Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8037
41179 credits
Members referred : 3



« Reply #23 on: Dec 21, 2005, 10:52:55 PM »

Then you should redirect the user to the script, instead of including it. This will solve the problem.

If you want to show the cgi results into your index.php page then you can try something like :

Code:
<?php
 
echo file_get_contents 'http://www..........com/pathToCgi.cgi' );

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 884
1636 credits
Members referred : 4



« Reply #24 on: Dec 21, 2005, 10:56:48 PM »

i dont want to redirect them, because that way they will be taken out of the layout.. but the get file contents code u just showed, works. i suppose it will work the same as before, accepting accounts and allowing people to login. sucks, i cant figure out how to show the results of those forms inside the layout..

Visit through proxy Visit through proxy Visit through proxy

Last blog : phpHaze 1.59.1 in Development
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=1033
Tags : forums apache linux php.ini httpd.conf Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: 1 [2] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: anyone familiar with PHP switch, read this
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Sep 07, 2008, 12:27:10 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 36.301
Total Topics: 7.479
Total Members: 3.904
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Brandon

14 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.