Uploading new files

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
sorensen21
New Member
New Member
Posts: 3
Joined: Sat Jul 12, 2008 5:26 pm

Uploading new files

Post by sorensen21 »

I have a php file (or I can get an asp VB Script) file that I need to upload to my site using CMS. I have tried it everywhere and I can't get the scripts to work. Advice?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Uploading new files

Post by Dr.CSS »

If you have a PHP file that you need to use, I'm guessing that's what you mean by uploading it, then you can make a user defined tag and past the php minus the ,iirc, and call it with the name you gave it {tagname}, as I'm not a php guy but I've seen a lot of posts about it...

If you just need to upload the file you can use the file manager or your FTP client...
sorensen21
New Member
New Member
Posts: 3
Joined: Sat Jul 12, 2008 5:26 pm

Re: Uploading new files

Post by sorensen21 »

mark wrote: If you have a PHP file that you need to use, I'm guessing that's what you mean by uploading it, then you can make a user defined tag and past the php minus the ,iirc, and call it with the name you gave it {tagname}, as I'm not a php guy but I've seen a lot of posts about it...

If you just need to upload the file you can use the file manager or your FTP client...
Yes, I have a PHP file that I need to use and don't know how to implement it. On my other sites I just upload the entire PHP file into the root folder and it works. When I use the file manager it tells me the file can't be read. I created a user defined tag but then don't know where to go from there.

Any help would be great.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Uploading new files

Post by Dr.CSS »

When making user defined tag the name you gave it is the tag, call it booboo then tag is {booboo} and you put this where you would usually put the php or include, not having any idea what you do with it as I have no info on what it was/is for, guessing is best I can do... ;)

Little more info on how it was implemented before or what it does goes a long way in getting knowledgeable answers...
sorensen21
New Member
New Member
Posts: 3
Joined: Sat Jul 12, 2008 5:26 pm

Re: Uploading new files

Post by sorensen21 »

mark wrote: When making user defined tag the name you gave it is the tag, call it booboo then tag is {booboo} and you put this where you would usually put the php or include, not having any idea what you do with it as I have no info on what it was/is for, guessing is best I can do... ;)

Little more info on how it was implemented before or what it does goes a long way in getting knowledgeable answers...
Great point.

What I need is to upload the entire PHP script to the root directory. It won't be incorporated with any pages. The php page is for outside links to point to it to have them redirect to other pages and for affiliate tracking. I need the page to read www.mywebsite.com/cmd.php. I have the file named cmd.php but I can't figure out how to get this to work or where to go to upload it.

I hope that is more clear.
Pierre M.

Re: Uploading new files

Post by Pierre M. »

Hello,

what about trying .com/somepage.html ? If it works, then just replace somepage.html by somefile.php
It doesn't seem to be CMSms related, as far as I understand.

Pierre M.
Post Reply

Return to “Developers Discussion”