• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

PHP Script -> Give me some ideas

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
Here is a simple one for you, but I have no idea how to do it.
I have this friend who is a real smart ass, so I made a site. www.askfordy.com
You type in a question and is answers you with a random answer. I used a free random quote php script.

The way i wanted it to work was that the questions that people would ask would be stored in a database and could be viewed on a separate page and the answers that were randomly shown were kept in another table that could be easily added to and changed. That way when he would say something stupid and smart-ass out at a bar some night, I could add it to the list of random answers easily. I could also laugh at how many times people asked him if he was gay. It would be cool to track the ip of the visitor with the question they asked as well.

A totally useless script, but it would provide entertainment for me.
😀
 
Originally posted by: lightpants
Here is a simple one for you, but I have no idea how to do it.
I have this friend who is a real smart ass, so I made a site. www.askfordy.com
You type in a question and is answers you with a random answer. I used a free random quote php script.

The way i wanted it to work was that the questions that people would ask would be stored in a database and could be viewed on a separate page and the answers that were randomly shown were kept in another table that could be easily added to and changed. That way when he would say something stupid and smart-ass out at a bar some night, I could add it to the list of random answers easily. I could also laugh at how many times people asked him if he was gay. It would be cool to track the ip of the visitor with the question they asked as well.

A totally useless script, but it would provide entertainment for me.
😀

that sounds really easy. It'd take less than an hour (assuming the answer was completely random and the inputted question had no conditional factor of the answer given)

 
Originally posted by: troytime
Originally posted by: lightpants
Here is a simple one for you, but I have no idea how to do it.
I have this friend who is a real smart ass, so I made a site. www.askfordy.com
You type in a question and is answers you with a random answer. I used a free random quote php script.

The way i wanted it to work was that the questions that people would ask would be stored in a database and could be viewed on a separate page and the answers that were randomly shown were kept in another table that could be easily added to and changed. That way when he would say something stupid and smart-ass out at a bar some night, I could add it to the list of random answers easily. I could also laugh at how many times people asked him if he was gay. It would be cool to track the ip of the visitor with the question they asked as well.

A totally useless script, but it would provide entertainment for me.
😀

that sounds really easy. It'd take less than an hour (assuming the answer was completely random and the inputted question had no conditional factor of the answer given)

Not for me, I know I could not do it in an hour even if my life depended on it.
I figured it would be simple, I looked for a script to do it for a few days before I settled on the random quote script. If you knew the guy you would know why it would be so funny. He thinks he knows everything about everything and is a real smart-ass with his comments, most of which are totally wrong. New material for the answers would be produced almost nightly.
 
what about really sharing a lightweight gallery app for your fellow ATOTers?

or... something i actually asked about in the software/apps forum, an engine that you can host on your computer that contains mp3s so that you can access them remotely but also have the ability to choose which songs you can play (which differs from a standard shoutcast server). i'd guess the "control panel" could be web based and multi-threaded (but an option that administrators can specify, obviously due to bandwidth restrictions) and also, the ability for the user to specify the port it is hosted on. remotely, the user will have a web interface to select songs to add to a playlist, etc.
 
Originally posted by: tami
what about really sharing a lightweight gallery app for your fellow ATOTers?

or... something i actually asked about in the software/apps forum, an engine that you can host on your computer that contains mp3s so that you can access them remotely but also have the ability to choose which songs you can play (which differs from a standard shoutcast server). i'd guess the "control panel" could be web based and multi-threaded (but an option that administrators can specify, obviously due to bandwidth restrictions) and also, the ability for the user to specify the port it is hosted on. remotely, the user will have a web interface to select songs to add to a playlist, etc.

That would have to be coded in something else, I actually wrote a program to do that but never finished it.

I'd like to focus more on php 🙂
 
Originally posted by: DannyBoy
Originally posted by: tami
what about really sharing a lightweight gallery app for your fellow ATOTers?

or... something i actually asked about in the software/apps forum, an engine that you can host on your computer that contains mp3s so that you can access them remotely but also have the ability to choose which songs you can play (which differs from a standard shoutcast server). i'd guess the "control panel" could be web based and multi-threaded (but an option that administrators can specify, obviously due to bandwidth restrictions) and also, the ability for the user to specify the port it is hosted on. remotely, the user will have a web interface to select songs to add to a playlist, etc.

That would have to be coded in something else, I actually wrote a program to do that but never finished it.

I'd like to focus more on php 🙂

when you finish it, please let me know, as i'm desperately trying to get something to remotely access my mp3 collection from work. all the other guys do it via \\serverblah, but i have those ports blocked.
 
Back
Top