Reply
Sun 25 Jul, 2004 11:59 pm
Hello My name is Justin. I am a pensioner and have the computer as a hoby. I run a forum and a huge website with loads of content. I use Dreamweaver MX and am hosted with OnSmart, giving me built-in access to perle interpreter, MySQL, databases and several tools which I don't have any idea of how to use.
I started a circle of forums and my forum is the nucleus.
I have a dropdown menu with the list of all the members, and clicking on a member's name will take the user to that owner's site.
My problem is this:
I need to supply an access code for each owner. Nothing fancy, a generic menu, (same one for each other user), no stats, no tracking. All they need to have on their site is the menu with all affiliated forum names which I need to be able to add and delete
Each forum owner will then need to do nothing after installing the access code into their page. Membership changes almost daily and is growing.
I have searched around to find some code to do this, but it seems that the installation instructions are all beyond my limited comprehension.
I know a fair bit about HTML but nothing of PHP, Java etc...
I have tried to save a html file as a php file and tried to access it in a test page from my browser after uploading the file to the server.
I got a "Parse error" (?) Unexpected ">" in line 28.
I looked at line 28 and it was the same as line 27, 29 and all other lines (?)
Firstly, is what I want to do actually doable? And if so what do I have to do to make it work? Is it a matter of uploading a particular sort of file to a particular place on my server and then accessing it from the browser? And can other forum owners wishing to use the dropdown menu similarly access it from their browsers.
If I'm reading this right - you want to have multiple forums all tied into YOUR forum - and when you make a change such as areas or such - it will effect the others right??
as far as I know - it can't be done and I'm not sure why someone would want to try this unless there is a bandwidth problem - which would still get used up some due to accessing the database. If it CAN be done - it'd be by someone way more savy than I. And even then, most host systems limit the number of simultaneous connections to the database (like mine is 4 per MySql I think).
as to the process - your forum uses a database to store it's content (MySql), PHP is the agent that accesses the database (read, write, etc.) and then translates it to a html for your browser. So php and html are two seperate languages entirely.
One could actually view the source of a php page with a right click from the browser, then copy and paste it into dreamweaver to get table layouts and such (since it's already been translated).
hope it helps. pretty late here - so I may have muddled it some - but that's the basic idea.
pad
Thank you Pad. Since I posted this thread, I have had some success. It may interest you to have a look at the results I have acheived. The dropdown list is at the top of the forum. Check out how I went about it at:
Edit: Moderator: Do not post your links to this site
Don't try this at home!