Author |
Message |
tombolt
Spends far too much time on here
Joined: Fri Apr 24, 2009 8:38 am Posts: 2967 Location: Dorchester, Dorset
|
Anyone know about this? I'm updating a clients' website with an interactive bit. I've had to activate CGI and it seems that the CGI server is completely separate to the webserver the site's on. Where do I put the php file so that I can access it from the web through their domain? Their technical support said they don't support CGI.
|
Tue Jan 26, 2010 2:38 pm |
|
 |
EddArmitage
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 9:40 pm Posts: 5288 Location: ln -s /London ~
|
Isn't CGI for perl stuff? My brain's not engaged today, sorry.
|
Tue Jan 26, 2010 2:44 pm |
|
 |
tombolt
Spends far too much time on here
Joined: Fri Apr 24, 2009 8:38 am Posts: 2967 Location: Dorchester, Dorset
|
It is I think, but they it's all what they call CGI anyway. Whether that's the official convention or theirs, I don't know.
I think I've figured it out. It's a separate server, so I have to call the script from within the HTML of the main site. I'm not sure if that's going to work though, as I think the PHP has to be on the same server as the site it's editing.
|
Tue Jan 26, 2010 3:02 pm |
|
 |
AlunD
Site Admin
Joined: Fri Apr 24, 2009 6:12 am Posts: 7011 Location: Wiltshire
|
Within the web server can you identify the CGI folder and its location as part of the site ?
_________________ <input type="pickmeup" name="coffee" value="espresso" />
|
Tue Jan 26, 2010 3:19 pm |
|
 |
tombolt
Spends far too much time on here
Joined: Fri Apr 24, 2009 8:38 am Posts: 2967 Location: Dorchester, Dorset
|
I don't know! I wouldn't know how to go about it, I'm afraid I think I have telnet access if it's done through there.
|
Tue Jan 26, 2010 3:26 pm |
|
 |
AlunD
Site Admin
Joined: Fri Apr 24, 2009 6:12 am Posts: 7011 Location: Wiltshire
|
Hmm what is the web server
_________________ <input type="pickmeup" name="coffee" value="espresso" />
|
Tue Jan 26, 2010 3:31 pm |
|
 |
tombolt
Spends far too much time on here
Joined: Fri Apr 24, 2009 8:38 am Posts: 2967 Location: Dorchester, Dorset
|
Gah, uploaded the program and it says that Zend optimiser isn't installed, except the zend optimiser tester says it is and the plus net forums say it is. Can't believe PlusNet's rubbish hosting has turned a five minute job into a four hour nightmare.
|
Tue Jan 26, 2010 3:38 pm |
|
 |
didgeman
Occasionally has a life
Joined: Fri Apr 24, 2009 12:18 pm Posts: 289
|
if you post a phpinfo file , it should tell you if php is working on the server and also which exensions ..
<?php
phpinfo();
?>
Didge
_________________eurotech
|
Wed Jan 27, 2010 10:58 am |
|
 |
tombolt
Spends far too much time on here
Joined: Fri Apr 24, 2009 8:38 am Posts: 2967 Location: Dorchester, Dorset
|
Here's the link: http://ccgi.cheverellwood.plus.com/info.phpDoesn't mean an awful lot to me!
|
Wed Jan 27, 2010 2:43 pm |
|
 |
didgeman
Occasionally has a life
Joined: Fri Apr 24, 2009 12:18 pm Posts: 289
|
so, did you upload this file TB? If so, it is a php script and is running fine. Scripts can be run from this same directory.
It also indicates that zend is running .. although it all looks a bit .. old .. v1.3.0 .. my host is now on 2.2.0
php also, you're at 4.3.10 i'm at 5.2.4
I'm guessing that your script can be run from the main upload directory but that it requires either a newer version of zend or php ..
Now i would remove that phpinfo.php file as it is insecure to leave it running.
HTH
Didge
_________________eurotech
|
Wed Jan 27, 2010 4:18 pm |
|
 |
tombolt
Spends far too much time on here
Joined: Fri Apr 24, 2009 8:38 am Posts: 2967 Location: Dorchester, Dorset
|
Cheers Didge.
Have disabled it now. Thought it might be a bit old. Have come up with some convoluted way of having the subdomain 'www.' point to a proper webhost.
|
Wed Jan 27, 2010 4:41 pm |
|
|