Jump to content

Recommended Posts

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

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. ::)

Link to comment
https://forums.phpfreaks.com/topic/49945-posting-my-first-php/#findComment-247107
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.

Link to comment
https://forums.phpfreaks.com/topic/49945-posting-my-first-php/#findComment-247116
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?

 

Link to comment
https://forums.phpfreaks.com/topic/49945-posting-my-first-php/#findComment-247124
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.

 

Link to comment
https://forums.phpfreaks.com/topic/49945-posting-my-first-php/#findComment-247127
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.

Link to comment
https://forums.phpfreaks.com/topic/49945-posting-my-first-php/#findComment-247130
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.

Link to comment
https://forums.phpfreaks.com/topic/49945-posting-my-first-php/#findComment-247133
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • 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.