Stop Microsoft
Miscellaneous => Programming & Networking => Topic started by: xyle_one on 12 March 2003, 22:31
-
okay, i have some questions about php.
i want to be able to update a website easily, can i have a txt file with the info and have the page read it and adjust accordingly. what i would need is the have a list of files available to download and the corresponding file have an easy to read name, like this: "Your project 0301"(link on site), 0301_1fp.dwg"(file to download). and, how would the page formatting be handled? would i just have to setup css to keep it consistent??? i am RTFM, but i have to know if i can do this pretty soon. i havent gotten very far in the book yet.
would it be pretty easy to set this up???
-
php is perfect, but use mysql to hold the "Details" in a database, buy PHP in 24 hours by Sams Publishing, it would be perfect for learning PHP.
-
word. thanks. (http://smile.gif)
-
PHPNuke (http://www.phpnuke.org), MyPHPNuke (http://myphpnuke.com), Postnuke (http://www.postnuke.org) would be ideal for the things you're asking for.
BTW, my page (http://promote-opensource.org) runs on myPHPnuke 1.8.8_7. Check out the content and tell me if you're looking for something similar.
[ March 14, 2003: Message edited by: Panos ]
-
quote:
Originally posted by Panos:
PHPNuke (http://www.phpnuke.org), MyPHPNuke (http://myphpnuke.org), Postnuke (http://www.postnuke.org) would be ideal for the things you're asking for.
BTW, my page (http://promote-opensource.org) runs on myPHPnuke 1.8.8_7. Check out the content and tell me if you're looking for something similar.
okay, this is what i need. follow this link http://ecsyle.com/lhaa/ (http://ecsyle.com/lhaa/)
username= lhaa
password = tahoe.
if you click on the projects link, you will see a list of projects. i need that list to be updated easily (like from a text file), and to have the link correspond to a password protected folder with a list of files to be downloaded. my goal is the be able to let my client update their page without fucking with the html. they can just modify the projects.txt file, upload it and bam, site updated with the current information. of course they will have to upload the neccesary autocad files as well, but they do not have to fuck with the layout. it would be nice if i could keep a similar layout throughout the site (i have a meeting with them in a few days to discuss the site design, the one up now is just to show them how it will flow). maybe the list you see when you click on projects could be determined by the name of the folders under /projects. then in each folder have a txt file with the <file name, link name> and only have the link name show up?
-
what you have going on on your site would work for my artforms project though ;)
-
I know what you mean ecsyle and there are two ways to do it: the hard one and the easy one. :D The hard one would mean that you'd have to code yourself in PHP and the easy one would mean that you'd have to download a CMS (Content Management System) like the ones I mentioned above. Both solutions would definitely require a database (I personally prefer MySQL). I can't help you though with coding in PHP since I'm a total newbie. The only things I dare tweak are the theme.php, header.php and footer.php files in the respected themes, lol!
Finally, if you go for a Nuke portal, I would recommend myPHPNuke or PHPNuke. The latter is prettier (my opinion) but still has bugs. MPN is REALLY stable but still in an early version. It is however supported by a great developing team, who would kindly offer their support! The nice part is that they're both GPL'd! ;)
Whatever you choose I can help you set things up, so if you need any help PM me. I'd be glad to help! (http://smile.gif)
-
im going to have to stick with the websites theme. so i dont know if i could use a CMS. ill play with it tonight. it would be "fucking rad" if i could bend it to suit my needs though...
-
quote:
Originally posted by ecsyle_one:
im going to have to stick with the websites theme. so i dont know if i could use a CMS. ill play with it tonight. it would be "fucking rad" if i could bend it to suit my needs though...
Hmm, that's a bit hard to do. You could download a theme and tamper with the theme, header, footer php files as well as the CSS of the theme. You could setup a "fake" CMS page on a new directory on your server and test it there. That way it wouldn't interfere with your default one, which I assume is /www or something.
-
Panos: check your PM.
(edit: im a dumbass ;) )
[ March 13, 2003: Message edited by: ecsyle_one ]
-
Check your PM ecsyle! Glad you managed to set it up! (http://smile.gif)
-
Panos: i tried to register a new user, but never recieved an email...... what do i have to change??
-
I'm setting up a test PHP-nuke site on my hosting server and I'll get back to you later on that. Mind you, that I'm not using PHP-Nuke but myPHPNuke which is a different portal in many ways. Pls be patient, I'll get back to you a.s.a.p. (http://smile.gif)
-
Funny thing. I can register and receive mail on the test PHPNuke page fine by using the default settings. Could this be a mailserver problem with your host? :confused:
-
strange. during the config, i was never asked for any mail settings. and in the config.php script, the only info i was asked to supply was the mysql info. is there a *.php to config mail settings?? or maybe an administrative panel? do you have sendmail configured on your server?? because i never set up any mail server on mine, and maybe that is the problem.
-
Are you on a paid server or is it your own? I'm sorry I missed that part. If it's your own server then you have to configure sendmail definitely or if you're using a paid service you should mail your host for info. The config.php file has nothing to do with your mail settings and is just there to point to your database. I'm sorry I can't be of any more help ecsyle. :( Perhaps you could ask a question at the PHPNuke forums about that.
edit: sorry forgot to tell you that the administrative panel in PHPNuke is the Preferences panel you see when you log in as admin.
[ March 13, 2003: Message edited by: Panos ]
-
i am running this on my own server. a little project of mine. trying to learn "LAMP". can i even run my own mail server? what info do i need to set it up? damn it. this project never ends!!! ;)
-
word. Void Main (the real one ;) ) never fails. setup an MTA (http://voidmain.is-a-geek.net/forums/viewtopic.php?t=172)
so, i guess tonight, when i get home, ill be able to get this 'nuke thing rolling...
thanks for all the help Panos (http://smile.gif) (http://smile.gif)
-
-
quote:
Originally posted by ecsyle_one:
word. Void Main (the real one ;) ) never fails. setup an MTA (http://voidmain.is-a-geek.net/forums/viewtopic.php?t=172)
so, i guess tonight, when i get home, ill be able to get this 'nuke thing rolling...
thanks for all the help Panos (http://smile.gif) (http://smile.gif)
I was going to tell you exactly the same thing, that is to seek for void main's advice (the real one's not the imposter's :D ) but you got to me first. (http://smile.gif) I really wish I could help more and I'm here should you need anything.
BTW, look at the script TheQuirk wrote. Looks like what you needed in the first place. C'mon Quirk more info please. (http://smile.gif)
-
yeah quirk. i do not know what i am looking at..
-
That script will display the contents of a directory, excluding hidden files, "up" directories and php files.
Is how it displays the file. For example, to dedicate an entire line to each file (and a link), you'd replace that line with:
And you can thank Void for this, because this is a fixed version of what I wrote (I wrote something, it didn't work, so he corrected it).
-
thank you very much quirk. thanks to void main who will never see this anyways ;)
cool. i think i owe you part of this check as well.....
-
that worked beautifully. thanks again
-
No problem, glad I could help.
-
quote:
Originally posted by TheQuirk:
[/b]
bout thayt eh