Log in

View Full Version : Newbie wanting no hassle news!



Milktop
06-29-2006, 06:01 PM
Ok first off, hello to one and all, nice to be here!

I'm a newbie to this site and also to php, I can do the ol' form scripts n random image shenanagins etc but that is my limit, but even tho' I am only just learning to walk upright in the world of question marks and dollar signs I just wondered if anyone could hook me up with, or point me in the direction of, a SIMPLE news upload script, I just want my friend in Canada to be abe to type a txt file and then go upload it without havin' to involve me, I don't want avatars and smiley things etc just a real bum basic but functional script...any takers?

MANY thanks for ANY help you can offer!!!!

Cya!:)

djr33
06-29-2006, 08:41 PM
http://dynamicdrive.com/forums/showthread.php?t=9940&page=2

that's a thread about a script I wrote for a comments thing. (scroll down to mid-page for the source for the php pages)
It works pretty well... it's simple, but does it's job.

http://ci-pro.com/misc/phptest/comments/ is a test page on my server. Ignore that people seem to have been spamming it.

So... that might be a good way to start coding it. It's got all the code you'll need... just reorganize til it fits what you need.

Milktop
06-30-2006, 09:47 AM
THANKS! very much for the help it's appreciated, i'm gonna go check those couple of links out now, great stuff, cheers!

Milktop
06-30-2006, 10:59 AM
Aaaargh! I've fallen at the first hurdle! :(

I copied your bit of PHP uploaded it etc BUT, dammit there's always a BUT! I get the box for comments and the wording 'comments demo' but I don't get the 'add comment' link showing up for some reason...any ideas at all?

Sorry for bein' a dumbass, but I guess that's why i'm here! :)

Many thanks!!!

djr33
06-30-2006, 07:04 PM
No clue what's wrong, but that's basically the easiest part... no php involved. The good news... just put this on your page:

<a href="add.php">Add Comment</a>

Milktop
07-02-2006, 11:10 AM
Mmmm.... yep me again i'm afraid.

For some reason I have to put the 'add comment' link above the php script in the code for it to work? Bizarre I know... however then when it takes me to the form to add my comment, I submit it and get;

"Comment Added Demo:
You either entered no data or it was entered incorrectly.
Redirecting to index.php"

Even tho I entered my proper name and email addy etc???

I know this must seem real insignificant and sorry for goin' on, but as ever ANY help would be greatfully recieved!

THANKS! :confused:

djr33
07-02-2006, 10:09 PM
first, link to your page.
second, please post the source code for your pages, so it's easy to look at. (You could also duplicate the files on your server and rename them .txt... that works well to see the source code.)

Also, in the thread I linked to, the problem may have been solved... might want to look ahead a bit to see if there's more info there.