Jump to content

Archived

This topic is now archived and is closed to further replies.

oceans

Posting my first php

Recommended Posts

Friends, I have a few php pages functioing in my pc.

now it is time to get it onto  the web,

 

I have a server provider (free), can you guide me how shell i get my page on the server to mae it work.

Share this post


Link to post
Share on other sites

Your host should provide you with FTP access to the web folder in which you need to copy your files to.

Share this post


Link to post
Share on other sites

ok just noted they do not support php, i am searching for free php mysql server space. meanwhile you may recommend, can my first page be *.php, i have no clue on how to get them on board.

Share this post


Link to post
Share on other sites

U r searching for free web hosting supporting php and mysql ok,

 

try these;

 

www.prophp.org

www.byethost7.com

 

I have account in prophp.org

They will give everything FTP,mysql db access,username, password,phpmyadmin.

Share this post


Link to post
Share on other sites

mmarif4u,

i hope i am not asking much for $0, do they have pop and smtp email support my php page has smtp emailing

Share this post


Link to post
Share on other sites

Yeh they have this support,

U can try it.

 

I did not get it(I am not asking $0).

Share this post


Link to post
Share on other sites

hahaha, i ment i will not get so many things for free,

ok friend i hav signed up i received a pdf but where is the start page

 

Share this post


Link to post
Share on other sites

They will send u pass and username just enter here these for ur cpanel.

Also u can use for FTP access.

Share this post


Link to post
Share on other sites

Dear mmarif4u,

 

Hope you remember me,

 

i am ok i do not know where to put my *.php file

Share this post


Link to post
Share on other sites

if u can trust me give ur yahoo id, i will upload it for u on temp server mean account

which u make.

Share this post


Link to post
Share on other sites

Friend you are helping me so much, i will trust you but this is an open forum.

 

I managed to create mysql databse in their system ("http://cpanel.prohosts.org") already.

 

Now loading my page into their system, i do not kow the page.

 

well if i can't figure out, i have no choice. ::)

Share this post


Link to post
Share on other sites

ftp.prohosts.org

try this link to use the ftp to upload ur files.

 

use ur username and password as u use for cpanel.

 

Share this post


Link to post
Share on other sites

Ok i am in,

 

the web page says "Directory mysite.prohosts.org"

i went in then it says "Directory htdocs"

i went in then it says

 

but there is no option for uploading

 

 

Share this post


Link to post
Share on other sites

ok,

 

I have created MyPHP along with the Mysite.prohosts.org

 

currently my *.php files are in MyPHP in my computer.

 

Share this post


Link to post
Share on other sites

To upload there is no option for it.

 

Simply copy ur files with directories from ur computer then paste it in the htdocs.

but remeber ur home page name will be index.php to use for main web address like:

 

http://somename.prohosts.org

 

If u cannot , just pm me ur yahoo id not here in forums.

 

I think u will get it.

Share this post


Link to post
Share on other sites

ok i managed to put some file, ok this index.php where does this goes is it in to the root or my sub dir found in the root

Share this post


Link to post
Share on other sites

I visited your site ;D, pretty quick!

 

Ok let us get in sync.

 

My operating files are in MyPHP Folder (in my computer).

 

The Index.php goes into the "root/mysite/prohosts.org/htdocs"

I also noted ".override" file in the "root/mysite/prohosts.org/htdocs" folder

 

where does my MyPHP folder goes to?

 

Share this post


Link to post
Share on other sites

Its simple, if u have one folder myphp and all the files are, so just make new file in ur

php editor name it as index.php and just the below code there.

 

but remember that in the code below u have to change the file name to ur main file in myphp folder.

 

<?php
require_once('MyPHP/ur file name here.php'); ?>

 

Name this as index.php and paste it in the htdocs folder and paste ur Myphp folder in the htdocs directory.

 

It will call the main file.php fom Myphp folder.

 

I think u got some idea.

 

Share this post


Link to post
Share on other sites

ok,

1) Myphp folder is inside htdocs

2) Index.php is inside htdocs

 

problem:

 

despite of seeing my index page as my first page, i am seeing

"

Index of/

 

Index.php

MyPHP/

 

"

my Index page has hyper links to the files in the MyPHP.

 

Thanks I think I am bugging you, i will be ok after this.

 

P.S i have not done your code advice.

Share this post


Link to post
Share on other sites

ok,

1) Myphp folder is inside htdocs

2) Index.php is inside htdocs

 

problem:

 

despite of seeing my index page as my first page, i am seeing

"

Index of/

 

Index.php

MyPHP/

 

"

my Index page has hyper links to the files in the MyPHP.

 

Thanks I think I am bugging you, i will be ok after this.

 

P.S i have not done your code advice.

 

Now just make new file name as index.php and put this code there:

 

<?php
require_once('MyPHP/index.php'); ?>

And put this file in htdocs folder on the server not in the Myphp folder.

I think its clear now.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.