uCoz Community Additional Services PHP and API on uCoz Enabling PHP (PHP Usage & Application) |
Enabling PHP |
The following post is a short guide on how to enable the possibility to use limited PHP scripts on your uCoz website. PHP in uCoz is a paid service. It is available as a part of the Optimal, Maximal, Shop plans, or as an additional option to other plans for $1.99 per month (Note: additional options can be purchased only on the same day as a plan).
If you experience any problems with payment and enabling of PHP services on your site, please post them here. Attachments:
2166456.png
(86.8 Kb)
·
3552424.png
(16.2 Kb)
|
Is it posible to add a ajaxmithough php
This is a chat box like the one that facebook used to have I would like to add it to my website Here is the link of wat im talking about http://ajaxim.com/ Added (2012-10-19, 2:22 PM) |
jayar, it unfortunately won't work in correlation with the uCoz system.
carloscompu, I don't believe this will work. As for alternate solutions I'm not sure atm. Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
jayar, of course you can use a separate forum on a separate web host, and link it to your uCoz website. What Paradox meant is that the databases will be fully different, users will have to sign up/sign in to the forum separately.
I'm not active on the forum anymore. Please contact other forum staff.
|
Hello All,
Today I enabeled php. And I tried to upload a php file by means of the file manager. Imidiate there comes a screen with the following message: _____________________________________________ Errors with the following files: steelseriesVWSjson.php Files with that extension are not valid _____________________________________________ lines the one in the middle is my file to upload ***steelseriesVWSjson.php*** The line above is the error line and the below one says files are not valid. Do I make a mistake due to my poor knowledge or is there someting I have overlooked. Thanks in advance for any reactions. Cheers Candy |
Candy, yes, you have to connect via FTP to the scripts server to upload PHP files to your site. You can find the details by opening the Control Panel and clicking on the link, PHP Detals. It's found next to FTP Details, and Control Panel.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
I was wondering if you don't have the paid service of php, can you still use it in templates?
For ex. : Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> Post edited by XO-Ferg - Tuesday, 2013-08-27, 5:45 PM
|
XO-Ferg, If you mean adding the codes themselves, yes you can, but it won't work. And I do believe use of PHP must be done a certain way for them to work, so I don't know if just pasting the codes into templates would work.
Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com PixelKhaos on twitter - @PixelKhaos I can help you develop your site for a small fee. |
I bought the php on Ucoz but when i put php file via ftp (via filezila) in php folder and when my site needs to load that files on specific page where i use that script the server where i hosted php ask username and password that only I know.
Is there some other ways to upload and link php files? Before i bougt php i was thinking that i will be able to upload php in file menager like i do all this time with other scripts. !
Post edited by Ed05 - Saturday, 2014-03-08, 3:27 AM
|
Ed05, are you using the uCoz dynamic code to load out the files? Actually - let's just skip over that - could you provide the code you are using to link to the file?
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
| |||