![]() |
|
|||||||
| Chit Chat Public Talk about any thing you want! This forum is public. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||||||||||
|
||||||||||||
|
PHP nuke
Thanks Craig and Pano very much.
Hopefully I'll try all this today, and let you know how it went. I've started a new thread as I kind of hi-jacked the last one (thread-jacked?) Since you guys know this stuff i'm hoping you can answer a couple more........ 1) Pano, where do i place and how do i trigger this script? Do I need to have "shell access" to do this, or do i enter it somewhere in WSftp, or do i trigger it from the web by pointing my browser at it? As far as I can tell, cgi scripts can only run from the cgi-bin, but Php nuke won't be in this directory, so would i include a full path somewhere? As you can tell i'm not very compis-mentis with all this. 2)Craig, i've chosen to use http://domainname/nuke because phpnuke has a folder called images, and so does the CP which i thought would prevent me from just using http://domainname (as the two images folders would conflict)..... yet your board is just http://ipnumber. How did you get round this? 3)total ignorance here... when i transfer up any php, or html or cgi, should i be using ASCII - or does it not matter if its in binary mode? (i've always just used binary for html, and it appears to work ok... but i've just been told i should use ASCII) ???? If you all have the time to help its very much appreciated. I might graduate yet ![]() |
|
#2
|
||||
|
||||
|
Ok,, what i did was upload the contents of the "HTML" folder into my main directory,, so the index.php page will load by default.
If you have a conflict such as 2 images folders, you could do it your way or simply rename the images folder to images1 or whatever. Of course then you'd have to change all your links etc,, to the images. and.. ASCII is text, binary is images etc.. Most good FTP clients have a way to "auto-detect" this,, which is much easier.
__________________
Craig Smith V. P. - Vortech Inc. http://www.vortechhosting.com http://www.rapidcolo.com http://www.matrixreseller.com http://www.techiestalk.com |
|
#3
|
|||||||||||
|
|||||||||||
|
ramjet, you can use wsftp to upload the cgi script in ASCII. Once it's on the server, right click on it and choose "chmod".
In the box that comes up set the permissions as follows; Owner: read, write, execute Group: read, execute Other: read, execute Click ok. That will give the script permissions of 755. On the unix servers I'm using, I've been able to run .cgi scripts in any directory. If you have to, you can use a relative path from the cgi-bin I think (../php/phpnuke.tar.gz) Then just type the address of the script in your browser and that should untar and unzip it. It will leave a copy of the tar file on the server which you'll want to delete when your done. Good luck ![]() Jim Last edited by pano : 11-25-2002 at 06:51 PM. |
|
#4
|
||||||||||||
|
||||||||||||
|
thanks guys,
last question before i try, should I upload the zip of phpnuke is uploaded in ASCII or binary... it is mainly php and html files, but contains images. |
|
#5
|
||||
|
||||
|
If your using the WS_FTP choose the "auto" feature. If your FTP program makes you choose one or the other, than choose binary.
__________________
Craig Smith V. P. - Vortech Inc. http://www.vortechhosting.com http://www.rapidcolo.com http://www.matrixreseller.com http://www.techiestalk.com |
|
#6
|
||||||||||||
|
||||||||||||
|
just to say thanks Craig and Pano very much.
It worked like yours Craig, as in the automatic setup failed for some unknown reason, but the manual creation of a database went fine. Maybe thats cause mysql is on a separate machine? Also your script to unzip was fantastic Pano, I think I'm a lot less foggy on all this Unix goobledegook now thanks. CHMOD ya later... murray ![]() |
|
#7
|
|||||||||||
|
|||||||||||
|
Anytime Murray
![]() Glad it worked for you! Jim |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Nuke inastallation | philshhh | Chit Chat Public | 4 | 04-12-2004 05:31 PM |