doesn't work otherwise with my host!?Quote:
Originally posted by enemem
surely you don't need them in the SELECT statement though??
madness I know
Printable View
doesn't work otherwise with my host!?Quote:
Originally posted by enemem
surely you don't need them in the SELECT statement though??
madness I know
Our server doesn't mind where I put ``s in this line
$query = "SELECT * FROM `cms` WHERE pnumber = 59 ";
Your host does seem a bit mad, Bruce, but it seems to be forgiving in other ways. As I said above:
Line 24 of delete.php should be:
echo "<a href='delete_record.php?pnumber=",$row['pnumber'],"'>";
The one you uploaded said:
echo "<a href='delete_record?pnumber=",$row['pnumber'],"'>";
Which works fine on your server, although God knows why!
its sitting on a unix box, that might have something to do with it.Quote:
Originally posted by phantomflanflinger
Our server doesn't mind where I put ``s in this line
$query = "SELECT * FROM `cms` WHERE pnumber = 59 ";
Your host does seem a bit mad, Bruce, but it seems to be forgiving in other ways. As I said above:
Line 24 of delete.php should be:
echo "<a href='delete_record.php?pnumber=",$row['pnumber'],"'>";
The one you uploaded said:
echo "<a href='delete_record?pnumber=",$row['pnumber'],"'>";
Which works fine on your server, although God knows why!
cheers
NO! I have not forgotten about this, even though any sensible person would have.
I have just made a 'version' which retrieves fields by particular numbers rather than listing them all by pnumber. So, different pages have different fields and you can edit multiple pages, so on. The voices in my head tell me not to bother.
There are lots of useful scripts for CMSs here:
http://www.thefreecountry.com/php/co...nagement.shtml
http://php.resourceindex.com/Complete_Scripts/
Not that we should pinch them and integrate them into the Razormedia CMS of course.
I won't tell.Quote:
Originally posted by phantomflanflinger
Not that we should pinch them and integrate them into the Razormedia CMS of course.
I have left this because of other work comittments but I find myself constantly coming back to it and pinching bits for other work.
I'll update very soon with a new improved version
I'll wait until you release your next beta before I do anything then.
Re. pinching stuff, this old thing:
http://www.digisoft77.com/solutions/e.php?sID=20
Is almost as good as what you've done, but it does it without a database! I don't suppose they'd mind you pinching bits of that, since it's so old and "no longer supported".
Is this you or someone else called Bruce:
http://www.gamegen.com/fightgen/char...eilongkick.gif
Gotta go, it's the weekend and I got Mexicans to whup.
:)
Sounds very similar to what we use at work (mentioned somewhere else in this thread too). We have scripts that read in Flash text files (currently expanding to include XML), generates an HTML form to edit the data and then saves everything back to the file (creates back-ups too).Quote:
Originally posted by phantomflanflinger
Is almost as good as what you've done, but it does it without a database! :)
Very useful stuff and easy to do...
I have used my own CMS for image-gallery sites on 2 sites now but it's not really in a state to be released into the wild...
- n.
When you upload a file, I'm assuming it sits on the web server.
Would there be any mechanism you know of that would use the web server only as a transition point for files?
We'd need to get files from our partners back onto our local file servers.
yes, you could probably set up an ftp as a cron job. alternatively, theres probably something already in existence that could move files over domains. I'll have a check for you.
you can use php to transfer files via ftp, see here:Quote:
Originally posted by RazoRmedia
yes, you could probably set up an ftp as a cron job. alternatively, theres probably something already in existence that could move files over domains. I'll have a check for you.
http://uk.php.net/manual/en/ref.ftp.php
(needs to be enabled in your php install, don't see that any host would have a problem with that)
You might want to think of some way to allow clients to test their changes before they put data on to the live site.
- n.
seems to be something wrong with the attachment rob ;)Quote:
Originally posted by phantomflanflinger
This file should be useful, if it attaches OK.
Damn, the file's been buggered by passing through binary channels (you know, like when MP3s used to get 'cooked' in the 90s).
Oh well, delete the post.:smoov:
new CMS here:
http://www.flashkit.com/board/showth...hreadid=620125
Have you seen http://flashblocks.com ? - a very interesting flash cms.
It stores all data in a text file, which makes setting up a snap, and moving and backing up the site effortless. Its a very interesting concept and works. Building a site is very simple - Just drag and drop "edit blocks" onto the stage and into your desgin. They are filled with images, text, scrollers, links actions and modules. Anyway, it is well worth checking out if you need to get a powerful content management system up and running quickly with minimal client training.