R77 Community Forum Archive

Programming => Scripting => Requests => Topic started by: Ace on March 08, 2009, 07:02:17 PM

Title: Write to webpage
Post by: Ace on March 08, 2009, 07:02:17 PM
Is there a way to use a plugin to write to a blank webpage?
Ex. Last 15 Users seen or whatever (that's not what i need it for but just an example)
Title: Write to webpage
Post by: de80 on March 08, 2009, 07:13:47 PM
Yes and or i would like to add on to this is that ok?
Title: Write to webpage
Post by: Zakara on March 08, 2009, 09:00:24 PM
I think you should post in the requests section exactly what you need. I will ask John or some Global Moderator/Admin to move this there.
Title: Write to webpage
Post by: Ace on March 09, 2009, 03:24:36 PM
Just wondering, not needing something complex for this, but whatever. Just a quick example.
Moved.
Title: Write to webpage
Post by: Reason on March 09, 2009, 03:33:49 PM
ud have to upload it everytime unless u got someone to write u a php/mysql thing for it
Title: Write to webpage
Post by: ArticWolve on March 09, 2009, 04:15:32 PM
What he means is a plugin on a bot that logs into a web page to post some information in specific fields and then post it. Me and Joel were talking about something like this a while ago...... but it was for something totally different then what Ace wants. Using Joel's reply to what the question was: Yes it is possible to fill in fields with a bot as long as you have the correct information.
Title: Write to webpage
Post by: Hero on March 09, 2009, 04:25:46 PM
XmlHttp is your friend.
Title: Write to webpage
Post by: Vector on March 09, 2009, 04:26:26 PM
You can write an ASP/PHP file that will dump information into a text file, which can then be read from another page.

You can also pass arguments to such ASP/PHP file (file.asp?var1=hai%20u&var2=second%20var), that can in turn be used to fill out various parts of a form when you actually go to that web page.
Title: Write to webpage
Post by: Ace on March 09, 2009, 06:49:18 PM

Ok...... Could someone show me how to do this in a quick piece of code?
Title: Write to webpage
Post by: Reason on March 10, 2009, 05:32:05 AM
it depends what you think of easy.
You'd have to get someone to write the php/asp form for you
as well as have someone right the script to manipulate that form.
Idk exactly what you want, so i can't really help you.

From what i understand you just want some fields that write to a text file?

what fields do you want? how do u want them written to the file? Do you want to delete the old file and create the new one, or use the same one every time? do you want to seperate them by lines, or by | or by % or what?

Title: Write to webpage
Post by: ArticWolve on March 10, 2009, 06:55:09 AM
Well, I could use a similar request to this. I am not hi-jacking this topic though.

Reason: Why not make a script/web page combination to show him what you meant?
Title: Write to webpage
Post by: Ace on March 10, 2009, 01:39:57 PM
There will be a file I have that is updated when a certain command is used.  Every x minutes, the bot will read out of that file and post its contents on a page.
Title: Write to webpage
Post by: Reason on March 10, 2009, 02:58:53 PM
hmmm...
gimme a day or so i'll see what i can do.
You'll need to have a mysql database i can use though
Title: Write to webpage
Post by: Vector on March 11, 2009, 10:36:43 AM
thats just like the check.asp file I wrote, that gets the statuses of bnls servers and such.
Title: Write to webpage
Post by: Ace on March 15, 2009, 06:26:37 AM
Quote from: Reason
hmmm...
gimme a day or so i'll see what i can do.
You'll need to have a mysql database i can use though

Don't have one
Title: Write to webpage
Post by: ArticWolve on March 15, 2009, 06:33:05 AM
I have one. I'll PM you the details later.